Summary: | app-office/libreoffice-bin-3.4.0 fails to unpack with USE="offlinehelp" and LINGUAS="de" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Straube <Alexander.Straube> |
Component: | New packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, dark.knight.ita, dirk, follettoonip, ian, o.freyermuth, tomas |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fix of typo in non-english environment |
Description
Alexander Straube
2011-06-05 20:01:28 UTC
the same happens with LINGUAS="it" ditto with LINGUAS="pl" Found to be a tybo in ebuild. Fixable by a following patch, resulting in libreoffice-bin-3.4.0_p1.ebuild : --- libreoffice-bin-3.4.0.ebuild 2011-06-05 19:47:44.000000000 +0200 +++ libreoffice-bin-3.4.0_p1.ebuild 2011-06-06 21:41:20.564111428 +0200 @@ -8,6 +8,7 @@ IUSE="gnome java offlinehelp" +PV="${PV/_p*}" MY_PV="${PV/_/-}" MY_PV2="${PV}rc2" BVER="3.4.0-12" @@ -46,7 +47,7 @@ done for Y in ${LANGS2} ; do - [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( + [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${Y}? ( amd64? ( offlinehelp? ( "${FILEPATH}"/x86_64/LibO_${PV}_Linux_x86-64_helppack-rpm_${Y/_/-}.tar.gz ) ) x86? ( offlinehelp? ( "${FILEPATH}"/x86/LibO_${PV}_Linux_x86_helppack-rpm_${Y/_/-}.tar.gz ) ) )" done Created attachment 276043 [details, diff]
Fix of typo in non-english environment
Patch from libreoffice-bin-3.4.0.ebuild to libreoffice-bin-3.4.0_p1.ebuild
* Enables _p1 suffix processing
* Fixes typo in loop variable
I can confirm the bug with LINGUAS="it". The ebuild above solves the installation issue. This is fixed in -r1, thanks for reporting and hunting down the stupid oversight! Closing. *** Bug 371847 has been marked as a duplicate of this bug. *** *** Bug 371847 has been marked as a duplicate of this bug. *** |