mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
- Update to 4.2
Submitted by: Danny Pansters <danny@ricin.com> (maintainer via privat mail)
This commit is contained in:
parent
ccc3d052ec
commit
4b7aacbb0c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190245
12 changed files with 157 additions and 80 deletions
|
@ -5,12 +5,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sql
|
||||
PORTVERSION= 20070318
|
||||
PORTVERSION= 4.2
|
||||
CATEGORIES= databases devel python
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ \
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
|
||||
http://freebsd.ricin.com/ports/distfiles/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
|
||||
DISTNAME= PyQt-x11-gpl-4-snapshot-${PORTVERSION}
|
||||
DISTNAME= PyQt-x11-gpl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= danny@ricin.com
|
||||
COMMENT= Python bindings for the Qt4 toolkit, QtSql module
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 538cd5167ccb14a6b6a3ee687432617a
|
||||
SHA256 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = d98516e20b02194264c199deddda2562845efca64315608522cc05a36c9210c7
|
||||
SIZE (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 1076275
|
||||
MD5 (PyQt-x11-gpl-4.2.tar.gz) = af4baa7f7441914f9a527ef3cf788fef
|
||||
SHA256 (PyQt-x11-gpl-4.2.tar.gz) = 6fa8a853a66ae500f36629793e7d4c54896c7ccf6337c2b90ea0175b28aa7ae6
|
||||
SIZE (PyQt-x11-gpl-4.2.tar.gz) = 5661258
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- configure.py.orig Mon Feb 19 04:39:13 2007
|
||||
+++ configure.py Tue Feb 20 16:58:29 2007
|
||||
@@ -133,21 +133,21 @@
|
||||
--- configure.py.orig Tue Apr 10 17:59:52 2007
|
||||
+++ configure.py Thu Apr 12 20:53:10 2007
|
||||
@@ -138,26 +138,26 @@
|
||||
}
|
||||
|
||||
def check_modules(self):
|
||||
|
@ -18,13 +18,22 @@
|
|||
- check_module("QtTest", "QtTest", "QTest::qSleep(0)")
|
||||
- check_module("QtXml", "qdom.h", "new QDomDocument()")
|
||||
- check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QtSvg", "qsvgwidget.h", "new QSvgWidget()")
|
||||
+ #check_module("QtTest", "QtTest", "QTest::qSleep(0)")
|
||||
+ #check_module("QtXml", "qdom.h", "new QDomDocument()")
|
||||
+ #check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
+ #check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
+
|
||||
+ #if sipcfg.universal:
|
||||
+ # sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
+ #else:
|
||||
+ # check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
|
||||
- if sipcfg.universal:
|
||||
- sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
- else:
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
-
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
|
||||
- if os.path.isdir("dbus"):
|
||||
|
@ -34,7 +43,7 @@
|
|||
|
||||
def code(self):
|
||||
# Note that the order of the dependent modules is important.
|
||||
@@ -201,31 +201,31 @@
|
||||
@@ -211,31 +211,31 @@
|
||||
generate_code("QAxContainer", ["QAxContainer", "QtGui", "QtCore"])
|
||||
|
||||
# Generate the consolidated module.
|
||||
|
@ -81,7 +90,7 @@
|
|||
|
||||
def qpylibs(self):
|
||||
# See which QPy libraries to build.
|
||||
@@ -278,7 +278,7 @@
|
||||
@@ -308,7 +308,7 @@
|
||||
tool.append("dbus")
|
||||
|
||||
# Only include ElementTree for older versions of Python.
|
||||
|
@ -90,7 +99,7 @@
|
|||
sipconfig.inform("Creating elementtree Makefile...")
|
||||
|
||||
makefile = sipconfig.PythonModuleMakefile(
|
||||
@@ -309,7 +309,7 @@
|
||||
@@ -339,7 +339,7 @@
|
||||
)
|
||||
|
||||
makefile.generate()
|
||||
|
@ -99,7 +108,26 @@
|
|||
|
||||
if "QtXml" in pyqt_modules:
|
||||
sipconfig.inform("Creating pylupdate4 Makefile...")
|
||||
@@ -428,7 +428,7 @@
|
||||
@@ -376,7 +376,8 @@
|
||||
makefile.generate()
|
||||
tool.append("pyrcc")
|
||||
else:
|
||||
- sipconfig.inform("pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.")
|
||||
+ #sipconfig.inform("pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.")
|
||||
+ pass
|
||||
|
||||
if "QtDesigner" in pyqt_modules:
|
||||
enabled = True
|
||||
@@ -460,7 +461,7 @@
|
||||
sipconfig.inform("The Qt mkspecs directory is in %s." % qt_datadir)
|
||||
sipconfig.inform("These PyQt modules will be built: %s." % string.join(pyqt_modules))
|
||||
sipconfig.inform("The PyQt modules will be installed in %s." % opt_pyqtmoddir)
|
||||
- sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
+ #sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
|
||||
if opt_api:
|
||||
sipconfig.inform("The QScintilla API file will be installed in %s." % os.path.join(opt_qscidir, "api", "python"))
|
||||
@@ -470,7 +471,7 @@
|
||||
|
||||
sipconfig.inform("The PyQt .sip files will be installed in %s." % opt_pyqtsipdir)
|
||||
|
||||
|
@ -108,7 +136,7 @@
|
|||
|
||||
if opt_vendorcheck:
|
||||
sipconfig.inform("PyQt will only be usable with signed interpreters.")
|
||||
@@ -761,7 +761,8 @@
|
||||
@@ -808,7 +809,8 @@
|
||||
sipfiles = []
|
||||
|
||||
for s in glob.glob("sip/" + mname + "/*.sip"):
|
||||
|
@ -118,7 +146,7 @@
|
|||
|
||||
installs.append([sipfiles, os.path.join(opt_pyqtsipdir, mname)])
|
||||
|
||||
@@ -825,7 +826,7 @@
|
||||
@@ -873,7 +875,7 @@
|
||||
sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qted)
|
||||
|
||||
# Confirm the license.
|
||||
|
@ -127,7 +155,7 @@
|
|||
print "Type 'L' to view the license."
|
||||
print "Type 'yes' to accept the terms of the license."
|
||||
print "Type 'no' to decline the terms of the license."
|
||||
@@ -847,7 +848,7 @@
|
||||
@@ -895,7 +897,7 @@
|
||||
|
||||
if resp == "l":
|
||||
os.system("more LICENSE")
|
||||
|
@ -136,12 +164,12 @@
|
|||
# If there should be a license file then check it is where it should be.
|
||||
if lfile:
|
||||
if os.access(os.path.join("sip", lfile), os.F_OK):
|
||||
@@ -1367,16 +1368,18 @@
|
||||
scidir = os.path.join(qt_datadir, "qsci")
|
||||
@@ -1434,16 +1436,18 @@
|
||||
installs=[(pyqt.module_installs(), opt_pyqtmoddir)]
|
||||
|
||||
if opt_api or os.path.isdir(scidir):
|
||||
- installs.append(("PyQt4.api", os.path.join(scidir, "api", "python")))
|
||||
+ installs.append(("QtSql.api", os.path.join(scidir, "api", "python")))
|
||||
if opt_api:
|
||||
- installs.append(("PyQt4.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+ installs.append(("QtSql.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+
|
||||
+ pyqt_modules = ["QtSql"]
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= doc
|
||||
PORTVERSION= 20070225 # Older snapshot, has complete docs
|
||||
PORTVERSION= 4.2
|
||||
CATEGORIES= misc devel python
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ \
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
|
||||
http://freebsd.ricin.com/ports/distfiles/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
|
||||
DISTNAME= PyQt-x11-gpl-4-snapshot-${PORTVERSION}
|
||||
DISTNAME= PyQt-x11-gpl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= danny@ricin.com
|
||||
COMMENT= Python bindings for the Qt4 toolkit, documentation
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (PyQt-x11-gpl-4-snapshot-20070225.tar.gz) = 89bc82feba24afe9bf3ea077e8f0cae2
|
||||
SHA256 (PyQt-x11-gpl-4-snapshot-20070225.tar.gz) = d181fb50236885107863c6a0ab4c72cf54967b0711a1cd1aea3bff3e710f73af
|
||||
SIZE (PyQt-x11-gpl-4-snapshot-20070225.tar.gz) = 5620849
|
||||
MD5 (PyQt-x11-gpl-4.2.tar.gz) = af4baa7f7441914f9a527ef3cf788fef
|
||||
SHA256 (PyQt-x11-gpl-4.2.tar.gz) = 6fa8a853a66ae500f36629793e7d4c54896c7ccf6337c2b90ea0175b28aa7ae6
|
||||
SIZE (PyQt-x11-gpl-4.2.tar.gz) = 5661258
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
%%DOCSDIR%%/default.css
|
||||
%%DOCSDIR%%/html/assistant-manual.html
|
||||
%%DOCSDIR%%/html/classes.html
|
||||
%%DOCSDIR%%/html/images/alphachannelimage.png
|
||||
%%DOCSDIR%%/html/images/alphafill.png
|
||||
%%DOCSDIR%%/html/images/assistant-assistant.png
|
||||
%%DOCSDIR%%/html/images/assistant-docwindow.png
|
||||
|
@ -26,6 +27,7 @@
|
|||
%%DOCSDIR%%/html/images/buttonbox-winlayout-vertical.png
|
||||
%%DOCSDIR%%/html/images/cde-lcdnumber.png
|
||||
%%DOCSDIR%%/html/images/cleanlooks-calendarwidget.png
|
||||
%%DOCSDIR%%/html/images/cleanlooks-pushbutton-menu.png
|
||||
%%DOCSDIR%%/html/images/containerextension-example.png
|
||||
%%DOCSDIR%%/html/images/cursor-arrow.png
|
||||
%%DOCSDIR%%/html/images/cursor-busy.png
|
||||
|
@ -57,6 +59,7 @@
|
|||
%%DOCSDIR%%/html/images/graphicsview-polygonitem.png
|
||||
%%DOCSDIR%%/html/images/graphicsview-rectitem.png
|
||||
%%DOCSDIR%%/html/images/graphicsview-view.png
|
||||
%%DOCSDIR%%/html/images/graphicsview-zorder.png
|
||||
%%DOCSDIR%%/html/images/gridlayout.png
|
||||
%%DOCSDIR%%/html/images/httpstack.png
|
||||
%%DOCSDIR%%/html/images/icon.png
|
||||
|
@ -81,8 +84,8 @@
|
|||
%%DOCSDIR%%/html/images/macintosh-tabwidget.png
|
||||
%%DOCSDIR%%/html/images/macintosh-timeedit.png
|
||||
%%DOCSDIR%%/html/images/macintosh-treeview.png
|
||||
%%DOCSDIR%%/html/images/mainwindow-contextmenu.png
|
||||
%%DOCSDIR%%/html/images/mainwindow-docks.png
|
||||
%%DOCSDIR%%/html/images/mainwindowlayout.png
|
||||
%%DOCSDIR%%/html/images/modelindex-no-parent.png
|
||||
%%DOCSDIR%%/html/images/modelview-begin-append-columns.png
|
||||
%%DOCSDIR%%/html/images/modelview-begin-append-rows.png
|
||||
|
@ -113,6 +116,7 @@
|
|||
%%DOCSDIR%%/html/images/plastique-progressbar.png
|
||||
%%DOCSDIR%%/html/images/plastique-progressdialog.png
|
||||
%%DOCSDIR%%/html/images/plastique-pushbutton.png
|
||||
%%DOCSDIR%%/html/images/plastique-pushbutton-menu.png
|
||||
%%DOCSDIR%%/html/images/plastique-radiobutton.png
|
||||
%%DOCSDIR%%/html/images/plastique-sizegrip.png
|
||||
%%DOCSDIR%%/html/images/plastique-slider.png
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xml
|
||||
PORTVERSION= 20070318
|
||||
PORTVERSION= 4.2
|
||||
CATEGORIES= textproc devel python
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ \
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
|
||||
http://freebsd.ricin.com/ports/distfiles/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
|
||||
DISTNAME= PyQt-x11-gpl-4-snapshot-${PORTVERSION}
|
||||
DISTNAME= PyQt-x11-gpl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= danny@ricin.com
|
||||
COMMENT= Python bindings for the Qt4 toolkit, QtXml module
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 538cd5167ccb14a6b6a3ee687432617a
|
||||
SHA256 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = d98516e20b02194264c199deddda2562845efca64315608522cc05a36c9210c7
|
||||
SIZE (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 1076275
|
||||
MD5 (PyQt-x11-gpl-4.2.tar.gz) = af4baa7f7441914f9a527ef3cf788fef
|
||||
SHA256 (PyQt-x11-gpl-4.2.tar.gz) = 6fa8a853a66ae500f36629793e7d4c54896c7ccf6337c2b90ea0175b28aa7ae6
|
||||
SIZE (PyQt-x11-gpl-4.2.tar.gz) = 5661258
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- configure.py.orig Mon Feb 19 04:39:13 2007
|
||||
+++ configure.py Tue Feb 20 16:13:30 2007
|
||||
@@ -133,21 +133,21 @@
|
||||
--- configure.py.orig Tue Apr 10 17:59:52 2007
|
||||
+++ configure.py Thu Apr 12 22:09:06 2007
|
||||
@@ -138,26 +138,26 @@
|
||||
}
|
||||
|
||||
def check_modules(self):
|
||||
|
@ -21,10 +21,18 @@
|
|||
+ #check_module("QtTest", "QtTest", "QTest::qSleep(0)")
|
||||
check_module("QtXml", "qdom.h", "new QDomDocument()")
|
||||
- check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
+ #check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
|
||||
- if sipcfg.universal:
|
||||
- sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
- else:
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
+ #if sipcfg.universal:
|
||||
+ # sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
+ #else:
|
||||
+ # check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
|
||||
- if os.path.isdir("dbus"):
|
||||
|
@ -34,7 +42,7 @@
|
|||
|
||||
def code(self):
|
||||
# Note that the order of the dependent modules is important.
|
||||
@@ -201,31 +201,31 @@
|
||||
@@ -211,31 +211,31 @@
|
||||
generate_code("QAxContainer", ["QAxContainer", "QtGui", "QtCore"])
|
||||
|
||||
# Generate the consolidated module.
|
||||
|
@ -81,7 +89,7 @@
|
|||
|
||||
def qpylibs(self):
|
||||
# See which QPy libraries to build.
|
||||
@@ -278,7 +278,7 @@
|
||||
@@ -308,7 +308,7 @@
|
||||
tool.append("dbus")
|
||||
|
||||
# Only include ElementTree for older versions of Python.
|
||||
|
@ -90,7 +98,7 @@
|
|||
sipconfig.inform("Creating elementtree Makefile...")
|
||||
|
||||
makefile = sipconfig.PythonModuleMakefile(
|
||||
@@ -309,7 +309,7 @@
|
||||
@@ -339,7 +339,7 @@
|
||||
)
|
||||
|
||||
makefile.generate()
|
||||
|
@ -99,16 +107,25 @@
|
|||
|
||||
if "QtXml" in pyqt_modules:
|
||||
sipconfig.inform("Creating pylupdate4 Makefile...")
|
||||
@@ -428,7 +428,7 @@
|
||||
@@ -460,7 +460,7 @@
|
||||
sipconfig.inform("The Qt mkspecs directory is in %s." % qt_datadir)
|
||||
sipconfig.inform("These PyQt modules will be built: %s." % string.join(pyqt_modules))
|
||||
sipconfig.inform("The PyQt modules will be installed in %s." % opt_pyqtmoddir)
|
||||
- sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
+ #sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
|
||||
if opt_api:
|
||||
sipconfig.inform("The QScintilla API file will be installed in %s." % os.path.join(opt_qscidir, "api", "python"))
|
||||
@@ -470,7 +470,7 @@
|
||||
|
||||
sipconfig.inform("The PyQt .sip files will be installed in %s." % opt_pyqtsipdir)
|
||||
|
||||
- sipconfig.inform("pyuic4, pyrcc4 and pylupdate4 will be installed in %s." % opt_pyqtbindir)
|
||||
+ #sipconfig.inform("pyuic4, pyrcc4 and pylupdate4 will be installed in %s." % opt_pyqtbindir)
|
||||
+ sipconfig.inform("pyrcc4 and pylupdate4 will be installed in %s." % opt_pyqtbindir)
|
||||
|
||||
if opt_vendorcheck:
|
||||
sipconfig.inform("PyQt will only be usable with signed interpreters.")
|
||||
@@ -761,7 +761,8 @@
|
||||
@@ -808,7 +808,8 @@
|
||||
sipfiles = []
|
||||
|
||||
for s in glob.glob("sip/" + mname + "/*.sip"):
|
||||
|
@ -118,7 +135,7 @@
|
|||
|
||||
installs.append([sipfiles, os.path.join(opt_pyqtsipdir, mname)])
|
||||
|
||||
@@ -825,7 +826,7 @@
|
||||
@@ -873,7 +874,7 @@
|
||||
sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qted)
|
||||
|
||||
# Confirm the license.
|
||||
|
@ -127,7 +144,7 @@
|
|||
print "Type 'L' to view the license."
|
||||
print "Type 'yes' to accept the terms of the license."
|
||||
print "Type 'no' to decline the terms of the license."
|
||||
@@ -847,7 +848,7 @@
|
||||
@@ -895,7 +896,7 @@
|
||||
|
||||
if resp == "l":
|
||||
os.system("more LICENSE")
|
||||
|
@ -136,12 +153,12 @@
|
|||
# If there should be a license file then check it is where it should be.
|
||||
if lfile:
|
||||
if os.access(os.path.join("sip", lfile), os.F_OK):
|
||||
@@ -1367,16 +1368,18 @@
|
||||
scidir = os.path.join(qt_datadir, "qsci")
|
||||
@@ -1434,16 +1435,18 @@
|
||||
installs=[(pyqt.module_installs(), opt_pyqtmoddir)]
|
||||
|
||||
if opt_api or os.path.isdir(scidir):
|
||||
- installs.append(("PyQt4.api", os.path.join(scidir, "api", "python")))
|
||||
+ installs.append(("QtXml.api", os.path.join(scidir, "api", "python")))
|
||||
if opt_api:
|
||||
- installs.append(("PyQt4.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+ installs.append(("QtXml.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+
|
||||
+ pyqt_modules = ["QtXml"]
|
||||
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= opengl
|
||||
PORTVERSION= 20070318
|
||||
PORTVERSION= 4.2
|
||||
CATEGORIES= x11 devel python
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ \
|
||||
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
|
||||
http://freebsd.ricin.com/ports/distfiles/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
|
||||
DISTNAME= PyQt-x11-gpl-4-snapshot-${PORTVERSION}
|
||||
DISTNAME= PyQt-x11-gpl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= danny@ricin.com
|
||||
COMMENT= Python bindings for the Qt4 toolkit, QtOpenGL module
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 538cd5167ccb14a6b6a3ee687432617a
|
||||
SHA256 (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = d98516e20b02194264c199deddda2562845efca64315608522cc05a36c9210c7
|
||||
SIZE (PyQt-x11-gpl-4-snapshot-20070318.tar.gz) = 1076275
|
||||
MD5 (PyQt-x11-gpl-4.2.tar.gz) = af4baa7f7441914f9a527ef3cf788fef
|
||||
SHA256 (PyQt-x11-gpl-4.2.tar.gz) = 6fa8a853a66ae500f36629793e7d4c54896c7ccf6337c2b90ea0175b28aa7ae6
|
||||
SIZE (PyQt-x11-gpl-4.2.tar.gz) = 5661258
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- configure.py.orig Mon Feb 19 04:39:13 2007
|
||||
+++ configure.py Tue Feb 20 16:52:16 2007
|
||||
@@ -133,21 +133,21 @@
|
||||
--- configure.py.orig Tue Apr 10 17:59:52 2007
|
||||
+++ configure.py Thu Apr 12 22:11:13 2007
|
||||
@@ -138,26 +138,26 @@
|
||||
}
|
||||
|
||||
def check_modules(self):
|
||||
|
@ -17,14 +17,23 @@
|
|||
- check_module("QtTest", "QtTest", "QTest::qSleep(0)")
|
||||
- check_module("QtXml", "qdom.h", "new QDomDocument()")
|
||||
- check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QtSql", "qsqldatabase.h", "new QSqlDatabase()")
|
||||
+ #check_module("QtSvg", "qsvgwidget.h", "new QSvgWidget()")
|
||||
+ #check_module("QtTest", "QtTest", "QTest::qSleep(0)")
|
||||
+ #check_module("QtXml", "qdom.h", "new QDomDocument()")
|
||||
+ #check_module("QtAssistant", "qassistantclient.h", "new QAssistantClient(\"foo\")")
|
||||
+ #check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
+
|
||||
+ #if sipcfg.universal:
|
||||
+ # sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
+ #else:
|
||||
+ # check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
|
||||
- if sipcfg.universal:
|
||||
- sipconfig.inform("QtDesigner module disabled with universal binaries")
|
||||
- else:
|
||||
- check_module("QtDesigner", "QExtensionFactory", "new QExtensionFactory()")
|
||||
-
|
||||
- check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
+ #check_module("QAxContainer", "qaxobject.h", "new QAxObject()", "QAxContainer")
|
||||
|
||||
- if os.path.isdir("dbus"):
|
||||
|
@ -34,7 +43,7 @@
|
|||
|
||||
def code(self):
|
||||
# Note that the order of the dependent modules is important.
|
||||
@@ -201,31 +201,31 @@
|
||||
@@ -211,31 +211,31 @@
|
||||
generate_code("QAxContainer", ["QAxContainer", "QtGui", "QtCore"])
|
||||
|
||||
# Generate the consolidated module.
|
||||
|
@ -81,7 +90,7 @@
|
|||
|
||||
def qpylibs(self):
|
||||
# See which QPy libraries to build.
|
||||
@@ -278,7 +278,7 @@
|
||||
@@ -308,7 +308,7 @@
|
||||
tool.append("dbus")
|
||||
|
||||
# Only include ElementTree for older versions of Python.
|
||||
|
@ -90,7 +99,7 @@
|
|||
sipconfig.inform("Creating elementtree Makefile...")
|
||||
|
||||
makefile = sipconfig.PythonModuleMakefile(
|
||||
@@ -309,7 +309,7 @@
|
||||
@@ -339,7 +339,7 @@
|
||||
)
|
||||
|
||||
makefile.generate()
|
||||
|
@ -99,7 +108,26 @@
|
|||
|
||||
if "QtXml" in pyqt_modules:
|
||||
sipconfig.inform("Creating pylupdate4 Makefile...")
|
||||
@@ -428,7 +428,7 @@
|
||||
@@ -376,7 +376,8 @@
|
||||
makefile.generate()
|
||||
tool.append("pyrcc")
|
||||
else:
|
||||
- sipconfig.inform("pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.")
|
||||
+ #sipconfig.inform("pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.")
|
||||
+ pass
|
||||
|
||||
if "QtDesigner" in pyqt_modules:
|
||||
enabled = True
|
||||
@@ -460,7 +461,7 @@
|
||||
sipconfig.inform("The Qt mkspecs directory is in %s." % qt_datadir)
|
||||
sipconfig.inform("These PyQt modules will be built: %s." % string.join(pyqt_modules))
|
||||
sipconfig.inform("The PyQt modules will be installed in %s." % opt_pyqtmoddir)
|
||||
- sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
+ #sipconfig.inform("The Designer plugin will be installed in %s." % os.path.join(opt_plugindir, "designer"))
|
||||
|
||||
if opt_api:
|
||||
sipconfig.inform("The QScintilla API file will be installed in %s." % os.path.join(opt_qscidir, "api", "python"))
|
||||
@@ -470,7 +471,7 @@
|
||||
|
||||
sipconfig.inform("The PyQt .sip files will be installed in %s." % opt_pyqtsipdir)
|
||||
|
||||
|
@ -108,7 +136,7 @@
|
|||
|
||||
if opt_vendorcheck:
|
||||
sipconfig.inform("PyQt will only be usable with signed interpreters.")
|
||||
@@ -761,7 +761,8 @@
|
||||
@@ -808,7 +809,8 @@
|
||||
sipfiles = []
|
||||
|
||||
for s in glob.glob("sip/" + mname + "/*.sip"):
|
||||
|
@ -118,7 +146,7 @@
|
|||
|
||||
installs.append([sipfiles, os.path.join(opt_pyqtsipdir, mname)])
|
||||
|
||||
@@ -825,7 +826,7 @@
|
||||
@@ -873,7 +875,7 @@
|
||||
sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qted)
|
||||
|
||||
# Confirm the license.
|
||||
|
@ -127,7 +155,7 @@
|
|||
print "Type 'L' to view the license."
|
||||
print "Type 'yes' to accept the terms of the license."
|
||||
print "Type 'no' to decline the terms of the license."
|
||||
@@ -847,7 +848,7 @@
|
||||
@@ -895,7 +897,7 @@
|
||||
|
||||
if resp == "l":
|
||||
os.system("more LICENSE")
|
||||
|
@ -136,12 +164,12 @@
|
|||
# If there should be a license file then check it is where it should be.
|
||||
if lfile:
|
||||
if os.access(os.path.join("sip", lfile), os.F_OK):
|
||||
@@ -1367,16 +1368,18 @@
|
||||
scidir = os.path.join(qt_datadir, "qsci")
|
||||
@@ -1434,16 +1436,18 @@
|
||||
installs=[(pyqt.module_installs(), opt_pyqtmoddir)]
|
||||
|
||||
if opt_api or os.path.isdir(scidir):
|
||||
- installs.append(("PyQt4.api", os.path.join(scidir, "api", "python")))
|
||||
+ installs.append(("QtOpenGL.api", os.path.join(scidir, "api", "python")))
|
||||
if opt_api:
|
||||
- installs.append(("PyQt4.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+ installs.append(("QtOpenGL.api", os.path.join(opt_qscidir, "api", "python")))
|
||||
+
|
||||
+ pyqt_modules = ["QtOpenGL"]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue