./packages/openofficeorg/3.2/experimental r1680: - move help into /usr/share (see #218067)
------------------------------------------------------------
revno: 1680
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Sat 2009-10-24 03:01:17 +0200
message:
- move help into /usr/share (see #218067)
modified:
changelog
rules
=== modified file 'changelog'
--- a/changelog 2009-10-24 00:16:29 +0000
+++ b/changelog 2009-10-24 01:01:17 +0000
@@ -34,6 +34,7 @@
- for now, only build with en-US
- work around the fact that this is a beta version but has no beta splash
but we're supposed to use the "Developer Snapshot" splash
+ - move help into /usr/share (see #218067)
* debian/control.mediawiki.in:
- we don't need a strict depends on lucene anymore, remove it again.
Bump dependencies to >= 1:3.0.0~ matching description.xml
=== modified file 'rules'
--- a/rules 2009-10-20 06:39:28 +0000
+++ b/rules 2009-10-24 01:01:17 +0000
@@ -1903,6 +1903,13 @@
rm -rf debian/tmp/pkg
+ # move help to /usr/share
+ for iso in $(HELPISOS); do \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ mv $(PKGDIR)-help-$$pkgiso/usr/lib \
+ $(PKGDIR)-help-$$pkgiso/usr/share; \
+ done
+
ifeq "$(ENABLE_JAVA)" "y"
# move officebean.jar into -officebean (They will be moved out of -core
# in the install-arch target). Do the /usr/share/java move here already
@@ -2072,7 +2079,7 @@
# remove empty help directories
for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
- rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/help; \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(shell echo $(OODIR) | sed -e s/lib/share/)/help; \
done
# replace duplicate files in the langpacks with symlinks
@@ -2838,13 +2845,13 @@
ifeq "$(HELPISOS)" ""
# when we don't build helpcontent2 here we are missing helpxsl.zip so
# this file doesn't get installed either. Do it manually..
- mkdir -p -m755 $(PKGDIR)-common/$(OODIR)/help && \
+ mkdir -p -m755 $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help && \
cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/main_transform.xsl \
- $(PKGDIR)-common/$(OODIR)/help
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcaption.xsl \
- $(PKGDIR)-common/$(OODIR)/help
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
cp $(SOURCE_TREE)/helpcontent2/source/auxiliary/idxcontent.xsl \
- $(PKGDIR)-common/$(OODIR)/help
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
endif
ifeq "$(PACKAGE_SDK)" "y"
@@ -3148,6 +3155,16 @@
install -D -m755 debian/shell-lib-extensions.sh \
$(PKGDIR)-common/usr/share/$(OODIRNAME)/shell-lib-extensions.sh
+ # those are needed in /usr/share, too
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ mv $(PKGDIR)-common/$(OODIR)/help \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ # help is in /usr/share
+ sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \
+ $(PKGDIR)-common/$(OOBASISDIR)/share/registry/schema/org/openoffice/Office/Common.xcs
+ sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \
+ $(PKGDIR)-common/$(OOBASISDIR)/share/registry/data/org/openoffice/Office/Paths.xcu
+
touch $@
binary-arch: $(STAMP_DIR)/binary-arch
Reply to: