Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82980 - app-cdr/k3b ebuild clenaup
Summary: app-cdr/k3b ebuild clenaup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 11:04 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-03-17 08:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch over current ebuild. (k3b.patch,1.82 KB, patch)
2005-02-22 11:05 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Patch over current ebuild (with configure switches) (k3b.patch,2.38 KB, patch)
2005-02-23 09:57 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
k3b-0.11.20-without-switches.patch (k3b-0.11.20-without-switches.patch,4.84 KB, patch)
2005-02-23 09:58 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-22 11:04:31 UTC
The attached patch applied over current ebuild fixes some problems which comes with the current ebuild.

flac, mad and oggvorbis useflags aren't honored, they are auto-checked by k3b's configure.
This makes impossible to build k3b with flac 1.1.2 (which could not be disabled by the -flac flag).

The patch fixes this, using autoconf tricks to disable the three libraries.
It also adds id3lib and samplerate useflags which allows to disable other dependencies.

The patch also has the change for bug #81862 (which is minor to have a fix of its own, but with also these changes it can help).

HTH, Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-22 11:05:02 UTC
Created attachment 51891 [details, diff]
Patch over current ebuild.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-22 11:11:21 UTC
Diego: Get into your shoes and join Gentoo as a dev. :p
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-22 12:37:04 UTC
I committed the line to disable flac because it's quite urgent for bug 82558.

For the other changes, maybe we can get them properly fixed in k3b CVS since
Diego has access to it ;)
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-23 09:57:37 UTC
Created attachment 51960 [details, diff]
Patch over current ebuild (with configure switches)

Ok maybe you better like this version :)

It adds the hicolor icons, it fixes optional dependencies, it also add resmgr
support if requested, and instead of using dirt configure tricks it uses the
configure itself after patching it with the same patch I committed to K3B cvs
:) (see next attachment)

It's compatible with next version of k3b so the only thing needed for the next
version is remove the patch (and the icons, which are also added upstream).

I also have fixed the 'samplerate' useflag which was wrong, libsamplerate is
the one used on kde-base/akode and media-sound/gnusound.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-23 09:58:16 UTC
Created attachment 51961 [details, diff]
k3b-0.11.20-without-switches.patch
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-16 09:57:18 UTC
I added the configure switches for ogg, mad and flac in 0.11.22.
I didn't add new flags, though (id3lib, resmgr), I don't don't if it is worth adding them to make id3lib and resmgr configurable... opinions?

samplerate should not be configurable, because the choice is between linking to the external one or to the internal copy, so letting people do USE="-samplerate" would be misleading.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-16 10:41:31 UTC
>opinions?

++ for preventing use flag inflation ;)
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2005-03-17 08:30:09 UTC
Closing this bug, then...