summaryrefslogtreecommitdiff
path: root/x11/qt3-libs
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-04-16 14:30:44 +0000
committerrecht <recht@pkgsrc.org>2004-04-16 14:30:44 +0000
commit9dada60fa50976cf8519a91bc1c987cdddf86935 (patch)
tree2030a2fa354a78cb727cdc6a45a24ec4fc27fb95 /x11/qt3-libs
parent846d7c9f6d86ee9ab7ab244841133e2703ec0296 (diff)
downloadpkgsrc-9dada60fa50976cf8519a91bc1c987cdddf86935.tar.gz
update to 3.3.1
changes (among many others): - New QLocale Class - The ActiveQt framework, first available in Qt 3.1, has been enhanced in lots of ways in Qt 3.3. - Semi-Transparent Windows Other Improvements - The network module now supports IPv6 in addition to IPv4. - New 64-bit platforms are supported: Itanium on Linux (Intel compiler) and Windows (MSVC and Intel). - QCursor now provides the BusyCursor shape, which combines an hourglass with an arrow. - Qt's DOM classes are now reentrant when Qt is built with multithread support enabled. See http://www.trolltech.com/products/qt/whatsnew.html for more details.
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r--x11/qt3-libs/Makefile5
-rw-r--r--x11/qt3-libs/PLIST10
-rw-r--r--x11/qt3-libs/buildlink3.mk13
-rw-r--r--x11/qt3-libs/distinfo12
-rw-r--r--x11/qt3-libs/patches/patch-ac10
-rw-r--r--x11/qt3-libs/patches/patch-ad13
-rw-r--r--x11/qt3-libs/patches/patch-af96
-rw-r--r--x11/qt3-libs/patches/patch-bc20
8 files changed, 134 insertions, 45 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile
index b2afa37ad67..fbd18b727e9 100644
--- a/x11/qt3-libs/Makefile
+++ b/x11/qt3-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2004/03/29 09:27:11 recht Exp $
+# $NetBSD: Makefile,v 1.24 2004/04/16 14:30:44 recht Exp $
#
LIBQT= ${WRKSRC}/lib/libqt-mt.la
@@ -6,7 +6,6 @@ LIBQT= ${WRKSRC}/lib/libqt-mt.la
.include "../qt3-libs/Makefile.common"
PKGNAME= qt3-libs-${QTVERSION}
-PKGREVISION= 1
COMMENT= C++ X GUI toolkit
USE_BUILDLINK2= yes
@@ -18,6 +17,8 @@ PTHREAD_OPTS+= require
UNLIMIT_RESOURCES= datasize
+BUILDLINK_PASSTHRU_DIRS+= ${QTPREFIX}
+
do-install:
${INSTALL_DATA_DIR} ${QTPREFIX}
${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin
diff --git a/x11/qt3-libs/PLIST b/x11/qt3-libs/PLIST
index 2b098f516e4..3a324b07a58 100644
--- a/x11/qt3-libs/PLIST
+++ b/x11/qt3-libs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2003/12/19 15:43:31 skrll Exp $
+@comment $NetBSD: PLIST,v 1.14 2004/04/16 14:30:44 recht Exp $
qt3/bin/moc
qt3/include/jri.h
qt3/include/jri_md.h
@@ -9,7 +9,6 @@ qt3/include/private/qapplication_p.h
qt3/include/private/qcolor_p.h
qt3/include/private/qcom_p.h
qt3/include/private/qcomlibrary_p.h
-qt3/include/private/qcomplextext_p.h
qt3/include/private/qcomponentfactory_p.h
qt3/include/private/qcriticalsection_p.h
qt3/include/private/qdialogbuttons_p.h
@@ -21,13 +20,16 @@ qt3/include/private/qfontcodecs_p.h
qt3/include/private/qfontdata_p.h
qt3/include/private/qfontengine_p.h
qt3/include/private/qgfxdriverinterface_p.h
+qt3/include/private/qgl_x11_p.h
qt3/include/private/qgpluginmanager_p.h
qt3/include/private/qimageformatinterface_p.h
qt3/include/private/qinputcontext_p.h
qt3/include/private/qinternal_p.h
+qt3/include/private/qisciicodec_p.h
qt3/include/private/qkbddriverinterface_p.h
qt3/include/private/qlayoutengine_p.h
qt3/include/private/qlibrary_p.h
+qt3/include/private/qlocale_p.h
qt3/include/private/qlock_p.h
qt3/include/private/qmousedriverinterface_p.h
qt3/include/private/qmutex_p.h
@@ -45,6 +47,7 @@ qt3/include/private/qsqlextension_p.h
qt3/include/private/qsqlmanager_p.h
qt3/include/private/qstyleinterface_p.h
qt3/include/private/qsvgdevice_p.h
+qt3/include/private/qsyntaxhighlighter_p.h
qt3/include/private/qt_x11_p.h
qt3/include/private/qtextcodecinterface_p.h
qt3/include/private/qtextengine_p.h
@@ -200,6 +203,7 @@ qt3/include/qlineedit.h
qt3/include/qlist.h
qt3/include/qlistbox.h
qt3/include/qlistview.h
+qt3/include/qlocale.h
qt3/include/qlocalfs.h
qt3/include/qmainwindow.h
qt3/include/qmap.h
@@ -396,7 +400,7 @@ qt3/lib/libqt-mt.a
qt3/lib/libqt-mt.la
qt3/lib/libqt-mt.so
qt3/lib/libqt-mt.so.3
-qt3/lib/libqt-mt.so.3.2
+qt3/lib/libqt-mt.so.3.3
qt3/plugins/imageformats/libqjpeg.a
qt3/plugins/imageformats/libqjpeg.la
qt3/plugins/imageformats/libqjpeg.so
diff --git a/x11/qt3-libs/buildlink3.mk b/x11/qt3-libs/buildlink3.mk
index a0fddcf1897..bd8bb22a3c8 100644
--- a/x11/qt3-libs/buildlink3.mk
+++ b/x11/qt3-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/03/30 18:58:34 recht Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/04/16 14:30:45 recht Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT3_LIBS_BUILDLINK3_MK:= ${QT3_LIBS_BUILDLINK3_MK}+
@@ -13,13 +13,14 @@ BUILDLINK_PACKAGES+= qt3-libs
.if !empty(QT3_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.qt3-libs+= qt3-libs>=3.2.3
BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs
+
+BUILDLINK_INCDIRS.qt3-libs+= qt3/include
+BUILDLINK_LIBDIRS.qt3-libs+= qt3/lib
+
.endif # QT3_LIBS_BUILDLINK3_MK
QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
-
-BUILDLINK_INCDIRS.qt3-libs+= ${QTDIR}/include
-BUILDLINK_LIBDIRS.qt3-libs+= ${QTDIR}/lib
-
+
PTHREAD_OPTS+= require
.include "../../devel/zlib/buildlink3.mk"
@@ -36,7 +37,7 @@ PTHREAD_OPTS+= require
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
-LDFLAGS+= -Wl,${RPATH_FLAG}${QTDIR}/lib
+#LDFLAGS+= -Wl,${RPATH_FLAG}${QTDIR}/lib
.if !defined(BUILD_QT3)
CONFIGURE_ENV+= QTDIR="${QTDIR}"
diff --git a/x11/qt3-libs/distinfo b/x11/qt3-libs/distinfo
index b02a8365a80..48136ec5475 100644
--- a/x11/qt3-libs/distinfo
+++ b/x11/qt3-libs/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.17 2003/12/19 15:43:31 skrll Exp $
+$NetBSD: distinfo,v 1.18 2004/04/16 14:30:45 recht Exp $
-SHA1 (qt-x11-free-3.2.3.tar.bz2) = 51a2532d298b24edd27b475c9de9209134c074ae
-Size (qt-x11-free-3.2.3.tar.bz2) = 13952198 bytes
+SHA1 (qt-x11-free-3.3.1.tar.bz2) = 55cefb492643dc739883d2d3073209419330c059
+Size (qt-x11-free-3.3.1.tar.bz2) = 14397600 bytes
SHA1 (patch-aa) = 0247c3694db7bf29556e00809b5d7f26817f3055
SHA1 (patch-ab) = 4dfee5c06bc322646465f43fe850126873d7bb75
-SHA1 (patch-ac) = 842ac48bd9d1f8a4d92bdaf0ccd8f14a1b7c4512
-SHA1 (patch-ad) = 3d638078a207d5062d9a758d53053e85b1c22426
+SHA1 (patch-ac) = 1914c348846ae2ab0358e554d29ba49a0be90d52
SHA1 (patch-ae) = 16f35100cccc0b3e325fc8a2fd049bab5aca8056
+SHA1 (patch-af) = cdd5e10d3ae71e288ff0de4995aef3622c1f226e
SHA1 (patch-ba) = 0f5baae5501a83ea53e5d4df846bb1f338e4d802
SHA1 (patch-bb) = 3615a92dc2022d4cdfe21a7068ad966dfbb09e36
-SHA1 (patch-bc) = 1dcf6b9583461525400bd62b625f8cf7f5b41a5f
+SHA1 (patch-bc) = d8a84e1b66bf1953b53df57ae81d2c98cce69c41
diff --git a/x11/qt3-libs/patches/patch-ac b/x11/qt3-libs/patches/patch-ac
index 7f88f2277d2..8145d0fcf37 100644
--- a/x11/qt3-libs/patches/patch-ac
+++ b/x11/qt3-libs/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.4 2003/03/18 08:36:25 skrll Exp $
+$NetBSD: patch-ac,v 1.5 2004/04/16 14:30:45 recht Exp $
---- src/tools/qdir_unix.cpp.orig Mon Dec 9 22:40:32 2002
-+++ src/tools/qdir_unix.cpp
+--- src/tools/qdir_unix.cpp.orig 2004-02-18 14:22:42.000000000 +0100
++++ src/tools/qdir_unix.cpp 2004-04-15 01:49:24.000000000 +0200
@@ -36,6 +36,16 @@
**********************************************************************/
@@ -19,7 +19,7 @@ $NetBSD: patch-ac,v 1.4 2003/03/18 08:36:25 skrll Exp $
#include "qdir.h"
#ifndef QT_NO_DIR
-@@ -86,10 +96,19 @@
+@@ -88,10 +98,19 @@
bool QDir::mkdir( const QString &dirName, bool acceptAbsPath ) const
{
@@ -42,7 +42,7 @@ $NetBSD: patch-ac,v 1.4 2003/03/18 08:36:25 skrll Exp $
int status =
::mkdir( QFile::encodeName(filePath(name,acceptAbsPath)), 0777 );
#else
-@@ -101,7 +120,24 @@ bool QDir::mkdir( const QString &dirName
+@@ -103,7 +122,24 @@
bool QDir::rmdir( const QString &dirName, bool acceptAbsPath ) const
{
diff --git a/x11/qt3-libs/patches/patch-ad b/x11/qt3-libs/patches/patch-ad
deleted file mode 100644
index 61bf8a8b021..00000000000
--- a/x11/qt3-libs/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2003/12/19 15:43:31 skrll Exp $
-
---- src/kernel/qscriptengine_x11.cpp.orig 2003-11-10 10:22:02.000000000 +0000
-+++ src/kernel/qscriptengine_x11.cpp
-@@ -2671,7 +2671,7 @@ static void hangul_shape_syllable( const
- } else if (syllableLength == 3) {
- int LIndex = ch[0].unicode() - Hangul_LBase;
- int VIndex = ch[1].unicode() - Hangul_VBase;
-- int TIndex = ch[1].unicode() - Hangul_TBase;
-+ int TIndex = ch[2].unicode() - Hangul_TBase;
- if (LIndex >= 0 && LIndex < Hangul_LCount &&
- VIndex >= 0 && VIndex < Hangul_VCount &&
- TIndex >= 0 && TIndex < Hangul_TCount )
diff --git a/x11/qt3-libs/patches/patch-af b/x11/qt3-libs/patches/patch-af
new file mode 100644
index 00000000000..821ca7d6df5
--- /dev/null
+++ b/x11/qt3-libs/patches/patch-af
@@ -0,0 +1,96 @@
+$NetBSD: patch-af,v 1.1 2004/04/16 14:30:45 recht Exp $
+
+--- src/kernel/qclipboard_x11.cpp.orig 2004-02-18 14:22:48.000000000 +0100
++++ src/kernel/qclipboard_x11.cpp 2004-04-15 01:54:07.000000000 +0200
+@@ -112,10 +112,6 @@
+
+ // event capture mechanism for qt_xclb_wait_for_event
+ static bool waiting_for_data = FALSE;
+-static bool has_captured_event = FALSE;
+-static Window capture_event_win = None;
+-static int capture_event_type = -1;
+-static XEvent captured_event;
+
+ class QClipboardWatcher; // forward decl
+ static QClipboardWatcher *selection_watcher = 0;
+@@ -432,69 +428,36 @@
+ { return inSelectionMode_obsolete; }
+
+
+-// event filter function... captures interesting events while
+-// qt_xclb_wait_for_event is running the event loop
+-static int qt_xclb_event_filter(XEvent *event)
+-{
+- if (event->xany.type == capture_event_type &&
+- event->xany.window == capture_event_win) {
+- VDEBUG( "QClipboard: event_filter(): caught event type %d", event->type );
+- has_captured_event = TRUE;
+- captured_event = *event;
+- return 1;
+- }
+-
+- return 0;
+-}
+-
+ bool qt_xclb_wait_for_event( Display *dpy, Window win, int type, XEvent *event,
+ int timeout )
+ {
+- if ( waiting_for_data )
+- qFatal( "QClipboard: internal error, qt_xclb_wait_for_event recursed" );
+-
+- waiting_for_data = TRUE;
+-
+ QTime started = QTime::currentTime();
+ QTime now = started;
+-
+- has_captured_event = FALSE;
+- capture_event_win = win;
+- capture_event_type = type;
+-
+- QX11EventFilter old_event_filter = qt_set_x11_event_filter(qt_xclb_event_filter);
++ bool flushed = FALSE;
+
+ do {
+- if ( XCheckTypedWindowEvent(dpy,win,type,event) ) {
+- waiting_for_data = FALSE;
+- qt_set_x11_event_filter(old_event_filter);
++ if ( XCheckTypedWindowEvent(dpy,win,type,event) )
+ return TRUE;
+- }
+
+ now = QTime::currentTime();
+ if ( started > now ) // crossed midnight
+ started = now;
+
+- // 0x08 == ExcludeTimers for X11 only
+- qApp->eventLoop()->processEvents( QEventLoop::ExcludeUserInput |
+- QEventLoop::ExcludeSocketNotifiers |
+- QEventLoop::WaitForMore | 0x08 );
+-
+- if ( has_captured_event ) {
+- waiting_for_data = FALSE;
+- *event = captured_event;
+- qt_set_x11_event_filter(old_event_filter);
+- return TRUE;
++ if(!flushed) {
++ XFlush( dpy );
++ flushed = TRUE;
+ }
+- } while ( started.msecsTo(now) < timeout );
+
+- waiting_for_data = FALSE;
+- qt_set_x11_event_filter(old_event_filter);
++ // sleep 50ms, so we don't use up CPU cycles all the time.
++ struct timeval usleep_tv;
++ usleep_tv.tv_sec = 0;
++ usleep_tv.tv_usec = 50000;
++ select(0, 0, 0, 0, &usleep_tv);
++ } while ( started.msecsTo(now) < timeout );
+
+ return FALSE;
+ }
+
+-
+ static inline int maxSelectionIncr( Display *dpy )
+ { return XMaxRequestSize(dpy) > 65536 ? 65536*4 : XMaxRequestSize(dpy)*4 - 100; }
+
diff --git a/x11/qt3-libs/patches/patch-bc b/x11/qt3-libs/patches/patch-bc
index dec24b6d81f..844889897c5 100644
--- a/x11/qt3-libs/patches/patch-bc
+++ b/x11/qt3-libs/patches/patch-bc
@@ -1,13 +1,13 @@
-$NetBSD: patch-bc,v 1.1 2003/07/22 17:17:20 drochner Exp $
+$NetBSD: patch-bc,v 1.2 2004/04/16 14:30:45 recht Exp $
---- tools/assistant/lib/lib.pro.orig 2003-07-16 12:27:26.000000000 +0200
-+++ tools/assistant/lib/lib.pro 2003-07-16 12:27:47.000000000 +0200
-@@ -5,7 +5,7 @@
- SOURCES = qassistantclient.cpp
- HEADERS += $$QT_SOURCE_TREE/include/qassistantclient.h
+--- tools/assistant/lib/lib.pro.orig 2003-10-31 15:36:28.000000000 +0100
++++ tools/assistant/lib/lib.pro 2004-04-15 01:53:19.000000000 +0200
+@@ -3,7 +3,7 @@
+ VERSION = 1.0
--CONFIG += staticlib
-+#CONFIG += staticlib
- CONFIG -= dll
+ CONFIG += qt warn_on release
+-CONFIG += staticlib
++#CONFIG += staticlib
+ CONFIG -= dll
- DEFINES += QT_INTERNAL_NETWORK
+ SOURCES = qassistantclient.cpp