[Python-apps-commits] r3170 - in packages/bleachbit/trunk/debian (changelog rules)
dktrkranz-guest at users.alioth.debian.org
dktrkranz-guest at users.alioth.debian.org
Tue Jun 23 22:39:09 UTC 2009
Date: Tuesday, June 23, 2009 @ 22:39:08
Author: dktrkranz-guest
Revision: 3170
Do not install Windows-specific cleaners
Modified:
packages/bleachbit/trunk/debian/changelog
packages/bleachbit/trunk/debian/rules
Modified: packages/bleachbit/trunk/debian/changelog
===================================================================
--- packages/bleachbit/trunk/debian/changelog 2009-06-23 22:35:57 UTC (rev 3169)
+++ packages/bleachbit/trunk/debian/changelog 2009-06-23 22:39:08 UTC (rev 3170)
@@ -4,9 +4,10 @@
* Refresh patches for new upstream release:
- debian/patches/desktop_file
- debian/patches/no_update
+ * Do not install Windows-specific cleaners, (as seen in release notes).
* Bump Standards-Version to 3.8.2, no changes required.
- -- Luca Falavigna <dktrkranz at ubuntu.com> Tue, 23 Jun 2009 15:17:14 +0000
+ -- Luca Falavigna <dktrkranz at ubuntu.com> Wed, 24 Jun 2009 00:42:03 +0200
bleachbit (0.5.1-1) unstable; urgency=low
Modified: packages/bleachbit/trunk/debian/rules
===================================================================
--- packages/bleachbit/trunk/debian/rules 2009-06-23 22:35:57 UTC (rev 3169)
+++ packages/bleachbit/trunk/debian/rules 2009-06-23 22:39:08 UTC (rev 3170)
@@ -10,10 +10,16 @@
override_dh_auto_install:
python setup.py install --root=$(CURDIR)/debian/bleachbit --install-lib=/usr/share/bleachbit
make -C po install DESTDIR=$(CURDIR)/debian/bleachbit
+
+ # Automatically generate .desktop file to invoke BleachBit as superuser
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
+override_dh_install:
+ # Do not install Windows-specific cleaners
+ dh_install $(addprefix -X,$(notdir $(shell grep -l os=.windows. cleaners/*.xml | xargs ls)))
+
override_dh_fixperms:
dh_fixperms
chmod +x debian/bleachbit/usr/share/bleachbit/bleachbit/GUI.py
More information about the Python-apps-commits
mailing list