Results 1 to 7 of 7

Thread: Need help fixing Ardour package in OBS.

  1. #1

    Wink Need help fixing Ardour package in OBS.

    Hello,
    So I have been trying to maintain Ardour 5.12 here: https://build.opensuse.org/package/s...ia:apps/ardour
    I manage to make it build in OBS with help from munix9.
    But Ardour won't start unless I run this command before starting it,

    export GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc

    I read many bug report on this issue and this is the recommended work around.

    But this is inconvenient and could confuse other people, so I want to add the command into the desktop and start menu icon immediately after install. But I'm not sure how.
    Is it in the .spec file or something?
    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,397
    Blog Entries
    2

    Default Re: Need help fixing Ardour package in OBS.

    Although you could write the command into the logged in User's bashrc,
    You could also make the change available to all users by either updating and existing or creating a new file
    Code:
    /etc/profile.local
    or, make it an entry in a script located in
    Code:
    /etc/profile.d/
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,790
    Blog Entries
    3

    Default Re: Need help fixing Ardour package in OBS.

    I suppose you could install the application to "/usr/lib" or similar, instead of to "/usr/bin". And then install a short shell script in "/usr/bin" which sets up the environment and then starts the application.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: Need help fixing Ardour package in OBS.

    To help users:

    Change the exec line in the .desktop file to contain the workaround:

    Exec=export ..... ; ardour5
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5

    Default Re: Need help fixing Ardour package in OBS.

    Quote Originally Posted by Knurpht View Post
    To help users:

    Change the exec line in the .desktop file to contain the workaround:

    Exec=export ..... ; ardour5
    How to do this? Is this setting in the .spec build file?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,121
    Blog Entries
    15

    Default Re: Need help fixing Ardour package in OBS.

    Quote Originally Posted by andythe_great View Post
    How to do this? Is this setting in the .spec build file?
    Hi
    Create a patch for the desktop file, create a new desktop file and overwrite the existing one? Get fixed upstream is the best way....

    I think the work around is a bad idea/hack, adding it the background like that is likely to break a users system (using there own gtkrc files, I do....) or still not work if the user is using a different theme...

    So, have you approached upstream to see what can be done, has this not been ported to gtk3 yet?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,121
    Blog Entries
    15

    Default Re: Need help fixing Ardour package in OBS.

    Hi
    I do have to ask another couple of questions, why are you submitting direct to the development repository without peer review, making changes without updating the changelog (eg looks like the patch was rebased and no changelog entry)?

    You should be branching and fixing/testing, when it's all working then submit an SR. I also note it's failing to build again
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •