Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43540 - [ebuild] app-cdr/k3b-0.11.6, update ->with i18n<-
Summary: [ebuild] app-cdr/k3b-0.11.6, update ->with i18n<-
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 44303
Blocks:
  Show dependency tree
 
Reported: 2004-03-02 15:41 UTC by Federico Zenith
Modified: 2004-03-19 15:28 UTC (History)
3 users (show)

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


Attachments
K3b-0.11.6 ebuild, w/ i18n (k3b-0.11.6.ebuild,3.04 KB, text/plain)
2004-03-02 15:43 UTC, Federico Zenith
Details
k3b-0.11.6.ebuild, another try (k3b-0.11.6.ebuild,2.70 KB, text/plain)
2004-03-05 03:09 UTC, Gregorio Guidi (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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