digikam ebuilds don't let me install multiple doc locale (e.g. "en it"), but only one. Here is my patch for digikam-0.8.1-r1.ebuild: --- /usr/portage/media-gfx/digikam/digikam-0.8.1-r1.ebuild 2006-06-26 22:35:58.000000000 +0200 +++ digikam-0.8.1-r1.ebuild 2006-07-06 16:04:03.000000000 +0200 @@ -42,15 +42,17 @@ for lang in ${LANGS_DOC}; do IUSE="${IUSE} linguas_${lang}" - SRC_URI="linguas_${lang}? ( + LOCAL_URI="linguas_${lang}? ( mirror://gentoo/${P_DOC}-${lang}.tar.bz2 mirror://gentoo/${P_DOC}-gentoo.tar.bz2 ) - !linguas_${lang}? ( ${SRC_URI} )" + ${LOCAL_URI}" + SRC_URI="!linguas_${lang}? ( ${SRC_URI} )" done SRC_URI="mirror://sourceforge/digikam/${MY_P}.tar.bz2 doc? ( linguas_en? ( mirror://gentoo/${P_DOC}-gentoo.tar.bz2 ) + ${LOCAL_URI} !linguas_en? ( ${SRC_URI} ) )" pkg_setup(){ @@ -68,7 +70,7 @@ if use doc; then local MAKE_DOC=$(echo "${LINGUAS} ${LANGS_DOC}" | fmt -w 1 | sort | uniq -d | tr '\n' ' ') - einfo "Enabling documentation for: en ${LANG_DOCS}" + einfo "Enabling documentation for: en ${MAKE_DOC}" fi }
I have fixed that for digikam-0.8.2. Also updated docs to 0.8.2 and repacked them: ebuild/ebuild.patch: http://gentoo-sunrise.org/svndump/peper/media-gfx/digikam/ repacked docs: http://gentoo-sunrise.org/svndump/peper/distfiles/ Cheers Flameeyes!
This is still not fixed, added a patch for newest version. See links above.
Picking up.
There is a small error in the ebuild: it forces the english documentation to be installed, even if the user does not want it. Please use the linguas_el USE variable to check whether it has to be installed or not.
(In reply to comment #4) linguas_el -> lingues_en
We'll allow 'en' to be installed anyway. Thank you for your contribution. Fixed in CVS.
Well, the SRC_URI is not parseable now, you are missing a space there: <snip> doc? ( http://gentoo-sunrise.org/svndump/peper/distfiles/${P_DOC}-main.tar.bz2 ${SRC_URI})" <--- here! </snip>
I'll have a look at this later today.
Thanks for reporting this. Fill a new bug report for upcoming errors.