[Python-apps-commits] r3290 - in packages/kupfer/trunk/debian/patches (2 files)
dktrkranz-guest at users.alioth.debian.org
dktrkranz-guest at users.alioth.debian.org
Wed Jul 15 19:42:00 UTC 2009
Date: Wednesday, July 15, 2009 @ 19:41:56
Author: dktrkranz-guest
Revision: 3290
Remove check for dependencies at build time, they are required at runtime only
Added:
packages/kupfer/trunk/debian/patches/no_buildtime_depends.patch
Modified:
packages/kupfer/trunk/debian/patches/series
Added: packages/kupfer/trunk/debian/patches/no_buildtime_depends.patch
===================================================================
--- packages/kupfer/trunk/debian/patches/no_buildtime_depends.patch (rev 0)
+++ packages/kupfer/trunk/debian/patches/no_buildtime_depends.patch 2009-07-15 19:41:56 UTC (rev 3290)
@@ -0,0 +1,45 @@
+Description: Remove check for dependencies at build time, they are required at runtime only.
+Origin: Debian
+Forwarded: not-needed
+
+Index: kupfer-c4/wscript
+===================================================================
+--- kupfer-c4.orig/wscript 2009-07-15 21:37:35.000000000 +0200
++++ kupfer-c4/wscript 2009-07-15 21:38:03.000000000 +0200
+@@ -72,36 +72,6 @@
+ # BUG: intltool requires gcc
+ conf.check_tool("gcc intltool")
+
+- python_modules = """
+- gio
+- gtk
+- xdg
+- dbus
+- wnck
+- """
+- for module in python_modules.split():
+- conf.check_python_module(module)
+-
+- Utils.pprint("NORMAL", "Checking optional dependencies:")
+-
+- opt_programs = ["dbus-send"]
+- opt_pymodules = "gnome.ui".split()
+- for prog in opt_programs:
+- prog_path = conf.find_program(prog)
+-
+- try:
+- conf.check_python_module("keybinder")
+- except Configure.ConfigurationError, e:
+- Utils.pprint("RED", "Python module keybinder is recommended")
+- Utils.pprint("RED", "Please see README")
+-
+- for mod in opt_pymodules:
+- try:
+- conf.check_python_module(mod)
+- except Configure.ConfigurationError, e:
+- pass
+- #Utils.pprint("YELLOW", "python module %s is recommended" % prog)
+-
+ conf.env["KUPFER"] = Utils.subst_vars("${BINDIR}/kupfer", conf.env)
+ conf.env["VERSION"] = VERSION
+
Modified: packages/kupfer/trunk/debian/patches/series
===================================================================
--- packages/kupfer/trunk/debian/patches/series 2009-07-15 19:22:21 UTC (rev 3289)
+++ packages/kupfer/trunk/debian/patches/series 2009-07-15 19:41:56 UTC (rev 3290)
@@ -1 +1,2 @@
debian_wrappers.patch
+no_buildtime_depends.patch
More information about the Python-apps-commits
mailing list