Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34278 Details for
Bug 55187
openoffice-1.1.2 -> i18n-problems!
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against openoffice 1.1.2 ebuild
helpcontent.diff (text/plain), 5.61 KB, created by
Arndt Wills
on 2004-06-27 08:15:22 UTC
(
hide
)
Description:
Patch against openoffice 1.1.2 ebuild
Filename:
MIME Type:
Creator:
Arndt Wills
Created:
2004-06-27 08:15:22 UTC
Size:
5.61 KB
patch
obsolete
>--- /usr/portage/app-office/openoffice/openoffice-1.1.2.ebuild 2004-06-25 01:06:13.000000000 +0200 >+++ openoffice-1.1.2.ebuild 2004-06-27 16:28:34.322488840 +0200 >@@ -23,8 +23,7 @@ > # > # Todo: > # >-# Get support going for installing a custom language pack. Also >-# need to be able to install more than one language pack. >+# Need to be able to install more than one language pack. > > inherit flag-o-matic eutils gcc > >@@ -36,6 +35,25 @@ > DESCRIPTION="OpenOffice.org, a full office productivity suite." > SRC_URI="mirror://openoffice/stable/${PV}/OOo_${PV}_source.tar.gz > ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z" >+ >+# add language pack for selected language to SRC_URI (if available) >+ >+BASEDIR="ftp://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/helpcontent" >+case "$LANGUAGE" in >+ 31 | DTCH ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_31_unix.tgz" ;; >+ 33 | FREN ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_33_unix.tgz" ;; >+ 34 | SPAN ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_34_unix.tgz" ;; >+ 35 | FINN ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_35_unix.tgz" ;; >+ 39 | ITAL ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_39_unix.tgz" ;; >+ 46 | SWED ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_46_unix.tgz" ;; >+ 49 | GER ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_49_unix.tgz" ;; >+ 81 | JAPN ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_81_unix.tgz" ;; >+ 82 | KOREAN ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_82_unix.tgz" ;; >+ 86 | CHINSIM ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_86_unix.tgz" ;; >+ 88 | CHINTRAD ) SRC_URI="$SRC_URI $BASEDIR/helpcontent_88_unix.tgz" ;; >+ * ) ;; >+esac >+ > HOMEPAGE="http://www.openoffice.org/" > > LICENSE="LGPL-2 | SISSL-1.1" >@@ -130,17 +148,17 @@ > ;; > 30 | GREEK ) LANGNO=30; LANGNAME=GREEK; LFULLNAME=Greek > ;; >- 31 | DTCH ) LANGNO=31; LANGNAME=DTCH; LFULLNAME=Dutch >+ 31 | DTCH ) LANGNO=31; LANGNAME=DTCH; LFULLNAME=Dutch; HELPDIRNAME="dutch" > ;; >- 33 | FREN ) LANGNO=33; LANGNAME=FREN; LFULLNAME=French >+ 33 | FREN ) LANGNO=33; LANGNAME=FREN; LFULLNAME=French; HELPDIRNAME="french" > ;; >- 34 | SPAN ) LANGNO=34; LANGNAME=SPAN; LFULLNAME=Spanish >+ 34 | SPAN ) LANGNO=34; LANGNAME=SPAN; LFULLNAME=Spanish; HELPDIRNAME="spanish" > ;; > 35 | FINN ) LANGNO=35; LANGNAME=FINN; LFULLNAME=Finnish > ;; > 37 | CAT ) LANGNO=37; LANGNAME=CAT; LFULLNAME=Catalan > ;; >- 39 | ITAL ) LANGNO=39; LANGNAME=ITAL; LFULLNAME=Italian >+ 39 | ITAL ) LANGNO=39; LANGNAME=ITAL; LFULLNAME=Italian; HELPDIRNAME="italian" > ;; > 42 | CZECH ) LANGNO=42; LANGNAME=CZECH; LFULLNAME=Czech > ;; >@@ -148,11 +166,11 @@ > ;; > 45 | DAN ) LANGNO=45; LANGNAME=DAN; LFULLNAME=Danish > ;; >- 46 | SWED ) LANGNO=46; LANGNAME=SWED; LFULLNAME=Swedish >+ 46 | SWED ) LANGNO=46; LANGNAME=SWED; LFULLNAME=Swedish; HELPDIRNAME="swedish" > ;; > 48 | POL ) LANGNO=48; LANGNAME=POL; LFULLNAME=Polish > ;; >- 49 | GER ) LANGNO=49; LANGNAME=GER; LFULLNAME=German >+ 49 | GER ) LANGNO=49; LANGNAME=GER; LFULLNAME=German; HELPDIRNAME="german" > ;; > 55 | PORTBR ) LANGNO=55; LANGNAME=PORTBR; LFULLNAME="Portuguese brazilian" > ;; >@@ -160,13 +178,13 @@ > ;; > 77 | ESTONIAN ) LANGNO=77; LANGNAME=ESTONIAN; LFULLNAME=Estonian > ;; >- 81 | JAPN ) LANGNO=81; LANGNAME=JAPN; LFULLNAME="Japanese" >+ 81 | JAPN ) LANGNO=81; LANGNAME=JAPN; LFULLNAME="Japanese"; HELPDIRNAME="japanese" > ;; >- 82 | KOREAN ) LANGNO=82; LANGNAME=KOREAN; LFULLNAME=Korean >+ 82 | KOREAN ) LANGNO=82; LANGNAME=KOREAN; LFULLNAME=Korean; HELPDIRNAME="korean" > ;; >- 86 | CHINSIM ) LANGNO=86; LANGNAME=CHINSIM; LFULLNAME="Simplified Chinese (PRC)" >+ 86 | CHINSIM ) LANGNO=86; LANGNAME=CHINSIM; LFULLNAME="Simplified Chinese (PRC)"; HELPDIRNAME="chinese_simplified" > ;; >- 88 | CHINTRAD ) LANGNO=88; LANGNAME=CHINTRAD; LFULLNAME="Traditional Chinese (taiwan)" >+ 88 | CHINTRAD ) LANGNO=88; LANGNAME=CHINTRAD; LFULLNAME="Traditional Chinese (taiwan)"; HELPDIRNAME="chinese_traditional" > ;; > 90 | TURK ) LANGNO=90; LANGNAME=TURK; LFULLNAME=Turkish > ;; >@@ -239,6 +257,31 @@ > cd ${WORKDIR} > unpack ${A} > >+ # extract custom language helpcontent (if available) >+ >+ if [ "$HELPDIRNAME" != "" ]; then >+ mkdir ${S}/helpcontent/unx/common/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/sbasic/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/scalc/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/schart/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/sdraw/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/simpress/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/smath/${HELPDIRNAME} >+ mkdir ${S}/helpcontent/unx/swriter/${HELPDIRNAME} >+ >+ unzip -o -d ${S}/helpcontent ${WORKDIR}/helpxsl.zip >+ unzip -o -d ${S}/helpcontent/unx/common/${HELPDIRNAME} ${WORKDIR}/shared${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/sbasic/${HELPDIRNAME} ${WORKDIR}/sbasic${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/scalc/${HELPDIRNAME} ${WORKDIR}/scalc${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/schart/${HELPDIRNAME} ${WORKDIR}/schart${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/sdraw/${HELPDIRNAME} ${WORKDIR}/sdraw${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/simpress/${HELPDIRNAME} ${WORKDIR}/simpress${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/smath/${HELPDIRNAME} ${WORKDIR}/smath${LANGNO}.zip >+ unzip -o -d ${S}/helpcontent/unx/swriter/${HELPDIRNAME} ${WORKDIR}/swriter${LANGNO}.zip >+ >+ sed -i -e "s%pack_01%pack_01 pack_${LANGNO}%" ${S}/instsetoo/util/makefile.mk >+ fi >+ > # Install gpc > cd ${WORKDIR}/gpc231 > cp gpc.* ${S}/external/gpc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55187
:
34162
| 34278 |
34279
|
34280