[Libreoffice-commits] .: 2 commits - configure.in distro-configs/OxygenOfficeLinux.conf distro-configs/OxygenOfficeWin32.conf download ooo.lst.in scp2/source set_soenv.in

Kalman "" Szalai kami911 at kemper.freedesktop.org
Sun May 8 01:30:43 PDT 2011


 configure.in                               |   18 ++++--
 distro-configs/OxygenOfficeLinux.conf      |   79 +++++++++++++++++++++++++++++
 distro-configs/OxygenOfficeWin32.conf      |   46 ++++++++++++++++
 download                                   |    4 -
 ooo.lst.in                                 |    2 
 scp2/source/extensions/file_extensions.scp |    4 -
 set_soenv.in                               |    3 +
 7 files changed, 147 insertions(+), 9 deletions(-)

New commits:
commit d2017be6b60c833f880884fa5a2bfdc7bf79dfe7
Author: Kalman Szalai - KAMI <kami911 at gmail.com>
Date:   Sun May 8 10:30:10 2011 +0200

    Add OxygenOffice distro confs

diff --git a/distro-configs/OxygenOfficeLinux.conf b/distro-configs/OxygenOfficeLinux.conf
new file mode 100644
index 0000000..8a3a7ef
--- /dev/null
+++ b/distro-configs/OxygenOfficeLinux.conf
@@ -0,0 +1,79 @@
+--with-vendor=OxygenOffice Professional Team
+--with-build-version=OxygenOffice Professional Alpha 3.5.0 M000 - OxygenOffice Build 0
+--with-intro-bitmap=$TARFILE_LOCATION/openintro_ooop.png
+--with-about-bitmap=$TARFILE_LOCATION/openabout_ooop.png
+--enable-binfilter
+--enable-vba
+--enable-build-mozilla
+--without-system-mozilla
+--with-package-format=rpm deb
+--enable-epm
+--enable-cups
+--disable-symbols
+--enable-systray
+--with-epm=internal
+--disable-kde
+--disable-kde4
+--enable-gtk
+--enable-evolution2
+--enable-lockdown
+--without-unix-wrapper
+--with-fonts
+--enable-extra-gallery
+--enable-extra-template
+--enable-extra-sample
+--enable-extra-font
+--with-lang=en-US hu de fr it tr ka fi pl nl pt-BR es ja zh-CN sv cs ko sl
+--enable-opengl
+--enable-dbus
+--enable-gnome-vfs
+--with-extension-integration
+--enable-ext-wiki-publisher
+--enable-ext-report-builder
+--enable-ext-presenter-minimizer
+--enable-ext-presenter-console
+--enable-ext-pdfimport
+--enable-ext-scripting-beanshell
+--enable-ext-scripting-javascript
+--enable-ext-scripting-python
+--enable-ext-google-docs
+--enable-ext-hunart
+--enable-ext-lightproof
+--enable-ext-nlpsolver
+--enable-ext-numbertext
+--enable-ext-typo
+--enable-ext-watch-window
+--enable-ext-diagram
+--enable-ext-validator
+--enable-ext-barcode
+--disable-ext-oooblogger
+--with-sun-templates
+--without-system-poppler
+--enable-neon
+--without-system-stdlibs
+--with-jdk-home=/usr/local/jdk1.6.0_23/
+--without-system-dicts
+--without-system-xrender-headers
+--without-system-zlib
+--without-system-stdlibs
+--without-system-python
+--without-system-poppler
+--without-system-openssl
+--without-system-mozilla
+--without-system-mesa-headers
+--without-system-libxslt
+--without-system-libxml
+--without-system-jpeg
+--without-system-jars
+--without-system-cairo
+--without-junit
+--with-helppack-integration
+--with-linker-hash-style=both
+--enable-odk
+--enable-gstreamer
+--enable-cairo
+--enable-graphite
+--enable-dependency-tracking
+--enable-mozilla
+--with-system-mozilla=mozilla
+--with-openldap
diff --git a/distro-configs/OxygenOfficeWin32.conf b/distro-configs/OxygenOfficeWin32.conf
new file mode 100644
index 0000000..8c5f402
--- /dev/null
+++ b/distro-configs/OxygenOfficeWin32.conf
@@ -0,0 +1,46 @@
+--with-vendor=OxygenOffice Professional Team
+--with-build-version=OxygenOffice Professional Alpha 3.5.0 M000 - OxygenOffice Build 0
+--with-intro-bitmap=$TARFILE_LOCATION/openintro_ooop.png
+--with-about-bitmap=$TARFILE_LOCATION/openabout_ooop.png
+--enable-binfilter
+--enable-vba
+--disable-build-mozilla
+--disable-symbols
+--enable-systray
+--with-fonts
+--enable-extra-gallery
+--enable-extra-template
+--enable-extra-sample
+--enable-extra-font
+--with-lang=hu de fr it tr ka fi pl nl pt-BR es ja zh-CN sv cs ko sl
+--with-extension-integration
+--enable-ext-wiki-publisher
+--enable-ext-report-builder
+--enable-ext-presenter-minimizer
+--enable-ext-presenter-console
+--enable-ext-pdfimport
+--enable-ext-scripting-beanshell
+--enable-ext-scripting-javascript
+--enable-ext-scripting-python
+--enable-ext-google-docs
+--enable-ext-hunart
+--enable-ext-lightproof
+--enable-ext-nlpsolver
+--enable-ext-numbertext
+--enable-ext-typo
+--enable-ext-watch-window
+--enable-ext-diagram
+--enable-ext-validator
+--enable-ext-barcode
+--disable-ext-oooblogger
+--with-sun-templates
+--disable-cairo
+--with-jdk-home=/usr/local/jdk1.6.0_23/
+--without-junit
+--with-helppack-integration
+--enable-cairo
+--enable-graphite
+--enable-dependency-tracking
+--enable-mozilla
+--with-system-mozilla=mozilla
+--with-openldap
commit 85d90f6c1de12d03d1d9099286a21934851cefcb
Author: Kalman Szalai - KAMI <kami911 at gmail.com>
Date:   Sun May 8 10:25:25 2011 +0200

    Fix Ligthproof extension integration
    
    * Fix configure and download support
    * Extension naming scheme is: <md5>-<extension-name>_<version>.oxt
      - Renamed extensions
    * Rename extension version number in download script and scp2 module

diff --git a/configure.in b/configure.in
index d777527..116f5d0 100755
--- a/configure.in
+++ b/configure.in
@@ -7073,7 +7073,7 @@ if test "z$enable_ext_lightproof" = "z" -o "z$enable_ext_lightproof" = "zno" ; t
     AC_MSG_RESULT([no integration])
 else
     SCPDEFS="$SCPDEFS -DWITH_EXTENSION_LIGHTPROOF"
-    lightproof_supported_langs="hu"
+    lightproof_supported_langs="en-US hu"
     if test "z$enable_ext_lightproof" = "zyes" ; then
         wanted_lightproof="$lightproof_supported_langs"
     else
@@ -7086,15 +7086,23 @@ else
     done
     fi
     LIGHTPROOF_LANG=
+    LIGHTPROOF_HU_PACK=
+    LIGHTPROOF_EN_US_PACK=
     # check whether the langs are requested at all
     for lang in $wanted_lightproof ; do
     if test "$with_lang" = "ALL" -o -n "`echo $with_lang | grep "$lang"`" ; then
         LIGHTPROOF_LANG="$LIGHTPROOF_LANG $lang"
+        case $lang in
+        "hu") LIGHTPROOF_HU_PACK="324ddcb9ef45c3bc055fcc002bc4e556-lightproof-hu_1.2.oxt";;
+        "en-US") LIGHTPROOF_EN_US_PACK="942541da5f5498214518c8b459ae4524-lightproof-en-US_0.1.oxt";;
+    esac
     fi
     done
     AC_MSG_RESULT([$LIGHTPROOF_LANG])
 fi
 AC_SUBST(LIGHTPROOF_LANG)
+AC_SUBST(LIGHTPROOF_HU_PACK)
+AC_SUBST(LIGHTPROOF_EN_US_PACK)
 
 dnl ===================================================================
 dnl Test whether to include Watch Window extension
@@ -7163,7 +7171,7 @@ else
   AC_MSG_RESULT([yes])
   BUILD_TYPE="$BUILD_TYPE CT2N"
   SCPDEFS="$SCPDEFS -DWITH_EXTENSION_CT2N"
-  CT2N_EXTENSION_PACK="451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt"
+  CT2N_EXTENSION_PACK="451ccf439a36a568653b024534669971-ConvertTextToNumber_1.3.2.oxt"
 fi
 AC_SUBST(CT2N_EXTENSION_PACK)
 
@@ -7177,7 +7185,7 @@ if test "z$enable_ext_numbertext" = "z" -o "z$enable_ext_numbertext" = "zno" ; t
 else
   AC_MSG_RESULT([yes])
   SCPDEFS="$SCPDEFS -DWITH_EXTENSION_NUMBERTEXT"
-  NUMBERTEXT_EXTENSION_PACK="b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext-0.9.4.oxt"
+  NUMBERTEXT_EXTENSION_PACK="b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext_0.9.4.oxt"
 fi
 AC_SUBST(NUMBERTEXT_EXTENSION_PACK)
 
@@ -7191,7 +7199,7 @@ if test "z$enable_ext_hunart" = "z" -o "z$enable_ext_hunart" = "zno" ; then
 else
   AC_MSG_RESULT([yes])
   SCPDEFS="$SCPDEFS -DWITH_EXTENSION_HUNART"
-  HUNART_EXTENSION_PACK="b632bdd25649cc4067bcb410bae23d2b-hunart-0.3.oxt"
+  HUNART_EXTENSION_PACK="b632bdd25649cc4067bcb410bae23d2b-hunart_0.3.oxt"
 fi
 AC_SUBST(HUNART_EXTENSION_PACK)
 
@@ -7205,7 +7213,7 @@ if test "z$enable_ext_typo" = "z" -o "z$enable_ext_typo" = "zno" ; then
 else
   AC_MSG_RESULT([yes])
   SCPDEFS="$SCPDEFS -DWITH_EXTENSION_TYPO"
-  TYPO_EXTENSION_PACK="9d60b6cfa3ef1926848710bbcd11115b-typo-0.4.2.oxt"
+  TYPO_EXTENSION_PACK="9d60b6cfa3ef1926848710bbcd11115b-typo_0.4.2.oxt"
 fi
 AC_SUBST(TYPO_EXTENSION_PACK)
 
diff --git a/download b/download
index 468cf61..b7ef885 100755
--- a/download
+++ b/download
@@ -264,9 +264,9 @@ done
 
 # Extensions copy
 echo "Copy extensions to their location ..."
-for pack in $BARCODE_EXTENSION_PACK $DIAGRAM_EXTENSION_PACK $VALIDATOR_EXTENSION_PACK $WATCH_WINDOW_EXTENSION_PACK $NUMBERTEXT_EXTENSION_PACK $HUNART_EXTENSION_PACK $TYPO_EXTENSION_PACK $GOOGLE_DOCS_EXTENSION_PACK ; do
+for pack in $BARCODE_EXTENSION_PACK $DIAGRAM_EXTENSION_PACK $VALIDATOR_EXTENSION_PACK $WATCH_WINDOW_EXTENSION_PACK $NUMBERTEXT_EXTENSION_PACK $HUNART_EXTENSION_PACK $TYPO_EXTENSION_PACK $GOOGLE_DOCS_EXTENSION_PACK $LIGHTPROOF_HU_PACK $LIGHTPROOF_EN_US_PACK; do
     check_file $TARFILE_LOCATION/$pack
-    packfilename=`echo "$pack" | cut --only-delimited --delimiter=- --fields=2 | cut --delimiter=_ --fields=1`
+    packfilename=`echo "$pack" | cut --only-delimited --delimiter=- --fields=2- | cut --delimiter=_ --fields=1`
     echo "Copy extension: '$pack' as '$packfilename.oxt' ..."
     mkdir -p $SRC_ROOT/extras/source/extensions/ || exit 1
     cp $TARFILE_LOCATION/$pack $SRC_ROOT/extras/source/extensions/$packfilename.oxt || exit 1
diff --git a/ooo.lst.in b/ooo.lst.in
index ddec75f..c6248cb 100644
--- a/ooo.lst.in
+++ b/ooo.lst.in
@@ -98,4 +98,6 @@ http://ooo.itc.hu/oxygenoffice/download/libreoffice/
 @HUNART_EXTENSION_PACK@
 @TYPO_EXTENSION_PACK@
 @GOOGLE_DOCS_EXTENSION_PACK@
+ at LIGHTPROOF_EN_US_PACK@
+ at LIGHTPROOF_HU_PACK@
 
diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp
index b8919bc..ff61178 100644
--- a/scp2/source/extensions/file_extensions.scp
+++ b/scp2/source/extensions/file_extensions.scp
@@ -112,8 +112,8 @@ File gid_File_Oxt_LightProof
     TXT_FILE_BODY;
     Styles = (PACKED, ARCHIVE);
     Dir = gid_Brand_Dir_Share_Extensions_LightProof;
-    Name (en-US) = "lightproof-en-US-0.1.oxt";
-    Name (hu) = "lightproof-hu-1.2.oxt";
+    Name (en-US) = "lightproof-en-US.oxt";
+    Name (hu) = "lightproof-hu.oxt";
 End
 
 #endif
diff --git a/set_soenv.in b/set_soenv.in
index 6816cbb..a23f216 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1793,6 +1793,9 @@ ToFile( "NUMBERTEXT_EXTENSION_PACK", "@NUMBERTEXT_EXTENSION_PACK@","e" );
 ToFile( "HUNART_EXTENSION_PACK", "@HUNART_EXTENSION_PACK@","e" );
 ToFile( "TYPO_EXTENSION_PACK", "@TYPO_EXTENSION_PACK@","e" );
 ToFile( "GOOGLE_DOCS_EXTENSION_PACK", "@GOOGLE_DOCS_EXTENSION_PACK@","e" );
+ToFile( "LIGHTPROOF_EN_US_PACK", "@LIGHTPROOF_EN_US_PACK@","e" );
+ToFile( "LIGHTPROOF_HU_PACK", "@LIGHTPROOF_HU_PACK@","e" );
+ToFile( "LIGHTPROOF_LANG",   "@LIGHTPROOF_LANG@",  "e" );
 ToFile( "WITH_FONTS",        "@WITH_FONTS@",       "e" );
 ToFile( "WITH_AGFA_MONOTYPE_FONTS",  "@WITH_AGFA_MONOTYPE_FONTS@", "e" );
 ToFile( "WITHOUT_AFMS",      "@WITHOUT_AFMS@",     "e" );


More information about the Libreoffice-commits mailing list