Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 43540

Summary: [ebuild] app-cdr/k3b-0.11.6, update ->with i18n<-
Product: Gentoo Linux Reporter: Federico Zenith <federico.zenith>
Component: New packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: VERIFIED FIXED    
Severity: enhancement CC: greg_g, hanno, vapier
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 44303    
Bug Blocks:    
Attachments: K3b-0.11.6 ebuild, w/ i18n
k3b-0.11.6.ebuild, another try

Description Federico Zenith 2004-03-02 15:41:14 UTC
Attached is a trial, not -yet-functioning ebuild of K3b's latest version, released March 1st. I have managed to get the compiling to work, but the installation of the i18n package won't work.

The LINGUAS test algorithm is a bit klugdy, but the previous one would crash on unexpected elements as my "eo", since
echo "SUBDIRS = ${LINGUAS}" > ${S}/po/Makefile.am
would put "eo" in Makefile.am, even though there is no Esperanto localisation of K3b. I'm sure there is a more elegant way to do this, but my skills in scripting are quite limited.

Furthermore, I implemented also a separate LINGUAS check for the documentation.

It is to be remarked that the i18n tarball is now called k3b-i18n-0.11.tar.bz2, whereas the decompressed archive is k3b-i18n-0.11.6 (with a trailing .6).

Emerging ebuild works, but no i18n is installed. Problems are expected to be in make install. Please fix if you understand what's wrong...

Cheers,
-Federico
Comment 1 Federico Zenith 2004-03-02 15:43:50 UTC
Created attachment 26736 [details]
K3b-0.11.6 ebuild, w/ i18n
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-03-05 03:09:35 UTC
Created attachment 26889 [details]
k3b-0.11.6.ebuild, another try

Based on the good work from Federico, I propose a cleaned up version of the
ebuild. It no longer relies on automake, and there's an important change:
from "RDEPEND=${RDEPEND} ..."
to "DEPEND=${DEPEND} ..."

because all the dependencies in DEPEND should be present at runtime, and before
they were not picked up in RDEPEND.

Give it a try and see if it works...
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2004-03-05 03:11:19 UTC
obviously the new line is RDEPEND="${DEPEND} ..."
Comment 4 Federico Zenith 2004-03-05 07:41:45 UTC
Compiled with no problems on first try, CFLAGS="-O3 -march=pentium4 -pipe", and i18n _is_ working! Everything looks fine, except for the column header area in the audio player (looks borked where there are no columns), but this is probably something wrong with k3b itself, and not the ebuild.
Congrats!

:-)
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-06 04:34:34 UTC
thanks, works fine and added :)
Comment 6 Federico Zenith 2004-03-06 06:51:53 UTC
Confirm spotting the ebuild on portage, bug closed.
And they burned happily in their native language for the rest of their lives. :-)
Comment 7 Daniel Schindler 2004-03-19 15:28:02 UTC
The Path in the tar archive is wrong. Look at the bug report:

http://bugs.gentoo.org/show_bug.cgi?id=44303