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

r882 ./packages/openofficeorg/2.3/experimental: apparently the OOO_LICENSE removal is still needed for lv and sh-YU/sr-CS



------------------------------------------------------------
revno: 882
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Fri 2007-09-07 08:14:55 +0200
message:
  apparently the OOO_LICENSE removal is still needed for lv and sh-YU/sr-CS
modified:
  changelog
  rules
=== modified file 'changelog'
--- a/changelog	2007-09-06 17:50:04 +0000
+++ b/changelog	2007-09-07 06:14:55 +0000
@@ -7,14 +7,15 @@
   * debian/rules:
     - build against db4.5 on sid (closes: #431786)
     - build with system-boost again
-    - remove apparently obsolete OOO_LICENSE change to the GSIs
+    - remove apparently obsolete OOO_LICENSE change to the GSIs (except
+      lv and sr-CS/sh-YU which apparently still need it)
     - do not corrupt the ku GSI
   * debian/control.*.in:
     - migrate to new Homepage: field instead of adding it to the package
       description
   * debian/README.Debian-source: s/2.2.0/2.3.0/
 
- -- Rene Engelhard <rene@debian.org>  Thu,  6 Sep 2007 19:45:17 +0200
+ -- Rene Engelhard <rene@debian.org>  Fri,  7 Sep 2007 08:10:26 +0200
 
 openoffice.org (1:2.3.0~rc1-1) experimental; urgency=low
 

=== modified file 'rules'
--- a/rules	2007-09-06 21:35:48 +0000
+++ b/rules	2007-09-07 06:14:55 +0000
@@ -1187,6 +1187,14 @@
 	find ooo-build/src -name "*.sdf.bz2" -exec bunzip2 -k \{\} \;
 	for i in `find ooo-build/src/*.sdf.gz`; do gunzip -dc "$$i" > \
 		ooo-build/src/`basename $$i .gz`; done
+	# work around broken stuff in the GSI breaking the build in svx
+	for iso in lv sh-YU sr-CS; do \
+	  case " $(LANGPACKISOS) " in *\ $$iso\ *) ;; *) continue; esac; \
+	  [ -f ooo-build/src/GSI_$$iso.sdf ] || continue; \
+	  TMP=`mktemp -q`; \
+	  grep -v OOO_LICENSE ooo-build/src/GSI_$$iso.sdf \
+	    > $$TMP && mv $$TMP ooo-build/src/GSI_$$iso.sdf; \
+	done
 	# we change the message, and those translations therefore don't match anymore.
 	for iso in $(LANGPACKISOS); do \
 	  [ -f ooo-build/src/GSI_$$iso.sdf ] || continue; \


Reply to: