]> git.pld-linux.org Git - packages/python-PyQt4.git/blob - python-PyQt4-dbuspath.patch
- updated to 4.9.2
[packages/python-PyQt4.git] / python-PyQt4-dbuspath.patch
1 --- PyQt-x11-gpl-4.4.3/configure.py.orig        2008-08-08 16:09:58.000000000 +0200
2 +++ PyQt-x11-gpl-4.4.3/configure.py     2008-08-24 21:30:54.555681941 +0200
3 @@ -146,6 +146,8 @@
4      p.add_option("-g", "--consolidate", action="store_true", default=False,
5              dest="bigqt", help="create a single module which links against "
6              "all the Qt libraries")
7 +    p.add_option("--dbus-path", default=None, dest="pydbusmoddir", metavar="DIR",
8 +                   type="string", help="path to install dbus module")
9  
10      # These are internal options used to build the mega Windows GPL package.
11      p.add_option("--mwg-odbc", action="store_true", default=False,
12 @@ -1055,7 +1058,10 @@
13          return
14  
15      global pydbusmoddir
16 -    pydbusmoddir = dbus.mainloop.__path__[0]
17 +    if opts.pydbusmoddir:
18 +           pydbusmoddir = opts.pydbusmoddir
19 +    else:
20 +           pydbusmoddir = dbus.mainloop.__path__[0]
21  
22      # Try and find dbus-python.h.  We don't use pkg-config because it is broken
23      # for dbus-python (at least for versions up to and including v0.81.0).
This page took 0.071743 seconds and 3 git commands to generate.