[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] LibreOffice packaging repository branch, debian-experimental-4.0, updated. libreoffice_3.6.4_rc1-1-173-g3846ad8



The following commit has been merged in the debian-experimental-4.0 branch:
commit 3846ad818ca6ac9a53c84b8a4e8955655c7f7de9
Author: Rene Engelhard <rene@debian.org>
Date:   Fri Nov 30 08:46:25 2012 +0100

    work around gid_Module_Pdfimport not created by the installer...

diff --git a/rules b/rules
index 822cb4e..86d378b 100755
--- a/rules
+++ b/rules
@@ -1856,6 +1856,20 @@ ifeq "$(ENABLE_EVO2)" "y"
 		$(PKGDIR)-evolution/$(OODIR)/presets/database
 endif
 
+	# FIXME: Should have been done in gid2pkgdirs.sh but somehow the installer
+	# doesn't create the gid_Module_Pdfimport file and so that doesn't work.
+	# Do it manually here.
+	rm -rf $(PKGDIR)-pdfimport
+	mkdir -p $(PKGDIR)-pdfimport/$(OODIR)/program
+	mkdir -p $(PKGDIR)-pdfimport/$(OODIR)/share/registry
+	mkdir -p $(PKGDIR)-pdfimport/$(OODIR)/share/xpdfimport
+	for i in program/xpdfimport share/xpdfimport share/registry/pdfimport.xcd; do \
+		mv $(PKGDIR)-common/$(OODIR)/$$i \
+			$(PKGDIR)-pdfimport/$(OODIR)/$$i; \
+	done
+	mv $(PKGDIR)-core/$(OODIR)/program/pdfimport.uno.so \
+		$(PKGDIR)-pdfimport/$(OODIR)/program
+
 	find debian/tmp ! -perm -200 | xargs -r chmod u+w
 
 	touch $@

-- 
LibreOffice packaging repository


Reply to: