FS#13372 - [PATCH] [alsaplayer-0.99.80-1] fix compile with bad option for interface

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Thursday, 19 February 2009, 02:54 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 24 February 2009, 01:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The alsaplayer was configured with an inexistent option --enable-gtk and depends on gtk+
If the intention is to provide a X/GUI interface then must be compiled with --enable-gtk2 and depends on it.
I compiled here, and works OK. :)


Also one note: Maybe all depends can be change to optdepends (except for gcc-lib), because alsaplayer uses a "plugin system" loading the .so files when are needed. Ooh there are two missing [opt]depends: flac and audiofile.

Patch is attached for PKGBUILD to fix only the interface.

This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 24 February 2009, 01:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in alsaplayer-0.99.80-2. gtk2 GUI and optdepends.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 19 February 2009, 05:07 GMT
Well, if run alsaplayer without a library that is needed by a plugin, *don't crash* simply warn about this:

$ alsaplayer
libmikmod.so.2: cannot open shared object file: No such file or directory

If any are interested on this, i wrote a patch for PKGBUILD
Maybe this is a **BAD** use of optdepends.

PS: sorry to divert from the original subject.

Loading...