SOURCES: wine-doors-runtime-deps.patch (NEW) - check deps at runtim

patrys patrys at pld-linux.org
Tue Jan 22 13:57:42 CET 2008


Author: patrys                       Date: Tue Jan 22 12:57:42 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- check deps at runtim

---- Files affected:
SOURCES:
   wine-doors-runtime-deps.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/wine-doors-runtime-deps.patch
diff -u /dev/null SOURCES/wine-doors-runtime-deps.patch:1.1
--- /dev/null	Tue Jan 22 13:57:42 2008
+++ SOURCES/wine-doors-runtime-deps.patch	Tue Jan 22 13:57:37 2008
@@ -0,0 +1,58 @@
+--- wine-doors-0.1.2/setup.py~	2008-01-21 21:00:40.000000000 +0100
++++ wine-doors-0.1.2/setup.py	2008-01-22 13:42:36.730291231 +0100
+@@ -100,55 +100,6 @@
+     if command == "install":
+         depsmet = True
+         hasui = True
+-        print "Checking dependencies"
+-        print "  wine . . . ",
+-        if os.popen( "which wine" ).read().rstrip() != "":
+-            print "Found"
+-        else:
+-            print "Not found !"
+-            depsmet = False
+-        print "  cabextract . . . ",
+-        if os.popen( "which cabextract" ).read().rstrip() != "":
+-            print "Found"
+-        else:
+-            print "Not found !"
+-            depsmet = False
+-        print "  tar . . . ",
+-        if os.popen( "which tar" ).read().rstrip() != "":
+-            print "Found"
+-        else:
+-            print "Not found !"
+-            depsmet = False
+-        print "  ps . . . ",
+-        if os.popen( "which ps" ).read().rstrip() != "":
+-            print "Found"
+-        else:
+-            print "Not found !"
+-            depsmet = False
+-            
+-        print "  pygtk . . . (python-gtk2)",
+-        try:
+-            import gtk, gobject
+-            print "Found"
+-        except:
+-            print "Not found"
+-            hasui = False
+-
+-        print "  pycairo . . . (python-cairo)",
+-        try:
+-            import cairo
+-            print "Found"
+-        except:
+-            print "Not found"
+-            hasui = False
+-
+-        print "  rsvg . . . (python-gnome2-desktop)",
+-        try:
+-            import rsvg
+-            print "Found"
+-        except:
+-            print "Not found"
+-            hasui = False
+ 
+         if not depsmet:
+             print "Dependencies not met"
================================================================


More information about the pld-cvs-commit mailing list