Accepting request 80943 from LibreOffice:Unstable

- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)

OBS-URL: https://build.opensuse.org/request/show/80943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=19
This commit is contained in:
Sascha Peilicke 2011-09-07 15:41:42 +00:00 committed by Git OBS Bridge
parent 8544082137
commit f052892015
142 changed files with 34769 additions and 150 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
185d60944ea767075d27247c3162b3bc-unowinreg.dll filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d29cba4312812a26b14effda2cf56284e70226cdccc90a83844297e3b7498ee
size 4893724

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a19205ac076973b55d9c5d3c8b664735d5b89fe793629ec10c110caa98e0bc1d
size 92050

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5677badffc48a8d332e345ea4fe225e3577f53fc95deeec8306000b256829655
size 540999

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370
size 3519470

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e6c53064ef6f40891ad72c06fab9f3c8fdcda80e03c9d0b21244cb1d4bf030b
size 315122

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6
size 12288

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:390a5085651828b8fe12aa978b200f59b9155eedbb91a4be89bf7cf39eefdd4a
size 1652670

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:edfdb0734fb7120bf1cbb60e45a07864db2daaadf5c3591ccf7357f244d82a40
size 1657246

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:556921bf0de5c508985c95eef77b73a4388a7da1b7e703060c79c58385483bf4
size 3568559

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9775f8db678e15e9a482bbbf00b35c38da8bfc51c6dafa4531c6dd16225602fd
size 474681

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:635165a49cec93ac95ca3ee6c9a6ea1c43078d25becbbdfd6d73096bbe0fc91c
size 4351965

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5826d1551bf599b85742545f6e01a0079b93c1b2c8434bf409eddb3a29e4726b
size 1180582

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64585ac36a81291a58269ec5347e7e3e2e8596dbacb9221015c208191333c6e1
size 9796

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:085f2112c51fa8c1783fac12fbd452650596415121348393bb51f0f7e85a9045
size 153157

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0531091787c0f16c83965fdcbc49162c059d7f0c64669e7f119699321549743
size 5750610

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:168564a57411907432c7b191f63fb581439fed57732038c5308631afe05063ac
size 189448

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34a9812ae426dbca696fbd069276094517da0df78b5afb95a87b1c2daef97adb
size 42487

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:34a9812ae426dbca696fbd069276094517da0df78b5afb95a87b1c2daef97adb
size 42487

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5547b963a890cbc0edd0e9286e3ccbf10a4cff3067891c8ce808d30402d58b8
size 612842

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a0cd4a6e33a24ee11d3bfde50e9bbcfc237afa5d20713ffd994f90bdde193c3
size 4603398

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d823f4b2ddfe349cca09e40bd57af8220e8bf935bcfb66be520e02ba4d327dc6
size 326684

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fb458d6aab06932693cc8a9b6e4e70944ee1ff052fa63606e3131df34e21753
size 1521926

22230
801-sdbc-postgresql.diff Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
---
connectivity/prj/build.lst | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git connectivity/prj/build.lst connectivity/prj/build.lst
index 0b15c06..b693d45 100644
--- connectivity/prj/build.lst
+++ connectivity/prj/build.lst
@@ -18,6 +18,7 @@ cn connectivity\source\drivers\calc nmake - all cn_calc cn_f
cn connectivity\source\drivers\odbcbase nmake - all cn_odbcbase cn_dbtools cn_inc NULL
cn connectivity\source\drivers\odbc nmake - all cn_odbc cn_odbcbase cn_inc NULL
cn connectivity\source\drivers\mysql nmake - all cn_mysql cn_dbtools cn_inc NULL
+cn connectivity\source\drivers\postgresql nmake - all cn_postgresql cn_dbtools cn_inc NULL
cn connectivity\source\drivers\jdbc nmake - all cn_jdbc cn_dbtools cn_inc NULL
cn connectivity\source\drivers\adabas nmake - all cn_adabas cn_dbtools cn_odbcbase cn_inc NULL
cn connectivity\source\drivers\file nmake - all cn_file cn_dbtools cn_inc NULL
--
1.7.0.1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,87 @@
---
.../drivers/postgresql/pq_preparedstatement.cxx | 2 ++
.../drivers/postgresql/pq_resultsetmetadata.cxx | 1 +
.../source/drivers/postgresql/pq_statement.cxx | 1 +
.../source/drivers/postgresql/pq_statics.cxx | 2 ++
.../source/drivers/postgresql/pq_tools.cxx | 1 +
.../drivers/postgresql/pq_updateableresultset.cxx | 2 ++
6 files changed, 9 insertions(+), 0 deletions(-)
diff --git connectivity/source/drivers/postgresql/pq_preparedstatement.cxx connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
index 1d66a8a..5fadf16 100644
--- connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
+++ connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
@@ -77,6 +77,8 @@
#include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
#include <com/sun/star/sdbc/ResultSetType.hpp>
+#include <string.h>
+
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
index d351b4c..1c7b768 100644
--- connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
+++ connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx
@@ -69,6 +69,7 @@
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
+#include <string.h>
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_statement.cxx connectivity/source/drivers/postgresql/pq_statement.cxx
index b60edfc..086cd22 100644
--- connectivity/source/drivers/postgresql/pq_statement.cxx
+++ connectivity/source/drivers/postgresql/pq_statement.cxx
@@ -86,6 +86,7 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
+#include <string.h>
using osl::Mutex;
using osl::MutexGuard;
diff --git connectivity/source/drivers/postgresql/pq_statics.cxx connectivity/source/drivers/postgresql/pq_statics.cxx
index 177571d..71fbbff 100644
--- connectivity/source/drivers/postgresql/pq_statics.cxx
+++ connectivity/source/drivers/postgresql/pq_statics.cxx
@@ -64,6 +64,8 @@
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
+#include <string.h>
+
using rtl::OUString;
using com::sun::star::uno::Sequence;
using com::sun::star::uno::Any;
diff --git connectivity/source/drivers/postgresql/pq_tools.cxx connectivity/source/drivers/postgresql/pq_tools.cxx
index c6b16e0..1f91984 100644
--- connectivity/source/drivers/postgresql/pq_tools.cxx
+++ connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -16,6 +16,7 @@
#include "pq_statics.hxx"
#include <libpq-fe.h>
+#include <string.h>
using rtl::OUString;
using rtl::OUStringBuffer;
diff --git connectivity/source/drivers/postgresql/pq_updateableresultset.cxx connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
index 7efa005..6793373 100644
--- connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
+++ connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
@@ -12,6 +12,8 @@
#include "pq_tools.hxx"
#include "pq_statics.hxx"
+#include <string.h>
+
using osl::MutexGuard;
using rtl::OUString;
--
1.7.0.1

View File

@ -0,0 +1,48 @@
---
configure.in | 17 +++++++++++++++++
set_soenv.in | 1 +
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git configure.in configure.in
index cc0f65b..3620984 100644
--- configure.in
+++ configure.in
@@ -4239,6 +4239,23 @@ AC_SUBST(SYSTEM_HSQLDB)
AC_SUBST(HSQLDB_JAR)
dnl ===================================================================
+dnl Check for PostgreSQL stuff
+dnl ===================================================================
+AC_PATH_PROG(PGCONFIG, pg_config)
+if test -z "$PGCONFIG"; then
+ AC_MSG_ERROR([pg_config needed])
+fi
+save_CFLAGS=$CFLAGS
+save_LIBS=$LIBS
+CFLAGS="-I`pg_config --includedir`"
+AC_CHECK_HEADER([libpq-fe.h], [], [AC_MSG_ERROR([libpq-fe.h is needed])], [])
+AC_HAVE_LIBRARY(pq, [], [AC_MSG_ERROR(libpq is needed)], [])
+CFLAGS=$save_CFLAGS
+LIBS=$save_LIBS
+SYSTEM_POSTGRESQL=YES # only option atm :-)
+AC_SUBST(SYSTEM_POSTGRESQL)
+
+dnl ===================================================================
dnl Check for system beanshell
dnl ===================================================================
AC_MSG_CHECKING([which beanshell to use])
diff --git set_soenv.in set_soenv.in
index d36115a..ababa63 100644
--- set_soenv.in
+++ set_soenv.in
@@ -1935,6 +1935,7 @@ ToFile( "USE_XINERAMA", "@USE_XINERAMA@", "e" );
ToFile( "SYSTEM_REDLAND", "@SYSTEM_REDLAND@", "e" );
ToFile( "REDLAND_CFLAGS", "@REDLAND_CFLAGS@", "e" );
ToFile( "REDLAND_LIBS", "@REDLAND_LIBS@", "e" );
+ToFile( "SYSTEM_POSTGRESQL", "@SYSTEM_POSTGRESQL@", "e" );
ToFile( "SYSTEM_HUNSPELL", "@SYSTEM_HUNSPELL@", "e" );
ToFile( "HUNSPELL_CFLAGS", "@HUNSPELL_CFLAGS@", "e" );
ToFile( "HUNSPELL_LIBS", "@HUNSPELL_LIBS@", "e" );
--
1.7.0.1

View File

@ -0,0 +1,72 @@
--- connectivity/source/drivers/postgresql/manifest.xml.old 2010-11-26 19:01:13.000000000 +0100
+++ connectivity/source/drivers/postgresql/manifest.xml 2010-11-25 21:18:03.000000000 +0100
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
+<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
+ manifest:full-path="postgresql-sdbc-impl.uno.so"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
+ manifest:full-path="postgresql-sdbc.uno.so"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
+ manifest:full-path="postgresql.xcu"/>
+</manifest:manifest>
--- connectivity/source/drivers/postgresql/description.xml.old 2010-11-26 19:01:26.000000000 +0100
+++ connectivity/source/drivers/postgresql/description.xml 2010-11-26 18:59:36.000000000 +0100
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dep="http://openoffice.org/extensions/description/2006">
+ <version value="0.7.6b" />
+ <identifier value="postgresql-sdbc" />
+ <display-name>
+ <name lang="en-US">Postgresql-SDBC Driver</name>
+ </display-name>
+ <dependencies>
+ <OpenOffice.org-minimal-version value="3.3" dep:name="OpenOffice.org 3.3"/>
+ </dependencies>
+ <publisher>
+ <name xlink:href="http://www.oracle.com/us/products/applications/open-office" lang="en">Oracle</name>
+ </publisher>
+</description>
--- connectivity/source/drivers/postgresql/makefile.mk.old 2010-11-19 22:21:03.000000000 +0100
+++ connectivity/source/drivers/postgresql/makefile.mk 2010-11-26 19:54:38.000000000 +0100
@@ -176,7 +176,7 @@ SHL2VERSIONMAP=$(SOLARENV)$/src$/compone
SLOFILES= $(LIB1OBJFILES) $(LIB2OBJFILES)
-DRIVERNAME=postgresql-sdbc-$(PQ_SDBC_MAJOR).$(PQ_SDBC_MINOR).$(PQ_SDBC_MICRO).zip
+DRIVERNAME=postgresql-sdbc-$(PQ_SDBC_MAJOR).$(PQ_SDBC_MINOR).$(PQ_SDBC_MICRO).oxt
ALLTAR : $(DLLDEST)$/$(DRIVERNAME)
# --- Targets ------------------------------------------------------
@@ -191,19 +191,29 @@
$(DLLDEST)$/$(SHL1TARGET)$(INI_EXT): $(SHL1TARGET)
+cp $? $@
-
$(DLLDEST)$/$(DRIVERNAME): \
+ $(DLLDEST)$/META-INF$/manifest.xml \
+ $(DLLDEST)$/description.xml \
$(DLLDEST)$/postgresql.xcu \
$(DLLDEST)$/$(SHL1TARGET)$(DLLPOST) \
$(DLLDEST)$/$(SHL2TARGET)$(DLLPOST) \
$(DLLDEST)$/$(SHL1TARGET)$(INI_EXT)
+cd $(DLLDEST) && \
zip -r $(DRIVERNAME) \
+ META-INF$/manifest.xml \
$(SHL1TARGET)$(DLLPOST) \
$(SHL2TARGET)$(DLLPOST) \
$(SHL1TARGET)$(INI_EXT) \
+ description.xml \
postgresql.xcu
+$(DLLDEST)$/META-INF$/manifest.xml : manifest.xml
+ -mkdir -p $(DLLDEST)$/META-INF
+ +cp $? $@
+
+$(DLLDEST)$/description.xml : description.xml
+ +cp $? $@
+
$(DLLDEST)$/postgresql.xcu : postgresql.xcu
-rm -f $@
cat postgresql.xcu > $@

View File

@ -0,0 +1,101 @@
--- connectivity/source/drivers/postgresql/pq_connection.hxx.old 2011-08-16 12:26:22.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_connection.hxx 2011-08-16 16:39:55.000000000 +0200
@@ -61,7 +61,7 @@
#ifndef _PQ_CONNECTION_HXX_
#define _PQ_CONNECTION_HXX_
-#include <hash_map>
+#include <tr1/unordered_map>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -168,7 +168,7 @@ struct HashByteSequence
}
};
-typedef ::std::hash_map<
+typedef std::tr1::unordered_map<
::rtl::ByteSequence,
::com::sun::star::uno::WeakReference< com::sun::star::sdbc::XCloseable >,
HashByteSequence,
@@ -179,11 +179,11 @@ typedef ::std::vector< rtl::OString, All
-typedef std::hash_map
+typedef std::tr1::unordered_map
<
const sal_Int32,
rtl::OUString,
- ::std::hash< sal_Int32 >,
+ ::std::tr1::hash< sal_Int32 >,
::std::equal_to< sal_Int32 >,
Allocator< ::std::pair< sal_Int32, ::rtl::OUString > >
> Int2StringMap;
--- connectivity/source/drivers/postgresql/pq_statics.hxx.old 2011-08-16 12:26:22.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_statics.hxx 2011-08-16 16:45:07.000000000 +0200
@@ -61,7 +61,7 @@
#ifndef _PQ_STATICS_HXX_
#define _PQ_STATICS_HXX_
-#include <hash_map>
+#include <tr1/unordered_map>
#include <vector>
#include <rtl/uuid.h>
@@ -131,7 +131,7 @@ struct TypeDetails
sal_Bool isSearchable;
};
-typedef ::std::hash_map
+typedef ::std::tr1::unordered_map
<
rtl::OUString,
sal_Int32,
--- connectivity/source/drivers/postgresql/pq_xcontainer.hxx.old 2011-08-16 12:26:22.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_xcontainer.hxx 2011-08-16 16:44:56.000000000 +0200
@@ -61,7 +61,7 @@
#ifndef _PQ_CONTAINER_HXX_
#define _PQ_CONTAINER_HXX_
-#include <hash_map>
+#include <tr1/unordered_map>
#include <vector>
#include <com/sun/star/container/XNameAccess.hpp>
@@ -111,7 +111,7 @@ public:
}
};
-typedef ::std::hash_map
+typedef ::std::tr1::unordered_map
<
rtl::OUString,
sal_Int32,
--- connectivity/source/drivers/postgresql/pq_tools.hxx.old 2011-08-16 12:26:22.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_tools.hxx 2011-08-16 16:46:51.000000000 +0200
@@ -154,7 +154,7 @@ com::sun::star::uno::Sequence< sal_Int32
com::sun::star::uno::Sequence< rtl::OUString > convertMappedIntArray2StringArray(
const Int2StringMap &map, const com::sun::star::uno::Sequence< sal_Int32> &source );
-typedef std::hash_map
+typedef std::tr1::unordered_map
<
::rtl::OString,
::rtl::OString,
--- connectivity/source/drivers/postgresql/pq_databasemetadata.cxx.old 2011-08-16 12:26:22.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_databasemetadata.cxx 2011-08-16 16:50:26.000000000 +0200
@@ -1107,11 +1107,11 @@ struct DatabaseTypeDescription
OUString typeType;
};
-typedef std::hash_map
+typedef std::tr1::unordered_map
<
sal_Int32,
DatabaseTypeDescription,
- ::std::hash< sal_Int32 >,
+ ::std::tr1::hash< sal_Int32 >,
::std::equal_to< sal_Int32 >,
Allocator< ::std::pair< sal_Int32, DatabaseTypeDescription > >
> Oid2DatabaseTypeDescriptionMap;

View File

@ -0,0 +1,9 @@
--- connectivity/prj/d.lst.old 2011-05-19 12:27:40.000000000 +0200
+++ connectivity/prj/d.lst 2011-08-16 17:29:34.000000000 +0200
@@ -1,5 +1,6 @@
..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll
..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res
+..\%__SRC%\lib\*.oxt %_DEST%\bin%_EXT%\*.oxt
..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%\lib*.so
..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
..\%__SRC%\lib\*.jnilib %_DEST%\lib%_EXT%\*.jnilib

View File

@ -0,0 +1,15 @@
--- connectivity/source/drivers/postgresql/pq_allocator.hxx.old 2011-08-18 20:20:44.000000000 +0200
+++ connectivity/source/drivers/postgresql/pq_allocator.hxx 2011-08-18 20:20:44.000000000 +0200
@@ -176,6 +176,12 @@ public:
}
//-----------------------------------------
+ void construct (pointer p)
+ {
+ new ((void*)p)T;
+ }
+
+ //-----------------------------------------
void destroy (pointer p)
{
p->~T();

View File

@ -0,0 +1,20 @@
--- connectivity/source/drivers/postgresql/makefile.mk.old 2011-08-29 19:17:52.000000000 +0200
+++ connectivity/source/drivers/postgresql/makefile.mk 2011-08-29 19:17:52.000000000 +0200
@@ -115,7 +115,7 @@ SHL1STDLIBS= \
SHL1LIBS= $(LIB1TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
-SHL1VERSIONMAP=$(SOLARENV)$/src$/component.map
+SHL1VERSIONMAP=$(SOLARENV)$/src$/reg-component.map
# use the static version
.IF "$(GUI)"=="WNT"
@@ -170,7 +170,7 @@ SHL2STDLIBS= \
SHL2LIBS= $(LIB2TARGET)
SHL2DEF= $(MISC)$/$(SHL2TARGET).def
DEF2NAME= $(SHL2TARGET)
-SHL2VERSIONMAP=$(SOLARENV)$/src$/component.map
+SHL2VERSIONMAP=$(SOLARENV)$/src$/reg-component.map
SLOFILES= $(LIB1OBJFILES) $(LIB2OBJFILES)

View File

@ -0,0 +1,52 @@
--- configure.in.old 2011-08-25 18:51:45.000000000 +0200
+++ configure.in 2011-08-29 14:29:38.000000000 +0200
@@ -5093,13 +5093,20 @@ if test -n "$with_system_mozilla" && tes
PKG_CHECK_MODULES( MOZ_NSPR, $MOZ_FLAVOUR-nspr )
fi
- if test "$MOZ_FLAVOUR" != "libxul"; then
+ WITH_MOZILLA_XUL=YES
+ if test "$MOZ_FLAVOUR" = "mozilla"; then
+ # firefox changed the development model, so there is not longer a stable API
+ # some distros provide only mozilla-nss and mozilla-nspr but not the XUL stuff
+ PKG_CHECK_EXISTS($MOZ_FLAVOUR-xpcom, , [WITH_MOZILLA_XUL=NO])
+ fi
+
+ if test "$MOZ_FLAVOUR" != "libxul" -a "$WITH_MOZILLA_XUL" = "YES" ; then
PKG_CHECK_MODULES( MOZILLAXPCOM, $MOZ_FLAVOUR-xpcom, HASXPCOM="TRUE", HASXPCOM="" )
MOZ_INC=`$PKG_CONFIG --variable=includedir $MOZ_FLAVOUR-xpcom`
MOZ_LIB=`$PKG_CONFIG --variable=libdir $MOZ_FLAVOUR-xpcom`
fi
- if test -z "$HASXPCOM"; then
+ if test -z "$HASXPCOM" -a "$WITH_MOZILLA_XUL" = "YES" ; then
PKG_CHECK_MODULES( MOZILLAXPCOM, libxul )
MOZ_INC=`$PKG_CONFIG --variable=includedir libxul`
MOZ_LIB=`$PKG_CONFIG --variable=libdir libxul`
@@ -5327,6 +5332,7 @@ AC_SUBST(ENABLE_NSS_MODULE)
AC_SUBST(MOZILLABUILD)
AC_SUBST(SYSTEM_MOZILLA)
AC_SUBST(MOZ_FLAVOUR)
+AC_SUBST(WITH_MOZILLA_XUL)
AC_SUBST(MOZ_INC)
AC_SUBST(MOZ_LIB)
AC_SUBST(MOZ_LIB_XPCOM)
--- set_soenv.in.old 2011-08-25 18:51:45.000000000 +0200
+++ set_soenv.in 2011-08-29 14:52:00.000000000 +0200
@@ -1411,7 +1411,7 @@ elsif ($platform =~ m/darwin/)
}
-if ($SYSTEM_MOZILLA eq "YES")
+if ($SYSTEM_MOZILLA eq "YES" && "@MOZ_LIB@" ne "")
{
$SOLARLIB .= $L."@MOZ_LIB@"
}
@@ -1892,6 +1892,7 @@ ToFile( "WITH_OPENLDAP", "@WITH_OPEN
ToFile( "WITH_MOZILLA", "@WITH_MOZILLA@", "e" );
ToFile( "SYSTEM_MOZILLA", "@SYSTEM_MOZILLA@", "e" );
ToFile( "MOZ_FLAVOUR", "@MOZ_FLAVOUR@", "e" );
+ToFile( "WITH_MOZILLA_XUL", "@WITH_MOZILLA_XUL@", "e" );
ToFile( "NSPR_LIB", "@NSPR_LIB@", "e" );
ToFile( "NSS_LIB", "@NSS_LIB@", "e" );
ToFile( "MOZ_INC", "@MOZ_INC@", "e" );

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba148991ebb48988ddd97706574ff6fec8a60d06c88d0e26961979636f7a5a6a
size 169510

View File

@ -0,0 +1,24 @@
--- cui/source/options/treeopt.cxx.old 2011-05-20 18:05:12.000000000 +0200
+++ cui/source/options/treeopt.cxx 2011-08-29 17:03:53.000000000 +0200
@@ -2128,7 +2128,7 @@ void OfaTreeOptionsDialog::Initialize( c
if ( nPageId == RID_SVXPAGE_INET_MAIL )
continue;
#endif
-#if defined MACOSX
+#if defined MACOSX || !defined WITH_MOZILLA_XUL
// Disable Mozilla Plug-in tab-page on Mac
if ( nPageId == RID_SVXPAGE_INET_MOZPLUGIN )
continue;
--- cui/source/options/makefile.mk.old 2011-08-29 18:30:17.000000000 +0200
+++ cui/source/options/makefile.mk 2011-08-29 16:28:25.000000000 +0200
@@ -38,6 +38,10 @@ ENABLE_EXCEPTIONS=TRUE
CFLAGS+= -DENABLE_LAYOUT=1 -I../$(PRJ)/layout/inc -I../$(PRJ)/layout/$(INPATH)/inc
.ENDIF # ENABLE_LAYOUT == TRUE
+.IF "$(WITH_MOZILLA_XUL)" == "YES"
+CFLAGS+= -DWITH_MOZILLA_XUL
+.ENDIF
+
# --- Files --------------------------------------------------------
SRS1NAME=options

View File

@ -0,0 +1,53 @@
--- extensions/source/plugin/unx/makefile.mk.old 2011-05-20 18:05:12.000000000 +0200
+++ extensions/source/plugin/unx/makefile.mk 2011-08-29 16:36:14.000000000 +0200
@@ -48,7 +48,7 @@ INCPRE+=-I$(SOLARINCDIR)$/mozilla$/nspr
CDEFS+=-DOJI
.ENDIF
-.IF "$(WITH_MOZILLA)" != "NO"
+.IF "$(WITH_MOZILLA)" != "NO" && "$(WITH_MOZILLA_XUL)" != "NO"
.IF "$(DISABLE_XAW)" == "TRUE"
CDEFS+=-DDISABLE_XAW
--- extensions/source/plugin/base/makefile.mk.old 2011-05-20 18:05:12.000000000 +0200
+++ extensions/source/plugin/base/makefile.mk 2011-08-29 14:57:18.000000000 +0200
@@ -44,7 +44,7 @@ CDEFS+=-DOJI
CDEFS+=-DDISABLE_XAW
.ENDIF
-.IF "$(WITH_MOZILLA)" != "NO"
+.IF "$(WITH_MOZILLA)" != "NO" && "$(WITH_MOZILLA_XUL)" != "NO"
.IF "$(GUIBASE)"=="aqua"
CFLAGSCXX+=$(OBJCXXFLAGS)
--- extensions/source/plugin/util/makefile.pmk.old 2011-05-19 11:11:12.000000000 +0200
+++ extensions/source/plugin/util/makefile.pmk 2011-08-29 14:58:04.000000000 +0200
@@ -28,7 +28,7 @@ NOUNODOC=true
.INCLUDE : settings.mk
-.IF "$(SYSTEM_MOZILLA)" == "YES"
+.IF "$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_MOZILLA_XUL)" != "NO"
CFLAGS+=-DSYSTEM_MOZILLA
PKGCONFIG_MODULES+=$(MOZ_FLAVOUR)-plugin
.ENDIF
--- extensions/source/plugin/util/makefile.mk.old 2011-05-19 11:11:12.000000000 +0200
+++ extensions/source/plugin/util/makefile.mk 2011-08-29 16:30:52.000000000 +0200
@@ -36,7 +36,7 @@ TARGETTYPE=GUI
# --- Files --------------------------------------------------------
-.IF "$(WITH_MOZILLA)" != "NO"
+.IF "$(WITH_MOZILLA)" != "NO" && "$(WITH_MOZILLA_XUL)" != "NO"
LIB1TARGET = $(SLB)$/plall.lib
LIB1FILES = \
@@ -91,7 +91,7 @@ SHL1STDLIBS+=$(X11LINK_DYNAMIC)
SHL1STDLIBS+=$(SHL1OWNLIBS)
-.ENDIF # $(WITH_MOZILLA) != "NO"
+.ENDIF # $(WITH_MOZILLA) != "NO" && "$(WITH_MOZILLA_XUL)" != "NO"
# --- Targets ------------------------------------------------------

View File

@ -0,0 +1,62 @@
--- scp2/source/ooo/makefile.mk.old 2011-08-23 18:42:11.000000000 +0200
+++ scp2/source/ooo/makefile.mk 2011-08-29 15:18:24.000000000 +0200
@@ -127,6 +127,10 @@ SCPDEFS+=-DSYSTEM_DB
SCPDEFS+=-DWITHOUT_MOZILLA
.ENDIF
+.IF "$(WITH_MOZILLA_XUL)" == "YES"
+SCPDEFS+=-DWITH_MOZILLA_XUL
+.ENDIF
+
.IF "$(WITH_MYSPELL_DICTS)" == "NO"
SCPDEFS+=-DWITHOUT_MYSPELL_DICTS
.ENDIF
--- scp2/source/ooo/file_library_ooo.scp.old 2011-08-23 18:42:11.000000000 +0200
+++ scp2/source/ooo/file_library_ooo.scp 2011-08-29 15:19:43.000000000 +0200
@@ -1086,7 +1086,7 @@ End
STD_LIB_FILE(gid_File_Lib_DeploymentMisc, deploymentmisc)
-#ifndef WITHOUT_MOZILLA
+#if ! defined(WITHOUT_MOZILLA) && defined (WITH_MOZILLA_XUL)
STD_LIB_FILE( gid_File_Lib_Pl , pl)
#endif
--- scp2/source/ooo/common_brand.scp.old 2011-08-25 18:51:45.000000000 +0200
+++ scp2/source/ooo/common_brand.scp 2011-08-29 16:42:11.000000000 +0200
@@ -618,7 +618,7 @@ File gid_Brand_File_Bin_Libxml2
End
#endif
-#if !defined WITHOUT_MOZILLA && (!defined UNX || defined ENABLE_GTK)
+#if !defined WITHOUT_MOZILLA && (!defined UNX || defined ENABLE_GTK) && defined WITH_MOZILLA_XUL
File gid_Brand_File_Lib_Npsoplugin
BIN_FILE_BODY;
Name = SPECIAL_NAME(npsoplugin);
--- scp2/source/ooo/file_ooo.scp.old 2011-08-25 18:51:45.000000000 +0200
+++ scp2/source/ooo/file_ooo.scp 2011-08-29 16:44:15.000000000 +0200
@@ -122,6 +122,7 @@ End
#ifndef WITHOUT_MOZILLA
#if !defined(UNX) || defined(ENABLE_GTK)
+#if defined(WITH_MOZILLA_XUL)
File gid_File_Exe_Nsplugin
BIN_FILE_BODY;
Styles = (PACKED);
@@ -134,6 +135,7 @@ File gid_File_Exe_Nsplugin
End
#endif
#endif
+#endif
File gid_File_Bin_Gengal
BIN_FILE_BODY;
@@ -164,7 +166,7 @@ File gid_File_Profile_Gengal
Name = PROFILENAME(gengal);
End
-#if !defined(WITHOUT_MOZILLA) && defined(UNX) && !defined(QUARTZ)
+#if !defined(WITHOUT_MOZILLA) && defined(UNX) && !defined(QUARTZ) && defined(WITH_MOZILLA_XUL)
File gid_File_Bin_Pluginapp
BIN_FILE_BODY;

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4b5eea01d2579e1371b18c676a4fc6fe8ff303d8d63fed0c2c090b2e55339892
size 295533

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abe2c57ac12ba45d83563b02e240fa95d973376de2f720aab8fe11f2e621c095
size 762419

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc52efc05136876f90166d9bb778fb0d6be1dd05f3bce4435d42baa281109f1a
size 614862

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0ff752a2c82548b02d8edeeaffbe9f276f4b8c509fdb909d3b7e2a71beb8cc3
size 64057

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d853b19b1d94a6efa69e7af90f7f2b09ecf302913bee3da796c15ecfebcfac8
size 2938721

3
AbsoluteLayout.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ace85b9c478531469c909a0dc0fbf0f2ed08d5773be052354ee8dac407b432d
size 3500

11
README-scsolver.txt Normal file
View File

@ -0,0 +1,11 @@
Dear customer,
the "Optimization Solver for Calc" extension is not longer part of the package.
The author discontinued its development in favor of the upstream version.
Thanks for understanding.
Have a good experience with the upstream solver,
Your openSUSE team

50
SUSE-10.1.conf Normal file
View File

@ -0,0 +1,50 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-system-cppunit
--without-junit
--with-vendor=Novell, Inc.
--disable-access
--disable-dbus
--disable-kde4
--disable-odk
--enable-gnome-vfs
--enable-hids
--enable-kde
--enable-lockdown
--enable-mono
--enable-quickstart
--enable-opengl
--enable-ogltrans
--with-ant-home=/usr
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=@libdir@/@OOOINSTALLDIRNAME@/basis@OOO_VERSION@/share/dictionaries
--with-external-thes-dir=@libdir@/@OOOINSTALLDIRNAME@/basis@OOO_VERSION@/share/dictionaries
--with-jdk-home=$JAVA_HOME
--with-system-cairo
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-libxslt
--with-system-mozilla=xulrunner
--with-system-neon
--with-system-odbc-headers
--with-xulrunner
--without-junit
--without-myspell-dicts
--without-system-poppler
--without-system-mesa-headers
--without-stlport

59
SUSE-11.1.conf Normal file
View File

@ -0,0 +1,59 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-vendor=Novell, Inc.
--disable-access
--disable-odk
--disable-qadevooo
--enable-hids
--enable-kde
--enable-kde4
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-mono
--enable-opengl
--enable-ogltrans
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-report-builder
--enable-ext-wiki-publisher
--without-stlport
--with-ant-home=/usr/share/ant
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/ooo/hyphen
--with-external-thes-dir=/usr/share/ooo/thesaurus
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--with-system-boost
--with-system-cairo
--with-system-cppunit
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-hunspell
--with-system-icu
--with-system-libxslt
--with-system-lpsolve
--with-system-mozilla=libxul
--with-system-neon
--with-system-odbc-headers
--with-system-sablot
--with-system-xalan
--with-system-xerces
--with-system-xml-apis
--with-system-xrender-headers
--without-myspell-dicts
--without-junit

60
SUSE-11.2.conf Normal file
View File

@ -0,0 +1,60 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-system-cppunit
--without-junit
--with-vendor=Novell, Inc.
--disable-access
--disable-odk
--disable-qadevooo
--enable-hids
--enable-kde
--enable-kde4
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-mono
--enable-opengl
--enable-ogltrans
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-report-builder
--enable-ext-wiki-publisher
--without-stlport
--with-ant-home=/usr/share/ant
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/ooo/hyphen
--with-external-thes-dir=/usr/share/ooo/thesaurus
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--with-system-boost
--with-system-cairo
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-hunspell
--with-system-icu
--with-system-libxslt
--with-system-lpsolve
--with-system-mozilla=libxul
--with-system-neon
--with-system-odbc-headers
--with-system-sablot
--with-system-xalan
--with-system-xerces
--with-system-xml-apis
--with-system-xrender-headers
--without-myspell-dicts
--without-junit

59
SUSE-11.3.conf Normal file
View File

@ -0,0 +1,59 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-system-cppunit
--without-junit
--with-vendor=Novell, Inc.
--disable-access
--disable-odk
--disable-qadevooo
--enable-hids
--enable-kde
--enable-kde4
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-mono
--enable-opengl
--enable-ogltrans
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-report-builder
--enable-ext-wiki-publisher
--without-stlport
--with-ant-home=/usr/share/ant
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/ooo/hyphen
--with-external-thes-dir=/usr/share/ooo/thesaurus
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--with-system-boost
--with-system-cairo
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-hunspell
--with-system-icu
--with-system-libxslt
--with-system-lpsolve
--with-system-mozilla=libxul
--with-system-neon
--with-system-odbc-headers
--with-system-sablot
--with-system-xalan
--with-system-xerces
--with-system-xml-apis
--with-system-xrender-headers
--without-myspell-dicts

59
SUSE-11.4.conf Normal file
View File

@ -0,0 +1,59 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-system-cppunit
--without-junit
--with-vendor=Novell, Inc.
--disable-access
--disable-odk
--disable-qadevooo
--enable-hids
--enable-kde
--enable-kde4
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-mono
--enable-opengl
--enable-ogltrans
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-report-builder
--enable-ext-wiki-publisher
--without-stlport
--with-ant-home=/usr/share/ant
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/ooo/hyphen
--with-external-thes-dir=/usr/share/ooo/thesaurus
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--with-system-boost
--with-system-cairo
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-hunspell
--with-system-icu
--with-system-libxslt
--with-system-lpsolve
--with-system-mozilla=libxul
--with-system-neon
--with-system-odbc-headers
--with-system-sablot
--with-system-xalan
--with-system-xerces
--with-system-xml-apis
--with-system-xrender-headers
--without-myspell-dicts

59
SUSE.conf Normal file
View File

@ -0,0 +1,59 @@
--disable-epm
--with-openldap
--without-fonts
--with-system-jpeg
--with-system-libxml
--with-system-mozilla
--with-system-openssl
--with-system-python
--with-system-stdlibs
--with-system-zlib
--with-system-poppler
--enable-evolution2
--enable-dbus
--with-alloc=system
--with-system-cppunit
--without-junit
--with-vendor=Novell, Inc.
--disable-access
--disable-odk
--disable-qadevooo
--enable-hids
--enable-kde
--enable-kde4
--enable-lockdown
--enable-ext-presenter-minimizer
--enable-mono
--enable-opengl
--enable-ogltrans
--enable-ext-pdfimport
--enable-ext-presenter-console
--enable-ext-report-builder
--enable-ext-wiki-publisher
--without-stlport
--with-ant-home=/usr/share/ant
--with-external-dict-dir=/usr/share/myspell
--with-external-hyph-dir=/usr/share/ooo/hyphen
--with-external-thes-dir=/usr/share/ooo/thesaurus
--with-java-target-version=1.5
--with-jdk-home=$JAVA_HOME
--with-system-boost
--with-system-cairo
--with-system-curl
--with-system-db
--with-system-dicts
--with-system-expat
--with-system-hunspell
--with-system-icu
--with-system-libxslt
--with-system-lpsolve
--with-system-mozilla=libxul
--with-system-neon
--with-system-odbc-headers
--with-system-sablot
--with-system-xalan
--with-system-xerces
--with-system-xml-apis
--with-system-xrender-headers
--without-myspell-dicts

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75823776fb51a9c526af904f1503a7afaaab900fba83eda64f8a41073724c870
size 23150

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d2797fe9f79a77009721e3f14fa4a1dec17a6d706bdc93f85f1f01d124fab66
size 2929311

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64f8d737c32756713d60c22efe3978a59fa167cdeaa2d3d0a1646b1f2232b825
size 2732347

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12effcf3fea025bd34edbfec60a6216ca453fb27e781d8e5783caf75fd33d90e
size 80427

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c3ed36476e1279ba35d7c675961bfa9c40b1360153472e80508a99963c8d46c
size 11922684

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd
size 743031

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a77fcfd20fea2c6e53761d6dcbbee3fdb35e5308de36c1daa0d2014e5a96afe
size 3989935

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133
size 207563

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1fb87f3f7b980d33414473279615c4644027e013012d156efa538bc2b031772
size 1396007

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:648f10fb764d000d6a68b2d4e008117900e853c197a024d1f91dbba9b91012ca
size 726942

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc6445d2c0445e5536010b80bd811adda6741ed82b288fe831d5be9902457941
size 12735186

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75c80359c9ce343c20aab8a36a45cb3b9ee7c61cf92c13ae45399d854423a9ba
size 427800

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05640a1f6805b2b2d7e2cb9c50db9a5cb084e3c52ab1a71ce015239b4a1d4343
size 211919

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:066b786ac12f75940a5b8ead444c824460f53feb6f6161a110dcf16efd5c7de3
size 1117561

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6bcbfc521d23899511799c912ce21fbc003d55c3d56408e3c8dabf20fea8256
size 547217

528
gdocs_2.1.0.diff Normal file
View File

@ -0,0 +1,528 @@
--- ooo2gd/build.xml.old 2010-01-13 11:47:11.000000000 +0000
+++ ooo2gd/build.xml 2010-01-13 11:49:07.000000000 +0000
@@ -1,70 +1,83 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- You may freely edit this file. See commented blocks below for -->
-<!-- some examples of how to customize the build. -->
-<!-- (If you delete it and reopen the project it will be recreated.) -->
-<project name="GDocs" default="default" basedir=".">
- <description>Builds, tests, and runs the project Addin.</description>
- <import file="nbproject/build-uno-impl.xml"/>
- <!--
-
- There exist several targets which are by default empty and which can be
- used for execution of your tasks. These targets are usually executed
- before and after some main targets. They are:
-
- -pre-init: called before initialization of project properties
- -post-init: called after initialization of project properties
- -pre-compile: called before javac compilation
- -post-compile: called after javac compilation
- -pre-compile-single: called before javac compilation of single file
- -post-compile-single: called after javac compilation of single file
- -pre-compile-test: called before javac compilation of JUnit tests
- -post-compile-test: called after javac compilation of JUnit tests
- -pre-compile-test-single: called before javac compilation of single JUnit test
- -post-compile-test-single: called after javac compilation of single JUunit test
- -pre-jar: called before JAR building
- -post-jar: called after JAR building
- -post-clean: called after cleaning build products
-
- (Targets beginning with '-' are not intended to be called on their own.)
-
- Example of inserting an obfuscator after compilation could look like this:
-
- <target name="-post-compile">
- <obfuscate>
- <fileset dir="${build.classes.dir}"/>
- </obfuscate>
- </target>
-
- For list of available properties check the imported
- nbproject/build-impl.xml file.
-
-
- Another way to customize the build is by overriding existing main targets.
- The targets of interest are:
-
- -init-macrodef-javac: defines macro for javac compilation
- -init-macrodef-junit: defines macro for junit execution
- -init-macrodef-debug: defines macro for class debugging
- -init-macrodef-java: defines macro for class execution
- -do-jar-with-manifest: JAR building (if you are using a manifest)
- -do-jar-without-manifest: JAR building (if you are not using a manifest)
- run: execution of project
- -javadoc-build: Javadoc generation
- test-report: JUnit report generation
-
- An example of overriding the target for project execution could look like this:
-
- <target name="run" depends="TypeBrowser2-impl.jar">
- <exec dir="bin" executable="launcher.exe">
- <arg file="${dist.jar}"/>
- </exec>
- </target>
-
- Notice that the overridden target depends on the jar target and not only on
- the compile target as the regular run target does. Again, for a list of available
- properties which you can use, check the target you are overriding in the
- nbproject/build-impl.xml file.
-
- -->
-
-</project>
+<project name="ooo2gd" default="build" basedir=".">
+
+ <property name="src" location="src"/>
+ <property name="build" location="build"/>
+
+ <!-- For jar files bundled with NetBeans -->
+ <property name="nbpath" value="/netbeans-6.8"/>
+ <property name="nbp11path" value="${nbpath}/platform11/modules/ext"/>
+ <property name="nbjava3path" value="${nbpath}/java3/modules/ext"/>
+
+ <property name="version" value="2.1.0"/>
+
+ <property name="ooodir" value="/usr/lib64/ooo3"/>
+ <property name="basisdir" value="${ooodir}/basis-link"/>
+ <property name="clsdir" value="${ooodir}/ure/share/java"/>
+ <property name="external_jars" value="libs/activation.jar:libs/gdata-client-1.0.jar:libs/gdata-client-meta-1.0.jar:libs/gdata-core-1.0.jar:libs/gdata-docs-2.0.jar:libs/gdata-media-1.0.jar:libs/gdata-spreadsheet-3.0.jar:libs/gdata-spreadsheet-meta-3.0.jar:libs/google-collect-1.0-rc1.jar:libs/mail-1.4.jar"/>
+ <property name="ooo_jars" value="${clsdir}/jurt.jar:${clsdir}/juh.jar:${clsdir}/sandbox.jar:${clsdir}/unoil.jar:${clsdir}/ridl.jar"/>
+ <property name="clspath" value="${external_jars}:${ooo_jars}:${nbp11path}/swing-layout-1.0.4.jar:."/>
+
+ <property name="extjarname" value="GDocs.jar"/>
+ <property name="packname" value="gdocs_${version}.oxt"/>
+
+ <property name="idlc" value="${ooodir}/solver/bin/idlc"/>
+ <property name="javamaker" value="${ooodir}/solver/bin/javamaker"/>
+ <property name="types.rdb" value="${ooodir}/solver/bin/types.rdb"/>
+ <property name="regmerge" value="${ooodir}/ure/bin/regmerge"/>
+ <property name="libpath" value="/usr/lib64/ooo3/ure/lib:"/>
+
+ <target name="com">
+ <exec executable="${javamaker}">
+ <env key="LD_LIBRARY_PATH" value="${libpath}"/>
+ <arg value="-BUCR"/>
+ <arg file="${types.rdb}"/>
+ </exec>
+ </target>
+ <target name="build" depends="com">
+ <mkdir dir="${build}"/>
+ <javac srcdir="${src}" destdir="${build}" classpath="${clspath}">
+ <compilerarg value="-Xlint:unchecked"/>
+ <compilerarg value="-Xlint:deprecation"/>
+ </javac>
+ <jar destfile="${extjarname}" basedir="${build}">
+ <manifest>
+ <attribute name="UNO-Type-Path" value=""/>
+ <attribute name="RegistrationClassName" value="org.openoffice.gdocs.CentralRegistrationClass"/>
+ <!-- We need to have the class-path autogenerated. -->
+ <attribute name="Class-Path" value="external_jars/gdata-client-1.0.jar external_jars/gdata-client-meta-1.0.jar external_jars/gdata-core-1.0.jar external_jars/gdata-media-1.0.jar external_jars/mail-1.4.jar external_jars/gdata-docs-2.0.jar external_jars/swing-layout-1.0.4.jar external_jars/activation.jar external_jars/gdata-spreadsheet-3.0.jar external_jars/gdata-spreadsheet-meta-3.0.jar external_jars/google-collect-1.0-rc1.jar external_jars/AbsoluteLayout.jar"/>
+ <section name="org/openoffice/gdocs/CentralRegistrationClass.class">
+ <attribute name="RegistrationClasses" value="org.openoffice.gdocs.GDocs"/>
+ </section>
+ </manifest>
+ <fileset dir="src" includes="org/openoffice/gdocs/resources/*"/>
+ </jar>
+ </target>
+ <target name="pack" depends="build">
+ <zip destfile="${packname}">
+ <zipfileset dir="${nbp11path}" includes="swing-layout-1.0.4.jar" prefix="external_jars"/>
+ <zipfileset dir="${nbjava3path}" includes="AbsoluteLayout.jar" prefix="external_jars"/>
+ <zipfileset dir="libs" includes="*.jar" prefix="external_jars"/>
+ <fileset dir="." includes="${extjarname}"/>
+ <fileset dir="." includes="images/*"/>
+ <fileset dir="." includes="description/description.txt"/>
+ <fileset dir="src" includes="*.xcu"/>
+ <fileset dir="src" includes="description.xml"/>
+ <fileset dir="src" includes="org/openoffice/gdocs/resources/*.properties"/>
+ <zipfileset dir="src" includes="uno-extension-manifest.xml" fullpath="META-INF/manifest.xml"/>
+ </zip>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true" failonerror="false">
+ <fileset dir="." includes="${extjarname}"/>
+ <fileset dir="." includes="${packname}"/>
+ <fileset dir="${build}"/>
+ </delete>
+ </target>
+ <target name="distclean" depends="clean">
+ <delete includeemptydirs="true" failonerror="false">
+ <fileset dir="com"/>
+ <fileset dir="drafts"/>
+ </delete>
+ </target>
+</project>
--- ooo2gd/src/org/openoffice/gdocs/ui/dialogs/ImportDialog.java.old 2010-01-13 11:47:12.000000000 +0000
+++ ooo2gd/src/org/openoffice/gdocs/ui/dialogs/ImportDialog.java 2010-01-13 13:09:42.000000000 +0000
@@ -423,6 +423,7 @@ public class ImportDialog extends JFrame
private void donwloadTextDocument(final Document entry, final Wrapper wrapper, final boolean openAfterDownload) throws MalformedURLException, IOException, URISyntaxException, UnsupportedEncodingException, HeadlessException {
String directory = Configuration.getDirectoryToStoreFiles();
+ if (directory==null) directory = Configuration.getWorkingPath();
String documentUrl = null;
String documentTitle = createFileName(wrapper,entry);
if ("?".equals(directory)) {
--- ooo2gd/src/Addons.xcu.old 2010-01-13 12:42:53.000000000 +0000
+++ ooo2gd/src/Addons.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='UTF-8'?>
+<?xml version="1.0" encoding="UTF-8"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Addons" oor:package="org.openoffice.Office">
<node oor:name="AddonUI">
<node oor:name="OfficeMenuBarMerging">
@@ -191,7 +191,6 @@
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.sheet.SpreadsheetDocument,com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument</value>
- <value/>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
@@ -213,7 +212,7 @@
<value>_self</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
- <value/>
+ <value>com.sun.star.sheet.SpreadsheetDocument,com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
@@ -236,7 +235,6 @@
</prop>
<prop oor:name="Context" oor:type="xs:string">
<value>com.sun.star.sheet.SpreadsheetDocument,com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument</value>
- <value/>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
@@ -258,7 +256,7 @@
<value>_self</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
- <value/>
+ <value>com.sun.star.sheet.SpreadsheetDocument,com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
@@ -280,7 +278,7 @@
<value>_self</value>
</prop>
<prop oor:name="Context" oor:type="xs:string">
- <value/>
+ <value>com.sun.star.sheet.SpreadsheetDocument,com.sun.star.text.TextDocument,com.sun.star.presentation.PresentationDocument</value>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<value/>
@@ -298,7 +296,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/ooo2gd.png</value>
+ <value>%origin%/images/sc_ooo2gd.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_ooo2gd.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_ooo2gd.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_ooo2gd.png</value>
</prop>
</node>
</node>
@@ -308,7 +315,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/upload-doc.png</value>
+ <value>%origin%/images/sc_upload_doc.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_upload_doc.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_upload_doc.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_upload_doc.png</value>
</prop>
</node>
</node>
@@ -318,7 +334,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/download-doc.png</value>
+ <value>%origin%/images/sc_download_doc.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_download_doc.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_download_doc.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_download_doc.png</value>
</prop>
</node>
</node>
@@ -329,7 +354,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/upload-zoho.png</value>
+ <value>%origin%/images/sc_upload_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_upload_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_upload_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_upload_zoho.png</value>
</prop>
</node>
</node>
@@ -340,7 +374,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/download-zoho.png</value>
+ <value>%origin%/images/sc_download_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_download_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_download_zoho.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_download_zoho.png</value>
</prop>
</node>
</node>
@@ -351,7 +394,16 @@
</prop>
<node oor:name="UserDefinedImages">
<prop oor:name="ImageSmallURL">
- <value>%origin%/images/upload-webdav.png</value>
+ <value>%origin%/images/sc_upload_webdav.png</value>
+ </prop>
+ <prop oor:name="ImageBigURL">
+ <value>%origin%/images/lc_upload_webdav.png</value>
+ </prop>
+ <prop oor:name="ImageSmallHCURL">
+ <value>%origin%/images/sc_upload_webdav.png</value>
+ </prop>
+ <prop oor:name="ImageBigHCURL">
+ <value>%origin%/images/lc_upload_webdav.png</value>
</prop>
</node>
</node>
--- ooo2gd/src/BaseWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/BaseWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="BaseWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/BasicIDEWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/BasicIDEWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="BasicIDEWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/CalcWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/CalcWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="CalcWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/DrawWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/DrawWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="DrawWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/ImpressWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/ImpressWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="ImpressWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/MathWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/MathWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="MathWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/ProtocolHandler.xcu.old 2010-01-13 11:47:11.000000000 +0000
+++ ooo2gd/src/ProtocolHandler.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -1,6 +1,5 @@
-<?xml version='1.0' encoding='UTF-8'?>
-
-<oor:component-data oor:name="ProtocolHandler" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="ProtocolHandler" oor:package="org.openoffice.Office">
<node oor:name="HandlerSet">
<node oor:name="org.openoffice.gdocs.GDocs" oor:op="replace">
<prop oor:name="Protocols" oor:type="oor:string-list">
--- ooo2gd/src/StartModuleWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/StartModuleWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="StartModuleWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/WriterWindowState.xcu.old 2010-01-13 12:43:08.000000000 +0000
+++ ooo2gd/src/WriterWindowState.xcu 2010-01-13 12:43:08.000000000 +0000
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="WriterWindowState" oor:package="org.openoffice.Office.UI">
+ <node oor:name="UIElements">
+ <node oor:name="States">
+ <node oor:name="private:resource/toolbar/addon_org.openoffice.gdocs.gdocs" oor:op="replace">
+ <prop oor:name="UIName" oor:type="xs:string">
+ <value>Google Docs &amp; Zoho</value>
+ </prop>
+ <prop oor:name="Visible" oor:type="xs:boolean">
+ <value>false</value>
+ </prop>
+ <prop oor:name="Docked" oor:type="xs:boolean">
+ <value>true</value>
+ </prop>
+ </node>
+ </node>
+ </node>
+</oor:component-data>
--- ooo2gd/src/uno-extension-manifest.xml.old 2010-01-13 11:47:12.000000000 +0000
+++ ooo2gd/src/uno-extension-manifest.xml 2010-01-13 12:54:27.000000000 +0000
@@ -1,9 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java"
- manifest:full-path="GDocs.jar"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
- manifest:full-path="ProtocolHandler.xcu"/>
- <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
- manifest:full-path="Addons.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java" manifest:full-path="GDocs.jar"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="ProtocolHandler.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="Addons.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="CalcWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="StartModuleWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="WriterWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="BaseWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="ImpressWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="BasicIDEWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="MathWindowState.xcu"/>
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data" manifest:full-path="DrawWindowState.xcu"/>
</manifest:manifest>
\ No newline at end of file

3
gdocs_2.1.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa31e967feb75e17e450959a0cc91e34ac42f34b04d63872863392de6dc8a7ac
size 2064769

3
gdocs_2.1.0_modified.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e911eebda05f0f4d6f1d94e7450cadf8227ddbfd100404d29c4d5da48bf0f0dc
size 2264375

38
gengal-scp2.diff Normal file
View File

@ -0,0 +1,38 @@
--- scp2/source/ooo/file_ooo.scp.old 2011-08-04 13:43:31.000000000 +0200
+++ scp2/source/ooo/file_ooo.scp 2011-08-04 20:04:29.000000000 +0200
@@ -135,6 +135,35 @@ End
#endif
#endif
+File gid_File_Bin_Gengal
+ BIN_FILE_BODY;
+ Dir = gid_Brand_Dir_Program;
+ Styles = (PACKED);
+ #ifdef UNX
+ Name = "gengal.bin";
+ #else
+ Name = "gengal.exe";
+ #endif
+End
+
+#ifdef UNX
+
+File gid_File_Script_Gengal
+ BIN_FILE_BODY;
+ Dir = gid_Brand_Dir_Program;
+ Styles = (PACKED);
+ Name = "gengal";
+End
+
+#endif
+
+File gid_File_Profile_Gengal
+ BIN_FILE_BODY;
+ Dir = gid_Brand_Dir_Program;
+ Styles = (PACKED);
+ Name = PROFILENAME(gengal);
+End
+
#if !defined(WITHOUT_MOZILLA) && defined(UNX) && !defined(QUARTZ)
File gid_File_Bin_Pluginapp

281
gengal-svx.diff Normal file
View File

@ -0,0 +1,281 @@
--- svx/source/gengal/gengal.sh.old 2011-08-04 14:29:39.000000000 +0200
+++ svx/source/gengal/gengal.sh 2011-08-04 20:00:34.000000000 +0200
@@ -0,0 +1,103 @@
+#!/bin/sh
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# enable file locking
+SAL_ENABLE_FILE_LOCKING=1
+export SAL_ENABLE_FILE_LOCKING
+
+# resolve installation directory
+sd_cwd="`pwd`"
+if [ -h "$0" ] ; then
+ sd_basename=`basename "$0"`
+ sd_script=`ls -l "$0" | sed "s/.*${sd_basename} -> //g"`
+ cd "`dirname "$0"`"
+ cd "`dirname "$sd_script"`"
+else
+ cd "`dirname "$0"`"
+fi
+
+sd_prog="`pwd`"
+
+cd ..
+sd_binary=`basename "$0"`".bin"
+sd_inst="`pwd`"
+
+# change back directory
+cd "$sd_cwd"
+
+# check if all required patches are installed
+if [ -x "$sd_prog/sopatchlevel.sh" ]; then
+ "$sd_prog/sopatchlevel.sh"
+ if [ $? -eq 1 ]; then
+ exit 0
+ fi
+fi
+
+# set search path for shared libraries
+sd_platform=`uname -s`
+sd_prog1="$sd_prog/../basis-link/program"
+sd_prog2="$sd_prog/../basis-link/ure-link/lib"
+case $sd_platform in
+ AIX)
+ LIBPATH=${sd_prog1}:${sd_prog2}${LIBPATH+:${LIBPATH}}
+ export LIBPATH
+ ;;
+
+ Darwin)
+ DYLD_LIBRARY_PATH=${sd_prog1}:${sd_prog2}${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}
+ export DYLD_LIBRARY_PATH
+ ;;
+
+ HP-UX)
+ SHLIB_PATH=${sd_prog1}:${sd_prog2}:/usr/openwin/lib${SHLIB_PATH:+:${SHLIB_PATH}}
+ export SHLIB_PATH
+ ;;
+
+ *)
+ LD_LIBRARY_PATH=${sd_prog1}:${sd_prog2}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+ export LD_LIBRARY_PATH
+ ;;
+esac
+
+# misc. environment variables
+unset XENVIRONMENT
+
+# set path so that other apps can be started just by name
+PATH="$sd_prog":$PATH
+export PATH
+
+OOO_INSTALL_PREFIX=${OOO_INSTALL_PREFIX-$sd_prog/../..}
+if ! test -e $OOO_INSTALL_PREFIX/basis-link; then
+ # Hack for vanilla OOo binaries' split install layout
+ OOO_INSTALL_PREFIX=$OOO_INSTALL_PREFIX/../openoffice.org3
+fi
+
+export OOO_INSTALL_PREFIX
+
+# execute binary
+exec "$sd_prog/$sd_binary" "$@"
--- svx/source/gengal/gengalrc.in.old 2011-08-04 14:29:39.000000000 +0200
+++ svx/source/gengal/gengalrc.in 2011-08-04 17:16:04.000000000 +0200
@@ -0,0 +1,12 @@
+OOO_INSTALL_PREFIX_URL=file://${OOO_INSTALL_PREFIX}
+OOO_BASIS_URL=${OOO_INSTALL_PREFIX_URL}/basis-link
+OOO_BASIS_BIN_URL=${OOO_BASIS_URL}/program
+OOO_URE_URL=${OOO_BASIS_URL}/ure-link
+#
+#CFG_INIFILE=${OOO_BASIS_BIN_URL}/configmgrrc
+#BaseInstallation=${OOO_BASIS_URL}
+BRAND_BASE_DIR=${OOO_INSTALL_PREFIX_URL}
+OOO_BASE_DIR=${OOO_BASIS_URL}
+#
+UNO_TYPES=${OOO_URE_URL}/share/misc/types.rdb ${OOO_BASIS_BIN_URL}/offapi.rdb
+UNO_SERVICES=${OOO_URE_URL}/share/misc/services.rdb ${OOO_BASIS_BIN_URL}/services.rdb
--- svx/source/gengal/gengal.cxx.old 2011-05-19 12:27:42.000000000 +0200
+++ svx/source/gengal/gengal.cxx 2011-08-04 17:16:04.000000000 +0200
@@ -68,7 +68,7 @@
#include <osl/process.h>
#include <rtl/bootstrap.hxx>
-#include <galtheme.hxx>
+#include <svx/galtheme.hxx>
#include <svx/gallery1.hxx>
using namespace ::com::sun::star::uno;
@@ -101,7 +101,7 @@ void disposeGallery( Gallery* pGallery )
static void createTheme( rtl::OUString aThemeName,
rtl::OUString aGalleryURL,
rtl::OUString aDestDir,
- UINT32 nNumFrom,
+ sal_uInt32 nNumFrom,
FileNameList &rFiles )
{
Gallery * pGallery( createGallery( aGalleryURL ) );
@@ -279,10 +279,10 @@ int GalApp::Main()
bool bHelp = false;
rtl::OUString aPath, aDestDir;
rtl::OUString aName(RTL_CONSTASCII_USTRINGPARAM("Default name"));
- UINT32 nNumFrom = 0;
+ sal_uInt32 nNumFrom = 0;
FileNameList aFiles;
- for( USHORT i = 0; i < GetCommandLineParamCount(); i++ )
+ for( sal_uInt16 i = 0; i < GetCommandLineParamCount(); i++ )
{
rtl::OUString aParam = GetCommandLineParam( i );
--- svx/Module_svx.mk.old 2011-05-19 12:27:42.000000000 +0200
+++ svx/Module_svx.mk 2011-08-04 17:38:49.000000000 +0200
@@ -37,6 +37,8 @@ $(eval $(call gb_Module_add_targets,svx,
AllLangResTarget_textconversiondlgs \
Package_inc \
Package_sdi \
+ Package_gengal \
+ Executable_gengal.bin \
))
$(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
--- svx/Executable_gengal.bin.mk.old 2011-08-04 14:29:39.000000000 +0200
+++ svx/Executable_gengal.bin.mk 2011-08-04 17:38:02.000000000 +0200
@@ -0,0 +1,78 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Executable_Executable,gengal.bin))
+
+$(eval $(call gb_Executable_set_include,gengal.bin,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/svx/inc/ \
+ -I$(SRCDIR)/svx/inc/pch \
+ -I$(OUTDIR)/inc/offuh \
+))
+
+$(eval $(call gb_Executable_set_cxxflags,gengal.bin,\
+ $$(CXXFLAGS) \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+ sal \
+ tl \
+ svl \
+ comphelper \
+ cppu \
+ cppuhelper \
+ vcl \
+ ucbhelper \
+ svxcore \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,gengal.bin,\
+ svx/source/gengal/gengal \
+))
+
+$(eval $(call gb_Executable_add_linked_static_libs,gengal.bin,\
+ vclmain \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+ kernel32 \
+ msvcrt \
+ oldnames \
+ user32 \
+ uwinapi \
+))
+endif
+
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+ dl \
+ pthread \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
--- svx/Package_gengal.mk.old 2011-08-04 17:36:37.000000000 +0200
+++ svx/Package_gengal.mk 2011-08-04 17:38:29.000000000 +0200
@@ -0,0 +1,32 @@
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,svx_gengal,$(SRCDIR)/svx/source/gengal))
+$(eval $(call gb_Package_add_file,svx_gengal,bin/gengalrc,gengalrc.in))
+$(eval $(call gb_Package_add_file,svx_gengal,bin/gengal,gengal.sh))
+
+# vim: set noet ts=4 sw=4:

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd1a861434bddb93d08da19abccc53d245411a8f673e7f93b367e94cb6b73d51
size 13647245

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9e130df753ce2aa8702a4b4912970562aa8299b16058fa1bb8ce7121d0cc93b
size 2069733

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea906dd3e8197ac90e59205c6d6bbdd31fd694f747ce6b94bf507c81a51a0422
size 2747562

View File

@ -0,0 +1,264 @@
--- configure.in.old 2011-07-07 19:22:48.000000000 +0200
+++ configure.in 2011-07-08 17:09:18.000000000 +0200
@@ -167,6 +167,11 @@ AC_ARG_ENABLE(activex_component,
[Remove support for ActiveX embedding of LibO.]),
,enable_activex_component=yes)
+AC_ARG_ENABLE(helpcontent,
+ AS_HELP_STRING([--disable-helpcontent],
+ [Do not build helpcontent. The wiki help is enough.]),
+,)
+
AC_ARG_ENABLE(odk,
AS_HELP_STRING([--disable-odk],
[LibO includes an ODK, office development kit which some packagers may
@@ -3837,6 +3842,18 @@ fi
AC_SUBST(BUILD_STAX)
dnl ===================================================================
+dnl Check for building helpcontent
+dnl ===================================================================
+AC_MSG_CHECKING([whether to build helpcontent])
+if test "$enable_helpcontent" != "no" ; then
+ BUILD_TYPE="$BUILD_TYPE HELPCONTENT2"
+ SCPDEFS="$SCPDEFS -DWITH_HELPCONTENT2"
+ AC_MSG_RESULT([yes])
+else
+ AC_MSG_RESULT([no, wikihelp is enough])
+fi
+
+dnl ===================================================================
dnl Check for building ODK
dnl ===================================================================
AC_MSG_CHECKING([whether to build the ODK])
--- scp2/source/draw/file_draw.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/draw/file_draw.scp 2011-07-08 16:59:32.000000000 +0200
@@ -34,6 +34,8 @@ File gid_File_Share_Registry_Draw_Xcd
Name = "draw.xcd";
End
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Sdraw_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -41,6 +43,8 @@ File gid_File_Help_Sdraw_Zip
Patchfiles = ();
End
+#endif
+
File gid_File_Exe_Sdraw
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
--- scp2/source/base/file_base.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/base/file_base.scp 2011-07-08 17:00:37.000000000 +0200
@@ -72,6 +72,8 @@ STD_RES_FILE( gid_File_Res_Rptui, rptui)
STD_LIB_FILE( gid_File_Lib_Rptxml, rptxml )
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Sdatabase_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -79,6 +81,8 @@ File gid_File_Help_Sdatabase_Zip
Patchfiles = ();
End
+#endif
+
File gid_File_Share_Registry_Base_Xcd
TXT_FILE_BODY;
Styles = (PACKED);
--- scp2/source/writer/file_writer.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/writer/file_writer.scp 2011-07-08 16:59:11.000000000 +0200
@@ -53,6 +53,8 @@ File gid_File_Exe_Sweb
End
#endif
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Swriter_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -60,6 +62,8 @@ File gid_File_Help_Swriter_Zip
Patchfiles = ();
End
+#endif
+
/*
File gid_File_Share_Config_Sofficecfg_Writer_Menubar_Xml
TXT_FILE_BODY;
--- scp2/source/calc/file_calc.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/calc/file_calc.scp 2011-07-08 16:58:38.000000000 +0200
@@ -65,6 +65,8 @@ STD_RES_FILE( gid_File_Res_Date, date)
STD_RES_FILE( gid_File_Res_Sc, sc )
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Scalc_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -72,6 +74,8 @@ File gid_File_Help_Scalc_Zip
Patchfiles = ();
End
+#endif
+
// new user interface configuration files
/*
File gid_File_Share_Config_Sofficecfg_Calc_Menubar_Xml
--- scp2/source/impress/file_impress.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/impress/file_impress.scp 2011-07-08 16:58:11.000000000 +0200
@@ -44,6 +44,8 @@ File gid_File_Share_Registry_Impress_Xcd
Name = "impress.xcd";
End
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Simpress_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -51,6 +53,8 @@ File gid_File_Help_Simpress_Zip
Patchfiles = ();
End
+#endif
+
File gid_File_Exe_Simpress
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
--- scp2/source/math/file_math.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/math/file_math.scp 2011-07-08 16:57:51.000000000 +0200
@@ -50,6 +50,8 @@ File gid_File_Share_Registry_Math_Xcd
Name = "math.xcd";
End
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Smath_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -57,6 +59,8 @@ File gid_File_Help_Smath_Zip
Patchfiles = ();
End
+#endif
+
File gid_File_Exe_Smath
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
--- scp2/source/ooo/directory_ooo.scp.old 2011-06-13 10:46:50.000000000 +0200
+++ scp2/source/ooo/directory_ooo.scp 2011-07-08 13:26:42.000000000 +0200
@@ -1215,6 +1215,8 @@ Directory gid_Dir_Basis_Sdk
DosName = "sdk";
End
+#ifdef WITH_HELPCONTENT2
+
Directory gid_Dir_Help
#if defined MACOSX
ParentID = gid_Brand_Dir_BasisLink;
@@ -1234,6 +1236,8 @@ Directory gid_Dir_Help_Isolanguage
#endif
End
+#endif
+
#ifdef UNX
Directory gid_Dir_User_Psprint
--- scp2/source/ooo/file_ooo.scp.old 2011-05-20 18:04:45.000000000 +0200
+++ scp2/source/ooo/file_ooo.scp 2011-07-08 16:12:23.000000000 +0200
@@ -362,6 +362,8 @@ STD_FILTER_FILE( gid_File_Filter_Iti, it
STD_RES_FILE( gid_File_Res_Eps, eps )
+#ifdef WITH_HELPCONTENT2
+
File gid_File_Help_Common_Zip
Dir = gid_Dir_Help_Isolanguage;
ARCHIVE_TXT_FILE_BODY_HELPPACK;
@@ -388,6 +390,8 @@ File gid_File_Help_Schart_Zip
EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(schart);
End
+#endif
+
#if defined WNT
File gid_File_Jar_Accessbridge
--- scp2/source/ooo/common_brand.scp.old 2011-05-20 18:04:45.000000000 +0200
+++ scp2/source/ooo/common_brand.scp 2011-07-08 16:13:36.000000000 +0200
@@ -167,6 +167,8 @@ Directory gid_Brand_Dir_Readme
DosName = "readmes";
End
+#ifdef WITH_HELPCONTENT2
+
Directory gid_Brand_Dir_Help
#if defined MACOSX
ParentID = gid_Dir_Bundle_Contents;
@@ -181,6 +183,8 @@ Directory gid_Brand_Dir_Help_Isolanguage
DIR_ISOLANGUAGE_ALL_LANG;
End
+#endif
+
Directory gid_Brand_Dir_Share
#if defined MACOSX
ParentID = gid_Dir_Bundle_Contents;
--- scp2/source/ooo/module_helppack.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/ooo/module_helppack.scp 2011-07-08 16:15:09.000000000 +0200
@@ -27,6 +27,8 @@
#include "macros.inc"
+#ifdef WITH_HELPCONTENT2
+
Module gid_Module_Helppack_Helproot
ParentID = gid_Module_Root;
XPDParentID = "root";
@@ -40,3 +42,5 @@ Module gid_Module_Helppack_Helproot
End
#include "allhelpmodules.inc"
+
+#endif
--- scp2/source/ooo/module_help_template.scp.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/ooo/module_help_template.scp 2011-07-08 16:16:14.000000000 +0200
@@ -25,6 +25,8 @@
*
************************************************************************/
+#ifdef WITH_HELPCONTENT2
+
Module gid_Module_Helppack_Help_Template
ParentID = gid_Module_Helppack_Helproot;
Name = "gid_Module_Helppack_Help_Template";
@@ -44,3 +46,5 @@ Module gid_Module_Helppack_Help_Template
End
#include "allhelpmodules_root.inc"
+
+#endif
--- scp2/source/templates/module_helppack_root.sct.old 2011-05-18 17:51:47.000000000 +0200
+++ scp2/source/templates/module_helppack_root.sct 2011-07-08 16:19:16.000000000 +0200
@@ -25,6 +25,8 @@
*
************************************************************************/
+#ifdef WITH_HELPCONTENT2
+
Module gid_Module_Helppack_Help_<LANGUAGE_>
ParentID = gid_Module_Helppack_Root_<LANGUAGE_>;
Sortkey = "200";
@@ -35,3 +37,5 @@ Module gid_Module_Helppack_Help_<LANGUAG
PackageInfo = "packinfo_office_help.txt";
Styles =(HIDDEN_ROOT, LANGUAGEMODULE);
End
+
+#endif

View File

@ -0,0 +1,403 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building directly from libreoffice-artwork source tarball
- used prebuilt sofficerc
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1):
+ removed obsolete intro.bmp
+ added branding for the welcome screen (bnc#653519)
+ added BrOffice branding requested by the Brazilian community
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.6
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.5
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.4
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.3
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.2
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.1.1
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.0.99.3
+ replaced about.bmp with about.png
+ added intro.png
+ added sofficerc
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.0.99.3
+ replaced about.bmp with about.png
+ added intro.png
+ added sofficerc
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.99.2
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.99.1
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.98.1
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.7
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.6
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.5
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.4
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to version 3.2.0.2
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to version 3.2.0.1
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to version 3.1.99.4
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to version 3.1.99.3
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to version 3.1.99.2
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to version 3.1.99.1
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.1.2
- fixed major version in the branding description
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.1.1
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.99.3
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.99.2
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.99.1
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.98.2
-------------------------------------------------------------------
Mon Jun 15 21:16:25 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.98.1
-------------------------------------------------------------------
Thu May 28 19:24:34 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.6
-------------------------------------------------------------------
Tue May 26 16:38:52 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.5
-------------------------------------------------------------------
Fri May 22 13:57:45 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.4
-------------------------------------------------------------------
Thu May 21 18:40:21 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.3
-------------------------------------------------------------------
Tue May 19 16:30:15 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.2
-------------------------------------------------------------------
Fri May 15 17:38:01 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.1
-------------------------------------------------------------------
Thu May 7 23:12:05 CEST 2009 - pmladek@suse.cz
- updated to version 3.1.0.0
-------------------------------------------------------------------
Thu Apr 30 19:56:03 CEST 2009 - pmladek@suse.cz
- updated to version 3.0.99.7
-------------------------------------------------------------------
Fri Apr 24 13:48:09 CEST 2009 - pmladek@suse.cz
- updated to version 3.0.99.6
-------------------------------------------------------------------
Fri Apr 17 17:43:05 CEST 2009 - pmladek@suse.cz
- updated to version 3.0.99.5
-------------------------------------------------------------------
Wed Apr 8 19:48:24 CEST 2009 - pmladek@suse.cz
- updated to version 3.0.99.4
-------------------------------------------------------------------
Fri Mar 27 21:17:08 CET 2009 - pmladek@suse.cz
- updated to version 3.0.99.3
-------------------------------------------------------------------
Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz
- updated to version 3.0.99.2
-------------------------------------------------------------------
Tue Mar 10 12:00:11 CET 2009 - pmladek@suse.cz
- updated to version 3.0.99.1
-------------------------------------------------------------------
Fri Feb 20 14:02:10 CET 2009 - pmladek@suse.cz
- updated to version 3.0.0.16.1
-------------------------------------------------------------------
Fri Feb 6 16:06:46 CET 2009 - pmladek@suse.cz
- updated to version 3.0.0.15
-------------------------------------------------------------------
Fri Jan 23 17:43:56 CET 2009 - pmladek@suse.cz
- updated to version 3.0.0.13
-------------------------------------------------------------------
Fri Jan 9 15:51:56 CET 2009 - pmladek@suse.cz
- updated to version 3.0.0.11
-------------------------------------------------------------------
Fri Dec 5 21:52:22 CET 2008 - pmladek@suse.cz
- updated to version 3.0.0.10
-------------------------------------------------------------------
Fri Nov 21 13:31:47 CET 2008 - pmladek@suse.cz
- updated to version 3.0.0.9
-------------------------------------------------------------------
Fri Nov 7 13:48:05 CET 2008 - pmladek@suse.cz
- updated to version 3.0.0.8
-------------------------------------------------------------------
Mon Oct 27 15:17:32 CET 2008 - pmladek@suse.cz
- updated to version 3.0.0.7
-------------------------------------------------------------------
Fri Oct 10 16:01:11 CEST 2008 - pmladek@suse.cz
- updated to version 3.0.0.6
- added BuildIgnore OpenOffice_org to avoid cyclic build dependency
-------------------------------------------------------------------
Mon Oct 6 15:00:38 CEST 2008 - sbrabec@suse.cz
- Conflict with other branding providers (FATE#304881).
-------------------------------------------------------------------
Sat Sep 27 12:04:54 CEST 2008 - pmladek@suse.cz
- updated to the milestone ooo300-m7 (3.0rc2)
- updated ooo-build to version 3.0.0.5
- fixed provides
-------------------------------------------------------------------
Thu Sep 11 17:37:47 CEST 2008 - pmladek@suse.cz
- split from the main OpenOffice_org package, version 3.0

View File

@ -0,0 +1,113 @@
#
# spec file for package libreoffice-branding-upstream
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-branding-upstream
Version: 3.4.2.5
Release: 1
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
License: LGPLv3
Group: Productivity/Office/Suite
Summary: Original Branding for LibreOffice
AutoReqProv: on
Provides: libreoffice-branding = %{version}
# compat stuff
Provides: OpenOffice_org-branding = %{version}
Obsoletes: OpenOffice_org-branding <= %{version}
Provides: OpenOffice_org-branding-upstream = %{version}
Obsoletes: OpenOffice_org-branding-upstream <= %{version}
Conflicts: otherproviders(libreoffice-branding)
%if 0%{?suse_version}
Supplements: packageand(branding-upstream:libreoffice)
%endif
Url: http://www.documentfoundation.org/
Source0: libreoffice-artwork-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
#BRAND: source: %lo_sourcedirname-core.tar.bz2:%lo_sourcedirname/default_images/brand/intro.png
#BRAND: type: PNG image data, 440 x 286, 8-bit/color RGB, non-interlaced
#BRAND: purpose: "splash" image displayed for a short time, when the application is launching
#BRAND: text: should mention the app name "LibreOffice"
#BRAND: context: no border is being displayed around the splash windows
#BRAND: the picture is overlapped by the progress bar: x,y=212,216; w,h=263,8
#BRAND: the default progress bar color is 0,0,128 (blue)
#BRAND: the progress bar has 1 pixel width white border
#
#BRAND: source: %lo_sourcedirname-core.tar.bz2:%lo_sourcedirname/default_images/brand/intro-pt_BR.png
#BRAND: text: should mention the app name "BrOffice"
#BRAND: context: LibreOffice is known in Brazil as BrOffice => this is the same as
#BRAND: intro.png; we just need to replace "LibreOffice" with "BrOffice"
#
#BRAND: source: %lo_sourcedirname-core.tar.bz2:%lo_sourcedirname/default_images/brand/about.png
#BRAND: type: PNG image data, 415 x 95, 8-bit/color RGB, non-interlaced
#BRAND: purpose: displayed on top of the Help/About LibreOffice dialog
#BRAND: text: should mention the app name "LibreOffice"
#BRAND: context: there are displayed several lines of some text below the picture
#BRAND: the text is black on a white background
#
#BRAND: source: %lo_sourcedirname-core.tar.bz2:%lo_sourcedirname/default_images/brand/about-pt_BR.png
#BRAND: text: should mention the app name "BrOffice"
#BRAND: context: LibreOffice is known in Brazil as BrOffice => this is the same as
#BRAND: intro.png; we just need to replace "LibreOffice" with "BrOffice"
#
#BRAND: source: %lo_sourcedirname-bootstrap.tar.bz2:src/sofficerc-upstream
#BRAND: type: text config file (ini-files-like)
#BRAND: purpose: defines the position, size and, color of the status bar
%description
This package includes the original branding for the LibreOffice
office suite.
%prep
%setup -q -n libreoffice-artwork-%version
%build
%install
install -m 755 -d $RPM_BUILD_ROOT%_datadir/%lo_home/program/shell
# sofficerc
install -m 644 $RPM_SOURCE_DIR/sofficerc-upstream \
$RPM_BUILD_ROOT%_datadir/%lo_home/program/sofficerc
# pictures
for pict in about.png \
intro.png \
shell/backing_left.png \
shell/backing_right.png \
shell/backing_rtl_left.png \
shell/backing_rtl_right.png \
shell/backing_space.png ; do
install -m 644 default_images/brand/$pict \
$RPM_BUILD_ROOT%_datadir/%lo_home/program/$pict
done
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%_datadir/%lo_home
%changelog

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb0ba3eb12a183bcb0190d2b1be59847b11d5c5e9c09f21ac21df500f7a2bf9e
size 9524675

View File

@ -0,0 +1,11 @@
--- configure.in.old 2011-07-13 15:23:06.000000000 +0200
+++ configure.in 2011-07-14 16:08:55.000000000 +0200
@@ -1342,6 +1342,8 @@ if test "$EUID" -eq "0" -a "z`uname -o
AC_MSG_ERROR([You must build LibreOffice as a normal user - not using an administrative account])
fi
+AC_PROG_CC
+
save_CC=$CC
save_CXX=$CXX

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b41244bf406ee64a4a223d4467d950625f1ccfcc99be7d41fdbe53be74077d8
size 5097111

View File

@ -0,0 +1,11 @@
--- configure.in.old 2011-07-12 15:23:56.000000000 +0200
+++ configure.in 2011-07-13 15:23:06.000000000 +0200
@@ -1733,7 +1733,7 @@ AC_SUBST(ENABLE_CUPS)
# check for fontconfig support
AC_MSG_CHECKING([whether to enable fontconfig support])
-if test "z$test_fontconfig" = "zyes" -a "z$enable_fontconfig" != "no"; then
+if test "$test_fontconfig" = "yes" -a "$enable_fontconfig" != "no"; then
ENABLE_FONTCONFIG="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.2.0])

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fcad8527b4e0a8db6d5a587cbd8945fe9a1e7d846f1bf837da2dceb2e1568bf
size 4215918

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:791191994cd0e50b70fbf1b5f394b1eb6fbf2025012b7ac44d6f0e11020085f5
size 38646547

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14c34bde2a5839bd43b2896bd33575fa7c8de5b8392144ba6e68690181267571
size 11785242

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db94a29c3603cd3b1f1ab14eb2ed9dfb52b7f298f6fc1e35c412b1c0225b8b50
size 1845692

View File

@ -0,0 +1,448 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
- obsoleted help-ar and help-pa-IN packages; Arabic and Punjabi help
used English strings
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
- fixed %%preun devel to copy the right file and do not print
error messages (bnc#535582)
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Wed Sep 2 08:32:11 UTC 2009 - aj@suse.de
- do not define Source101 twice
-------------------------------------------------------------------
Tue Sep 1 20:33:16 CEST 2009 - coolo@novell.com
- do not define Source101 twice
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
- split OpenOffice_org-help-en-US and OpenOffice_org-help-devel into
separate source tarball to speed up the build, asked by Coolo
- renamed OpenOffice_org-help-devel into OpenOffice_org-help-en-US-devel
-------------------------------------------------------------------
Mon Jun 15 21:16:25 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m13
- updated ooo-build to version 3.1.0.98.1 (3.1.1-alpha1)
-------------------------------------------------------------------
Thu May 28 19:24:34 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.6 (3.1-rc7 == final)
-------------------------------------------------------------------
Tue May 26 16:38:52 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.5 (3.1-rc6)
-------------------------------------------------------------------
Fri May 22 13:57:45 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.4 (3.1-rc5)
-------------------------------------------------------------------
Thu May 21 18:40:21 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.3 (3.1-rc4)
-------------------------------------------------------------------
Tue May 19 16:30:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.2 (3.1-rc3)
-------------------------------------------------------------------
Fri May 15 17:38:01 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.1 (3.1-rc2)
-------------------------------------------------------------------
Thu May 7 23:12:05 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.0.0 (3.1-rc1)
-------------------------------------------------------------------
Thu Apr 30 19:56:03 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m11 (3.1-rc2)
- updated ooo-build to version 3.0.99.7 (3.1-beta7)
-------------------------------------------------------------------
Fri Apr 24 13:48:09 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m10
- updated ooo-build to version 3.0.99.6 (3.1-beta6)
- updated extra localization sources: be-BY, bg, cs, da, el, et, fi, ga, km,
lt, mk, sk, sl
-------------------------------------------------------------------
Fri Apr 17 17:43:05 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.0.99.5 (3.1-beta5)
-------------------------------------------------------------------
Wed Apr 8 19:48:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m9
- updated ooo-build to version 3.0.99.4 (3.1-beta4)
-------------------------------------------------------------------
Fri Mar 27 21:17:08 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m7
- updated ooo-build to version 3.0.99.3 (3.1-beta3)
-------------------------------------------------------------------
Fri Mar 20 16:09:23 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m6
- updated ooo-build to version 3.0.99.2 (3.1-beta2)
- used more conservative way to remove the compat symlinks (bnc#471280)
-------------------------------------------------------------------
Tue Mar 10 12:00:11 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m4
- updated ooo-build to version 3.0.99.1 (3.1-beta1)
- used newly separated help source tarball
- fixed build on SLED10
-------------------------------------------------------------------
Fri Feb 20 14:02:10 CET 2009 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.16.1
-------------------------------------------------------------------
Fri Feb 6 16:06:46 CET 2009 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.15
-------------------------------------------------------------------
Fri Jan 23 17:43:56 CET 2009 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.13
- added ExclusiveArch: %%ix86 x86_64 ppc (bnc#465252)
-------------------------------------------------------------------
Fri Jan 9 15:51:56 CET 2009 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.11
-------------------------------------------------------------------
Fri Dec 5 21:52:22 CET 2008 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.10
-------------------------------------------------------------------
Fri Nov 21 13:31:47 CET 2008 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.9
- added extra localizations sources
-------------------------------------------------------------------
Fri Nov 7 13:48:05 CET 2008 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.8
-------------------------------------------------------------------
Mon Oct 27 15:17:32 CET 2008 - pmladek@suse.cz
- updated ooo-build to version 3.0.0.7
-------------------------------------------------------------------
Fri Oct 10 16:01:11 CEST 2008 - pmladek@suse.cz
- updated to the milestone ooo300-m9 (3.0rc4)
- updated ooo-build to version 3.0.0.6
- added BuildIgnore OpenOffice_org to avoid cyclic build dependency
- added devel package; it was needed to package later the icon
themes correctly; it might provide tools to build more localizations
in the future
-------------------------------------------------------------------
Sat Sep 27 12:04:54 CEST 2008 - pmladek@suse.cz
- updated to the milestone ooo300-m7 (3.0rc2)
- updated ooo-build to version 3.0.0.5
-------------------------------------------------------------------
Thu Sep 11 17:39:23 CEST 2008 - pmladek@suse.cz
- split from the OpenOffice_org-l10n package, version 3.0.0.4

252
libreoffice-help-en-US.spec Normal file
View File

@ -0,0 +1,252 @@
#
# spec file for package libreoffice-help-en-US (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-en-US
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-en-US.spec.in lo-help-en-US
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_langs ""
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
# needed by perl-Archive-Zip; is included in main perl package on newer distros
BuildRequires: perl-Compress-Zlib
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
Provides: locale(libreoffice:en_US)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-en-US
%endif
# compat stuff
Provides: OpenOffice_org-help-en-US = %version
Obsoletes: OpenOffice_org-help-en-US < %version
Provides: libreoffice:%_prefix/ooo-2.0/help/en/default.css
# Arabic help was not realy localized
Provides: OpenOffice_org-help-ar = %version
Obsoletes: OpenOffice_org-help-ar < %version
Provides: libreoffice-help-ar = %version
Obsoletes: libreoffice-help-ar < %version
# Punjabi help is not really localized
Provides: OpenOffice_org-help-pa-IN = %version
Obsoletes: OpenOffice_org-help-pa-IN < %version
Provides: libreoffice-help-pa-IN = %version
Obsoletes: libreoffice-help-pa-IN < %version
#
Summary: American Help Localization for LibreOffice
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-en-US.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-en-US
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
American help localization for LibreOffice. The other localized
stuff is in LibreOffice-l10n-en-US.
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z "%lo_langs" && langs="en-US" || langs="%lo_langs"
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
# en-US
%posttrans -n libreoffice-help-en-US
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_en_US_list.txt || true
%preun -n libreoffice-help-en-US
test "$1" = "0" && cp %_datadir/%lo_home/help_en_US_list.txt %_datadir/%lo_home/help_en_US_list.txt.postun || true
%postun -n libreoffice-help-en-US
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_en_US_list.txt.postun || true
rm -f %_datadir/%lo_home/help_en_US_list.txt.postun 2>/dev/null
%files -f file-lists/help_en_US_list.txt -n libreoffice-help-en-US
%defattr(-,root,root)
%changelog

View File

@ -0,0 +1,235 @@
#
# spec file for package libreoffice-help-en-US (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-en-US
@DO_NOT_EDIT_COMMENT@
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_langs ""
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
# needed by perl-Archive-Zip; is included in main perl package on newer distros
BuildRequires: perl-Compress-Zlib
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
Provides: locale(libreoffice:en_US)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-en-US
%endif
# compat stuff
Provides: OpenOffice_org-help-en-US = %version
Obsoletes: OpenOffice_org-help-en-US < %version
Provides: libreoffice:%_prefix/ooo-2.0/help/en/default.css
# Arabic help was not realy localized
Provides: OpenOffice_org-help-ar = %version
Obsoletes: OpenOffice_org-help-ar < %version
Provides: libreoffice-help-ar = %version
Obsoletes: libreoffice-help-ar < %version
# Punjabi help is not really localized
Provides: OpenOffice_org-help-pa-IN = %version
Obsoletes: OpenOffice_org-help-pa-IN < %version
Provides: libreoffice-help-pa-IN = %version
Obsoletes: libreoffice-help-pa-IN < %version
#
Summary: American Help Localization for LibreOffice
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-en-US.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-en-US
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
American help localization for LibreOffice. The other localized
stuff is in LibreOffice-l10n-en-US.
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z "%lo_langs" && langs="en-US" || langs="%lo_langs"
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
@SUBPACKAGES_SCRIPTS@
@SUBPACKAGES_FILELIST@
%changelog

View File

@ -0,0 +1,290 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
- removed help-ar package because it used English strings
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
- added perl-Compress-Zlib into BuildRequires for SLED10; needed by
perl-Archive-Zip; was included in the main perl package on newer distros
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
-------------------------------------------------------------------
Fri Jun 26 18:01:05 CEST 2009 - pmladek@suse.cz
- split OpenOffice_org-help source package into more pieces to make the
build more parallel; asked by Coolo

View File

@ -0,0 +1,407 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group1
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs ""
%else
%if %test_build_langs == 1
%define lo_langs "cs de"
%else
%define lo_langs "cs da de en-GB"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group1 = %version
Obsoletes: OpenOffice_org-help-group1 <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
%if %test_build_langs >= 1
%package -n libreoffice-help-cs
License: LGPLv3
Summary: Czech Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:cs)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-cs
%endif
# compat stuff
Provides: OpenOffice_org-help-cs = %version
Obsoletes: OpenOffice_org-help-cs <= %version
Provides: OpenOffice_org-cs:%_prefix/ooo-2.0/help/cs/default.css
%description -n libreoffice-help-cs
Czech help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-cs.
%endif
%if %test_build_langs >= 2
%package -n libreoffice-help-da
License: LGPLv3
Summary: Danish Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:da)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-da
%endif
# compat stuff
Provides: OpenOffice_org-help-da = %version
Obsoletes: OpenOffice_org-help-da <= %version
Provides: OpenOffice_org-da:%_prefix/ooo-2.0/help/da/default.css
%description -n libreoffice-help-da
Danish help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-da.
%endif
%if %test_build_langs >= 1
%package -n libreoffice-help-de
License: LGPLv3
Summary: German Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:de)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-de
%endif
# compat stuff
Provides: OpenOffice_org-help-de = %version
Obsoletes: OpenOffice_org-help-de <= %version
Provides: OpenOffice_org-de:%_prefix/ooo-2.0/help/de/default.css
%description -n libreoffice-help-de
German help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-de.
%endif
%if %test_build_langs >= 2
%package -n libreoffice-help-en-GB
License: LGPLv3
Summary: British Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:en_GB)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-en-GB
%endif
# compat stuff
Provides: OpenOffice_org-help-en-GB = %version
Obsoletes: OpenOffice_org-help-en-GB <= %version
Provides: OpenOffice_org-en-GB:%_prefix/ooo-2.0/help/en-GB/default.css
%description -n libreoffice-help-en-GB
British help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-en-GB.
%endif
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
%if %test_build_langs >= 1
# cs
%posttrans -n libreoffice-help-cs
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_cs_list.txt || true
%preun -n libreoffice-help-cs
test "$1" = "0" && cp %_datadir/%lo_home/help_cs_list.txt %_datadir/%lo_home/help_cs_list.txt.postun || true
%postun -n libreoffice-help-cs
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_cs_list.txt.postun || true
rm -f %_datadir/%lo_home/help_cs_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
# da
%posttrans -n libreoffice-help-da
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_da_list.txt || true
%preun -n libreoffice-help-da
test "$1" = "0" && cp %_datadir/%lo_home/help_da_list.txt %_datadir/%lo_home/help_da_list.txt.postun || true
%postun -n libreoffice-help-da
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_da_list.txt.postun || true
rm -f %_datadir/%lo_home/help_da_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 1
# de
%posttrans -n libreoffice-help-de
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_de_list.txt || true
%preun -n libreoffice-help-de
test "$1" = "0" && cp %_datadir/%lo_home/help_de_list.txt %_datadir/%lo_home/help_de_list.txt.postun || true
%postun -n libreoffice-help-de
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_de_list.txt.postun || true
rm -f %_datadir/%lo_home/help_de_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
# en-GB
%posttrans -n libreoffice-help-en-GB
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_en_GB_list.txt || true
%preun -n libreoffice-help-en-GB
test "$1" = "0" && cp %_datadir/%lo_home/help_en_GB_list.txt %_datadir/%lo_home/help_en_GB_list.txt.postun || true
%postun -n libreoffice-help-en-GB
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_en_GB_list.txt.postun || true
rm -f %_datadir/%lo_home/help_en_GB_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 1
%files -f file-lists/help_cs_list.txt -n libreoffice-help-cs
%defattr(-,root,root)
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_da_list.txt -n libreoffice-help-da
%defattr(-,root,root)
%endif
%if %test_build_langs >= 1
%files -f file-lists/help_de_list.txt -n libreoffice-help-de
%defattr(-,root,root)
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_en_GB_list.txt -n libreoffice-help-en-GB
%defattr(-,root,root)
%endif
%changelog

View File

@ -0,0 +1,289 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
- added perl-Compress-Zlib into BuildRequires for SLED10; needed by
perl-Archive-Zip; was included in the main perl package on newer distros
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
-------------------------------------------------------------------
Fri Jun 26 18:01:05 CEST 2009 - pmladek@suse.cz
- split OpenOffice_org-help source package into more pieces to make the
build more parallel; asked by Coolo

View File

@ -0,0 +1,413 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group2
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs ""
%else
%if %test_build_langs == 1
%define lo_langs ""
%else
%define lo_langs "en-ZA es et fr gl"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group2 = %version
Obsoletes: OpenOffice_org-help-group2 <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
%if %test_build_langs >= 2
%package -n libreoffice-help-en-ZA
License: LGPLv3
Summary: South Africa English Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:en_ZA)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-en-ZA
%endif
# compat stuff
Provides: OpenOffice_org-help-en-ZA = %version
Obsoletes: OpenOffice_org-help-en-ZA <= %version
Provides: OpenOffice_org-en-ZA:%_prefix/ooo-2.0/help/en-ZA/default.css
%description -n libreoffice-help-en-ZA
South Africa English help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-en-ZA.
%package -n libreoffice-help-es
License: LGPLv3
Summary: Spanish Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:es)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-es
%endif
# compat stuff
Provides: OpenOffice_org-help-es = %version
Obsoletes: OpenOffice_org-help-es <= %version
Provides: OpenOffice_org-es:%_prefix/ooo-2.0/help/es/default.css
%description -n libreoffice-help-es
Spanish help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-es.
%package -n libreoffice-help-et
License: LGPLv3
Summary: Estonian Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:et)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-et
%endif
# compat stuff
Provides: OpenOffice_org-help-et = %version
Obsoletes: OpenOffice_org-help-et <= %version
Provides: OpenOffice_org-et:%_prefix/ooo-2.0/help/et/default.css
%description -n libreoffice-help-et
Estonian help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-et.
%package -n libreoffice-help-fr
License: LGPLv3
Summary: French Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:fr)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-fr
%endif
# compat stuff
Provides: OpenOffice_org-help-fr = %version
Obsoletes: OpenOffice_org-help-fr <= %version
Provides: OpenOffice_org-fr:%_prefix/ooo-2.0/help/fr/default.css
%description -n libreoffice-help-fr
French help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-fr.
%package -n libreoffice-help-gl
License: LGPLv3
Summary: Galician Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:gl)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-gl
%endif
# compat stuff
Provides: OpenOffice_org-help-gl = %version
Obsoletes: OpenOffice_org-help-gl <= %version
Provides: OpenOffice_org-gl:%_prefix/ooo-2.0/help/gl/default.css
%description -n libreoffice-help-gl
Galician help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-gl.
%endif
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
%if %test_build_langs >= 2
# en-ZA
%posttrans -n libreoffice-help-en-ZA
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_en_ZA_list.txt || true
%preun -n libreoffice-help-en-ZA
test "$1" = "0" && cp %_datadir/%lo_home/help_en_ZA_list.txt %_datadir/%lo_home/help_en_ZA_list.txt.postun || true
%postun -n libreoffice-help-en-ZA
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_en_ZA_list.txt.postun || true
rm -f %_datadir/%lo_home/help_en_ZA_list.txt.postun 2>/dev/null
# es
%posttrans -n libreoffice-help-es
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_es_list.txt || true
%preun -n libreoffice-help-es
test "$1" = "0" && cp %_datadir/%lo_home/help_es_list.txt %_datadir/%lo_home/help_es_list.txt.postun || true
%postun -n libreoffice-help-es
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_es_list.txt.postun || true
rm -f %_datadir/%lo_home/help_es_list.txt.postun 2>/dev/null
# et
%posttrans -n libreoffice-help-et
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_et_list.txt || true
%preun -n libreoffice-help-et
test "$1" = "0" && cp %_datadir/%lo_home/help_et_list.txt %_datadir/%lo_home/help_et_list.txt.postun || true
%postun -n libreoffice-help-et
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_et_list.txt.postun || true
rm -f %_datadir/%lo_home/help_et_list.txt.postun 2>/dev/null
# fr
%posttrans -n libreoffice-help-fr
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_fr_list.txt || true
%preun -n libreoffice-help-fr
test "$1" = "0" && cp %_datadir/%lo_home/help_fr_list.txt %_datadir/%lo_home/help_fr_list.txt.postun || true
%postun -n libreoffice-help-fr
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_fr_list.txt.postun || true
rm -f %_datadir/%lo_home/help_fr_list.txt.postun 2>/dev/null
# gl
%posttrans -n libreoffice-help-gl
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_gl_list.txt || true
%preun -n libreoffice-help-gl
test "$1" = "0" && cp %_datadir/%lo_home/help_gl_list.txt %_datadir/%lo_home/help_gl_list.txt.postun || true
%postun -n libreoffice-help-gl
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_gl_list.txt.postun || true
rm -f %_datadir/%lo_home/help_gl_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_en_ZA_list.txt -n libreoffice-help-en-ZA
%defattr(-,root,root)
%files -f file-lists/help_es_list.txt -n libreoffice-help-es
%defattr(-,root,root)
%files -f file-lists/help_et_list.txt -n libreoffice-help-et
%defattr(-,root,root)
%files -f file-lists/help_fr_list.txt -n libreoffice-help-fr
%defattr(-,root,root)
%files -f file-lists/help_gl_list.txt -n libreoffice-help-gl
%defattr(-,root,root)
%endif
%changelog

View File

@ -0,0 +1,291 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
- used the renamed "gu" instead of "gu-IN" lang code; kept the package
name to keep the backward compatibility
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
- added perl-Compress-Zlib into BuildRequires for SLED10; needed by
perl-Archive-Zip; was included in the main perl package on newer distros
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
-------------------------------------------------------------------
Fri Jun 26 18:01:05 CEST 2009 - pmladek@suse.cz
- split OpenOffice_org-help source package into more pieces to make the
build more parallel; asked by Coolo

View File

@ -0,0 +1,482 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group3
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs ""
%else
%if %test_build_langs == 1
%define lo_langs "hu ja"
%else
%define lo_langs "gu hi hu it ja km"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group3 = %version
Obsoletes: OpenOffice_org-help-group3 <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
%if %test_build_langs >= 2
%package -n libreoffice-help-gu-IN
License: LGPLv3
Summary: Gujarati Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:gu)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-gu-IN
%endif
# compat stuff
Provides: OpenOffice_org-help-gu-IN = %version
Obsoletes: OpenOffice_org-help-gu-IN <= %version
Provides: OpenOffice_org-gu-IN:%_prefix/ooo-2.0/help/gu-IN/default.css
%description -n libreoffice-help-gu-IN
Gujarati help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-gu-IN.
%package -n libreoffice-help-hi-IN
License: LGPLv3
Summary: Hindi Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:hi)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-hi-IN
%endif
# compat stuff
Provides: OpenOffice_org-help-hi-IN = %version
Obsoletes: OpenOffice_org-help-hi-IN <= %version
Provides: OpenOffice_org-hi-IN:%_prefix/ooo-2.0/help/hi-IN/default.css
%description -n libreoffice-help-hi-IN
Hindi help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-hi-IN.
%endif
%if %test_build_langs >= 1
%package -n libreoffice-help-hu
License: LGPLv3
Summary: Hungarian Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:hu)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-hu
%endif
# compat stuff
Provides: OpenOffice_org-help-hu = %version
Obsoletes: OpenOffice_org-help-hu <= %version
Provides: OpenOffice_org-hu:%_prefix/ooo-2.0/help/hu/default.css
%description -n libreoffice-help-hu
Hungarian help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-hu.
%endif
%if %test_build_langs >= 2
%package -n libreoffice-help-it
License: LGPLv3
Summary: Italian Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:it)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-it
%endif
# compat stuff
Provides: OpenOffice_org-help-it = %version
Obsoletes: OpenOffice_org-help-it <= %version
Provides: OpenOffice_org-it:%_prefix/ooo-2.0/help/it/default.css
%description -n libreoffice-help-it
Italian help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-it.
%endif
%if %test_build_langs >= 1
%package -n libreoffice-help-ja
License: LGPLv3
Summary: Japanese Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:ja)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-ja
%endif
# compat stuff
Provides: OpenOffice_org-help-ja = %version
Obsoletes: OpenOffice_org-help-ja <= %version
Provides: OpenOffice_org-ja:%_prefix/ooo-2.0/help/ja/default.css
%description -n libreoffice-help-ja
Japanese help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-ja.
%endif
%if %test_build_langs >= 2
%package -n libreoffice-help-km
License: LGPLv3
Summary: Khmer Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:km)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-km
%endif
# compat stuff
Provides: OpenOffice_org-help-km = %version
Obsoletes: OpenOffice_org-help-km <= %version
Provides: OpenOffice_org-km:%_prefix/ooo-2.0/help/km/default.css
%description -n libreoffice-help-km
Khmer help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-km.
%endif
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
%if %test_build_langs >= 2
# gu-IN
%posttrans -n libreoffice-help-gu-IN
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_gu_list.txt || true
%preun -n libreoffice-help-gu-IN
test "$1" = "0" && cp %_datadir/%lo_home/help_gu_list.txt %_datadir/%lo_home/help_gu_list.txt.postun || true
%postun -n libreoffice-help-gu-IN
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_gu_list.txt.postun || true
rm -f %_datadir/%lo_home/help_gu_list.txt.postun 2>/dev/null
# hi-IN
%posttrans -n libreoffice-help-hi-IN
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_hi_list.txt || true
%preun -n libreoffice-help-hi-IN
test "$1" = "0" && cp %_datadir/%lo_home/help_hi_list.txt %_datadir/%lo_home/help_hi_list.txt.postun || true
%postun -n libreoffice-help-hi-IN
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_hi_list.txt.postun || true
rm -f %_datadir/%lo_home/help_hi_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 1
# hu
%posttrans -n libreoffice-help-hu
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_hu_list.txt || true
%preun -n libreoffice-help-hu
test "$1" = "0" && cp %_datadir/%lo_home/help_hu_list.txt %_datadir/%lo_home/help_hu_list.txt.postun || true
%postun -n libreoffice-help-hu
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_hu_list.txt.postun || true
rm -f %_datadir/%lo_home/help_hu_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
# it
%posttrans -n libreoffice-help-it
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_it_list.txt || true
%preun -n libreoffice-help-it
test "$1" = "0" && cp %_datadir/%lo_home/help_it_list.txt %_datadir/%lo_home/help_it_list.txt.postun || true
%postun -n libreoffice-help-it
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_it_list.txt.postun || true
rm -f %_datadir/%lo_home/help_it_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 1
# ja
%posttrans -n libreoffice-help-ja
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_ja_list.txt || true
%preun -n libreoffice-help-ja
test "$1" = "0" && cp %_datadir/%lo_home/help_ja_list.txt %_datadir/%lo_home/help_ja_list.txt.postun || true
%postun -n libreoffice-help-ja
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_ja_list.txt.postun || true
rm -f %_datadir/%lo_home/help_ja_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
# km
%posttrans -n libreoffice-help-km
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_km_list.txt || true
%preun -n libreoffice-help-km
test "$1" = "0" && cp %_datadir/%lo_home/help_km_list.txt %_datadir/%lo_home/help_km_list.txt.postun || true
%postun -n libreoffice-help-km
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_km_list.txt.postun || true
rm -f %_datadir/%lo_home/help_km_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_gu_list.txt -n libreoffice-help-gu-IN
%defattr(-,root,root)
%files -f file-lists/help_hi_list.txt -n libreoffice-help-hi-IN
%defattr(-,root,root)
%endif
%if %test_build_langs >= 1
%files -f file-lists/help_hu_list.txt -n libreoffice-help-hu
%defattr(-,root,root)
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_it_list.txt -n libreoffice-help-it
%defattr(-,root,root)
%endif
%if %test_build_langs >= 1
%files -f file-lists/help_ja_list.txt -n libreoffice-help-ja
%defattr(-,root,root)
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_km_list.txt -n libreoffice-help-km
%defattr(-,root,root)
%endif
%changelog

View File

@ -0,0 +1,290 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
- removed help-pa-IN package because it used English strings
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
- added perl-Compress-Zlib into BuildRequires for SLED10; needed by
perl-Archive-Zip; was included in the main perl package on newer distros
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
-------------------------------------------------------------------
Fri Jun 26 18:01:05 CEST 2009 - pmladek@suse.cz
- split OpenOffice_org-help source package into more pieces to make the
build more parallel; asked by Coolo

View File

@ -0,0 +1,380 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group4
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs ""
%else
%if %test_build_langs == 1
%define lo_langs ""
%else
%define lo_langs "ko nl pl pt"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group4 = %version
Obsoletes: OpenOffice_org-help-group4 <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
%if %test_build_langs >= 2
%package -n libreoffice-help-ko
License: LGPLv3
Summary: Korean Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:ko)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-ko
%endif
# compat stuff
Provides: OpenOffice_org-help-ko = %version
Obsoletes: OpenOffice_org-help-ko <= %version
Provides: OpenOffice_org-ko:%_prefix/ooo-2.0/help/ko/default.css
%description -n libreoffice-help-ko
Korean help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-ko.
%package -n libreoffice-help-nl
License: LGPLv3
Summary: Dutch Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:nl)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-nl
%endif
# compat stuff
Provides: OpenOffice_org-help-nl = %version
Obsoletes: OpenOffice_org-help-nl <= %version
Provides: OpenOffice_org-nl:%_prefix/ooo-2.0/help/nl/default.css
%description -n libreoffice-help-nl
Dutch help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-nl.
%package -n libreoffice-help-pl
License: LGPLv3
Summary: Polish Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:pl)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-pl
%endif
# compat stuff
Provides: OpenOffice_org-help-pl = %version
Obsoletes: OpenOffice_org-help-pl <= %version
Provides: OpenOffice_org-pl:%_prefix/ooo-2.0/help/pl/default.css
%description -n libreoffice-help-pl
Polish help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-pl.
%package -n libreoffice-help-pt
License: LGPLv3
Summary: Portuguese Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:pt)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-pt
%endif
# compat stuff
Provides: OpenOffice_org-help-pt = %version
Obsoletes: OpenOffice_org-help-pt <= %version
Provides: OpenOffice_org-pt:%_prefix/ooo-2.0/help/pt/default.css
%description -n libreoffice-help-pt
Portuguese help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-pt.
%endif
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
%if %test_build_langs >= 2
# ko
%posttrans -n libreoffice-help-ko
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_ko_list.txt || true
%preun -n libreoffice-help-ko
test "$1" = "0" && cp %_datadir/%lo_home/help_ko_list.txt %_datadir/%lo_home/help_ko_list.txt.postun || true
%postun -n libreoffice-help-ko
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_ko_list.txt.postun || true
rm -f %_datadir/%lo_home/help_ko_list.txt.postun 2>/dev/null
# nl
%posttrans -n libreoffice-help-nl
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_nl_list.txt || true
%preun -n libreoffice-help-nl
test "$1" = "0" && cp %_datadir/%lo_home/help_nl_list.txt %_datadir/%lo_home/help_nl_list.txt.postun || true
%postun -n libreoffice-help-nl
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_nl_list.txt.postun || true
rm -f %_datadir/%lo_home/help_nl_list.txt.postun 2>/dev/null
# pl
%posttrans -n libreoffice-help-pl
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_pl_list.txt || true
%preun -n libreoffice-help-pl
test "$1" = "0" && cp %_datadir/%lo_home/help_pl_list.txt %_datadir/%lo_home/help_pl_list.txt.postun || true
%postun -n libreoffice-help-pl
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_pl_list.txt.postun || true
rm -f %_datadir/%lo_home/help_pl_list.txt.postun 2>/dev/null
# pt
%posttrans -n libreoffice-help-pt
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_pt_list.txt || true
%preun -n libreoffice-help-pt
test "$1" = "0" && cp %_datadir/%lo_home/help_pt_list.txt %_datadir/%lo_home/help_pt_list.txt.postun || true
%postun -n libreoffice-help-pt
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_pt_list.txt.postun || true
rm -f %_datadir/%lo_home/help_pt_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_ko_list.txt -n libreoffice-help-ko
%defattr(-,root,root)
%files -f file-lists/help_nl_list.txt -n libreoffice-help-nl
%defattr(-,root,root)
%files -f file-lists/help_pl_list.txt -n libreoffice-help-pl
%defattr(-,root,root)
%files -f file-lists/help_pt_list.txt -n libreoffice-help-pt
%defattr(-,root,root)
%endif
%changelog

View File

@ -0,0 +1,289 @@
-------------------------------------------------------------------
Fri Sep 2 14:25:16 UTC 2011 - pmladek@suse.com
- updated to libreoffice-3.4.2.5 (SUSE 3.4.2-rc2)
-------------------------------------------------------------------
Wed Aug 24 13:45:45 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.4 (SUSE 3.4.2-rc1)
- explicitly disabled mono stuff; not needed to build help
-------------------------------------------------------------------
Wed Jul 27 15:10:40 UTC 2011 - pmladek@novell.com
- updated to libreoffice-3.4.2.3 (3.4.2-rc3)
- started building helpcontent without libreoffice-*-devel packages;
split build had not longer be supported with LO-3.4; disabled many
features to keep minimal build dependencies
-------------------------------------------------------------------
Wed Jun 8 17:29:54 CEST 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.3.1 (3.3.3-rc1)
-------------------------------------------------------------------
Wed Mar 23 20:08:17 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.2.2 == 3.3.2-rc2 == final
-------------------------------------------------------------------
Fri Mar 18 16:40:02 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.2 (3.3.2-rc2)
-------------------------------------------------------------------
Wed Mar 9 17:42:27 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.2.1 (3.3.2-rc1)
-------------------------------------------------------------------
Wed Feb 23 14:08:35 CET 2011 - pmladek@suse.cz
- libreoffice-3.3.1.2 == 3.3.1-rc2 == final
-------------------------------------------------------------------
Wed Feb 16 16:27:04 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.2 (3.3.1-rc2)
-------------------------------------------------------------------
Tue Feb 8 20:53:59 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.1.1 (3.3.1-rc1)
-------------------------------------------------------------------
Mon Jan 31 20:32:38 CET 2011 - pmladek@suse.cz
- libreoffice-build-3.3.0.4 == 3.3.0-rc4 == final
-------------------------------------------------------------------
Wed Jan 19 12:58:21 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.4 (3.3-rc4)
-------------------------------------------------------------------
Tue Jan 11 16:41:58 CET 2011 - pmladek@suse.cz
- updated to libreoffice-3.3.0.3 (3.3-rc3)
-------------------------------------------------------------------
Tue Dec 21 19:44:02 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.2 (3.3-rc2)
-------------------------------------------------------------------
Wed Dec 1 19:41:47 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.3.0.1 (3.3-rc1)
- fixed URL, summary, and description for LibreOffice
-------------------------------------------------------------------
Fri Nov 12 12:24:42 CET 2010 - pmladek@suse.cz
- updated to libreoffice-3.2.99.3 (3.3-beta3)
-------------------------------------------------------------------
Thu Oct 14 19:12:31 CEST 2010 - pmladek@suse.cz
- switched to the LibreOffice code base, http://www.documentfoundation.org/
- renamed packages from OpenOffice_org* to libreoffice*
- updated to libreoffice-3.2.99.2 (3.3-beta2)
-------------------------------------------------------------------
Wed Sep 15 20:45:27 CEST 2010 - pmladek@suse.cz
- updated to version 3.2.98.1 (3.3-alpha1)
- used the prepatched OOo sources from ooo-build git
-------------------------------------------------------------------
Thu Sep 2 15:45:12 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.6 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Tue Aug 24 16:37:41 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.5 (3.2.1 security update, bnc#629085,
MaintenanceTracker-35044, CVE-2010-2935, CVE-2010-2936)
-------------------------------------------------------------------
Wed Jun 16 19:17:34 CEST 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.1.4 (3.2.1 maintenance update)
-------------------------------------------------------------------
Mon May 31 17:27:18 CEST 2010 - pmladek@suse.cz
- ooo-build-3.2.1.3 == 3.2.1-rc3 == final
-------------------------------------------------------------------
Fri May 28 17:37:09 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m19
- updated ooo-build to version 3.2.1.3 (3.2.1-rc3)
-------------------------------------------------------------------
Tue May 25 17:44:26 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m18 (3.2.1-rc2)
- updated ooo-build to version 3.2.1.2 (3.2.1-rc2)
-------------------------------------------------------------------
Thu May 13 20:29:10 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m17 (3.2.1-rc1)
- updated ooo-build to version 3.2.1.1 (3.2.1-rc1)
- added initial support for build on MeeGo distro
-------------------------------------------------------------------
Fri Apr 23 11:30:30 CEST 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m15
- updated ooo-build to version 3.2.0.99.3 (3.2.1-beta3)
-------------------------------------------------------------------
Thu Mar 25 21:38:09 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.2 (3.2.1-beta2)
-------------------------------------------------------------------
Thu Mar 11 21:18:47 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.99.1 (3.2.1-beta1)
-------------------------------------------------------------------
Fri Feb 26 17:11:58 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.98.1 (3.2.1-alpha1)
-------------------------------------------------------------------
Wed Feb 24 17:20:34 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.7 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 18 20:46:24 CET 2010 - pmladek@suse.cz
- updated ooo-build to version 3.2.0.6 (3.2 bugfix release)
-------------------------------------------------------------------
Thu Feb 4 19:36:48 CET 2010 - pmladek@suse.cz
- ooo-build-3.2.0.5 == 3.2-rc5 == final
-------------------------------------------------------------------
Thu Feb 4 15:33:42 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m12 (3.2-rc5)
- updated ooo-build to version 3.2.0.5 (3.2-rc5)
-------------------------------------------------------------------
Wed Jan 27 20:29:22 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m11 (3.2-rc4)
- updated ooo-build to version 3.2.0.4 (3.2-rc4)
-------------------------------------------------------------------
Wed Jan 13 19:32:02 CET 2010 - pmladek@suse.cz
- updated to the milestone ooo320-m9
- updated ooo-build to version 3.2.0.2 (3.2-rc2)
-------------------------------------------------------------------
Sun Dec 20 19:38:12 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m8
- updated ooo-build to version 3.2.0.1 (3.2-rc1)
-------------------------------------------------------------------
Mon Dec 7 17:53:37 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m7
- updated ooo-build to version 3.1.99.4 (3.2-beta4)
- removed obsolete extra localization sources
-------------------------------------------------------------------
Tue Nov 24 16:57:27 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m5
- updated ooo-build to version 3.1.99.3 (3.2-beta3)
-------------------------------------------------------------------
Fri Nov 13 17:34:52 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m4
- updated ooo-build to version 3.1.99.2 (3.2-beta2)
- added perl-Compress-Zlib into BuildRequires for SLED10; needed by
perl-Archive-Zip; was included in the main perl package on newer distros
-------------------------------------------------------------------
Thu Oct 29 22:57:28 CET 2009 - pmladek@suse.cz
- updated to the milestone ooo320-m2
- updated ooo-build to version 3.1.99.1 (3.2-beta1)
- added perl-Archive-Zip into BuildRequires
-------------------------------------------------------------------
Tue Oct 20 16:45:29 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.4
-------------------------------------------------------------------
Tue Oct 6 17:01:57 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.3
-------------------------------------------------------------------
Tue Sep 22 16:15:15 CEST 2009 - pmladek@suse.cz
- updated ooo-build to version 3.1.1.2
-------------------------------------------------------------------
Wed Sep 2 18:00:13 CEST 2009 - pmladek@suse.cz
- ooo-build-3.1.1.1 == 3.1.1-rc1 == final
-------------------------------------------------------------------
Tue Sep 1 13:02:33 CEST 2009 - pmladek@suse.cz
- do not exclude archs for noarch packages
-------------------------------------------------------------------
Wed Aug 26 13:28:08 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m19
- updated ooo-build to version 3.1.1.1 (3.1.1-rc1)
-------------------------------------------------------------------
Tue Aug 18 19:51:59 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m18
- updated ooo-build to version 3.1.0.99.3 (3.1.1-beta3)
-------------------------------------------------------------------
Tue Aug 4 22:19:15 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m17
- updated ooo-build to version 3.1.0.99.2 (3.1.1-beta2)
- updated extra localizations sources: bg el mk nb nn sk sl
-------------------------------------------------------------------
Thu Jul 23 21:16:24 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m16
- updated ooo-build to version 3.1.0.99.1 (3.1.1-beta1)
-------------------------------------------------------------------
Mon Jun 29 19:30:31 CEST 2009 - pmladek@suse.cz
- updated to the milestone ooo310-m14
- updated ooo-build to version 3.1.0.98.2 (3.1.1-alpha2)
-------------------------------------------------------------------
Fri Jun 26 18:01:05 CEST 2009 - pmladek@suse.cz
- split OpenOffice_org-help source package into more pieces to make the
build more parallel; asked by Coolo

View File

@ -0,0 +1,446 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group5
###################################################################
## DO NOT EDIT THIS SPEC FILE
## Generated by:
## perl lo-help-gen-spec libreoffice-help-groupX.spec.in lo-help-groupX
###################################################################
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs ""
%else
%if %test_build_langs == 1
%define lo_langs ""
%else
%define lo_langs "pt-BR ru sl sv zh-CN zh-TW"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group5 = %version
Obsoletes: OpenOffice_org-help-group5 <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
%if %test_build_langs >= 2
%package -n libreoffice-help-pt-BR
License: LGPLv3
Summary: Brazilian Portuguese Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:pt_BR)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-pt-BR
%endif
# compat stuff
Provides: OpenOffice_org-help-pt-BR = %version
Obsoletes: OpenOffice_org-help-pt-BR <= %version
Provides: OpenOffice_org-pt-BR:%_prefix/ooo-2.0/help/pt-BR/default.css
%description -n libreoffice-help-pt-BR
Brazilian Portuguese help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-pt-BR.
%package -n libreoffice-help-ru
License: LGPLv3
Summary: Russian Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:ru)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-ru
%endif
# compat stuff
Provides: OpenOffice_org-help-ru = %version
Obsoletes: OpenOffice_org-help-ru <= %version
Provides: OpenOffice_org-ru:%_prefix/ooo-2.0/help/ru/default.css
%description -n libreoffice-help-ru
Russian help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-ru.
%package -n libreoffice-help-sl
License: LGPLv3
Summary: Slovene Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:sl)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-sl
%endif
# compat stuff
Provides: OpenOffice_org-help-sl = %version
Obsoletes: OpenOffice_org-help-sl <= %version
Provides: OpenOffice_org-sl:%_prefix/ooo-2.0/help/sl/default.css
%description -n libreoffice-help-sl
Slovene help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-sl.
%package -n libreoffice-help-sv
License: LGPLv3
Summary: Swedish Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:sv)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-sv
%endif
# compat stuff
Provides: OpenOffice_org-help-sv = %version
Obsoletes: OpenOffice_org-help-sv <= %version
Provides: OpenOffice_org-sv:%_prefix/ooo-2.0/help/sv/default.css
%description -n libreoffice-help-sv
Swedish help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-sv.
%package -n libreoffice-help-zh-CN
License: LGPLv3
Summary: Chinese Simplified Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:zh_CN)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-zh-CN
%endif
# compat stuff
Provides: OpenOffice_org-help-zh-CN = %version
Obsoletes: OpenOffice_org-help-zh-CN <= %version
Provides: OpenOffice_org-zh-CN:%_prefix/ooo-2.0/help/zh-CN/default.css
%description -n libreoffice-help-zh-CN
Chinese Simplified help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-zh-CN.
%package -n libreoffice-help-zh-TW
License: LGPLv3
Summary: Chinese Traditional Help Localization for LibreOffice
Group: Productivity/Office/Suite
Provides: locale(libreoffice:zh_TW)
PreReq: libreoffice = %version
%if 0%{?suse_version}
Supplements: libreoffice-l10n-zh-TW
%endif
# compat stuff
Provides: OpenOffice_org-help-zh-TW = %version
Obsoletes: OpenOffice_org-help-zh-TW <= %version
Provides: OpenOffice_org-zh-TW:%_prefix/ooo-2.0/help/zh-TW/default.css
%description -n libreoffice-help-zh-TW
Chinese Traditional help localization for LibreOffice. The other localized stuff
is in libreoffice-l10n-zh-TW.
%endif
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
%if %test_build_langs >= 2
# pt-BR
%posttrans -n libreoffice-help-pt-BR
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_pt_BR_list.txt || true
%preun -n libreoffice-help-pt-BR
test "$1" = "0" && cp %_datadir/%lo_home/help_pt_BR_list.txt %_datadir/%lo_home/help_pt_BR_list.txt.postun || true
%postun -n libreoffice-help-pt-BR
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_pt_BR_list.txt.postun || true
rm -f %_datadir/%lo_home/help_pt_BR_list.txt.postun 2>/dev/null
# ru
%posttrans -n libreoffice-help-ru
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_ru_list.txt || true
%preun -n libreoffice-help-ru
test "$1" = "0" && cp %_datadir/%lo_home/help_ru_list.txt %_datadir/%lo_home/help_ru_list.txt.postun || true
%postun -n libreoffice-help-ru
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_ru_list.txt.postun || true
rm -f %_datadir/%lo_home/help_ru_list.txt.postun 2>/dev/null
# sl
%posttrans -n libreoffice-help-sl
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_sl_list.txt || true
%preun -n libreoffice-help-sl
test "$1" = "0" && cp %_datadir/%lo_home/help_sl_list.txt %_datadir/%lo_home/help_sl_list.txt.postun || true
%postun -n libreoffice-help-sl
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_sl_list.txt.postun || true
rm -f %_datadir/%lo_home/help_sl_list.txt.postun 2>/dev/null
# sv
%posttrans -n libreoffice-help-sv
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_sv_list.txt || true
%preun -n libreoffice-help-sv
test "$1" = "0" && cp %_datadir/%lo_home/help_sv_list.txt %_datadir/%lo_home/help_sv_list.txt.postun || true
%postun -n libreoffice-help-sv
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_sv_list.txt.postun || true
rm -f %_datadir/%lo_home/help_sv_list.txt.postun 2>/dev/null
# zh-CN
%posttrans -n libreoffice-help-zh-CN
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_zh_CN_list.txt || true
%preun -n libreoffice-help-zh-CN
test "$1" = "0" && cp %_datadir/%lo_home/help_zh_CN_list.txt %_datadir/%lo_home/help_zh_CN_list.txt.postun || true
%postun -n libreoffice-help-zh-CN
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_zh_CN_list.txt.postun || true
rm -f %_datadir/%lo_home/help_zh_CN_list.txt.postun 2>/dev/null
# zh-TW
%posttrans -n libreoffice-help-zh-TW
%_datadir/%lo_home/link-to-ooo-home %_datadir/%lo_home/help_zh_TW_list.txt || true
%preun -n libreoffice-help-zh-TW
test "$1" = "0" && cp %_datadir/%lo_home/help_zh_TW_list.txt %_datadir/%lo_home/help_zh_TW_list.txt.postun || true
%postun -n libreoffice-help-zh-TW
test "$1" = "0" && %_datadir/%lo_home/link-to-ooo-home --unlink %_datadir/%lo_home/help_zh_TW_list.txt.postun || true
rm -f %_datadir/%lo_home/help_zh_TW_list.txt.postun 2>/dev/null
%endif
%if %test_build_langs >= 2
%files -f file-lists/help_pt_BR_list.txt -n libreoffice-help-pt-BR
%defattr(-,root,root)
%files -f file-lists/help_ru_list.txt -n libreoffice-help-ru
%defattr(-,root,root)
%files -f file-lists/help_sl_list.txt -n libreoffice-help-sl
%defattr(-,root,root)
%files -f file-lists/help_sv_list.txt -n libreoffice-help-sv
%defattr(-,root,root)
%files -f file-lists/help_zh_CN_list.txt -n libreoffice-help-zh-CN
%defattr(-,root,root)
%files -f file-lists/help_zh_TW_list.txt -n libreoffice-help-zh-TW
%defattr(-,root,root)
%endif
%changelog

View File

@ -0,0 +1,235 @@
#
# spec file for package libreoffice-help-group1 (Version 3.2.0.99.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libreoffice-help-group@GROUP_NUMBER@
@DO_NOT_EDIT_COMMENT@
Version: 3.4.2.5
Release: 1
%define piece help
%define lo_build_version 3.4.2.5
%define lo_piece_version 3.4.2.5
%define lo_sourcedirname libreoffice-build-%lo_piece_version
%define lo_home libreoffice
%define lo_basis_dir basis3.4
# test_build_langs: 1 = de and cs
# 2 = all supported languages
%define test_build_langs 2
# build_module_in_parallel 0 = no
# 1 = yes (the number is defined be the number of cpus)
# 2,3,4... = yes (force the number of modules to be built in parallel)
%define build_module_in_parallel 1
# prepare_build: 0 = no
# 1 = yes (just build, install and create packages; without %%prep section and configure)
%define prepare_build 1
#
%if %test_build_langs == 0
%define lo_langs "@OOO_LANGS_MIN_0@"
%else
%if %test_build_langs == 1
%define lo_langs "@OOO_LANGS_MIN_1@"
%else
%define lo_langs "@OOO_LANGS_MIN_2@"
%endif
%endif
#!BuildIgnore: libreoffice
# both zip and perl-Archive-Zip are needed; tested with ooo320-m3, 2009-10-22
BuildRequires: ant ant-apache-regexp bison boost-devel db-devel flac-devel flex freetype2-devel gcc-c++ gperf icu java-devel libcppunit-devel libexpat-devel libicu-devel libxml2-devel libxslt-devel openssl-devel perl-Archive-Zip perl-Compress-Zlib pkg-config python-devel unzip xorg-x11-devel zip
%if 0%{?suse_version} == 01010
# is not required by Java SDKs by mistake on SLED10
BuildRequires: update-alternatives
%endif
License: LGPLv3
Group: Productivity/Office/Suite
AutoReqProv: on
# compat stuff
Provides: OpenOffice_org-help-group@GROUP_NUMBER@ = %version
Obsoletes: OpenOffice_org-help-group@GROUP_NUMBER@ <= %version
Summary: LibreOffice Help Development
Url: http://www.documentfoundation.org/
Source0: libreoffice-bootstrap-%version.tar.bz2
Source1: libreoffice-artwork-%version.tar.bz2
Source2: libreoffice-help-%version.tar.bz2
Source3: libreoffice-libs-core-%version.tar.bz2
Source4: libreoffice-libs-extern-sys-%version.tar.bz2
Source5: libreoffice-libs-extern-%version.tar.bz2
Source6: libreoffice-libs-gui-%version.tar.bz2
Source7: libreoffice-testing-%version.tar.bz2
Source8: libreoffice-translations-%version.tar.bz2
Source9: libreoffice-ure-%version.tar.bz2
# SUSE config files
Source100: SUSE.conf
Source101: SUSE-10.1.conf
Source102: SUSE-11.1.conf
Source103: SUSE-11.2.conf
Source104: SUSE-11.3.conf
Source105: SUSE-11.4.conf
# helper stuff to produce pieces of the spec file
Source200: libreoffice-help-groupX.spec.in
Source201: lo-help-gen-spec
Source202: lo-help-groupX
#
Patch0: libreoffice-configure-typo-fontconfig.diff
# OBJEXT variable was not set correctly if AC_PROC_CC was not called early
# I think that it worked only by chance when there was checks for more system librarires
Patch1: libreoffice-cc-detection.diff
# it created 3.8GB build log; Build Service refused to build such package
Patch2: translations-no-warnigns-from-po2oo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#!ExclusiveArch: %ix86 x86_64 ppc
BuildArch: noarch
%description
This package provides files related to the LibreOffice help
development.
@SUBPACKAGES_METAINFO@
%prep
%if %prepare_build == 0
%setup -D -T -q -n libreoffice-bootstrap-%version
%else
%setup -q -n libreoffice-bootstrap-%version
bin/unpack-sources `pwd` \
%{S:1} %{S:2} %{S:3} %{S:4} %{S:5} \
%{S:6} %{S:7} %{S:8} %{S:9}
# SUSE config files
cp %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} %{S:105} distro-configs
# extra fixes
%patch0
%patch1
%patch2
%endif
%build
%if %prepare_build != 0
#
# Parallel build settings ...
# parallel build of modules; it makes sense on machines with more CPUs
PARALLEL_BUILD="-P`grep ^processor /proc/cpuinfo | wc -l`"
# parallel build for files per module
if test -n "%{?jobs:%jobs}" -a -e "/opt/icecream/bin/gcc" -a -e "/opt/icecream/bin/g++" ; then
PARALLEL_BUILD="$PARALLEL_BUILD -- -P%jobs"
fi
#
# Distro settings ...
%if 0%{?meego_version}
with_distro="SUSE-11.1"
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01110
suse_major_ver=$((%{?suse_version} / 100))
suse_minor_ver=$((%{?suse_version} / 10 - $suse_major_ver * 10))
with_distro="SUSE-$suse_major_ver.$suse_minor_ver"
%endif
%if 0%{?suse_version} > 01110 && 0%{?suse_version} <= 01120
with_distro="SUSE-11.2"
%endif
%if 0%{?suse_version} > 01120
with_distro="SUSE"
%endif
#
# disable KDE4 on openSUSE-11.1-Evergreen but not on SLED11
%define libkde4_devel_ver %(rpm -q --queryformat '%{VERSION}' libkde4-devel)
DISABLE_KDE4=
test "%{libkde4_devel_ver}" = "4.1.3" && DISABLE_KDE4="--disable-kde4"
%endif
# make sure that JAVA_HOME is set correctly
%if 0%{?suse_version}
source /etc/profile.d/alljava.sh
%endif
%if 0%{?meego_version}
export JAVA_HOME=%{java_home}
%endif
# use RPM_OPT_FLAGS, ...
export ARCH_FLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/\-O[0-9s]//g' -e 's/\-fexceptions//g'` -fno-strict-aliasing"
# FIXME: genccode from the system icu is in /usr/sbin
export PATH="$PATH:/usr/sbin"
%if %prepare_build != 0
./autogen.sh \
--with-external-tar="$RPM_SOURCE_DIR" \
--with-arch-flags="$ARCH_FLAGS" \
--libdir=%{_libdir} \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--sysconfdir=/etc \
--with-docdir=%{_docdir}/%{name} \
--with-distro="$with_distro" \
--without-git \
--without-download \
--with-lang=%lo_langs \
--with-poor-help-localizations=%lo_poor_help_localizations \
--with-jdk-home=$JAVA_HOME \
--disable-cups \
--disable-fontconfig \
--without-junit \
--without-system-jpeg \
--disable-python \
--disable-mozilla \
--disable-mono \
--without-system-curl \
--disable-ldap \
--without-system-mozilla \
--without-system-neon \
--without-system-hunspell \
--without-system-lpsolve \
--disable-gtk \
--disable-kde \
--disable-kde4 \
--disable-gconf \
--disable-gnome-vfs \
--without-system-cairo \
--disable-gstreamer \
--disable-opengl \
--without-system-poppler \
--disable-evolution2
%endif
./bootstrap
. ./*[Ee]nv.[Ss]et.sh
cd helpcontent2
build --all $PARALLEL_BUILD
%install
. ./*Env.Set.sh
test -z %lo_langs && langs="en-US" || langs=%lo_langs
mkdir -p file-lists
for lang in $langs ; do
test "$lang" = "en-US" && langdir="en" || langdir="$lang"
mkdir -p $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
for pack in helpcontent2/$INPATH/bin/s*$lang.zip ; do
unzip $pack -d $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir
done
lang_underscore=`echo $lang | sed "s/-/_/g"`
filelist=help_${lang_underscore}_list.txt
echo "%dir %_datadir/%lo_home" >file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir" >>file-lists/$filelist
echo "%dir %_datadir/%lo_home/%lo_basis_dir/help" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type d -printf "%%%%dir %_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
find $RPM_BUILD_ROOT/%_datadir/%lo_home/%lo_basis_dir/help/$langdir -type f -printf "%_datadir/%lo_home/%lo_basis_dir/help/$langdir/%%P\n" >>file-lists/$filelist
# the file list is needed to create compat symlinks
cp file-lists/$filelist $RPM_BUILD_ROOT/%_datadir/%lo_home
echo "%_datadir/%lo_home/$filelist" >>file-lists/$filelist
done
%clean
rm -rf $RPM_BUILD_ROOT
@SUBPACKAGES_SCRIPTS@
@SUBPACKAGES_FILELIST@
%changelog

Some files were not shown because too many files have changed in this diff Show More