[Python-apps-commits] r2302 - in packages/bleachbit/trunk/debian (4 files)
dktrkranz-guest at users.alioth.debian.org
dktrkranz-guest at users.alioth.debian.org
Sat Feb 7 15:02:19 UTC 2009
Date: Saturday, February 7, 2009 @ 15:02:19
Author: dktrkranz-guest
Revision: 2302
Provide a bleachbit-root.desktop file to enable superuser tasks
Modified:
packages/bleachbit/trunk/debian/bleachbit.install
packages/bleachbit/trunk/debian/changelog
packages/bleachbit/trunk/debian/control
packages/bleachbit/trunk/debian/rules
Modified: packages/bleachbit/trunk/debian/bleachbit.install
===================================================================
--- packages/bleachbit/trunk/debian/bleachbit.install 2009-02-07 14:57:40 UTC (rev 2301)
+++ packages/bleachbit/trunk/debian/bleachbit.install 2009-02-07 15:02:19 UTC (rev 2302)
@@ -1,4 +1,5 @@
bleachbit.desktop usr/share/applications
+bleachbit-root.desktop usr/share/applications
debian/bleachbit.xpm usr/share/pixmaps
Modified: packages/bleachbit/trunk/debian/changelog
===================================================================
--- packages/bleachbit/trunk/debian/changelog 2009-02-07 14:57:40 UTC (rev 2301)
+++ packages/bleachbit/trunk/debian/changelog 2009-02-07 15:02:19 UTC (rev 2302)
@@ -4,8 +4,12 @@
* Refresh patches for new upstream release:
- debian/patches/desktop_file
- debian/patches/launcher
+ * Provide a bleachbit-root.desktop file to enable superuser tasks:
+ - debian/rules: create the new file on top of bleachbit.desktop.
+ - debian/bleachbit.install: install new .desktop file.
+ - debian/control: let bleachbit recommends menu package.
- -- Luca Falavigna <dktrkranz at ubuntu.com> Sat, 07 Feb 2009 15:55:49 +0100
+ -- Luca Falavigna <dktrkranz at ubuntu.com> Sat, 07 Feb 2009 15:58:24 +0100
bleachbit (0.2.1-1) unstable; urgency=low
Modified: packages/bleachbit/trunk/debian/control
===================================================================
--- packages/bleachbit/trunk/debian/control 2009-02-07 14:57:40 UTC (rev 2301)
+++ packages/bleachbit/trunk/debian/control 2009-02-07 15:02:19 UTC (rev 2302)
@@ -14,7 +14,7 @@
Package: bleachbit
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-gtk2, python-glade2, python-gnome2
-Recommends: python-notify
+Recommends: python-notify, menu
XB-Python-Version: ${python:Versions}
Description: delete unnecessary files from the system
BleachBit deletes unnecessary files to free valuable disk space, maintain
Modified: packages/bleachbit/trunk/debian/rules
===================================================================
--- packages/bleachbit/trunk/debian/rules 2009-02-07 14:57:40 UTC (rev 2301)
+++ packages/bleachbit/trunk/debian/rules 2009-02-07 15:02:19 UTC (rev 2302)
@@ -20,6 +20,9 @@
dh_clean -k
dh_installdirs
python setup.py install --root=$(CURDIR)/debian/bleachbit
+ sed -e 's/Name=BleachBit/Name=BleachBit \(as root\)/' bleachbit.desktop > bleachbit-root.desktop && \
+ sed -i 's/TryExec=bleachbit/TryExec=su-to-root/' bleachbit-root.desktop && \
+ sed -i 's/Exec=bleachbit/Exec=su-to-root -X -c bleachbit/' bleachbit-root.desktop
binary-indep: build install
dh_testdir
More information about the Python-apps-commits
mailing list