CVS:oo-deb/debian changelog,1.421,1.422 rules,1.254,1.255
Update of /cvs/debian-openoffice/oo-deb/debian
In directory gluck:/tmp/cvs-serv15427
Modified Files:
changelog rules
Log Message:
- install and make the GNOME/KDE menus use
ximian-openoffice-{calc,writer,draw,impress,math,template,web}
as icons (closes: #294634) and move the oopadmin entry from Office to
System [RE]
Index: changelog
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/changelog,v
retrieving revision 1.421
retrieving revision 1.422
diff -u -d -r1.421 -r1.422
--- changelog 8 Feb 2005 11:21:41 -0000 1.421
+++ changelog 16 Feb 2005 18:23:16 -0000 1.422
@@ -14,10 +14,14 @@
- link to README.Debian.gz in /usr/share/doc/openoffice.org (provided
by openoffice.org-debian-files) from -kde and -gtk-gnome (it contains
the info that the fpickers are disabled by default) [RE]
+ - install and make the GNOME/KDE menus use
+ ximian-openoffice-{calc,writer,draw,impress,math,template,web}
+ as icons (closes: #294634) and move the oopadmin entry from Office to
+ System [RE]
* debian/ttf-opensymbol.postrm.in:
- use rm -f for trying to remove fonts.cache* (closes: #288515) [RE]
- -- Rene Engelhard <rene@debian.org> Tue, 8 Feb 2005 12:19:46 +0100
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Feb 2005 19:09:54 +0100
openoffice.org (1.1.3-4) unstable; urgency=low
Index: rules
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/rules,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -d -r1.254 -r1.255
--- rules 31 Jan 2005 22:36:55 -0000 1.254
+++ rules 16 Feb 2005 18:23:16 -0000 1.255
@@ -353,7 +353,7 @@
fi
# we do not need them and they make problem with dpkg-source....
- rm -f $(OOO_BUILD)/desktop/*.png $(OOO_BUILD)/www/*.png \
+ rm -f $(OOO_BUILD)/www/*.png \
$(OOO_BUILD)/www/images/*.png $(OOO_BUILD)/templates/*.s* \
$(OOO_BUILD)/www/l10n/*.gif \
$(OOO_BUILD)/src/open*bmp $(OOO_BUILD)/src/file-bug-*.bmp
@@ -437,7 +437,19 @@
touch -r $(OOO_BUILD)/fonts/opens___.ttf.uu $(OOO_BUILD)/fonts/opens___.ttf ;\
fi
rm -f $(OOO_BUILD)/fonts/opens___.ttf $(OOO_BUILD)/fonts/symbols.xls
-
+
+ # uuencode Ximian desktop icons
+ for i in calc draw impress math template web writer; do \
+ if [ -s $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png ]; then \
+ uuencode $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png \
+ ximian-openoffice-$$i.png \
+ >> $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png.uu &&\
+ touch -r $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png.uu \
+ $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png ;\
+ fi; \
+ done
+ rm -f $(OOO_BUILD)/desktop/*.png
+
dh_clean
rm -rf $(STAMP_DIR) $(DEBTREEDIR) stlport-home
@@ -583,6 +595,16 @@
touch -r $(OOO_BUILD)/fonts/opens___.ttf $(OOO_BUILD)/fonts/opens___.ttf.uu ;\
fi
+ # uuencode Ximian desktop icons
+ for i in calc draw impress math template web writer; do \
+ if [ ! -s $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png ]; then \
+ uudecode -o $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png \
+ $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png.uu ;\
+ touch -r $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png.uu \
+ $(OOO_BUILD)/desktop/ximian-openoffice-$$i.png ;\
+ fi; \
+ done
+
# uudecode libwpd snapshot
if [ ! -s $(SOURCE_TREE)/libwpd/download/$(LIBWPD_VER).tar.gz ]; then \
uudecode -o $(SOURCE_TREE)/libwpd/download/$(LIBWPD_VER).tar.gz \
@@ -1164,11 +1186,16 @@
-e 's,Exec="\?/.*/usr/lib/openoffice$(VER)/program/s\?\([^"]*\)"\?,Exec=/usr/bin/oo\1$(VER),' \
-e 's,/oooffice ,/ooffice ,' \
-e 's,Icon=.*/\([^/]*\.png\),Icon=\1,' \
+ -e 's,Icon=ooo_\([cwdimt].*\),Icon=ximian-openoffice-\1,' \
-e 's,\.png,,' \
< "$$I" > "$$I.new" ;\
rm "$$I"; mv "$$I.new" "$$I" ;\
done
+ # move Printeradmin into Application;System;
+ perl -pi -e 's/Application;Office/Application;System/' \
+ $(MAINPKGDIR)/usr/share/applications/ooo$(BUILDNUM)printeradmin.desktop
+
# insert NoDisplay=true to force the extra dir not being displayed
# on KDE 3.2
echo "NoDisplay=true" >> \
@@ -1205,6 +1232,9 @@
mkdir -p debian/ttf-opensymbol/usr/share/fonts/truetype/openoffice
install -m644 $(OOO_BUILD)/fonts/opens___.ttf \
debian/ttf-opensymbol/usr/share/fonts/truetype/openoffice
+
+ cp $(OOO_BUILD)/desktop/*.png \
+ $(MAINPKGDIR)/usr/share/icons/hicolor/48x48/apps
touch $@
Reply to: