summaryrefslogtreecommitdiff
path: root/packages/python/python-pyqt4/cross-compile.patch
blob: fb1524c09de5e5a435b83b41351d1276ac14ad0f (plain)
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
31
32
33

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- PyQt4-gpl-4.0beta1/configure.py~cross-compile.patch
+++ PyQt4-gpl-4.0beta1/configure.py
@@ -471,7 +471,7 @@
         sipconfig.error("Unable to create the %s directory." % mname)
 
     # Build the SIP command line.
-    argv = ['"' + sipcfg.sip_bin + '"']
+    argv = ['"' + sipcfg.sip_bin + '4"']
 
     argv.extend(qt_sip_flags)
 
@@ -846,7 +846,15 @@
     """Set the qt_dir, qt_incdir, qt_libdir, qt_bindir and qt_datadir globals
     for the Qt installation.
     """
-    sipconfig.inform("Determining the layout of your Qt installation...")
+    sipconfig.inform("Determining the layout of your Qt installation... - patched for OpenEmbedded by :M:")
+
+    global qt_dir, qt_incdir, qt_libdir, qt_bindir, qt_datadir
+    qt_dir = os.getenv( "QTDIR" )
+    qt_incdir = "%s/include" % qt_dir
+    qt_libdir = "%s/lib" % qt_dir
+    qt_bindir = "%s/bin" % qt_dir
+    qt_datadir = "%s/share" % qt_dir
+    return
 
     if not opt_qmake:
         sipconfig.error("Make sure you have a working Qt v4 qmake on your PATH or use the -q argument to explicitly specify a working Qt v4 qmake.")
/commit/packages/xorg-xserver/xserver-kdrive?id=e916916c968c82478b0d4f3b09e25a49405ae04a'>xserver-kdrive: drop devfs.patch, nobody uses it anymore.Philipp Zabel1 2007-03-29xserver-kdrive: clean up different patch versions, drop imageon from 1.2 for nowPhilipp Zabel3 2007-03-28xserver-kdrive: remove xcalibrate-1.2 patch, xcalibrate is upstream after allPhilipp Zabel1 2007-03-28xserver-kdrive: change git version to use xserver-kdrive-common.incPhilipp Zabel1 2007-03-28xserver-kdrive-common: the tslib is patch not needed anymore in 1.2,Philipp Zabel2 2007-03-27xserver-kdrive: update imageon patch, closes #2052Manuel Teira1 2007-03-12kdrive: update imageon patch, closes #1983Manuel Teira1 2007-01-22xserver-kdrive: move kmode-palm.patch to xserver-kdriveMarcin Juszkiewicz1 2007-01-05xserver-kdrive-imageon: added description to patchesMarcin Juszkiewicz2 2007-01-05xserver-kdrive-imageon: add (another) w100 based xserver, closes #1752 Manuel Teira2