diff options
Diffstat (limited to 'editors/py-room/files')
-rw-r--r-- | editors/py-room/files/patch-PyRoom-gui.py | 11 | ||||
-rw-r--r-- | editors/py-room/files/patch-PyRoom-preferences.py | 11 | ||||
-rw-r--r-- | editors/py-room/files/patch-pyroom.desktop | 14 | ||||
-rw-r--r-- | editors/py-room/files/patch-setup.py | 15 |
4 files changed, 0 insertions, 51 deletions
diff --git a/editors/py-room/files/patch-PyRoom-gui.py b/editors/py-room/files/patch-PyRoom-gui.py deleted file mode 100644 index fa252e31ec3f..000000000000 --- a/editors/py-room/files/patch-PyRoom-gui.py +++ /dev/null @@ -1,11 +0,0 @@ ---- PyRoom/gui.py.orig 2009-11-13 04:07:00.000000000 +0100 -+++ PyRoom/gui.py 2009-11-13 04:07:12.000000000 +0100 -@@ -53,7 +53,7 @@ - - order of preference is homedir, global dir, source dir (if available)""" - local_directory = os.path.join(data_home, 'pyroom', 'themes') -- global_directory = '/usr/share/pyroom/themes' # FIXME: platform -+ global_directory = '%%PREFIX%%/share/pyroom/themes' # FIXME: platform - # in case PyRoom is run without installation - fallback_directory = os.path.join( - os.path.dirname(os.path.abspath(__file__)), diff --git a/editors/py-room/files/patch-PyRoom-preferences.py b/editors/py-room/files/patch-PyRoom-preferences.py deleted file mode 100644 index d41da08f9f12..000000000000 --- a/editors/py-room/files/patch-PyRoom-preferences.py +++ /dev/null @@ -1,11 +0,0 @@ ---- PyRoom/preferences.py 2009-11-13 03:57:27.000000000 +0100 -+++ PyRoom/preferences.py 2009-11-13 03:57:44.000000000 +0100 -@@ -95,7 +95,7 @@ - self.conf_dir = os.path.join(config_home, 'pyroom') - self.data_dir = os.path.join(data_home, 'pyroom') - self.themes_dir = os.path.join(self.data_dir, 'themes') -- self.global_themes_dir = '/usr/share/pyroom/themes' -+ self.global_themes_dir = '%%PREFIX%%/share/pyroom/themes' - # if we are not using a global installation, - # take the themes directly from sources - if not os.path.isdir(self.global_themes_dir) : diff --git a/editors/py-room/files/patch-pyroom.desktop b/editors/py-room/files/patch-pyroom.desktop deleted file mode 100644 index 9e4f13e56735..000000000000 --- a/editors/py-room/files/patch-pyroom.desktop +++ /dev/null @@ -1,14 +0,0 @@ ---- pyroom.desktop 2009-04-06 10:32:56.000000000 +0200 -+++ pyroom.desktop 2009-04-06 10:32:56.000000000 +0200 -@@ -1,9 +1,9 @@ - [Desktop Entry] - Version=1.0 - Name=PyRoom --Icon=/usr/share/pyroom/pyroom.png -+Icon=%%PREFIX%%/share/pyroom/pyroom.png - Comment=Distraction free full-screen text editor --Exec=/usr/bin/pyroom %F -+Exec=%%PREFIX%%/bin/pyroom %F - Terminal=false - Type=Application - Categories=GNOME;GTK;Office; diff --git a/editors/py-room/files/patch-setup.py b/editors/py-room/files/patch-setup.py deleted file mode 100644 index c0b23047f440..000000000000 --- a/editors/py-room/files/patch-setup.py +++ /dev/null @@ -1,15 +0,0 @@ ---- setup.py 2009-11-13 03:32:53.000000000 +0100 -+++ setup.py 2009-11-13 03:35:25.000000000 +0100 -@@ -52,9 +52,9 @@ - packages = ['PyRoom',], - package_data = {'PyRoom':['interface.glade']}, - data_files = [ -- ('/usr/share/pyroom/themes', glob.glob('themes/*.theme')), -- ('/usr/share/pyroom', ['pyroom.png']), -- ('/usr/share/applications', ['pyroom.desktop']) -+ ('%%PREFIX%%/share/pyroom/themes', glob.glob('themes/*.theme')), -+ ('%%PREFIX%%/share/pyroom', ['pyroom.png']), -+ ('%%PREFIX%%/share/applications', ['pyroom.desktop']) - ], - scripts=['pyroom',], - cmdclass={'install_data': InstallData}, |