Compare commits

...

16 Commits

Author SHA1 Message Date
Slávek Banko d818557662 Update LibreOffice packaging patches:
6 years ago
Slávek Banko a3e03c2c18 Update LibreOffice packaging patches:
7 years ago
Slávek Banko d5d0dc5137 Update LibreOffice packaging patches:
7 years ago
Slávek Banko e87e698d96 Update LibreOffice packaging patches:
7 years ago
Slávek Banko 9296d0916b Update LibreOffice packaging patches:
8 years ago
Slávek Banko b10efca8b4 Update LibreOffice packaging patches:
8 years ago
Slávek Banko 6d57b9421b Update LibreOffice packaging patches:
8 years ago
Slávek Banko 2a9b820678 Update LibreOffice packaging patches:
8 years ago
Slávek Banko c4faab2f66 Update LibreOffice packaging patches:
9 years ago
Slávek Banko 309e65bcd6 Update LibreOffice packaging patches:
9 years ago
Slávek Banko 6a17f3a733 Update LibreOffice packaging patches:
9 years ago
Slávek Banko b5ac4a3035 Update LibreOffice packaging patches:
9 years ago
Slávek Banko aa7a9f2368 Fix typo in path from prior commit
9 years ago
Slávek Banko a458eb5f69 Update LibreOffice packaging patches:
9 years ago
Slávek Banko d573bce3c8 Update LibreOffice packaging patches:
9 years ago
Slávek Banko af04b97d7f Add LibreOffice packaging patches:
9 years ago

@ -0,0 +1,420 @@
diff -ruN a/debian/changelog b/debian/changelog
--- a/debian/changelog 2015-11-02 21:08:01.000000000 +0000
+++ b/debian/changelog 2015-11-14 15:19:36.524000000 +0000
@@ -1,3 +1,9 @@
+libreoffice (1:4.2.8-0ubuntu5.3+tde1) trusty; urgency=medium
+
+ * Enable TDE module
+
+ -- Slávek Banko <slavek.banko@axis.cz> Sun, 04 Mar 2018 01:16:36 +0100
+
libreoffice (1:4.2.8-0ubuntu5.3) trusty-security; urgency=medium
* SECURITY UPDATE: remote arbitrary file disclosure vulnerability using
diff -ruN a/debian/control b/debian/control
--- a/debian/control 2015-11-02 21:26:04.000000000 +0000
+++ b/debian/control 2015-11-14 15:19:36.524000000 +0000
@@ -112,6 +112,8 @@
python (>= 2.6.6-3+squeeze4),
python3,
python3-dev (>= 3.3),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
unixodbc-dev (>= 2.2.11),
unzip,
x11proto-render-dev,
@@ -152,7 +154,7 @@
qt3-dev-tools
Standards-Version: 3.9.4
XS-Python-Version:
-XS-Python3-Version: 3.6
+XS-Python3-Version: 3.4
XS-Testsuite: autopkgtest
Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/libreoffice.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-openoffice/libreoffice.git
@@ -221,6 +223,7 @@
* libreoffice-gtk: Gtk UI Plugin, GNOME File Picker support,
QuickStarter for GNOMEs notification are
* libreoffice-gnome: GIO, GConf backend
+ * libreoffice-trinity: TDE UI Plugin and TDE File Picker support
* libreoffice-kde: KDE UI Plugin and KDE File Picker support
* unixodbc: ODBC database support
* cups-bsd: Allows LibreOffice to detect your CUPS printer queues
@@ -334,6 +337,7 @@
libreoffice-style-hicontrast (<< 1:3.3.0-1),
libreoffice-style-oxygen (<< 1:3.3.0-1),
libreoffice-style-tango (<< 1:3.3.0-1),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-writer (<< ${binary:Version}),
mozilla-libreoffice (<< 1:3.5.0~beta~),
mozilla-plugin-vlc (<< 1.0),
@@ -1286,6 +1290,28 @@
* konqueror / kmail
* libreoffice-kab: KDE Addressbook support
+Package: libreoffice-trinity
+Architecture: amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: kmail-trinity, konqueror-trinity, libreoffice-tdeab-trinity
+Section: tde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1),
+ openoffice.org-trinity (<< 1:3.3.0~)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
Package: libreoffice-sdbc-postgresql
Section: misc
Architecture: amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc
@@ -1430,6 +1456,8 @@
python (>= 2.6.6-3+squeeze4),
python3,
python3-dev (>= 3.3),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
unixodbc-dev (>= 2.2.11),
unzip,
x11proto-render-dev,
@@ -1459,3 +1487,18 @@
- Python data structures (list, tuple, set, dictionary) and other Python
features
+Package: libreoffice-tdeab-trinity
+Architecture: amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc
+Depends: libreoffice-common (>= 1:3.4.0~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
diff -ruN a/debian/control.in b/debian/control.in
--- a/debian/control.in 2015-09-18 12:59:35.000000000 +0000
+++ b/debian/control.in 2015-11-14 15:19:36.524000000 +0000
@@ -199,6 +199,7 @@
libreoffice-impress (<< ${binary:Version}),
libreoffice-kab (<< 1:3.4.1~),
libreoffice-kde (<< ${binary:Version}),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-officebean (<< ${binary:Version}),
libreoffice-presentation-minimizer (<< 1:4.2~),
libreoffice-sdbc-postgresql (<< 0.8.1~),
diff -ruN a/debian/control.tdeab.in b/debian/control.tdeab.in
--- a/debian/control.tdeab.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.tdeab.in 2015-11-14 15:19:36.524000000 +0000
@@ -0,0 +1,15 @@
+Package: libreofficeVER-tdeab-trinity
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
diff -ruN a/debian/control.trinity.in b/debian/control.trinity.in
--- a/debian/control.trinity.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.trinity.in 2015-11-14 15:19:36.524000000 +0000
@@ -0,0 +1,23 @@
+Package: libreofficeVER-trinity
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: konqueror-trinity,
+ kmail-trinity,
+ libreofficeVER-tdeab-trinity
+Section: tde
+Enhances: libreofficeVER
+Replaces: openoffice.org-trinity (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
diff -ruN a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series 2015-09-18 12:59:35.000000000 +0000
+++ b/debian/patches/series 2015-11-14 15:19:36.524000000 +0000
@@ -51,3 +51,4 @@
CVE-2017-12608.patch
CVE-2018-6871.patch
layout-footnote-use-after-free.diff
+tde-update-r14.diff
diff -ruN a/debian/patches/tde-update-r14.diff b/debian/patches/tde-update-r14.diff
--- a/debian/patches/tde-update-r14.diff 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/patches/tde-update-r14.diff 2015-11-14 15:19:36.524000000 +0000
@@ -0,0 +1,68 @@
+diff --git a/connectivity/Library_tdeab1.mk b/connectivity/Library_tdeab1.mk
+index 298ed4c..8243280 100644
+--- a/connectivity/Library_tdeab1.mk
++++ b/connectivity/Library_tdeab1.mk
+@@ -18,6 +18,7 @@ $(eval $(call gb_Library_set_componentfile,tdeab1,connectivity/source/drivers/ka
+
+ $(eval $(call gb_Library_set_include,tdeab1,\
+ -I$(SRCDIR)/connectivity/source/inc \
++ -I$(SRCDIR)/include/shell \
+ $$(INCLUDE) \
+ ))
+
+diff --git a/connectivity/Library_tdeabdrv1.mk b/connectivity/Library_tdeabdrv1.mk
+index 8301e5f..1398d9f 100644
+--- a/connectivity/Library_tdeabdrv1.mk
++++ b/connectivity/Library_tdeabdrv1.mk
+@@ -12,6 +12,8 @@ $(eval $(call gb_Library_Library,tdeabdrv1))
+
+ $(eval $(call gb_Library_set_include,tdeabdrv1,\
+ -I$(SRCDIR)/connectivity/source/inc \
++ -I$(SRCDIR)/include/shell \
++ -I$(WORKDIR)/YaccTarget/connectivity/source/parse \
+ $$(INCLUDE) \
+ ))
+
+diff --git a/shell/Library_tdebe.mk b/shell/Library_tdebe.mk
+index dc5b735..3b516d8 100644
+--- a/shell/Library_tdebe.mk
++++ b/shell/Library_tdebe.mk
+@@ -9,6 +9,11 @@
+
+ $(eval $(call gb_Library_Library,tdebe1))
+
++$(eval $(call gb_Library_set_include,tdebe1,\
++ $$(INCLUDE) \
++ -I$(SRCDIR)/include/shell \
++))
++
+ $(eval $(call gb_Library_use_sdk_api,tdebe1))
+
+ $(eval $(call gb_Library_use_externals,tdebe1,\
+diff --git a/vcl/Executable_tdefilepicker.mk b/vcl/Executable_tdefilepicker.mk
+index 6a39235..9811e6d 100644
+--- a/vcl/Executable_tdefilepicker.mk
++++ b/vcl/Executable_tdefilepicker.mk
+@@ -19,7 +19,7 @@ $(eval $(call gb_Executable_set_include,tdefilepicker,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+ -I$(SRCDIR)/solenv/inc \
+- -I$(SRCDIR)/vcl/inc/unx/tde \
++ -I$(SRCDIR)/vcl/inc/unx/kde \
+ ))
+
+ $(eval $(call gb_Executable_use_libraries,tdefilepicker,\
+diff --git a/vcl/Library_vclplug_tde.mk b/vcl/Library_vclplug_tde.mk
+index 74551bd..d05780b 100644
+--- a/vcl/Library_vclplug_tde.mk
++++ b/vcl/Library_vclplug_tde.mk
+@@ -15,7 +15,8 @@ $(eval $(call gb_Library_set_include,vclplug_tde,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/vcl/inc \
+ -I$(SRCDIR)/solenv/inc \
+- -I$(SRCDIR)/vcl/inc/unx/tde \
++ -I$(SRCDIR)/vcl/inc/unx/kde \
++ -I$(SRCDIR)/include/shell \
+ ))
+
+ $(eval $(call gb_Library_set_include,vclplug_tde,\
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules 2015-09-18 12:59:35.000000000 +0000
+++ b/debian/rules 2015-11-14 15:19:36.528000000 +0000
@@ -218,6 +218,7 @@
SYSTEM_STUFF += cairo
CAIRO_FONTS_PATCH=y
BUILD_KDE=y
+BUILD_TDE=y
# not ported to KDE 4
ENABLE_KDEAB=n
ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 4.7 && echo true)" "true"
@@ -227,6 +228,12 @@
QT_MINVER= (>= 4:4.5)
endif
KDELIBS_MINVER= (>= 4:4.3.4)
+ifeq "$(BUILD_TDE)" "y"
+ ENABLE_TDEAB=y
+endif
+ifeq "$(BUILD_TDE)" "y"
+ TDELIBS_MINVER= (>= 4:3.5.13)
+endif
BUILD_DBG_PACKAGE=y
ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
BUILD_TEST_PACKAGE=y
@@ -509,6 +516,7 @@
ENABLE_MYSQLNATIVE=n
ENABLE_EVO2=n
ENABLE_KDEAB=n
+ ENABLE_TDEAB=n
ENABLE_REPORTDESIGN=n
DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab
@@ -1203,6 +1211,23 @@
endif
endif
+ifeq "$(BUILD_TDE)" "n"
+ CONFIGURE_FLAGS+= --disable-tde
+ CONFIGURE_FLAGS+= --with-images="$(IMAGES)"
+else
+ CONFIGURE_FLAGS+= --enable-tde
+ TDE_ICONSET_DEP=libreoffice$(VER)-style-crystal
+ BUILD_DEPS += , tdelibs14-trinity-dev
+
+ DBG_DBG_SUGGESTS+= , tdelibs-trinity-dbg, libtqtinterface-dbg
+
+ ifeq "$(ENABLE_TDEAB)" "y"
+ BUILD_DEPS += , tdepim-trinity-dev
+ else
+ CONFIGURE_FLAGS+= --disable-tdeab
+ endif
+endif
+
ifeq "$(ENABLE_MYSQLNATIVE)" "y"
CONFIGURE_FLAGS += --enable-ext-mariadb-connector
ifneq "$(USE_MARIADB)" "y"
@@ -1608,6 +1633,11 @@
ifeq "$(BUILD_KDE)" "y"
cat debian/control.kde.in >> debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.trinity.in
+ perl -pi -e 's/ libreoffice$(VER)-gnome,/ libreoffice-gnome | libreoffice$(VER)-trinity,/' debian/control
+endif
ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
cat debian/control.postgresql.in >> debian/control
endif
@@ -1628,6 +1658,10 @@
ifeq "$(PACKAGE_LIBRELOGO)" "y"
cat debian/control.librelogo.in >> debian/control
endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.tdeab.in
+endif
perl -pi -e "s,%OOO_ARCHS%,$(OOO_ARCHS),g" debian/control
perl -pi -e "s,%OOO_BASE_ARCHS%,$(OOO_BASE_ARCHS),g" debian/control
@@ -1698,6 +1732,9 @@
perl -pi -e 's/paperconf$$/paperconf\n * bluez: Bluetooth support for Impress (slideshow remote control)/' debian/control
perl -pi -e 's/Description: office productivity suite -- presentation/Suggests: bluez\nDescription: office productivity suite -- presentation/' debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice$(VER)-trinity: TDE UI Plugin and TDE File Picker support/' debian/control
+endif
ifneq "$(DICT_DIR)" "/usr/share/hunspell"
perl -pi -e 's/^Breaks:.*myspell.*\n//' debian/control
@@ -2175,6 +2212,45 @@
> $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
endif
+ifeq "$(BUILD_TDE)" "y"
+ mkdir -p -m755 $(PKGDIR)-trinity/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/tdefilepicker \
+ $(PKGDIR)-trinity/$(OODIR)/program
+
+ # install files for TDEs "create new" ...
+ mkdir -p $(PKGDIR)-trinity/opt/trinity/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-trinity/opt/trinity/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odg.desktop
+endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ rm -rf $(PKGDIR)-tdeab-trinity
+ mkdir -p -m755 $(PKGDIR)-tdeab-trinity/$(OODIR)/program
+ for f in libtdeab*so; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-tdeab-trinity/$(OODIR)/program || exit 1 ;\
+ done
+endif
+
# split out gtk stuff
rm -rf $(PKGDIR)-gtk
mkdir -p -m755 $(PKGDIR)-gtk/$(OODIR)/program
@@ -2874,6 +2950,12 @@
# register technical.dic
perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+ifeq "$(BUILD_TDE)" "y"
+ # be sure we use the right moc, FIXME: Trinity uses its own moc
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/bin/moc-qt$(KDE_VER) $(CURDIR)/debian/usr/bin/moc
+endif
+
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
@@ -3061,6 +3143,7 @@
-V'Binary-Version=$(BINARY_VERSION)' \
-V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
-V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+ -V'tde-iconset-dep=$(TDE_ICONSET_DEP)' \
-V'lpsolve-dep=$(LPSOLVE_DEP)' \
-V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
-V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
diff -ruN a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
--- a/debian/scripts/gid2pkgdirs.sh 2015-09-18 12:59:35.000000000 +0000
+++ b/debian/scripts/gid2pkgdirs.sh 2015-11-14 15:19:36.528000000 +0000
@@ -101,6 +101,7 @@
create_package_directory gid_Module_Script_Provider_For_Python pkg/libreoffice-script-provider-python
create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Optional_Tde pkg/libreoffice-trinity
create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
@@ -151,7 +152,7 @@
fi &&
( cd pkg/libreoffice-common/$OOINSTBASE/program
find -maxdepth 1 \
- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|tdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
-exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
);

@ -0,0 +1,327 @@
diff -ruN a/debian/changelog b/debian/changelog
--- a/debian/changelog 2015-08-28 15:18:09.000000000 +0000
+++ b/debian/changelog 2016-06-30 02:03:40.000000000 +0000
@@ -1,3 +1,9 @@
+libreoffice (1:4.3.3-2+tde1+deb8u11) jessie; urgency=high
+
+ * Enable TDE module
+
+ -- Slávek Banko <slavek.banko@axis.cz> Sat, 21 Apr 2018 14:27:29 +0200
+
libreoffice (1:4.3.3-2+deb8u11) jessie-security; urgency=high
* debian/patches/CVE-2018-10119.diff,
diff -ruN a/debian/control b/debian/control
--- a/debian/control 2015-08-28 17:51:39.000000000 +0000
+++ b/debian/control 2015-11-14 17:25:07.096000000 +0000
@@ -133,6 +133,8 @@
python-dev (>= 2.6),
python3,
python3-dev (>= 3.3),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
ucpp,
unixodbc-dev (>= 2.2.11),
unzip,
@@ -253,6 +255,7 @@
* libreoffice-gtk: Gtk UI Plugin, GNOME File Picker support,
QuickStarter for GNOMEs notification are
* libreoffice-gnome: GIO, GConf backend
+ * libreoffice-trinity: TDE UI Plugin and TDE File Picker support
* libreoffice-kde: KDE UI Plugin and KDE File Picker support
* unixodbc: ODBC database support
* cups-bsd: Allows LibreOffice to detect your CUPS printer queues
@@ -366,6 +369,7 @@
libreoffice-style-hicontrast (<< 1:3.3.0-1),
libreoffice-style-oxygen (<< 1:3.3.0-1),
libreoffice-style-tango (<< 1:3.3.0-1),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-writer (<< ${binary:Version}),
mozilla-libreoffice (<< 1:3.5.0~beta~),
mozilla-plugin-vlc (<< 1.0),
@@ -4417,6 +4421,28 @@
* konqueror / kmail
* libreoffice-kab: KDE Addressbook support
+Package: libreoffice-trinity
+Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: kmail-trinity, konqueror-trinity, libreoffice-tdeab-trinity
+Section: tde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1),
+ openoffice.org-trinity (<< 1:3.3.0~)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
Package: libreoffice-sdbc-postgresql
Section: misc
Architecture: alpha amd64 arm64 armel armhf arm64 i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x hppa ia64 s390 sparc kfreebsd-amd64 kfreebsd-i386
@@ -4467,6 +4493,21 @@
This package allows LibreOffice to access Evolution address books.
You need to install evolution separately.
+Package: libreoffice-tdeab-trinity
+Architecture: alpha amd64 arm64 armel armhf arm64 i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x hppa ia64 s390 sparc kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-common (>= 1:3.4.0~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
Package: libreoffice-subsequentcheckbase
Section: libs
Priority: extra
@@ -4602,6 +4643,8 @@
python-dev (>= 2.6),
python3,
python3-dev (>= 3.3),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
ucpp,
unixodbc-dev (>= 2.2.11),
unzip,
diff -ruN a/debian/control.in b/debian/control.in
--- a/debian/control.in 2015-04-25 16:33:35.000000000 +0000
+++ b/debian/control.in 2015-11-14 17:25:07.096000000 +0000
@@ -197,6 +197,7 @@
libreoffice-impress (<< ${binary:Version}),
libreoffice-kab (<< 1:3.4.1~),
libreoffice-kde (<< ${binary:Version}),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-officebean (<< ${binary:Version}),
libreoffice-presentation-minimizer (<< 1:4.2~),
libreoffice-sdbc-postgresql (<< 0.8.1~),
diff -ruN a/debian/control.tdeab.in b/debian/control.tdeab.in
--- a/debian/control.tdeab.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.tdeab.in 2015-11-14 17:25:07.096000000 +0000
@@ -0,0 +1,15 @@
+Package: libreofficeVER-tdeab-trinity
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
diff -ruN a/debian/control.trinity.in b/debian/control.trinity.in
--- a/debian/control.trinity.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.trinity.in 2015-11-14 17:25:07.096000000 +0000
@@ -0,0 +1,23 @@
+Package: libreofficeVER-trinity
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: konqueror-trinity,
+ kmail-trinity,
+ libreofficeVER-tdeab-trinity
+Section: tde
+Enhances: libreofficeVER
+Replaces: openoffice.org-trinity (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules 2015-04-25 16:33:35.000000000 +0000
+++ b/debian/rules 2015-11-14 17:25:07.096000000 +0000
@@ -223,6 +223,13 @@
QT_MINVER= (>= 4:4.5)
endif
KDELIBS_MINVER= (>= 4:4.3.4)
+BUILD_TDE=y
+ifeq "$(BUILD_TDE)" "y"
+ ENABLE_TDEAB=y
+endif
+ifeq "$(BUILD_TDE)" "y"
+ TDELIBS_MINVER= (>= 4:3.5.13)
+endif
BUILD_DBG_PACKAGE=y
ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
BUILD_TEST_PACKAGE=y
@@ -605,6 +612,7 @@
ENABLE_MYSQLNATIVE=n
ENABLE_EVO2=n
ENABLE_KDEAB=n
+ ENABLE_TDEAB=n
ENABLE_REPORTDESIGN=n
DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab
@@ -1294,6 +1302,23 @@
endif
endif
+ifeq "$(BUILD_TDE)" "n"
+ CONFIGURE_FLAGS+= --disable-tde
+ CONFIGURE_FLAGS+= --with-images="$(IMAGES)"
+else
+ CONFIGURE_FLAGS+= --enable-tde
+ TDE_ICONSET_DEP=libreoffice$(VER)-style-crystal
+ BUILD_DEPS += , tdelibs14-trinity-dev
+
+ DBG_DBG_SUGGESTS+= , tdelibs-trinity-dbg, libtqtinterface-dbg
+
+ ifeq "$(ENABLE_TDEAB)" "y"
+ BUILD_DEPS += , tdepim-trinity-dev
+ else
+ CONFIGURE_FLAGS+= --disable-tdeab
+ endif
+endif
+
ifeq "$(ENABLE_MYSQLNATIVE)" "y"
CONFIGURE_FLAGS += --enable-ext-mariadb-connector
ifneq "$(USE_MARIADB)" "y"
@@ -1822,6 +1847,11 @@
ifeq "$(BUILD_KDE)" "y"
cat debian/control.kde.in >> debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.trinity.in
+ perl -pi -e 's/ libreoffice$(VER)-gnome,/ libreoffice-gnome | libreoffice$(VER)-trinity,/' debian/control
+endif
ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
cat debian/control.postgresql.in >> debian/control
endif
@@ -1834,6 +1864,10 @@
ifeq "$(ENABLE_KDEAB)" "y"
cat debian/control.kab.in >> debian/control
endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.tdeab.in
+endif
ifeq "$(BUILD_TEST_PACKAGE)" "y"
ifneq "$(OOO_JAVA_ARCHS)" ""
cat debian/control.subsequentcheckbase.in >> debian/control
@@ -1921,6 +1955,9 @@
ifeq "$(BUILD_KDE)" "y"
perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice-kde: KDE UI Plugin and KDE File Picker support/' debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice$(VER)-trinity: TDE UI Plugin and TDE File Picker support/' debian/control
+endif
ifeq "$(USE_DBUS)" "y"
perl -pi -e 's/paperconf$$/paperconf\n * bluez: Bluetooth support for Impress (slideshow remote control/' debian/control
@@ -2604,6 +2641,45 @@
| sed -e "s/@TYPE@/drawing/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
endif
+
+ifeq "$(BUILD_TDE)" "y"
+ mkdir -p -m755 $(PKGDIR)-trinity/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/tdefilepicker \
+ $(PKGDIR)-trinity/$(OODIR)/program
+
+ # install files for TDEs "create new" ...
+ mkdir -p $(PKGDIR)-trinity/opt/trinity/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-trinity/opt/trinity/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odg.desktop
+endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ rm -rf $(PKGDIR)-tdeab-trinity
+ mkdir -p -m755 $(PKGDIR)-tdeab-trinity/$(OODIR)/program
+ for f in libtdeab*so; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-tdeab-trinity/$(OODIR)/program || exit 1 ;\
+ done
+endif
# split out gtk stuff
rm -rf $(PKGDIR)-gtk
@@ -3275,6 +3351,12 @@
# register technical.dic
perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+ifeq "$(BUILD_TDE)" "y"
+ # be sure we use the right moc, FIXME: Trinity uses its own moc
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/bin/moc-qt$(KDE_VER) $(CURDIR)/debian/usr/bin/moc
+endif
+
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
@@ -3470,6 +3552,7 @@
-V'Binary-Version=$(BINARY_VERSION)' \
-V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
-V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+ -V'tde-iconset-dep=$(TDE_ICONSET_DEP)' \
-V'lpsolve-dep=$(LPSOLVE_DEP)' \
-V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
-V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
diff -ruN a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
--- a/debian/scripts/gid2pkgdirs.sh 2015-04-25 16:33:35.000000000 +0000
+++ b/debian/scripts/gid2pkgdirs.sh 2015-11-14 17:25:07.096000000 +0000
@@ -102,6 +102,7 @@
create_package_directory gid_Module_Script_Provider_For_Python pkg/libreoffice-script-provider-python
create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Optional_Tde pkg/libreoffice-trinity
create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
@@ -152,7 +153,7 @@
fi &&
( cd pkg/libreoffice-common/$OOINSTBASE/program
find -maxdepth 1 \
- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|tdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
-exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
);

@ -0,0 +1,327 @@
diff -ruN a/debian/changelog b/debian/changelog
--- a/debian/changelog 2017-02-25 16:48:23.000000000 +0000
+++ b/debian/changelog 2017-03-03 12:42:16.000000000 +0000
@@ -1,3 +1,9 @@
+libreoffice (1:4.3.3-2+tde1+deb8u7~bpo70+1) wheezy-backports; urgency=high
+
+ * Enable TDE module
+
+ -- Slávek Banko <slavek.banko@axis.cz> Wed, 07 Jun 2017 19:48:19 +0200
+
libreoffice (1:4.3.3-2+deb8u7~bpo70+1) wheezy-backports; urgency=high
* Rebuild for wheezy-backports.
diff -ruN a/debian/control b/debian/control
--- a/debian/control 2015-04-06 14:59:08.000000000 +0000
+++ b/debian/control 2015-05-12 17:07:51.160000000 +0000
@@ -100,6 +100,8 @@
python,
python (>= 2.6.6-3+squeeze4),
python-dev (>= 2.7),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
ttf-liberation,
unixodbc-dev (>= 2.2.11),
unzip,
@@ -221,6 +223,7 @@
* libreoffice-gtk: Gtk UI Plugin, GNOME File Picker support,
QuickStarter for GNOMEs notification are
* libreoffice-gnome: GIO, GConf backend
+ * libreoffice-trinity: TDE UI Plugin and TDE File Picker support
* libreoffice-kde: KDE UI Plugin and KDE File Picker support
* unixodbc: ODBC database support
* cups-bsd: Allows LibreOffice to detect your CUPS printer queues
@@ -334,6 +337,7 @@
libreoffice-style-hicontrast (<< 1:3.3.0-1),
libreoffice-style-oxygen (<< 1:3.3.0-1),
libreoffice-style-tango (<< 1:3.3.0-1),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-writer (<< ${binary:Version}),
mozilla-libreoffice (<< 1:3.5.0~beta~),
mozilla-plugin-vlc (<< 1.0),
@@ -4385,6 +4389,28 @@
* konqueror / kmail
* libreoffice-kab: KDE Addressbook support
+Package: libreoffice-trinity
+Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: kmail-trinity, konqueror-trinity, libreoffice-tdeab-trinity
+Section: tde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1),
+ openoffice.org-trinity (<< 1:3.3.0~)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
Package: libreoffice-sdbc-postgresql
Section: misc
Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
@@ -4435,6 +4461,21 @@
This package allows LibreOffice to access Evolution address books.
You need to install evolution separately.
+Package: libreoffice-tdeab-trinity
+Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
+Depends: libreoffice-common (>= 1:3.4.0~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
Package: libreoffice-subsequentcheckbase
Section: libs
Priority: extra
@@ -4548,6 +4589,8 @@
python,
python (>= 2.6.6-3+squeeze4),
python-dev (>= 2.7),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
ttf-liberation,
unixodbc-dev (>= 2.2.11),
unzip,
diff -ruN a/debian/control.in b/debian/control.in
--- a/debian/control.in 2014-10-18 20:23:39.000000000 +0000
+++ b/debian/control.in 2015-05-12 17:07:51.160000000 +0000
@@ -197,6 +197,7 @@
libreoffice-impress (<< ${binary:Version}),
libreoffice-kab (<< 1:3.4.1~),
libreoffice-kde (<< ${binary:Version}),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-officebean (<< ${binary:Version}),
libreoffice-presentation-minimizer (<< 1:4.2~),
libreoffice-sdbc-postgresql (<< 0.8.1~),
diff -ruN a/debian/control.tdeab.in b/debian/control.tdeab.in
--- a/debian/control.tdeab.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.tdeab.in 2015-05-12 17:07:51.160000000 +0000
@@ -0,0 +1,15 @@
+Package: libreofficeVER-tdeab-trinity
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ libreofficeVER-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
diff -ruN a/debian/control.trinity.in b/debian/control.trinity.in
--- a/debian/control.trinity.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.trinity.in 2015-05-12 17:07:51.160000000 +0000
@@ -0,0 +1,23 @@
+Package: libreofficeVER-trinity
+Architecture: %OOO_ARCHS%
+Depends: libreofficeVER-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: konqueror-trinity,
+ kmail-trinity,
+ libreofficeVER-tdeab-trinity
+Section: tde
+Enhances: libreofficeVER
+Replaces: openoffice.org-trinity (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules 2015-04-06 12:49:47.000000000 +0000
+++ b/debian/rules 2015-05-12 17:07:51.160000000 +0000
@@ -223,6 +223,13 @@
QT_MINVER= (>= 4:4.5)
endif
KDELIBS_MINVER= (>= 4:4.3.4)
+BUILD_TDE=y
+ifeq "$(BUILD_TDE)" "y"
+ ENABLE_TDEAB=y
+endif
+ifeq "$(BUILD_TDE)" "y"
+ TDELIBS_MINVER= (>= 4:3.5.13)
+endif
BUILD_DBG_PACKAGE=y
ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
BUILD_TEST_PACKAGE=y
@@ -604,6 +611,7 @@
ENABLE_MYSQLNATIVE=n
ENABLE_EVO2=n
ENABLE_KDEAB=n
+ ENABLE_TDEAB=n
ENABLE_REPORTDESIGN=n
DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab
@@ -1295,6 +1303,23 @@
endif
endif
+ifeq "$(BUILD_TDE)" "n"
+ CONFIGURE_FLAGS+= --disable-tde
+ CONFIGURE_FLAGS+= --with-images="$(IMAGES)"
+else
+ CONFIGURE_FLAGS+= --enable-tde
+ TDE_ICONSET_DEP=libreoffice$(VER)-style-crystal
+ BUILD_DEPS += , tdelibs14-trinity-dev
+
+ DBG_DBG_SUGGESTS+= , tdelibs-trinity-dbg, libtqtinterface-dbg
+
+ ifeq "$(ENABLE_TDEAB)" "y"
+ BUILD_DEPS += , tdepim-trinity-dev
+ else
+ CONFIGURE_FLAGS+= --disable-tdeab
+ endif
+endif
+
ifeq "$(ENABLE_MYSQLNATIVE)" "y"
CONFIGURE_FLAGS += --enable-ext-mariadb-connector
ifneq "$(USE_MARIADB)" "y"
@@ -1823,6 +1848,11 @@
ifeq "$(BUILD_KDE)" "y"
cat debian/control.kde.in >> debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.trinity.in
+ perl -pi -e 's/ libreoffice$(VER)-gnome,/ libreoffice-gnome | libreoffice$(VER)-trinity,/' debian/control
+endif
ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
cat debian/control.postgresql.in >> debian/control
endif
@@ -1835,6 +1865,10 @@
ifeq "$(ENABLE_KDEAB)" "y"
cat debian/control.kab.in >> debian/control
endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.tdeab.in
+endif
ifeq "$(BUILD_TEST_PACKAGE)" "y"
ifneq "$(OOO_JAVA_ARCHS)" ""
cat debian/control.subsequentcheckbase.in >> debian/control
@@ -1922,6 +1956,9 @@
ifeq "$(BUILD_KDE)" "y"
perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice-kde: KDE UI Plugin and KDE File Picker support/' debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice$(VER)-trinity: TDE UI Plugin and TDE File Picker support/' debian/control
+endif
ifeq "$(USE_DBUS)" "y"
perl -pi -e 's/paperconf$$/paperconf\n * bluez: Bluetooth support for Impress (slideshow remote control/' debian/control
@@ -2605,6 +2642,45 @@
| sed -e "s/@TYPE@/drawing/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
endif
+
+ifeq "$(BUILD_TDE)" "y"
+ mkdir -p -m755 $(PKGDIR)-trinity/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/tdefilepicker \
+ $(PKGDIR)-trinity/$(OODIR)/program
+
+ # install files for TDEs "create new" ...
+ mkdir -p $(PKGDIR)-trinity/opt/trinity/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-trinity/opt/trinity/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odg.desktop
+endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ rm -rf $(PKGDIR)-tdeab-trinity
+ mkdir -p -m755 $(PKGDIR)-tdeab-trinity/$(OODIR)/program
+ for f in libtdeab*so; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-tdeab-trinity/$(OODIR)/program || exit 1 ;\
+ done
+endif
# split out gtk stuff
rm -rf $(PKGDIR)-gtk
@@ -3276,6 +3352,12 @@
# register technical.dic
perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+ifeq "$(BUILD_TDE)" "y"
+ # be sure we use the right moc, FIXME: Trinity uses its own moc
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/bin/moc-qt$(KDE_VER) $(CURDIR)/debian/usr/bin/moc
+endif
+
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
@@ -3476,6 +3558,7 @@
-V'Binary-Version=$(BINARY_VERSION)' \
-V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
-V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+ -V'tde-iconset-dep=$(TDE_ICONSET_DEP)' \
-V'lpsolve-dep=$(LPSOLVE_DEP)' \
-V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
-V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
diff -ruN a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
--- a/debian/scripts/gid2pkgdirs.sh 2014-10-18 20:23:10.000000000 +0000
+++ b/debian/scripts/gid2pkgdirs.sh 2015-05-12 17:07:51.160000000 +0000
@@ -102,6 +102,7 @@
create_package_directory gid_Module_Script_Provider_For_Python pkg/libreoffice-script-provider-python
create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Optional_Tde pkg/libreoffice-trinity
create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
@@ -152,7 +153,7 @@
fi &&
( cd pkg/libreoffice-common/$OOINSTBASE/program
find -maxdepth 1 \
- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|nsplugin\|kdefilepicker\|tdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
-exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
);

@ -0,0 +1,358 @@
diff -ruN a/debian/changelog b/debian/changelog
--- a/debian/changelog 2017-01-27 10:52:51.000000000 +0000
+++ b/debian/changelog 2017-02-26 14:14:24.364000000 +0000
@@ -1,3 +1,10 @@
+libreoffice (1:5.2.7-1+tde0~bpo8+1) jessie-backports; urgency=medium
+
+ * Enable TDE module
+ * Enable crystal icons
+
+ -- Slávek Banko <slavek.banko@axis.cz> Thu, 08 Jun 2017 04:14:54 +0200
+
libreoffice (1:5.2.7-1~bpo8+1) jessie-backports; urgency=medium
* Rebuild for jessie-backports.
diff -ruN a/debian/control b/debian/control
--- a/debian/control 2017-01-27 10:27:50.000000000 +0000
+++ b/debian/control 2017-02-26 14:14:24.364000000 +0000
@@ -131,6 +131,8 @@
pkg-config,
python3,
python3-dev (>= 3.3),
+ tdelibs14-trinity-dev,
+ tdepim-trinity-dev,
ucpp,
unixodbc-dev (>= 2.2.11),
unzip,
@@ -257,6 +259,7 @@
* hyphen-*: Hyphenation patterns for LibreOffice
* libreoffice-gtk(2|3): Gtk UI Plugin, GNOME File Picker support
* libreoffice-gnome: GIO backend
+ * libreoffice-trinity: TDE UI Plugin and TDE File Picker support
* unixodbc: ODBC database support
* cups-bsd: Allows LibreOffice to detect your CUPS printer queues
automatically
@@ -374,6 +377,7 @@
libreoffice-style-hicontrast (<< 1:3.3.0-1),
libreoffice-style-oxygen (<< 1:3.3.0-1),
libreoffice-style-tango (<< 1:3.3.0-1),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-writer (<< ${binary:Version}),
mozilla-libreoffice (<< 1:3.5.0~beta~),
mozilla-plugin-vlc (<< 1.0),
@@ -613,6 +617,19 @@
.
This package contains the database component for LibreOffice.
+Package: libreoffice-style-crystal
+Architecture: all
+Enhances: libreoffice-core
+Depends: ${misc:Depends}
+Suggests: crystalcursors, kde-icons-crystal
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Crystal symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "crystal" symbol style, default style for TDE.
+
Package: libreoffice-style-oxygen
Architecture: all
Enhances: libreoffice-core
@@ -4609,6 +4626,28 @@
.
* konqueror / kmail
+Package: libreoffice-trinity
+Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: kmail-trinity, konqueror-trinity, libreoffice-tdeab-trinity
+Section: tde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1),
+ openoffice.org-trinity (<< 1:3.3.0~)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
Package: libreoffice-sdbc-postgresql
Section: misc
Architecture: alpha amd64 arm64 armel armhf arm64 i386 mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x hppa ia64 m68k s390 sparc sparc64 kfreebsd-amd64 kfreebsd-i386
@@ -4661,6 +47002,21 @@
This package allows LibreOffice to access Evolution address books.
You need to install evolution separately.
+Package: libreoffice-tdeab-trinity
+Architecture: alpha amd64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc ppc64el arm64
+Depends: libreoffice-common (>= 1:3.4.0~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
Package: libreoffice-subsequentcheckbase
Section: libs
Priority: extra
diff -ruN a/debian/control.in b/debian/control.in
--- a/debian/control.in 2016-11-29 07:29:00.000000000 +0000
+++ b/debian/control.in 2017-02-26 14:14:24.364000000 +0000
@@ -213,6 +213,7 @@
libreoffice-impress (<< ${binary:Version}),
libreoffice-kab (<< 1:3.4.1~),
libreoffice-kde (<< ${binary:Version}),
+ libreoffice-trinity (<< ${binary:Version}),
libreoffice-officebean (<< ${binary:Version}),
libreoffice-presentation-minimizer (<< 1:4.2~),
libreoffice-sdbc-postgresql (<< 0.8.1~),
diff -ruN a/debian/control.style-crystal.in b/debian/control.style-crystal.in
--- a/debian/control.style-crystal.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.style-crystal.in 2017-02-26 14:14:24.368000000 +0000
@@ -0,0 +1,13 @@
+Package: libreoffice-style-crystal
+Architecture: all
+Enhances: libreoffice-core
+Depends: ${misc:Depends}
+Suggests: crystalcursors, kde-icons-crystal
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Crystal symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "crystal" symbol style, default style for TDE.
+
diff -ruN a/debian/control.tdeab.in b/debian/control.tdeab.in
--- a/debian/control.tdeab.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.tdeab.in 2017-02-26 14:14:24.368000000 +0000
@@ -0,0 +1,15 @@
+Package: libreoffice-tdeab-trinity
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:3.4.0~),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: kaddressbook-trinity
+Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
+Description: office productivity suite -- TDE adressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access the TDE Addressbook.
+ You need to install kaddressbook-trinity separately.
+
diff -ruN a/debian/control.trinity.in b/debian/control.trinity.in
--- a/debian/control.trinity.in 1970-01-01 00:00:00.000000000 +0000
+++ b/debian/control.trinity.in 2017-02-26 14:14:24.368000000 +0000
@@ -0,0 +1,23 @@
+Package: libreoffice-trinity
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${trinity-iconset-dep}
+Suggests: konqueror-trinity,
+ kmail-trinity,
+ libreoffice-tdeab-trinity
+Section: tde
+Enhances: libreoffice
+Replaces: openoffice.org-trinity (<< 1:3.3.0~), libreoffice-core (= 1:3.5.0~beta2-1)
+Description: office productivity suite -- TDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the TDE plugin for drawing OOo's widgets with
+ TDE/Qt and a TDEish File Picker when running under TDE.
+ You can extend the functionality of this by installing these packages:
+ .
+ * konqueror / kmail
+ * libreoffice-tdeab-trinity: TDE Addressbook support
+
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules 2017-01-26 12:41:26.000000000 +0000
+++ b/debian/rules 2017-02-26 14:14:24.368000000 +0000
@@ -195,6 +195,13 @@
# < 4.8 fails with gcc 4.7, see #667911
QT_MINVER= (>= 4:4.8)
KDELIBS_MINVER= (>= 4:4.3.4)
+BUILD_TDE=y
+ifeq "$(BUILD_TDE)" "y"
+ ENABLE_TDEAB=y
+endif
+ifeq "$(BUILD_TDE)" "y"
+ TDELIBS_MINVER= (>= 4:3.5.13)
+endif
BUILD_DBG_PACKAGE=n
ifneq (noddebs,$(findstring noddebs,$(DEB_BUILD_OPTIONS)))
BUILD_DBGSYM_PACKAGES=y
@@ -626,6 +633,7 @@
ENABLE_SDBC_POSTGRESQL=n
ENABLE_MYSQLNATIVE=n
ENABLE_EVO2=n
+ ENABLE_TDEAB=n
ENABLE_REPORTDESIGN=n
DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab
@@ -1315,6 +1323,24 @@
DBG_DBG_SUGGESTS+= , kdelibs5-dbg, libqt4-dbg
endif
+ifeq "$(BUILD_TDE)" "n"
+ CONFIGURE_FLAGS+= --disable-tde
+else
+ IMAGES+= crystal
+ CONFIGURE_FLAGS+= --enable-tde
+ CONFIGURE_FLAGS+= --with-theme="$(IMAGES)"
+ TDE_ICONSET_DEP=libreoffice-style-crystal
+ BUILD_DEPS += , tdelibs14-trinity-dev
+
+ DBG_DBG_SUGGESTS+= , tdelibs-trinity-dbg, libtqtinterface-dbg
+
+ ifeq "$(ENABLE_TDEAB)" "y"
+ BUILD_DEPS += , tdepim-trinity-dev
+ else
+ CONFIGURE_FLAGS+= --disable-tdeab
+ endif
+endif
+
ifeq "$(ENABLE_MYSQLNATIVE)" "y"
CONFIGURE_FLAGS += --enable-ext-mariadb-connector
ifeq "$(MYSQL_FLAVOUR)" "default"
@@ -1834,6 +1860,11 @@
ifeq "$(BUILD_KDE)" "y"
cat debian/control.kde.in >> debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ cat debian/control.trinity.in >> debian/control
+ cat debian/control.style-crystal.in >> debian/control
+ perl -pi -e 's/ libreoffice-gnome,/ libreoffice-gnome | libreoffice-trinity,/' debian/control
+endif
ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
cat debian/control.postgresql.in >> debian/control
endif
@@ -1843,6 +1874,9 @@
ifeq "$(ENABLE_EVO2)" "y"
cat debian/control.evolution.in >> debian/control
endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ cat debian/control.tdeab.in >> debian/control
+endif
ifeq "$(BUILD_TEST_PACKAGE)" "y"
ifneq "$(OOO_JAVA_ARCHS)" ""
cat debian/control.subsequentcheckbase.in >> debian/control
@@ -1911,6 +1945,9 @@
ifeq "$(BUILD_KDE)" "y"
perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice-kde: KDE UI Plugin and KDE File Picker support/' debian/control
endif
+ifeq "$(BUILD_TDE)" "y"
+ perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice-trinity: TDE UI Plugin and TDE File Picker support/' debian/control
+endif
ifeq "$(USE_DBUS)" "y"
ifeq "$(ENABLE_BLUETOOTH)" "y"
@@ -2667,6 +2704,47 @@
| sed -e "s/@TYPE@/drawing/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
endif
+
+ifeq "$(BUILD_TDE)" "y"
+ mkdir -p -m755 $(PKGDIR)-trinity/$(OODIR)/program
+ if test -f $(PKGDIR)-core/$(OODIR)/program/tdefilepicker; then \
+ mv $(PKGDIR)-core/$(OODIR)/program/tdefilepicker \
+ $(PKGDIR)-trinity/$(OODIR)/program; \
+ fi
+
+ # install files for TDEs "create new" ...
+ mkdir -p $(PKGDIR)-trinity/opt/trinity/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-trinity/opt/trinity/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-trinity/opt/trinity/share/templates/soffice.odg.desktop
+endif
+ifeq "$(ENABLE_TDEAB)" "y"
+ rm -rf $(PKGDIR)-tdeab-trinity
+ mkdir -p -m755 $(PKGDIR)-tdeab-trinity/$(OODIR)/program
+ for f in libtdeab*so; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-tdeab-trinity/$(OODIR)/program || exit 1 ;\
+ done
+endif
# split out gtk stuff
rm -rf $(PKGDIR)-gtk2
@@ -3218,6 +3296,12 @@
# register technical.dic
perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+ifeq "$(BUILD_TDE)" "y"
+ # be sure we use the right moc, FIXME: Trinity uses its own moc
+ mkdir -p $(CURDIR)/debian/usr/bin
+ ln -sf /usr/bin/moc-qt$(KDE_VER) $(CURDIR)/debian/usr/bin/moc
+endif
+
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
@@ -3448,6 +3532,7 @@
-V'Binary-Version=$(BINARY_VERSION)' \
-V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
-V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+ -V'tde-iconset-dep=$(TDE_ICONSET_DEP)' \
-V'lpsolve-dep=$(LPSOLVE_DEP)' \
-V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
-V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
diff -ruN a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
--- a/debian/scripts/gid2pkgdirs.sh 2016-06-22 22:08:26.000000000 +0000
+++ b/debian/scripts/gid2pkgdirs.sh 2017-02-26 14:14:24.368000000 +0000
@@ -102,6 +102,7 @@
create_package_directory gid_Module_Script_Provider_For_Python pkg/libreoffice-script-provider-python
create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Optional_Tde pkg/libreoffice-trinity
create_package_directory gid_Module_Root_Files
create_package_directory gid_Module_Optional_OGLTrans pkg/libreoffice-ogltrans
create_package_directory gid_Module_Root_SDK pkg/libreoffice-dev
@@ -149,7 +150,7 @@
fi &&
( cd pkg/libreoffice-common/$OOINSTBASE/program
find -maxdepth 1 \
- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|kdefilepicker\|tdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
-exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
);
Loading…
Cancel
Save