./packages/libreoffice/3.3.0/experimental r2165: add Debian presentation template
------------------------------------------------------------
revno: 2165
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Mon 2010-11-01 00:04:05 +0100
message:
add Debian presentation template
added:
templates/
templates/debian-presentation-background.xcf
templates/debian-presentation.otp
renamed:
soffice-template.desktop.in => templates/soffice-template.desktop.in
modified:
changelog
rules
=== modified file 'changelog'
--- a/changelog 2010-10-22 13:44:41 +0000
+++ b/changelog 2010-10-31 23:04:05 +0000
@@ -23,9 +23,12 @@
needed anymore (and doing so breaks BrOffice.org About)
* debian/broffice.org.p*.in: adapt diversions for new intro.png;
remove ooo*.res diversions
- * debian/soffice-template.desktop.in: update for LibreOffice *
+ * debian/soffice-template.desktop.in: update for LibreOffice and ..
+ * debian/templates/soffice-template.desktop.in: ... here
+ * debian/templates/debian-presentation*: add Debian presentation template,
+ thanks Raphael Hertzog (closes: #602043)
- -- Rene Engelhard <rene@debian.org> Fri, 22 Oct 2010 13:44:54 +0200
+ -- Rene Engelhard <rene@debian.org> Mon, 01 Nov 2010 00:01:32 +0100
libreoffice (1:3.3.0~beta2-2) experimental; urgency=low
=== modified file 'rules'
--- a/rules 2010-10-31 22:57:09 +0000
+++ b/rules 2010-10-31 23:04:05 +0000
@@ -2447,6 +2447,20 @@
> $$TMP && \
debian/scripts/cleandupes --base=libreoffice$(VER) --prefix=debian < $$TMP && rm -f $$TMP
+ifeq "$(DIST)" "Debian"
+ # install Debian presentation template
+ otps=`cd debian/templates: echo *.otp`; \
+ for iso in $(LANGPACKISOS); do \
+ [ "$$iso" = "en-US" ] && continue; \
+ pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
+ mkdir -p $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt; \
+ for otp in $$otps; do \
+ ln -sf ../../en-US/presnt/$$otp \
+ $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt/$$odt; \
+ done; \
+ done
+endif
+
touch $@
native-jars: $(STAMP_NATIVE_JARS)
@@ -2571,22 +2585,22 @@
for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
cp $$i $(PKGDIR)-kde/usr/share/templates/.source/`basename $$i`; \
done
- cat debian/soffice-template.desktop.in \
+ cat debian/templates/soffice-template.desktop.in \
| sed -e "s/@APP@/Writer/" \
| sed -e "s/@EXT@/odt/" \
| sed -e "s/@TYPE@/text/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.odt.desktop
- cat debian/soffice-template.desktop.in \
+ cat debian/templates/soffice-template.desktop.in \
| sed -e "s/@APP@/Calc/" \
| sed -e "s/@EXT@/ods/" \
| sed -e "s/@TYPE@/spreadsheet/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.ods.desktop
- cat debian/soffice-template.desktop.in \
+ cat debian/templates/soffice-template.desktop.in \
| sed -e "s/@APP@/Impress/" \
| sed -e "s/@EXT@/odp/" \
| sed -e "s/@TYPE@/presentation/" \
> $(PKGDIR)-kde/usr/share/templates/soffice.odp.desktop
- cat debian/soffice-template.desktop.in \
+ cat debian/templates/soffice-template.desktop.in \
| sed -e "s/@APP@/Draw/" \
| sed -e "s/@EXT@/odg/" \
| sed -e "s/@TYPE@/drawing/" \
=== added directory 'templates'
=== added file 'templates/debian-presentation-background.xcf'
Binary files a/templates/debian-presentation-background.xcf 1970-01-01 00:00:00 +0000 and b/templates/debian-presentation-background.xcf 2010-10-31 23:04:05 +0000 differ
=== added file 'templates/debian-presentation.otp'
Binary files a/templates/debian-presentation.otp 1970-01-01 00:00:00 +0000 and b/templates/debian-presentation.otp 2010-10-31 23:04:05 +0000 differ
=== renamed file 'soffice-template.desktop.in' => 'templates/soffice-template.desktop.in'
Reply to: