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

./packages/libreoffice/3.3.0/experimental r2137: merge; fix publicId in catalog.xml.in



------------------------------------------------------------
revno: 2137 [merge]
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Tue 2010-10-12 23:51:04 +0200
message:
  merge; fix publicId in catalog.xml.in
renamed:
  catalog.xml => catalog.xml.in
modified:
  changelog
  rules
  catalog.xml.in
=== renamed file 'catalog.xml' => 'catalog.xml.in'
--- a/catalog.xml	2010-10-12 00:40:55 +0000
+++ b/catalog.xml.in	2010-10-12 21:51:04 +0000
@@ -2,5 +2,5 @@
 <!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN"
   "file:///usr/share/xml/schema/xml-core/catalog.dtd">
 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
-<public publicId="-//LibreOffice//DTD OfficeDocument 1.0//EN" uri="/usr/lib/openoffice/share/dtd/officedocument/1_0/office.dtd"/>
+<public publicId="-//OpenOffice.org//DTD OfficeDocument 1.0//EN" uri="/@OOBASISDIR@/share/dtd/officedocument/1_0/office.dtd"/>
 </catalog>

=== modified file 'changelog'
--- a/changelog	2010-10-12 21:35:22 +0000
+++ b/changelog	2010-10-12 21:51:04 +0000
@@ -57,6 +57,8 @@
     installed/updated
   * debian/control.in, debian/rules: stop building industrial package 
   * debian/scripts/fix_bmp_rgb: remove 
+  * debian/catalog.xml: move ...
+  * debian/catalog.xml.in: ... here and fix path to dtd
   * debian/udk*in, debian/xmerge-javadoc.in: Sun Microsystems, Inc -> Oracle
 
  -- Rene Engelhard <rene@debian.org>  Tue, 12 Oct 2010 23:34:21 +0200

=== modified file 'rules'
--- a/rules	2010-10-12 20:33:00 +0000
+++ b/rules	2010-10-12 21:51:04 +0000
@@ -1634,6 +1634,7 @@
 		rm -f debian/libreoffice-$$i.lintian-overrides; \
 	done
 	rm -f debian/*.install debian/*.dirs
+	rm -f debian/catalog.xml
 	rm -f debian/libreoffice-dtd-officedocument1.0.xmlcatalogs
 	rm -f download.list
 
@@ -3402,7 +3403,9 @@
 	mkdir -p $(PKGDIR)-dtd-officedocument1.0/$(OODIR)/share/dtd
 	mv $(PKGDIR)-common/$(OODIR)/share/dtd/officedocument \
 		$(PKGDIR)-dtd-officedocument1.0/$(OODIR)/share/dtd
-	cp debian/catalog.xml $(PKGDIR)-dtd-officedocument1.0/$(OODIR)/share/dtd/officedocument/1_0
+	cat debian/catalog.xml.in \
+		| sed -e "s,\@OOBASISDIR\@,$(OOBASISDIR)," \
+		> $(PKGDIR)-dtd-officedocument1.0/$(OODIR)/share/dtd/officedocument/1_0/catalog.xml
 	cat $(PKGDIR)-dtd-officedocument1.0.xmlcatalogs.in \
 		| sed -e "s,\@OOBASISDIR\@,$(OOBASISDIR)," \
 		> $(PKGDIR)-dtd-officedocument1.0.xmlcatalogs


Reply to: