First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139519
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Roberto Castagnola <roberto.castagnola@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139519 depends on: Show dependency tree
Show dependency graph
Bug 139519 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-06 23:54 0000
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
 }

------- Comment #1 From Piotr Jaroszyński 2006-07-26 12:20:42 0000 -------
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!

------- Comment #2 From Piotr Jaroszyński 2006-10-14 09:25:29 0000 -------
This is still not fixed, added a patch for newest version. See links above.

------- Comment #3 From Ioannis Aslanidis 2006-10-15 07:54:40 0000 -------
Picking up.

------- Comment #4 From Ioannis Aslanidis 2006-10-15 10:16:32 0000 -------
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.

------- Comment #5 From Ioannis Aslanidis 2006-10-15 10:17:03 0000 -------
(In reply to comment #4)
linguas_el -> lingues_en

------- Comment #6 From Ioannis Aslanidis 2006-10-15 10:41:42 0000 -------
We'll allow 'en' to be installed anyway. Thank you for your contribution. Fixed
in CVS.

------- Comment #7 From Jakub Moc 2006-10-17 23:43:14 0000 -------
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>

------- Comment #8 From Ioannis Aslanidis 2006-10-18 01:54:52 0000 -------
I'll have a look at this later today.

------- Comment #9 From Ioannis Aslanidis 2006-10-18 06:30:30 0000 -------
Thanks for reporting this. Fill a new bug report for upcoming errors.

First Last Prev Next    No search results available      Search page      Enter new bug