================================
scribes:source=0.2.4.2-1 (previous: 0.1-1)
cvc rdiff scribes -1 /[EMAIL PROTECTED]:desktop/0.2.4.2-1
================================
0.2.4.2-1 Ken VanDine ([EMAIL PROTECTED]) Tue Mar 14 21:17:24 2006
    New version thanks to pscott
    
scribes.recipe: changed
Index: scribes.recipe
====================================================================
contents(size sha1)
inode(mtime owner group)
--- scribes.recipe /[EMAIL PROTECTED]:desktop/0.1-1
+++ scribes.recipe /[EMAIL PROTECTED]:desktop/0.2.4.2-1
@@ -2,13 +2,22 @@
 # [EMAIL PROTECTED]
 # 3rd October 2005
 
-class scribes(PackageRecipe):
-   buildRequires = [ ]
-       
-   name = "scribes"
-   version = "0.1"
-   def setup(r):
-       
r.addArchive('http://www.openusability.org/download.php/58/%(name)s-%(version)s.tar.gz')
-       r.Run('python setup.py install --root=%(destdir)s --prefix=%(prefix)s')
-       #r.Requires('python-numeric:python', '%(bindir)s/gnome-sudoku')
-       #r.Requires('PIL:python', '%(bindir)s/gnome-sudoku')
+class Recipe(PackageRecipe):
+    name = 'scribes'
+    version = '0.2.4.2'
+    buildRequires = [
+        'GConf:runtime',
+        'desktop-file-utils:runtime',
+        'gnome-python-desktop:python',
+        'gnome-python-extras:python',
+        'gnome-python:python',
+        'pygtk:python',
+        'python-setuptools:python',
+        'scrollkeeper:runtime'
+    ]
+
+    def setup(r):
+        
r.addArchive('http://openusability.org/download.php/92/%(name)s-%(version)s.tar.gz')
+        r.addPatch('setup.py.diff')
+        r.PythonSetup()
+        r.Install('data/scribes.schemas', '/etc/gconf/schemas/scribes.schemas')


setup.py.diff: new
--- scribes-0.2.4.2/setup.py    2006-03-04 17:28:07.000000000 +0000
+++ scribes-0.2.4.2/setup.py.new        2006-03-14 22:49:35.000000000 +0000
@@ -188,48 +188,3 @@
                "data/scribes_editing.png", "data/scribes_status.png"])
        ],
        scripts=["scribes"],)
-
-
-################################################################################
-#
-#                                                      GConf Installation
-#
-################################################################################
-
-# Get gconf's default source
-cmd = "gconftool-2 --get-default-source"
-err, out = getstatusoutput(cmd)
-
-# Set up the gconf environment variable.
-putenv('GCONF_CONFIG_SOURCE', out)
-
-# Install gconf to the default source
-cmd = "gconftool-2 --makefile-install-rule data/scribes.schemas"
-err, out = getstatusoutput(cmd)
-
-if out:
-
-       print "installing GConf schema files"
-
-if err:
-
-    print 'Error: installation of gconf schema files failed: %s' % out
-
-# Kill the GConf daemon
-cmd = "killall gconfd-2"
-err, out = getstatusoutput(cmd)
-
-if err:
-
-       print "Problem shutting down gconf."
-
-# Start the GConf daemon
-cmd = "gconftool-2 --spawn"
-err, out = getstatusoutput(cmd)
-
-if err:
-
-       print "Problem restarting down gconf."
-
-print "scribes installation complete"
-

scribes-0.2.4.2.tar.gz: new
scribes-0.1.tar.gz: removed

Committed by: krv
_______________________________________________
Desktop-commits mailing list
[email protected]
http://lists.bizrace.com/mailman/listinfo/desktop-commits

Reply via email to