[Python-apps-commits] r8722 - in packages/gedit-projects/trunk/debian/patches (2 files)

barcc-guest at users.alioth.debian.org barcc-guest at users.alioth.debian.org
Fri May 18 13:57:08 UTC 2012


    Date: Friday, May 18, 2012 @ 13:57:06
  Author: barcc-guest
Revision: 8722

fixed patch

Modified:
  packages/gedit-projects/trunk/debian/patches/01-fix-data-dir.patch
  packages/gedit-projects/trunk/debian/patches/series

Modified: packages/gedit-projects/trunk/debian/patches/01-fix-data-dir.patch
===================================================================
--- packages/gedit-projects/trunk/debian/patches/01-fix-data-dir.patch	2012-05-18 12:07:49 UTC (rev 8721)
+++ packages/gedit-projects/trunk/debian/patches/01-fix-data-dir.patch	2012-05-18 13:57:06 UTC (rev 8722)
@@ -1,4 +1,4 @@
-Description: Move data directory from /usr/lib to /usr/share
+Description: Move data from /usr/lib to /usr/share
 Forwarded: not-needed
 Author: B. Clausius <barcc at gmx.de>
 --- a/projects/config.py
@@ -34,39 +34,3 @@
                  ('share/glib-2.0/schemas/', glob('*.gschema.xml')),
                 ],
      )
-Description: Move data directory from /usr/lib to /usr/share
-Forwarded: not-needed
-Author: B. Clausius <barcc at gmx.de>
---- a/projects/config.py
-+++ b/projects/config.py
-@@ -30,7 +30,7 @@
-     __gsignals__ = {
-         'find-projects':  (GObject.SignalFlags.RUN_FIRST, None, ()),
-     }
--    ui_file = os.path.join(os.path.dirname(__file__), 'config.ui')
-+    ui_file = os.path.join('/usr/share/gedit/plugins/projects', 'config.ui')
-     settings_schema = "org.gnome.gedit.plugins.projects"
-     
-     def __init__(self):
---- a/projects/panel.py
-+++ b/projects/panel.py
-@@ -25,7 +25,7 @@
- 
- from projects.idle import IdleHelper
- 
--DATA_DIR = os.path.dirname(__file__)
-+DATA_DIR = '/usr/share/gedit/plugins/projects'
- 
- 
- class PanelHelper(GObject.GObject, IdleHelper):
---- a/setup.py
-+++ b/setup.py
-@@ -50,7 +50,7 @@
-     data_files=[
-                 ('lib/gedit/plugins/', ['projects.plugin']),
-                 ('lib/gedit/plugins/projects/', glob('projects/*.py')),
--                ('lib/gedit/plugins/projects/', glob('projects/*.ui')),
-+                ('share/gedit/plugins/projects/', glob('projects/*.ui')),
-                 ('share/glib-2.0/schemas/', glob('*.gschema.xml')),
-                ],
-     )

Modified: packages/gedit-projects/trunk/debian/patches/series
===================================================================
--- packages/gedit-projects/trunk/debian/patches/series	2012-05-18 12:07:49 UTC (rev 8721)
+++ packages/gedit-projects/trunk/debian/patches/series	2012-05-18 13:57:06 UTC (rev 8722)
@@ -1,2 +1 @@
 01-fix-data-dir.patch
-01-fix-data-dir.patch




More information about the Python-apps-commits mailing list