The following commit has been merged in the debian-experimental-3.6 branch: commit 6ba0213c51a1cff985b039a250dcb8e55cac3f16 Author: Rene Engelhard <r...@debian.org> Date: Sat Jun 23 13:51:10 2012 +0200
add ENABLE_HELP conditional now that we have --without-help; also add the new --disable-extensions and --disable-database-connectivity to their respective places diff --git a/changelog b/changelog index 13ce0c8..f33f3ba 100644 --- a/changelog +++ b/changelog @@ -24,6 +24,9 @@ libreoffice (1:3.6.0~beta2-1) UNRELEASED; urgency=low gets confused by help.jar/s*.jar which is just zips, no "real" jar - switch to default-jdk, b-d on default-jdk (>= 1:1.7-48) on ia64 and check for "OpenJDK" in tests yes/no clause for JDK=default + - add ENABLE_HELP conditional now that we have --without-help; also + add the new --disable-extensions and --disable-database-connectivity to + their respective places * debian/uno-libs3.symbols: update -- Rene Engelhard <r...@debian.org> Thu, 03 May 2012 13:44:05 +0200 diff --git a/rules b/rules index 2a0c42f..15bf2eb 100755 --- a/rules +++ b/rules @@ -123,6 +123,7 @@ endif PACKAGE_TTF_OPENSYMBOL=y BUILD_BINFILTERS=n BUILD_ONLY_EN_US=y +ENABLE_HELP=y ENABLE_JAVA=y ifeq "$(ENABLE_JAVA)" "y" JDK=default @@ -318,7 +319,6 @@ CONFIGURE_FLAGS= \ --enable-lockdown \ --libdir=/usr/lib \ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ - --enable-extension-integration \ --disable-online-update \ --disable-fetch-external \ --enable-release-build \ @@ -410,6 +410,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS))) DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-evolution -Nlibreoffice$(VER)-kab DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-sdbc-postgresql -Nlibreoffice$(VER)-mysql-connector DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder + CONFIGURE_FLAGS += --disable-database-connectivity endif endif @@ -428,6 +429,9 @@ ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS))) ENABLE_REPORTDESIGN=n DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-wiki-publisher -Nlibreoffice$(VER)-script-provider-python + CONFIGURE_FLAGS += --disable-extension-integration --disable-extensions +else + CONFIGURE_FLAGS += --enable-extension-integration endif ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS))) @@ -691,7 +695,11 @@ endif ifneq "$(BUILD_ONLY_EN_US)" "y" ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS))) ISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g') + ifeq "$(ENABLE_HELP)" "n" + HELPISOS= + else HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g') + endif LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g') else # Note that the first one here *has to be* en-US. the first one gets @@ -705,9 +713,13 @@ ifneq "$(BUILD_ONLY_EN_US)" "y" ka km ko ku lt lv mk mn ml mr nb ne nl nn nr nso oc om or \ pa-IN pl pt pt-BR ro ru rw si sk sl sr ss st sv \ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu + ifeq "$(ENABLE_HELP)" "n" + HELPISOS:= + else #HELPISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all') HELPISOS:=en-US ca ca-XV cs da de dz el en-GB es et eu fi fr gl hi hu it \ ja km ko nl om pl pt pt-BR ru sk sl sv zh-CN zh-TW + endif #LANGPACKISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all') LANGPACKISOS:=en-US af ar as ast be bg bn br bs ca ca-XV cs cy da de dz el \ en-GB en-ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja \ @@ -717,7 +729,11 @@ ifneq "$(BUILD_ONLY_EN_US)" "y" endif else ISOS=en-US + ifeq "$(ENABLE_HELP)" "n" + HELPISOS= + else HELPISOS=en-US + endif LANGPACKISOS=en-US endif BUILD_ISOS = $(ISOS) @@ -1112,8 +1128,8 @@ ifneq (,$(filter neon, $(SYSTEM_STUFF))) endif endif -ifeq "$(HELPISOS)" "" - CONFIGURE_FLAGS += --without-helppack-integration +ifeq "$(ENABLE_HELP)" "n" + CONFIGURE_FLAGS += --without-helppack-integration --without-help endif ifneq (,$(filter redland, $(SYSTEM_STUFF))) @@ -1349,7 +1365,7 @@ endif >> debian/control < debian/control.lang.in; \ done -ifneq "$(HELPISOS)" "" +ifneq "$(ENABLE_HELP)" "n" for LNUM in $(HELPISOS) ; do \ LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \ LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \ @@ -1718,7 +1734,7 @@ endif perl -pi -e 's,\./,,' debian/libreoffice$(VER)-common.install perl -pi -e 's,\./,,' debian/ure.install -ifneq "$(HELPISOS)" "" +ifneq "$(ENABLE_HELP)" "n" # remove non-packaged localized help. This a) saves space # and b) we need this for the following dh_install as there will be # no .install files created and dh_install will warn/fail due @@ -2402,15 +2418,15 @@ endif install -m755 $(SOURCE_TREE)/bin/lo-xlate-lang \ $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin -ifeq "$(HELPISOS)" "" +ifeq "$(ENABLE_HELP)" "n" # when we don't build helpcontent2 here we are missing helpxsl.zip so # this file doesn't get installed either. Do it manually.. mkdir -p -m755 $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help && \ - cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/main_transform.xsl \ + cp $(SOURCE_TREE)/xmlhelp/util/main_transform.xsl \ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help - cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcaption.xsl \ + cp $(SOURCE_TREE)/xmlhelp/util/idxcaption.xsl \ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help - cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcontent.xsl \ + cp $(SOURCE_TREE)/xmlhelp/util/idxcontent.xsl \ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help endif @@ -2555,7 +2571,7 @@ endif install -m 644 debian/soffice.sh \ $(PKGDIR)-common/etc/$(OODIRNAME)/soffice.sh -ifeq "$(HELPISOS)" "" +ifeq "$(ENABLE_HELP)" "n" # the helpimgs are not included when we don't build with help here. # Add them now because libreoffice-help-* packaged in contrib or so # will need them @@ -2690,10 +2706,12 @@ endif install -D -m644 debian/shell-lib-extensions.sh \ $(PKGDIR)-common/usr/share/$(OODIRNAME)/shell-lib-extensions.sh +ifneq "$(ENABLE_HELP)" "n" # those are needed in /usr/share, too mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/) mv $(PKGDIR)-common/$(OODIR)/help \ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/) +endif # help is in /usr/share sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \ $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd diff --git a/scripts/gid2pkgdirs.sh b/scripts/gid2pkgdirs.sh index 37a258f..ef8c991 100755 --- a/scripts/gid2pkgdirs.sh +++ b/scripts/gid2pkgdirs.sh @@ -136,7 +136,9 @@ for l in `echo $OOO_LANGS_LIST`; do create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l - create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l + if [ -f gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` ]; then + create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l + fi if [ -f gid_Module_Optional_Binfilter ]; then if [ "$l" = "en-US" ]; then create_package_directory gid_Module_Langpack_Binfilter_en_US pkg/libreoffice-filter-binfilter -- LibreOffice packaging repository -- To UNSUBSCRIBE, email to debian-openoffice-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1sip03-0004iz...@vasks.debian.org