./packages/openofficeorg/3.1/experimental r1428: * debian/rules, debian/scripts/openoffice-xlate-lang:
------------------------------------------------------------
revno: 1428
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Fri 2009-03-06 10:28:54 +0100
message:
* debian/rules, debian/scripts/openoffice-xlate-lang:
- add openoffice-xlate-lang symlink in debian/scripts, use
debian/scripts/openoffice-xlate-lang
added:
scripts/openoffice-xlate-lang@
modified:
changelog
rules
=== modified file 'changelog'
--- a/changelog 2009-03-05 20:40:17 +0000
+++ b/changelog 2009-03-06 09:28:54 +0000
@@ -49,6 +49,9 @@
scripts to not break upgrades as the old Java config is invalidated....
* debian/control.mediawiki.in: depend on liblucene2-java until i#98680 is
fixed
+ * debian/rules, debian/scripts/openoffice-xlate-lang:
+ - add openoffice-xlate-lang symlink in debian/scripts, use
+ debian/scripts/openoffice-xlate-lang
-- Rene Engelhard <rene@debian.org> Thu, 05 Mar 2009 16:16:03 +0100
=== modified file 'rules'
--- a/rules 2009-03-05 20:40:17 +0000
+++ b/rules 2009-03-06 09:28:54 +0000
@@ -541,16 +541,16 @@
# but we can't/shouldn't do dynamic switching, so let en-US be the first
# one to that gid_Module_Root always is english and the other langpacks
# have gid_Module_Root.$iso
- #ISOS=$(shell ooo-build/bin/openoffice-xlate-lang -i all')
+ #ISOS=$(shell debian/scripts/openoffice-xlate-lang -i all')
ISOS:=en-US af ar as-IN be-BY bg bn br bs ca cs cy da de dz el \
en-GB en-ZA eo es et eu fa fi fr ga gl gu-IN he hi-IN hr hu it ja \
ka km ko ku lo lt lv mk mn ml-IN mr-IN nb ne nl nn nr ns or-IN \
pa-IN pl pt pt-BR ro ru rw sk sl sr ss st sv \
ta-IN te-IN tg th tn tr ts uk uz ve vi xh zh-CN zh-TW zu
- #HELPISOS:=$(shell ooo-build/bin/openoffice-xlate-lang -i all')
+ #HELPISOS:=$(shell debian/scripts/openoffice-xlate-lang -i all')
HELPISOS:=en-US cs da de dz en-GB es et eu fr gl hi-IN hu it ja km ko nl \
pl pt pt-BR ru sl sv zh-CN zh-TW
- #LANGPACKISOS:=$(shell ooo-build/bin/openoffice-xlate-lang -i all')
+ #LANGPACKISOS:=$(shell debian/scripts/openoffice-xlate-lang -i all')
LANGPACKISOS:=en-US af ar as-IN be-BY bg bn br bs ca cs cy da de dz el \
en-GB en-ZA eo es et eu fa fi fr ga gl gu-IN he hi-IN hr hu it ja \
ka km ko ku lo lt lv mk mn ml-IN mr-IN nb ne nl nn nr ns or-IN \
@@ -1220,8 +1220,8 @@
# Generate control file, because we have so many different languages
# Based on script by Martin Quinson <Martin.Quinson@tuxfamily.org>
control: debian/control
-debian/control: $(wildcard debian/control*in) ooo-build/bin/openoffice-xlate-lang debian/rules
- chmod 755 ooo-build/bin/openoffice-xlate-lang
+debian/control: $(wildcard debian/control*in) debian/scripts/openoffice-xlate-lang debian/rules
+ chmod 755 $(shell readlink debian/scripts/openoffice-xlate-lang)
sed -e "s#openoffice.orgVER#openoffice.org$(VER)#g" \
-e "s#broffice.orgVER#broffice.org$(VER)#g" \
-e "s#%$(DIST)=\([^%]*\)%#, \1#g#" \
@@ -1231,8 +1231,8 @@
for LNUM in $(filter-out en-US,$(LANGPACKISOS)) ; do \
[ "$$LNUM" = en-US -a "$(PKGSOURCE)" = "openoffice.org$(VER)-l10n" ] && continue; \
- LNAME=`ooo-build/bin/openoffice-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
- LCODE=`ooo-build/bin/openoffice-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ LNAME=`debian/scripts/openoffice-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`debian/scripts/openoffice-xlate-lang -i $$LNUM | tr A-Z a-z`; \
CCODE=`echo $$LCODE | sed 's/-.*//'`; \
case "$$LCODE" in \
bn|gu-in|pa-in|ml-in|or-in|te-in|ta-in) \
@@ -1292,8 +1292,8 @@
ifneq "$(HELPISOS)" ""
for LNUM in $(HELPISOS) ; do \
- LNAME=`ooo-build/bin/openoffice-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
- LCODE=`ooo-build/bin/openoffice-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ LNAME=`debian/scripts/openoffice-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`debian/scripts/openoffice-xlate-lang -i $$LNUM | tr A-Z a-z`; \
CCODE=`echo $$LCODE | sed 's/-.*//'`; \
sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
-e "s|@CCODE@|$$CCODE|g" \
@@ -1849,7 +1849,7 @@
# Install files generated by setup into package directories
langpacks: $(STAMP_DIR)/langpacks
-$(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep ooo-build/bin/openoffice-xlate-lang
+$(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep debian/scripts/openoffice-xlate-lang
# remove empty uno_packages dirs somehow in the langpacks(?)
for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
@@ -2613,7 +2613,7 @@
# install openoffice-xlate-lang
install -d -m755 $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
- install -m755 ooo-build/bin/openoffice-xlate-lang \
+ install -m755 $(shell readlink debian/scripts/openoffice-xlate-lang) \
$(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
ifeq "$(HELPISOS)" ""
=== added symlink 'scripts/openoffice-xlate-lang'
=== target is '../ooo-build/bin/openoffice-xlate-lang'
Reply to: