summaryrefslogtreecommitdiff
path: root/system/bleachbit/patches/bleachbit-0.4.1-launcher.diff
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenave at gmail {dot} com>2010-05-12 23:33:20 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:33:20 +0200
commit6f4c95667119ea9c55937d38b139974966360b0c (patch)
treec26136a060973146a78de00ffabbef08a81135fe /system/bleachbit/patches/bleachbit-0.4.1-launcher.diff
parent29e232356b58c678f69097e170850d6652561209 (diff)
downloadslackbuilds-6f4c95667119ea9c55937d38b139974966360b0c.tar.gz
system/bleachbit: Added to 12.2 repository
Diffstat (limited to 'system/bleachbit/patches/bleachbit-0.4.1-launcher.diff')
-rw-r--r--system/bleachbit/patches/bleachbit-0.4.1-launcher.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/bleachbit/patches/bleachbit-0.4.1-launcher.diff b/system/bleachbit/patches/bleachbit-0.4.1-launcher.diff
new file mode 100644
index 0000000000..8d10625e8a
--- /dev/null
+++ b/system/bleachbit/patches/bleachbit-0.4.1-launcher.diff
@@ -0,0 +1,27 @@
+Implement and install a launcher to start the GUI.
+
+Index: bleachbit-0.2.1/bin/bleachbit
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ bleachbit-0.2.1/bin/bleachbit 2009-01-29 22:10:20.641192983 +0100
+@@ -0,0 +1,8 @@
++#!/usr/bin/env python
++
++import bleachbit.GUI
++import gtk
++
++if __name__ == '__main__':
++ gui = bleachbit.GUI.GUI()
++ gtk.main()
+Index: bleachbit-0.2.1/setup.py
+===================================================================
+--- bleachbit-0.2.1.orig/setup.py 2009-01-29 22:10:13.625194708 +0100
++++ bleachbit-0.2.1/setup.py 2009-01-29 22:10:20.641192983 +0100
+@@ -25,6 +25,7 @@
+ data_files = []
+ data_files.append(('/usr/share/applications', ['./bleachbit.desktop']))
+ data_files.append(('/usr/share/pixmaps/', ['./bleachbit.png']))
++data_files.append(('/usr/bin', ['bin/bleachbit']))
+
+ setup(name='bleachbit',
+ version='0.4.1',