WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Audacious-gtk2 scm Bug Feedback  (Read 4384 times)

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Audacious-gtk2 scm Bug Feedback
« on: April 09, 2012, 04:13:10 AM »
Missing dependency gtk2

When used with JWM, audacious-gtk2 does not create an icon in the panel, as shown in the attached screenshot.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacious-gtk2 scm Bug Feedback
« Reply #1 on: April 11, 2012, 02:31:30 AM »
Following a check for pending updates:

Using ScmBrowser:
* Successfully updated app
* Verified md5
* Installed app
* App fails to load

Starting in a terminal:
Code: [Select]
/apps/audacious-gtk2/localbin/audacious-gtk2: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacious-gtk2 scm Bug Feedback
« Reply #2 on: April 11, 2012, 07:19:33 AM »
Install gtk2.scm.  Audacious-gtk2 was missing a dep file at one time, but I added it recently.

Download the audacious-gtk2.scm.dep file and place it in your tce/optional directory.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacious-gtk2 scm Bug Feedback
« Reply #3 on: April 11, 2012, 10:07:58 AM »
Download the audacious-gtk2.scm.dep file and place it in your tce/optional directory.
Manually downloading the dep file restored expected operation.  This raises a question...

There are no updates pending which indicates the recent upgrade I did on April 10th used the latest files available.  The scm is dated April 10th.  The dep is dated April 9th.  How come that the update did not also download the (by then) existing dep file?
   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Audacious-gtk2 scm Bug Feedback
« Reply #4 on: April 11, 2012, 12:50:46 PM »
It appears to be because there was no .dep file in your tce/optional directory to update. 

With the goal of scm's being simplicity, both in the extension use and in the base handling of it, it sometimes will necessitate some manual intervention when maintaining an existing scm collection.  Dep files of an scm are to be used only for large toolkits like gtk2, and the dep files contents should be very static, and only contain scm entries, and few entries as possible.  So changes in dep files or adding a dep file to an scm that once did not have it should be rare.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: Audacious-gtk2 scm Bug Feedback
« Reply #5 on: April 11, 2012, 03:06:13 PM »
With the goal of scm's being simplicity...
Thanks for the explanation.

Almost an aside, but really the point of the topic - the icon is now displayed correctly.