Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25814 - [audacious] optdepends should be depends

Attached to Project: Arch Linux
Opened by Eric Belanger (Snowman) - Monday, 29 August 2011, 18:53 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 09 September 2011, 02:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

These new optional depends:

New optional dependencies for audacious
desktop-file-utils: desktop integration
gtk-update-icon-cache: for icons
hicolor-icon-theme: for icons

should actually be depends. That's how they are treated in the other packages that requires them. They are small packages that are needed by a lot of packages so the benefit of using optdepends here are very small. Besides, if you install them after audacious is installed, you still need to run the commands to update the dbs. Better do it automatically.


This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 09 September 2011, 02:31 GMT
Reason for closing:  Implemented
Additional comments about closing:  in SVN trunk
Comment by Gaetan Bisson (vesath) - Monday, 29 August 2011, 19:16 GMT
desktop-file-utils depends on glib2 (10MB but one could argue it's widely used) and gtk-update-icon-cache depends on gdk-pixbuf2 (4MB).
Since they are completely optional, I don't see the point of forcing users who have no use for them (e.g. me) to install them and regenerate an unused db every once in a while.
However, I agree their respective install files should update the dbs on post_install.
Comment by Eric Belanger (Snowman) - Monday, 29 August 2011, 19:36 GMT
In the case of audacious, both glib2 and gdk-pixbuf2 are dependencies of gtk3 (in fact gtk3 depends on gtk-update-icon-cache), so they are already installed. Therefore, having desktop-file-utils and gtk-update-icon-cache as optdepends only makes it more confusing. It's probably better to add them as depends.

As to hicolor-icon-theme, it's basically a bunch of empty directories. It could just be added to depends.

The only case that I know of where we do something "optional" like this for commands in .install file is for info files.
Comment by Gaetan Bisson (vesath) - Monday, 29 August 2011, 20:52 GMT
That's fair enough for audacious, but I still think the right thing to do in the general case is to make these dependencies optional.
I'll leave this bug report open for a while in case other people feel like commenting on that, and if nobody replies I'll implement your suggestion with the next audacious upstream release.
Comment by Gaetan Bisson (vesath) - Friday, 09 September 2011, 02:31 GMT
As much as I'd like to reverse the trend, not using a desktop environment probably makes me a minority here...
I've implemented your suggestion in SVN trunk (I don't think it warrants a rebuild).

Loading...