summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2008-12-13 05:19:12 +0000
committerepg <epg@pkgsrc.org>2008-12-13 05:19:12 +0000
commitd6cf415e9e7b85bad0813981ab10119d4f6e152e (patch)
treef20140318d3e39f7641450fc80e6631460950775 /x11
parent2a01c58a0a65e839dedee4e6e3cbe7806a53abe8 (diff)
downloadpkgsrc-d6cf415e9e7b85bad0813981ab10119d4f6e152e.tar.gz
Import py-qt4-4.4.4 (packaged by wiz, minor tweaks by me).
PyQt is a set of Python bindings for the Qt toolkit. PyQt brings together the Qt C++ cross-platform toolkit and the cross-platform interpreted language Python. PyQt contains 300 classes and over 5,750 functions and methods. PyQt also includes the pyuic and pylupdate utilities which correspond to the Qt uic and lupdate utilities. pyuic converts the GUI designs created with Qt Designer to executable Python code. pylupdate scans Python code, extracts all strings that are candidates for internationalisation, and creates an XML file for use by Qt Linguist. The x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide more Python modules for Qt.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt4/DESCR13
-rw-r--r--x11/py-qt4/Makefile67
-rw-r--r--x11/py-qt4/PLIST.Darwin2
-rw-r--r--x11/py-qt4/PLIST.X113
-rw-r--r--x11/py-qt4/PLIST.common404
-rw-r--r--x11/py-qt4/PLIST.common_end23
-rw-r--r--x11/py-qt4/distinfo6
-rw-r--r--x11/py-qt4/patches/patch-aa19
8 files changed, 537 insertions, 0 deletions
diff --git a/x11/py-qt4/DESCR b/x11/py-qt4/DESCR
new file mode 100644
index 00000000000..cf42f05a36b
--- /dev/null
+++ b/x11/py-qt4/DESCR
@@ -0,0 +1,13 @@
+PyQt is a set of Python bindings for the Qt toolkit. PyQt brings
+together the Qt C++ cross-platform toolkit and the cross-platform
+interpreted language Python. PyQt contains 300 classes and over
+5,750 functions and methods.
+
+PyQt also includes the pyuic and pylupdate utilities which correspond
+to the Qt uic and lupdate utilities. pyuic converts the GUI designs
+created with Qt Designer to executable Python code. pylupdate
+scans Python code, extracts all strings that are candidates for
+internationalisation, and creates an XML file for use by Qt Linguist.
+
+The x11/py-qt3-modules and x11/py-qt3-qscintilla packages provide
+more Python modules for Qt.
diff --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile
new file mode 100644
index 00000000000..c4d4d5822d0
--- /dev/null
+++ b/x11/py-qt4/Makefile
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+#
+
+PKGNAME= ${PYPKGPREFIX}-qt4-${PYQT_VERSION}
+PYQT_VERSION= 4.4.4
+CATEGORIES= x11 python
+MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/PyQt4/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Python binding for Qt4
+HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro
+
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c c++
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= -b ${PREFIX}/bin
+CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
+CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
+CONFIGURE_ARGS+= -q ${QTDIR}/bin/qmake
+# XXX: should not be necessary, but framework thinks pkgsrc only has static
+# qt4 libraries
+#epg fixed? with patch-aa
+#CONFIGURE_ARGS+= -k
+CONFIGURE_ARGS+= --confirm-license
+
+PYTHON_VERSIONS_ACCEPTED= 25 24 23
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+
+#SUBST_CLASSES+= pyversfx
+#SUBST_STAGE.pyversfx= pre-configure
+#SUBST_FILES.pyversfx= pyuic4/pyuic.sbf pylupdate4/pylupdate.sbf
+#SUBST_SED.pyversfx= -e "s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC= ${PKGDIR}/PLIST.common
+.if ${OPSYS} == "Darwin"
+DISTNAME= PyQt-mac-gpl-${PYQT_VERSION}
+PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
+.else
+DISTNAME= PyQt-x11-gpl-${PYQT_VERSION}
+PLIST_SRC+= ${PKGDIR}/PLIST.X11
+.endif
+PLIST_SRC+= ${PKGDIR}/PLIST.common_end
+
+CONFIGURE_ARGS+= --verbose
+do-configure:
+ (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
+
+.include "../../lang/python/extension.mk"
+BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.7.9
+.include "../../x11/py-sip/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../sysutils/py-dbus/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+BUILDLINK_API_DEPENDS.qt4-tools+= qt4-tools>=4.4.0nb1
+.include "../../x11/qt4-tools/buildlink3.mk"
+# ${PYSITELIB}/qt.so depends on libqassistantclient.so
+# which is part of qt4-tools, so we need a runtime dependency
+# XXX split this pkg?
+BUILDLINK_DEPMETHOD.qt4-tools= full
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-qt4/PLIST.Darwin b/x11/py-qt4/PLIST.Darwin
new file mode 100644
index 00000000000..d7d95219486
--- /dev/null
+++ b/x11/py-qt4/PLIST.Darwin
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+share/sip${PYVERSSUFFIX}/qt/qwindowdefs_mac.sip
diff --git a/x11/py-qt4/PLIST.X11 b/x11/py-qt4/PLIST.X11
new file mode 100644
index 00000000000..8ec4328e846
--- /dev/null
+++ b/x11/py-qt4/PLIST.X11
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.X11,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+share/sip${PYVERSSUFFIX}/QtGui/qx11embed_x11.sip
+share/sip${PYVERSSUFFIX}/QtGui/qx11info_x11.sip
diff --git a/x11/py-qt4/PLIST.common b/x11/py-qt4/PLIST.common
new file mode 100644
index 00000000000..8149042a19e
--- /dev/null
+++ b/x11/py-qt4/PLIST.common
@@ -0,0 +1,404 @@
+@comment $NetBSD: PLIST.common,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+bin/pylupdate4
+bin/pyrcc4
+bin/pyuic4
+${PYSITELIB}/PyQt4/Qt.so
+${PYSITELIB}/PyQt4/QtAssistant.so
+${PYSITELIB}/PyQt4/QtCore.so
+${PYSITELIB}/PyQt4/QtDesigner.so
+${PYSITELIB}/PyQt4/QtGui.so
+${PYSITELIB}/PyQt4/QtHelp.so
+${PYSITELIB}/PyQt4/QtNetwork.so
+${PYSITELIB}/PyQt4/QtOpenGL.so
+${PYSITELIB}/PyQt4/QtScript.so
+${PYSITELIB}/PyQt4/QtSql.so
+${PYSITELIB}/PyQt4/QtSvg.so
+${PYSITELIB}/PyQt4/QtTest.so
+${PYSITELIB}/PyQt4/QtWebKit.so
+${PYSITELIB}/PyQt4/QtXml.so
+${PYSITELIB}/PyQt4/__init__.py
+${PYSITELIB}/PyQt4/pyqtconfig.py
+${PYSITELIB}/PyQt4/uic/Compiler/__init__.py
+${PYSITELIB}/PyQt4/uic/Compiler/compiler.py
+${PYSITELIB}/PyQt4/uic/Compiler/indenter.py
+${PYSITELIB}/PyQt4/uic/Compiler/qobjectcreator.py
+${PYSITELIB}/PyQt4/uic/Compiler/qtproxies.py
+${PYSITELIB}/PyQt4/uic/Loader/__init__.py
+${PYSITELIB}/PyQt4/uic/Loader/loader.py
+${PYSITELIB}/PyQt4/uic/Loader/qobjectcreator.py
+${PYSITELIB}/PyQt4/uic/__init__.py
+${PYSITELIB}/PyQt4/uic/exceptions.py
+${PYSITELIB}/PyQt4/uic/icon_cache.py
+${PYSITELIB}/PyQt4/uic/objcreator.py
+${PYSITELIB}/PyQt4/uic/properties.py
+${PYSITELIB}/PyQt4/uic/pyuic.py
+${PYSITELIB}/PyQt4/uic/uiparser.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qaxcontainer.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qscintilla.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qtwebkit.py
+${PYSITELIB}/PyQt4/uic/widget-plugins/qwt.py
+${PYSITELIB}/dbus/mainloop/qt.so
+share/sip${PYVERSSUFFIX}/Qt/Qtmod.sip
+share/sip${PYVERSSUFFIX}/QtAssistant/QtAssistantmod.sip
+share/sip${PYVERSSUFFIX}/QtAssistant/qassistantclient.sip
+share/sip${PYVERSSUFFIX}/QtCore/QtCoremod.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstracteventdispatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstractfileengine.sip
+share/sip${PYVERSSUFFIX}/QtCore/qabstractitemmodel.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbasictimer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbitarray.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbuffer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbytearray.sip
+share/sip${PYVERSSUFFIX}/QtCore/qbytearraymatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qchar.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcoreapplication.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcoreevent.sip
+share/sip${PYVERSSUFFIX}/QtCore/qcryptographichash.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdatastream.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdatetime.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdir.sip
+share/sip${PYVERSSUFFIX}/QtCore/qdiriterator.sip
+share/sip${PYVERSSUFFIX}/QtCore/qeventloop.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfile.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfileinfo.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfilesystemwatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qfsfileengine.sip
+share/sip${PYVERSSUFFIX}/QtCore/qglobal.sip
+share/sip${PYVERSSUFFIX}/QtCore/qhash.sip
+share/sip${PYVERSSUFFIX}/QtCore/qiodevice.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlibrary.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlibraryinfo.sip
+share/sip${PYVERSSUFFIX}/QtCore/qline.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlist.sip
+share/sip${PYVERSSUFFIX}/QtCore/qlocale.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmap.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmetaobject.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmetatype.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmimedata.sip
+share/sip${PYVERSSUFFIX}/QtCore/qmutex.sip
+share/sip${PYVERSSUFFIX}/QtCore/qnamespace.sip
+share/sip${PYVERSSUFFIX}/QtCore/qnumeric.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobject.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobjectcleanuphandler.sip
+share/sip${PYVERSSUFFIX}/QtCore/qobjectdefs.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpair.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpluginloader.sip
+share/sip${PYVERSSUFFIX}/QtCore/qpoint.sip
+share/sip${PYVERSSUFFIX}/QtCore/qprocess.sip
+share/sip${PYVERSSUFFIX}/QtCore/qreadwritelock.sip
+share/sip${PYVERSSUFFIX}/QtCore/qrect.sip
+share/sip${PYVERSSUFFIX}/QtCore/qregexp.sip
+share/sip${PYVERSSUFFIX}/QtCore/qresource.sip
+share/sip${PYVERSSUFFIX}/QtCore/qrunnable.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsemaphore.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsettings.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsharedmemory.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsignalmapper.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsize.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsocketnotifier.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstring.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstringlist.sip
+share/sip${PYVERSSUFFIX}/QtCore/qstringmatcher.sip
+share/sip${PYVERSSUFFIX}/QtCore/qsystemsemaphore.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtemporaryfile.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextboundaryfinder.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextcodec.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtextstream.sip
+share/sip${PYVERSSUFFIX}/QtCore/qthread.sip
+share/sip${PYVERSSUFFIX}/QtCore/qthreadpool.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtimeline.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtimer.sip
+share/sip${PYVERSSUFFIX}/QtCore/qtranslator.sip
+share/sip${PYVERSSUFFIX}/QtCore/qurl.sip
+share/sip${PYVERSSUFFIX}/QtCore/quuid.sip
+share/sip${PYVERSSUFFIX}/QtCore/qvariant.sip
+share/sip${PYVERSSUFFIX}/QtCore/qvector.sip
+share/sip${PYVERSSUFFIX}/QtCore/qwaitcondition.sip
+share/sip${PYVERSSUFFIX}/QtCore/qxmlstream.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/QtDesignermod.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractactioneditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformbuilder.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformeditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindow.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindowcursor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractformwindowmanager.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractobjectinspector.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractpropertyeditor.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/abstractwidgetbox.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/container.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/customwidget.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/default_extensionfactory.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/extension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/formbuilder.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/membersheet.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/propertysheet.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qextensionmanager.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercontainerextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercustomwidgetcollectionplugin.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignercustomwidgetplugin.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignermembersheetextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignerpropertysheetextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/qpydesignertaskmenuextension.sip
+share/sip${PYVERSSUFFIX}/QtDesigner/taskmenu.sip
+share/sip${PYVERSSUFFIX}/QtGui/QtGuimod.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractitemdelegate.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractitemview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractprintdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractproxymodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractscrollarea.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractslider.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstractspinbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qabstracttextdocumentlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qaction.sip
+share/sip${PYVERSSUFFIX}/QtGui/qactiongroup.sip
+share/sip${PYVERSSUFFIX}/QtGui/qapplication.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbitmap.sip
+share/sip${PYVERSSUFFIX}/QtGui/qboxlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbrush.sip
+share/sip${PYVERSSUFFIX}/QtGui/qbuttongroup.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcalendarwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcheckbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qclipboard.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolor.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolordialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcolumnview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcombobox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcommandlinkbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcompleter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qcursor.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdatawidgetmapper.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdatetimeedit.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdesktopservices.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdesktopwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdial.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdialogbuttonbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdirmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdockwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdrag.sip
+share/sip${PYVERSSUFFIX}/QtGui/qdrawutil.sip
+share/sip${PYVERSSUFFIX}/QtGui/qerrormessage.sip
+share/sip${PYVERSSUFFIX}/QtGui/qevent.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfiledialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfileiconprovider.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfilesystemmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfocusframe.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfont.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontcombobox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontdatabase.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontinfo.sip
+share/sip${PYVERSSUFFIX}/QtGui/qfontmetrics.sip
+share/sip${PYVERSSUFFIX}/QtGui/qformlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qframe.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsgridlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsitem.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsitemanimation.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicslayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicslayoutitem.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicslinearlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsproxywidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsscene.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicssceneevent.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicsview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgraphicswidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgridlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qgroupbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qheaderview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qicon.sip
+share/sip${PYVERSSUFFIX}/QtGui/qiconengine.sip
+share/sip${PYVERSSUFFIX}/QtGui/qimage.sip
+share/sip${PYVERSSUFFIX}/QtGui/qimageiohandler.sip
+share/sip${PYVERSSUFFIX}/QtGui/qimagereader.sip
+share/sip${PYVERSSUFFIX}/QtGui/qimagewriter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qinputcontext.sip
+share/sip${PYVERSSUFFIX}/QtGui/qinputdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qitemdelegate.sip
+share/sip${PYVERSSUFFIX}/QtGui/qitemeditorfactory.sip
+share/sip${PYVERSSUFFIX}/QtGui/qitemselectionmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qkeysequence.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlabel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlayoutitem.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlcdnumber.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlineedit.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlistview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qlistwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmainwindow.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmatrix.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmdiarea.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmdisubwindow.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmenu.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmenubar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmessagebox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmime.sip
+share/sip${PYVERSSUFFIX}/QtGui/qmovie.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpagesetupdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpaintdevice.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpaintengine.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpainter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpainterpath.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpalette.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpen.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpicture.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpixmap.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpixmapcache.sip
+share/sip${PYVERSSUFFIX}/QtGui/qplaintextedit.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpolygon.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprintdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprintengine.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprinter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprinterinfo.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprintpreviewdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprintpreviewwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprogressbar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qprogressdialog.sip
+share/sip${PYVERSSUFFIX}/QtGui/qproxymodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qpushbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qradiobutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qregion.sip
+share/sip${PYVERSSUFFIX}/QtGui/qrgb.sip
+share/sip${PYVERSSUFFIX}/QtGui/qrubberband.sip
+share/sip${PYVERSSUFFIX}/QtGui/qscrollarea.sip
+share/sip${PYVERSSUFFIX}/QtGui/qscrollbar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsessionmanager.sip
+share/sip${PYVERSSUFFIX}/QtGui/qshortcut.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsizegrip.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsizepolicy.sip
+share/sip${PYVERSSUFFIX}/QtGui/qslider.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsortfilterproxymodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsound.sip
+share/sip${PYVERSSUFFIX}/QtGui/qspinbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsplashscreen.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsplitter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstackedlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstackedwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstandarditemmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstatusbar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstringlistmodel.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstyle.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstyleditemdelegate.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstylefactory.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstyleoption.sip
+share/sip${PYVERSSUFFIX}/QtGui/qstylepainter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsyntaxhighlighter.sip
+share/sip${PYVERSSUFFIX}/QtGui/qsystemtrayicon.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtabbar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtableview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtablewidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtabwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextbrowser.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextcursor.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextdocument.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextdocumentfragment.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextedit.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextformat.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextlayout.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextlist.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextobject.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtextoption.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtexttable.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtoolbar.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtoolbox.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtoolbutton.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtooltip.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtransform.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtreeview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtreewidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qtreewidgetitemiterator.sip
+share/sip${PYVERSSUFFIX}/QtGui/qundogroup.sip
+share/sip${PYVERSSUFFIX}/QtGui/qundostack.sip
+share/sip${PYVERSSUFFIX}/QtGui/qundoview.sip
+share/sip${PYVERSSUFFIX}/QtGui/qvalidator.sip
+share/sip${PYVERSSUFFIX}/QtGui/qwhatsthis.sip
+share/sip${PYVERSSUFFIX}/QtGui/qwidget.sip
+share/sip${PYVERSSUFFIX}/QtGui/qwidgetaction.sip
+share/sip${PYVERSSUFFIX}/QtGui/qwindowdefs.sip
+share/sip${PYVERSSUFFIX}/QtGui/qwizard.sip
+share/sip${PYVERSSUFFIX}/QtGui/qworkspace.sip
+share/sip${PYVERSSUFFIX}/QtHelp/QtHelpmod.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpcontentwidget.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpengine.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpenginecore.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpindexwidget.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpsearchengine.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpsearchquerywidget.sip
+share/sip${PYVERSSUFFIX}/QtHelp/qhelpsearchresultwidget.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/QtNetworkmod.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qabstractsocket.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qauthenticator.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qftp.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qhostaddress.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qhostinfo.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qhttp.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qlocalserver.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qlocalsocket.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkaccessmanager.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkcookie.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkinterface.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkproxy.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkreply.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qnetworkrequest.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qssl.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslcertificate.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslcipher.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslconfiguration.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslerror.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslkey.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qsslsocket.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qtcpserver.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qtcpsocket.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qudpsocket.sip
+share/sip${PYVERSSUFFIX}/QtNetwork/qurlinfo.sip
+share/sip${PYVERSSUFFIX}/QtOpenGL/QtOpenGLmod.sip
+share/sip${PYVERSSUFFIX}/QtOpenGL/qgl.sip
+share/sip${PYVERSSUFFIX}/QtOpenGL/qglcolormap.sip
+share/sip${PYVERSSUFFIX}/QtOpenGL/qglframebufferobject.sip
+share/sip${PYVERSSUFFIX}/QtOpenGL/qglpixelbuffer.sip
+share/sip${PYVERSSUFFIX}/QtScript/QtScriptmod.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptclass.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptclasspropertyiterator.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptcontext.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptcontextinfo.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptengine.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptengineagent.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptstring.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptvalue.sip
+share/sip${PYVERSSUFFIX}/QtScript/qscriptvalueiterator.sip
+share/sip${PYVERSSUFFIX}/QtSql/QtSqlmod.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsql.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqldatabase.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqldriver.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlerror.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlfield.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlindex.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlquery.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlquerymodel.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlrecord.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlrelationaldelegate.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlrelationaltablemodel.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqlresult.sip
+share/sip${PYVERSSUFFIX}/QtSql/qsqltablemodel.sip
+share/sip${PYVERSSUFFIX}/QtSvg/QtSvgmod.sip
+share/sip${PYVERSSUFFIX}/QtSvg/qgraphicssvgitem.sip
+share/sip${PYVERSSUFFIX}/QtSvg/qsvggenerator.sip
+share/sip${PYVERSSUFFIX}/QtSvg/qsvgrenderer.sip
+share/sip${PYVERSSUFFIX}/QtSvg/qsvgwidget.sip
+share/sip${PYVERSSUFFIX}/QtTest/QtTestmod.sip
+share/sip${PYVERSSUFFIX}/QtTest/qtestcase.sip
+share/sip${PYVERSSUFFIX}/QtTest/qtestkeyboard.sip
+share/sip${PYVERSSUFFIX}/QtTest/qtestmouse.sip
+share/sip${PYVERSSUFFIX}/QtTest/qtestsystem.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/QtWebKitmod.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebframe.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebhistory.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebhistoryinterface.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebpage.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebpluginfactory.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebsettings.sip
+share/sip${PYVERSSUFFIX}/QtWebKit/qwebview.sip
+share/sip${PYVERSSUFFIX}/QtXml/QtXmlmod.sip
+share/sip${PYVERSSUFFIX}/QtXml/qdom.sip
+share/sip${PYVERSSUFFIX}/QtXml/qxml.sip
+share/sip${PYVERSSUFFIX}/QtXml/qxmlstream.sip
diff --git a/x11/py-qt4/PLIST.common_end b/x11/py-qt4/PLIST.common_end
new file mode 100644
index 00000000000..3bd3309bf86
--- /dev/null
+++ b/x11/py-qt4/PLIST.common_end
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST.common_end,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+@dirrm share/sip${PYVERSSUFFIX}/QtXml
+@dirrm share/sip${PYVERSSUFFIX}/QtWebKit
+@dirrm share/sip${PYVERSSUFFIX}/QtTest
+@dirrm share/sip${PYVERSSUFFIX}/QtSvg
+@dirrm share/sip${PYVERSSUFFIX}/QtSql
+@dirrm share/sip${PYVERSSUFFIX}/QtScript
+@dirrm share/sip${PYVERSSUFFIX}/QtOpenGL
+@dirrm share/sip${PYVERSSUFFIX}/QtNetwork
+@dirrm share/sip${PYVERSSUFFIX}/QtHelp
+@dirrm share/sip${PYVERSSUFFIX}/QtGui
+@dirrm share/sip${PYVERSSUFFIX}/QtDesigner
+@dirrm share/sip${PYVERSSUFFIX}/QtCore
+@dirrm share/sip${PYVERSSUFFIX}/QtAssistant
+@dirrm share/sip${PYVERSSUFFIX}/Qt
+@dirrm share/sip${PYVERSSUFFIX}
+@comment in py-dbus: @dirrm ${PYSITELIB}/dbus/mainloop
+@comment in py-dbus: @dirrm ${PYSITELIB}/dbus
+@dirrm ${PYSITELIB}/PyQt4/uic/widget-plugins
+@dirrm ${PYSITELIB}/PyQt4/uic/Loader
+@dirrm ${PYSITELIB}/PyQt4/uic/Compiler
+@dirrm ${PYSITELIB}/PyQt4/uic
+@dirrm ${PYSITELIB}/PyQt4
diff --git a/x11/py-qt4/distinfo b/x11/py-qt4/distinfo
new file mode 100644
index 00000000000..fdab5a241bb
--- /dev/null
+++ b/x11/py-qt4/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+
+SHA1 (PyQt-x11-gpl-4.4.4.tar.gz) = 6b91a8020de10e807fa0d3db6b7a92029a17cf0b
+RMD160 (PyQt-x11-gpl-4.4.4.tar.gz) = 970bca082a93402b1986b4e8a14738575732e8ae
+Size (PyQt-x11-gpl-4.4.4.tar.gz) = 6982063 bytes
+SHA1 (patch-aa) = 9ba0e372d817bda27282da3632db71869cf2a6d6
diff --git a/x11/py-qt4/patches/patch-aa b/x11/py-qt4/patches/patch-aa
new file mode 100644
index 00000000000..c541dad7d24
--- /dev/null
+++ b/x11/py-qt4/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/13 05:19:12 epg Exp $
+
+Force shared libraries, from
+http://cvs.fedora.redhat.com/viewvc/devel/PyQt4/PyQt-x11-gpl-4.4.4-QT_SHARED.patch?revision=1.1&view=markup&pathrev=HEAD
+
+--- configure.py.orig 2008-11-08 03:55:49.000000000 -0800
++++ configure.py
+@@ -1584,11 +1584,7 @@ int main(int, char **)
+ out << QT_VERSION << '\\n';
+ out << QT_EDITION << '\\n';
+
+-#if defined(QT_SHARED) || defined(QT_DLL)
+ out << "shared\\n";
+-#else
+- out << "\\n";
+-#endif
+
+ // Determine which features should be disabled.
+