------------------------------------------------------------ revno: 2056 committer: Rene Engelhard <r...@debian.org> branch nick: debian timestamp: Tue 2010-07-06 23:45:32 +0200 message: install new javafilter.desktop modified: rules
=== modified file 'rules' --- a/rules 2010-07-06 20:25:58 +0000 +++ b/rules 2010-07-06 21:45:32 +0000 @@ -2693,16 +2693,16 @@ ifeq "$(USE_OOO_BUILD_DESKTOPS)" "n" # menu files from sysui dirname="`cd $(SOURCE_TREE)/sysui/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/misc/desktopshare >/dev/null; pwd`" ;\ - for p in writer calc impress draw math base; do \ + for a in writer calc impress draw math base javafilter; do \ + if [ "$$a" = "javafilter" ]; then p=filter-mobiledev; else p=$$a; fi; \ mkdir -p -m755 $(PKGDIR)-$$p/usr/share/applications ;\ sed -e 's,Exec=$${UNIXPRODUCTNAME}$${PRODUCTVERSION} \(.*\) %U,Exec=ooffice$(VER) \1 %U,' \ -e 's,Icon=$${WITHOUTDOTUNIXPRODUCTNAME},Icon=openofficeorg,' \ -e 's,Name=$${PRODUCTNAME} $${PRODUCTVERSION},Name=OpenOffice.org $(VER),' \ -e 's/ / /' \ - < $$dirname/$$p.desktop \ - > $(PKGDIR)-$$p/usr/share/applications/openoffice.org$(VER)-$$p.desktop || exit 1 ;\ + < $$dirname/$$a.desktop \ + > $(PKGDIR)-$$p/usr/share/applications/openoffice.org$(VER)-$$a.desktop || exit 1 ;\ done - ifeq "$(BUILD_GTK)" "y" # qstart.desktop is different to the above. Should be handled by # --with-unix-wrapper of ooo-build but that somehow doesn't work as