summaryrefslogtreecommitdiff
path: root/net/straw/files/patch-setup.py
blob: 29e044a51ea83775e0c02c2933c69937a13b84ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- setup.py.orig	Thu Jul 15 15:15:58 2004
+++ setup.py	Sun Dec 19 23:29:18 2004
@@ -108,8 +108,8 @@
     '''Build list of data files to be installed'''
     images = glob.glob('images/*.png')
     files = [
-        ('share/pixmaps', ['images/straw.png']),
-        ('share/straw', images + ['data/default_subscriptions.opml', 'data/straw.css', 'glade/straw.glade'])]
+        ('share/gnome/pixmaps', ['images/straw.png']),
+        ('share/gnome/straw', images + ['data/default_subscriptions.opml', 'data/straw.css', 'glade/straw.glade'])]
     return files
 
 long_desc = '''\
@@ -134,13 +134,12 @@
       data_files       = data_files(),
       pot_file         = 'po/straw.pot',
       translations     = translations(),
-      #config_files     = [('gconf/schemas',['data/straw.schemas'],
-      #                     'with-gconf-schema-file-dir')],
+      config_files     = [('gconf/schemas',['data/straw.schemas'],
+                           'with-gconf-schema-file-dir')],
       scripts          = ['src/straw'],
-      modules_check    = modules_check,
       packages         = ['straw'],
       package_dir      = {'straw' : 'src/lib'},
-      msg_sources      = translation_files(),
+      msg_sources      = ['glade/strings.c'] + glob.glob('src/lib/*.py'),
       desktop_file     = ['straw.desktop.in'],
       ext_modules      = [TemplateExtension(name='trayicon',
                                             pkc_name='pygtk-2.0 gtk+-2.0',