]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-build.patch
- moved desktop files to CVS; omit oo{agenda,fax,label,letter,memo,vcard}
[packages/libreoffice.git] / openoffice-build.patch
1 --- ooo-build-1.3.0/bin/install-help.orig       2004-07-14 10:22:38.000000000 +0200
2 +++ ooo-build-1.3.0/bin/install-help    2004-07-24 16:09:52.000000000 +0200
3 @@ -7,24 +7,27 @@
4      exit 1;
5  fi
6  
7 -# the available extra localizations
8 -LANGNUMS="07 33 34 36 39 42 43 46 49 81 82 86 88"
9 +# the tested localizations
10 +LANGNUMS=`./openoffice-xlate-lang -p all`
11  
12  for LANGNUM in $LANGNUMS ; do
13    LANGCODE=`$TOOLSDIR/bin/openoffice-xlate-lang -i $LANGNUM`
14    install -m 755 -d $HELPDIR/$LANGCODE || exit 1;
15 -  if test -f $SRCDIR/helpcontent_${LANGNUM}_unix.tar.bz2 ; then
16 +  if test -f $SRCDIR/helpcontent_${LANGNUM}_unix.tar.bz2 -o -f $SRCDIR/helpcontent_${LANGNUM}_unix.tgz ; then
17      echo "Unpacking $LANGCODE help content..."
18 -    tar -xjf $SRCDIR/helpcontent_${LANGNUM}_unix.tar.bz2 -C $HELPDIR/$LANGCODE || exit 1;
19 -  
20 -    pushd $HELPDIR/$LANGCODE
21 +    if test -f $SRCDIR/helpcontent_${LANGNUM}_unix.tar.bz2 ; then
22 +      tar -xjf $SRCDIR/helpcontent_${LANGNUM}_unix.tar.bz2 -C $HELPDIR/$LANGCODE || exit 1;
23 +    else
24 +      tar -xzf $SRCDIR/helpcontent_${LANGNUM}_unix.tgz -C $HELPDIR/$LANGCODE || exit 1;
25 +    fi
26 +    cd $HELPDIR/$LANGCODE
27      for arch in *.zip ; do
28        if test "z$arch" != "zhelpxsl.zip" ; then
29          unzip -o $arch
30        fi
31        rm $arch
32      done
33 -    popd
34 +    cd -
35  
36      # fix or add highcontrast*.css
37      for config in custom.css default.css \
38 --- ooo-build-1.3.0/bin/package-ooo.orig        2004-07-21 20:30:10.000000000 +0200
39 +++ ooo-build-1.3.0/bin/package-ooo     2004-07-24 16:13:24.000000000 +0200
40 @@ -49,7 +49,7 @@
41         chmod +x $PREFIX/bin/ooo-wrapper$BINSUFFIX
42         for app in calc draw fromtemplate impress html math web writer ffice; do
43                 ln -sf ooo-wrapper${BINSUFFIX} $PREFIX/bin/oo${app}${BINSUFFIX}
44 -               if test "z$VENDORNAME" = "zNovell" -o "z$VENDORNAME" = "zSUSE" ; then
45 +               if test "z$VENDORNAME" = "zNovell" -o "z$VENDORNAME" = "zSUSE" -o "z$VENDORNAME" = "zPLD"; then
46                         echo ".so man1/openoffice$BINSUFFIX.1" >| $MANDIR/man1/oo${app}$BINSUFFIX.1;
47                 fi
48         done
49 --- ooo-build-1.3.0/bin/openoffice-xlate-lang.orig      2004-07-27 00:33:10.000000000 +0200
50 +++ ooo-build-1.3.0/bin/openoffice-xlate-lang   2004-07-27 00:33:33.000000000 +0200
51 @@ -109,10 +109,10 @@
52  1;
53  
54  __DATA__
55 -01:en:english_us
56 +01:en:english
57  03:pt:portuguese
58  07:ru:russian
59 -26:ns:northern_sotho
60 +26:ns:northernsotho
61  27:af:afrikaans
62  28:zu:zulu
63  30:el:greek
64 @@ -127,13 +127,14 @@
65  43:sk:slovak
66  45:da:danish
67  46:sv:swedish
68 -47:nb:norwegian_bokmal
69 +47:nb:norwegian
70  48:pl:polish
71  49:de:german
72  50:sl:slovenian
73  53:cy:welsh
74 +55:pt-BR:portuguese_brazilian
75  77:et:estonian
76 -79:nn:nowegian_nynorsk
77 +79:nn:norwegian_nynorsk
78  81:ja:japanese
79  82:ko:korean
80  86:zh-CN:chinese_simplified
This page took 0.053438 seconds and 3 git commands to generate.