diff options
author | will <will@FreeBSD.org> | 2001-02-04 12:43:14 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-02-04 12:43:14 +0800 |
commit | df844ba5021d73a5cb93a5d32eda1db3ff8f8031 (patch) | |
tree | 82c4834d09d5dedf205304b0254b06a1b2f3c9d5 | |
parent | 8820b911140e3796434be098e9228568063e0b0a (diff) | |
download | freebsd-ports-gnome-df844ba5021d73a5cb93a5d32eda1db3ff8f8031.tar.gz freebsd-ports-gnome-df844ba5021d73a5cb93a5d32eda1db3ff8f8031.tar.zst freebsd-ports-gnome-df844ba5021d73a5cb93a5d32eda1db3ff8f8031.zip |
Update QT2 to 2.2.4: Re-add USE_MESA, remove antialiasing patch, remove
default -j2 (but keep MAKE_JOBS var), restore old perl REs as soon as I'd
learned how to do multiple ones, remove QPL license file from packaging,
sync with newest KOI8-U/R stuff (not tested). The biggest bonus: split
QT Designer into its own port, and make the qt22/qt-designer pair a member
of the master-slave ports legion, hopefully to reduce redundancy as much
as possible. This should also save roughly 20 minutes of compile time on
a dual PIII-600 for those that don't need or want QT Designer. UIC is,
however, still installed/compiled by the default Qt 2.2.4 (as it _is_
required for other things e.g. KDE2).
USE_MESA may break KDE2. Hopefully, now that the port does install both
the threaded and non-threaded versions of QT, it won't. But until the
next release of KDE2, I'm not gonna bother testing to see.
USE_MESA repeatedly requested by: sobomax
63 files changed, 1078 insertions, 2186 deletions
diff --git a/devel/Makefile b/devel/Makefile index d0d35d3495b0..137956e412d8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -337,6 +337,7 @@ SUBDIR += py-mxStack SUBDIR += py-mxTools SUBDIR += qtarch + SUBDIR += qt-designer SUBDIR += qtez SUBDIR += qtk SUBDIR += re2c diff --git a/devel/qt-designer/Makefile b/devel/qt-designer/Makefile new file mode 100644 index 000000000000..2c0ea82188af --- /dev/null +++ b/devel/qt-designer/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: Qt Designer +# Date created: Sat Feb 3 23:04:41 EST 2001 +# Whom: will +# +# $FreeBSD$ +# + +MASTERDIR= ${.CURDIR}/../../x11-toolkits/qt22 + +PORTNAME= qt-designer +CATEGORIES= devel + +.include "${MASTERDIR}/Makefile" + +WRKSRC= ${WRKDIR}/qt-${PORTVERSION} +PATCHDIR= ${.CURDIR}/files +PATCH_WRKSRC= ${WRKSRC} +USE_QT2= yes +PKGDIR= ${.CURDIR} +MAKE_ENV= QTDIR=${PREFIX} LD_LIBRARY_PATH=${PREFIX}/lib PREFIX=${PREFIX} +ALL_TARGET= sub-tools + +do-install: + ${MKDIR} ${PREFIX}/share/qt2/designer/templates \ + ${PREFIX}/share/doc/qt2/html/designer/arrows \ + ${PREFIX}/share/doc/qt2/html/designer/figures + ${INSTALL_PROGRAM} ${WRKSRC}/bin/designer ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ + ${PREFIX}/share/qt2/designer/templates + ${INSTALL_DATA} ${WRKSRC}/doc/html/designer/*.html \ + ${PREFIX}/share/doc/qt2/html/designer +.for IMGDIR in arrows figures + ${INSTALL_DATA} ${WRKSRC}/doc/html/designer/${IMGDIR}/*.png \ + ${PREFIX}/share/doc/qt2/html/designer/${IMGDIR} +.endfor diff --git a/devel/qt-designer/files/patch-Makefile b/devel/qt-designer/files/patch-Makefile new file mode 100644 index 000000000000..8b18a9fc7af7 --- /dev/null +++ b/devel/qt-designer/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile Wed Jan 31 21:29:35 2001 ++++ Makefile.new Sat Feb 3 20:21:49 2001 +@@ -25,11 +25,11 @@ + -rm -f bin/moc + cp src/moc/moc bin/moc + +-sub-tools: sub-src FORCE ++sub-tools: FORCE + cd tools; $(MAKE) + + symlinks: .buildopts +- @cd include; rm -f q*.h; ln -s $(QTDIR)/src/*/q*.h .; ln -s $(QTDIR)/extensions/*/src/q*.h .; rm -f q*_p.h ++ @cd include; rm -f q*.h; ln -s ../src/*/q*.h .; ln -s ../extensions/*/src/q*.h .; rm -f q*_p.h + + sub-src: src-moc src-mt .buildopts FORCE + cd src; $(MAKE) diff --git a/devel/qt-designer/files/patch-aa b/devel/qt-designer/files/patch-aa new file mode 100644 index 000000000000..119251bcb772 --- /dev/null +++ b/devel/qt-designer/files/patch-aa @@ -0,0 +1,60 @@ +--- configs/freebsd-g++-shared Sun Dec 24 02:41:35 2000 ++++ configs/freebsd-g++-shared.new Sun Dec 24 02:42:49 2000 +@@ -6,7 +6,7 @@ + + # Compiling with support libraries + SYSCONF_CXXFLAGS_X11 = -I/usr/X11R6/include +-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include ++SYSCONF_CXXFLAGS_QT= -I$(QTDIR)/include -I/usr/X11R6/include/qt2 $(SYSCONF_CXXFLAGS_THREAD) + SYSCONF_CXXFLAGS_OPENGL = -I/usr/X11R6/include + + # Compiling YACC output +@@ -23,7 +23,7 @@ + SYSCONF_LIBS_X11 = -lXext -lX11 -lm + # Qt, Qt+OpenGL + SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib +-SYSCONF_LIBS_QT = -lqt$(QT_THREAD_SUFFIX) ++SYSCONF_LIBS_QT = -lqt2$(QT_THREAD_SUFFIX) $(SYSCONF_LFLAGS_THREAD) + SYSCONF_LIBS_QT_OPENGL = + # OpenGL + SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib +@@ -46,7 +46,7 @@ + SYSCONF_LIBS_THREAD = + + # Meta-object compiler +-SYSCONF_MOC = $(QTDIR)/bin/moc ++SYSCONF_MOC = $(QTDIR)/bin/moc2 + + # UI compiler + SYSCONF_UIC = $(QTDIR)/bin/uic +@@ -57,16 +57,14 @@ + # - Usually needs to incorporate $(VER_MAJ), $(VER_MIN) and $(VER_PATCH) + # + SYSCONF_LINK_SHLIB = g++ +-SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN).$(VER_PATCH) ++SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ) + SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared \ + $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \ + $(OBJECTS) $(OBJMOC) $(LIBS) && \ + mv $(SYSCONF_LINK_TARGET_SHARED) $(DESTDIR); \ + cd $(DESTDIR) && \ +- rm -f lib$(TARGET).so lib$(TARGET).so.$(VER_MAJ) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN); \ +- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so; \ +- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ); \ +- ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so.$(VER_MAJ).$(VER_MIN) ++ rm -f lib$(TARGET).so;\ ++ ln -s $(SYSCONF_LINK_TARGET_SHARED) lib$(TARGET).so + + # Linking static libraries + # - Build the $(TARGET) library, eg. lib$(TARGET).a +@@ -77,8 +75,8 @@ + SYSCONF_LINK_LIB_STATIC = rm -f $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) ; \ + $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC) + # Compiling application source +-SYSCONF_CXXFLAGS = -pipe -O2 +-SYSCONF_CFLAGS = -pipe -O2 ++SYSCONF_CXXFLAGS = -DQT_PREFIX=\"${PREFIX}\" -pipe -O2 ++SYSCONF_CFLAGS = -DQT_PREFIX=\"${PREFIX}\" -pipe -O2 + # Default link type (static linking is still be used where required) + SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED) + SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED) diff --git a/x11-toolkits/qt22/files/patch-ag b/devel/qt-designer/files/patch-ag index 0347913d3a31..0347913d3a31 100644 --- a/x11-toolkits/qt22/files/patch-ag +++ b/devel/qt-designer/files/patch-ag diff --git a/x11-toolkits/qt22/files/patch-ah b/devel/qt-designer/files/patch-ah index 1bf90ba1c6f2..1bf90ba1c6f2 100644 --- a/x11-toolkits/qt22/files/patch-ah +++ b/devel/qt-designer/files/patch-ah diff --git a/x11-toolkits/qt22/files/patch-ai b/devel/qt-designer/files/patch-ai index 8ba1cf2ee470..8ba1cf2ee470 100644 --- a/x11-toolkits/qt22/files/patch-ai +++ b/devel/qt-designer/files/patch-ai diff --git a/x11-toolkits/qt22/files/patch-aj b/devel/qt-designer/files/patch-aj index eddf54f011d9..eddf54f011d9 100644 --- a/x11-toolkits/qt22/files/patch-aj +++ b/devel/qt-designer/files/patch-aj diff --git a/devel/qt-designer/files/patch-designer::Makefile.in b/devel/qt-designer/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..52f3cca45258 --- /dev/null +++ b/devel/qt-designer/files/patch-designer::Makefile.in @@ -0,0 +1,11 @@ +--- tools/designer/designer/Makefile.in Wed Jan 31 21:29:50 2001 ++++ tools/designer/designer/Makefile.in.new Sat Feb 3 20:41:04 2001 +@@ -14,7 +14,7 @@ + + ####### Target + +-DESTDIR = $(QTDIR)/bin/ ++DESTDIR = ../../../bin/ + VER_MAJ = 1 + VER_MIN = 0 + VER_PATCH = 0 diff --git a/devel/qt-designer/files/patch-designer:Makefile.in b/devel/qt-designer/files/patch-designer:Makefile.in new file mode 100644 index 000000000000..498cff3955af --- /dev/null +++ b/devel/qt-designer/files/patch-designer:Makefile.in @@ -0,0 +1,17 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 20:04:32 2001 +@@ -5,13 +5,9 @@ + # Template: subdirs + ############################################################################# + +-SUBDIRS = util \ +- uic \ +- designer ++SUBDIRS = designer + + all: +- $(MAKE) util +- $(MAKE) uic + $(MAKE) designer + + diff --git a/devel/qt-designer/pkg-comment b/devel/qt-designer/pkg-comment new file mode 100644 index 000000000000..901225f07b1e --- /dev/null +++ b/devel/qt-designer/pkg-comment @@ -0,0 +1 @@ +GUI C++ IDE based on QT diff --git a/devel/qt-designer/pkg-descr b/devel/qt-designer/pkg-descr new file mode 100644 index 000000000000..74664b302c3d --- /dev/null +++ b/devel/qt-designer/pkg-descr @@ -0,0 +1,4 @@ +Qt Designer is a GUI IDE based on Qt 2.x made by +the trolltech people. + +WWW: http://www.trolltech.com/products/qt/designer/ diff --git a/devel/qt-designer/pkg-plist b/devel/qt-designer/pkg-plist new file mode 100644 index 000000000000..2e4183356173 --- /dev/null +++ b/devel/qt-designer/pkg-plist @@ -0,0 +1,165 @@ +bin/designer +share/doc/qt2/html/designer/arrows/home.png +share/doc/qt2/html/designer/arrows/left.png +share/doc/qt2/html/designer/arrows/right.png +share/doc/qt2/html/designer/arrows/up.png +share/doc/qt2/html/designer/book1.html +share/doc/qt2/html/designer/chap10_1.html +share/doc/qt2/html/designer/chap1_1.html +share/doc/qt2/html/designer/chap2_1.html +share/doc/qt2/html/designer/chap2_2.html +share/doc/qt2/html/designer/chap2_3.html +share/doc/qt2/html/designer/chap2_4.html +share/doc/qt2/html/designer/chap3_1.html +share/doc/qt2/html/designer/chap3_2.html +share/doc/qt2/html/designer/chap3_3.html +share/doc/qt2/html/designer/chap3_4.html +share/doc/qt2/html/designer/chap4_1.html +share/doc/qt2/html/designer/chap4_2.html +share/doc/qt2/html/designer/chap5_1.html +share/doc/qt2/html/designer/chap5_2.html +share/doc/qt2/html/designer/chap5_3.html +share/doc/qt2/html/designer/chap5_4.html +share/doc/qt2/html/designer/chap5_5.html +share/doc/qt2/html/designer/chap5_6.html +share/doc/qt2/html/designer/chap6_1.html +share/doc/qt2/html/designer/chap6_2.html +share/doc/qt2/html/designer/chap6_3.html +share/doc/qt2/html/designer/chap6_4.html +share/doc/qt2/html/designer/chap6_5.html +share/doc/qt2/html/designer/chap6_6.html +share/doc/qt2/html/designer/chap6_7.html +share/doc/qt2/html/designer/chap7_1.html +share/doc/qt2/html/designer/chap7_10.html +share/doc/qt2/html/designer/chap7_11.html +share/doc/qt2/html/designer/chap7_12.html +share/doc/qt2/html/designer/chap7_13.html +share/doc/qt2/html/designer/chap7_14.html +share/doc/qt2/html/designer/chap7_15.html +share/doc/qt2/html/designer/chap7_16.html +share/doc/qt2/html/designer/chap7_2.html +share/doc/qt2/html/designer/chap7_3.html +share/doc/qt2/html/designer/chap7_4.html +share/doc/qt2/html/designer/chap7_5.html +share/doc/qt2/html/designer/chap7_6.html +share/doc/qt2/html/designer/chap7_7.html +share/doc/qt2/html/designer/chap7_8.html +share/doc/qt2/html/designer/chap7_9.html +share/doc/qt2/html/designer/chap8_1.html +share/doc/qt2/html/designer/chap9_1.html +share/doc/qt2/html/designer/chap9_2.html +share/doc/qt2/html/designer/chap9_3.html +share/doc/qt2/html/designer/chap9_4.html +share/doc/qt2/html/designer/chap9_5.html +share/doc/qt2/html/designer/chap9_6.html +share/doc/qt2/html/designer/colophon.html +share/doc/qt2/html/designer/feedback.html +share/doc/qt2/html/designer/figures/aboutdialog.png +share/doc/qt2/html/designer/figures/adjustsize.png +share/doc/qt2/html/designer/figures/breaklayout.png +share/doc/qt2/html/designer/figures/buttongroup.png +share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png +share/doc/qt2/html/designer/figures/checkbox.png +share/doc/qt2/html/designer/figures/combobox.png +share/doc/qt2/html/designer/figures/connectionedit.png +share/doc/qt2/html/designer/figures/connections.png +share/doc/qt2/html/designer/figures/connectionviewer.png +share/doc/qt2/html/designer/figures/connecttool.png +share/doc/qt2/html/designer/figures/customwidget.png +share/doc/qt2/html/designer/figures/customwidgets.png +share/doc/qt2/html/designer/figures/editcopy.png +share/doc/qt2/html/designer/figures/editcustomwidgets.png +share/doc/qt2/html/designer/figures/editcut.png +share/doc/qt2/html/designer/figures/editdelete.png +share/doc/qt2/html/designer/figures/editgrid.png +share/doc/qt2/html/designer/figures/edithlayout.png +share/doc/qt2/html/designer/figures/editiconview.png +share/doc/qt2/html/designer/figures/editlistbox.png +share/doc/qt2/html/designer/figures/editlistview.png +share/doc/qt2/html/designer/figures/editlower.png +share/doc/qt2/html/designer/figures/editmultiline.png +share/doc/qt2/html/designer/figures/editpaste.png +share/doc/qt2/html/designer/figures/editraise.png +share/doc/qt2/html/designer/figures/editslots.png +share/doc/qt2/html/designer/figures/emptydialog.png +share/doc/qt2/html/designer/figures/f001.png +share/doc/qt2/html/designer/figures/filenew.png +share/doc/qt2/html/designer/figures/filesave.png +share/doc/qt2/html/designer/figures/firstdialog.png +share/doc/qt2/html/designer/figures/form.png +share/doc/qt2/html/designer/figures/formsettings.png +share/doc/qt2/html/designer/figures/fourcheckboxes.png +share/doc/qt2/html/designer/figures/frame.png +share/doc/qt2/html/designer/figures/groupbox.png +share/doc/qt2/html/designer/figures/help.png +share/doc/qt2/html/designer/figures/helpdialog.png +share/doc/qt2/html/designer/figures/home.png +share/doc/qt2/html/designer/figures/iconview.png +share/doc/qt2/html/designer/figures/image.png +share/doc/qt2/html/designer/figures/label.png +share/doc/qt2/html/designer/figures/layout.png +share/doc/qt2/html/designer/figures/layouttutstep1.png +share/doc/qt2/html/designer/figures/layouttutstep10.png +share/doc/qt2/html/designer/figures/layouttutstep11.png +share/doc/qt2/html/designer/figures/layouttutstep2.png +share/doc/qt2/html/designer/figures/layouttutstep3.png +share/doc/qt2/html/designer/figures/layouttutstep4.png +share/doc/qt2/html/designer/figures/layouttutstep5.png +share/doc/qt2/html/designer/figures/layouttutstep6.png +share/doc/qt2/html/designer/figures/layouttutstep7.png +share/doc/qt2/html/designer/figures/layouttutstep9.png +share/doc/qt2/html/designer/figures/lcdnumber.png +share/doc/qt2/html/designer/figures/left.png +share/doc/qt2/html/designer/figures/line.png +share/doc/qt2/html/designer/figures/lineedit.png +share/doc/qt2/html/designer/figures/listbox.png +share/doc/qt2/html/designer/figures/listview.png +share/doc/qt2/html/designer/figures/load.png +share/doc/qt2/html/designer/figures/multilineedit.png +share/doc/qt2/html/designer/figures/newform.png +share/doc/qt2/html/designer/figures/newformdialog.png +share/doc/qt2/html/designer/figures/objecthierarchy.png +share/doc/qt2/html/designer/figures/onecheckbox.png +share/doc/qt2/html/designer/figures/ordertool.png +share/doc/qt2/html/designer/figures/paletteeditor.png +share/doc/qt2/html/designer/figures/pixlabel.png +share/doc/qt2/html/designer/figures/pizza1screenshot.png +share/doc/qt2/html/designer/figures/pointer.png +share/doc/qt2/html/designer/figures/preferences.png +share/doc/qt2/html/designer/figures/print.png +share/doc/qt2/html/designer/figures/progress.png +share/doc/qt2/html/designer/figures/pushbutton.png +share/doc/qt2/html/designer/figures/qtlogo.png +share/doc/qt2/html/designer/figures/radiobutton.png +share/doc/qt2/html/designer/figures/redo.png +share/doc/qt2/html/designer/figures/right.png +share/doc/qt2/html/designer/figures/slider.png +share/doc/qt2/html/designer/figures/slots.png +share/doc/qt2/html/designer/figures/spacer.png +share/doc/qt2/html/designer/figures/spinbox.png +share/doc/qt2/html/designer/figures/startup.png +share/doc/qt2/html/designer/figures/taborderform.png +share/doc/qt2/html/designer/figures/tabwidget.png +share/doc/qt2/html/designer/figures/testmode.png +share/doc/qt2/html/designer/figures/textbrowser.png +share/doc/qt2/html/designer/figures/textview.png +share/doc/qt2/html/designer/figures/title.png +share/doc/qt2/html/designer/figures/toolbutton.png +share/doc/qt2/html/designer/figures/topicchooser.png +share/doc/qt2/html/designer/figures/undo.png +share/doc/qt2/html/designer/figures/vlayout.png +share/doc/qt2/html/designer/figures/whatsthis.png +share/doc/qt2/html/designer/part1index.html +share/doc/qt2/html/designer/part2index.html +share/doc/qt2/html/designer/preface.html +share/qt2/designer/templates/Configuration_Dialog.ui +share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui +share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui +share/qt2/designer/templates/Tab-Dialog.ui +@dirrm share/doc/qt2/html/designer/figures +@dirrm share/doc/qt2/html/designer/arrows +@dirrm share/doc/qt2/html/designer +@dirrm share/qt2/designer/templates +@dirrm share/qt2/designer +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true diff --git a/x11-toolkits/qt22/Makefile b/x11-toolkits/qt22/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt22/Makefile +++ b/x11-toolkits/qt22/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt22/distinfo b/x11-toolkits/qt22/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt22/distinfo +++ b/x11-toolkits/qt22/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt22/files/patch-ak b/x11-toolkits/qt22/files/patch-ak deleted file mode 100644 index 7d9087256be1..000000000000 --- a/x11-toolkits/qt22/files/patch-ak +++ /dev/null @@ -1,23 +0,0 @@ -diff -ur include/qfont.h include/qfont.h ---- include/qfont.h Wed Oct 4 13:48:48 2000 -+++ include/qfont.h Mon Oct 9 11:53:48 2000 -@@ -70,6 +70,9 @@ - ISO_8859_14, Latin8 = ISO_8859_14, - ISO_8859_15, Latin9 = ISO_8859_15, - KOI8R, -+ KOI8U, -+ CP_1251, -+ PT_154, - Set_Ja, Set_1 = Set_Ja, - Set_Ko, - Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, diff --git a/x11-toolkits/qt22/files/patch-al b/x11-toolkits/qt22/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt22/files/patch-al +++ b/x11-toolkits/qt22/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt22/files/patch-am b/x11-toolkits/qt22/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt22/files/patch-am +++ b/x11-toolkits/qt22/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt22/files/patch-an b/x11-toolkits/qt22/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt22/files/patch-an +++ b/x11-toolkits/qt22/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt22/files/patch-ao b/x11-toolkits/qt22/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt22/files/patch-ao +++ b/x11-toolkits/qt22/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt22/files/patch-aq b/x11-toolkits/qt22/files/patch-aq deleted file mode 100644 index 4fd9441cb7a1..000000000000 --- a/x11-toolkits/qt22/files/patch-aq +++ /dev/null @@ -1,75 +0,0 @@ -diff -ur src/tools/qtextcodec.cpp src/tools/qtextcodec.cpp ---- src/tools/qtextcodec.cpp Wed Oct 4 13:48:51 2000 -+++ src/tools/qtextcodec.cpp Mon Oct 9 11:53:48 2000 -@@ -451,7 +451,7 @@ - "eo", 0 }; - - static const char * const iso8859_5locales[] = { -- "bg", "bg_BG", "bulgarian", "mk", "mk_MK", -+ "mk", "mk_MK", - "sp", "sp_YU", 0 }; - - static const char * const iso8859_6locales[] = { -@@ -470,7 +470,14 @@ - "fr", "fi", "french", "finnish", 0 }; - - static const char * const koi8_ulocales[] = { - "uk", "uk_UA", "ru_UA", "ukrainian", 0 }; -+ -+static const char * const cp_1251locales[] = { -+ "be", "be_BY", "bg", "bg_BG", "bulgarian", 0 }; -+ -+static const char * const pt_154locales[] = { -+ "ba_RU", "ky", "ky_KG", "kk", "kk_KZ", 0 }; -+ - - - static bool try_locale_list( const char * const locale[], const char * lang ) -@@ -589,7 +596,11 @@ - localeMapper = codecForName( "ISO 8859-15" ); - else if ( try_locale_list( koi8_ulocales, lang ) ) - localeMapper = codecForName( "KOI8-U" ); -- else if ( try_locale_list( probably_koi8_rlocales, lang ) ) -+ else if ( try_locale_list( cp_1251locales, lang ) ) -+ localeMapper = codecForName( "CP 1251" ); -+ else if ( try_locale_list( pt_154locales, lang ) ) -+ localeMapper = codecForName( "PT 154" ); -+ else if ( try_locale_list( probably_koi8_rlocales, lang ) ) - localeMapper = ru_RU_hack( lang ); - else if (!lang || !(localeMapper = codecForName(lang) )) - localeMapper = codecForName( "ISO 8859-1" ); -@@ -1626,6 +1637,23 @@ - 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, - 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, - 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F} }, -+ { "PT 154", 0, // unknown mib -+ { 0x0496, 0x0492, 0x201A, 0x0493, 0x201E, 0x2026, 0x2020, 0x04AE, -+ 0x04B2, 0x04AF, 0x04A0, 0x2039, 0x04A2, 0x049A, 0x04BA, 0x04B8, -+ 0x0497, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, -+ 0x04B3, 0x2122, 0x04A1, 0x203A, 0x04A3, 0x049B, 0x04BB, 0x04B9, -+ 0x00A0, 0x040E, 0x045E, 0x0408, 0x04E8, 0x0498, 0x04B0, 0x00A7, -+ 0x0401, 0x00A9, 0x04D8, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x049C, -+ 0x00B0, 0x04B1, 0x0406, 0x0456, 0x0499, 0x04E9, 0x00B6, 0x00B7, -+ 0x0451, 0x2116, 0x04D9, 0x00BB, 0x0458, 0x04AA, 0x04AB, 0x049D, -+ 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, -+ 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, -+ 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, -+ 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, -+ 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, -+ 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, -+ 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, -+ 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F} }, - { "CP 1252", 2252, - { 0x20AC, 0xFFFD, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, - 0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, 0xFFFD, 0x017D, 0xFFFD, -@@ -1878,7 +1906,10 @@ - if( !i ) - i = simpleHeuristicNameMatch("tis-620", hint); - if( i ) return i; -- } -+ } else if (( hint[0]=='m' ) && ( QCString(hint) == "microsoft-cp1251" )) -+ return QTextCodec::heuristicNameMatch("cp1251"); -+ else if (( hint[0]=='w' ) && ( QCString(hint) == "windows-1251" )) -+ return QTextCodec::heuristicNameMatch("cp1251")-1; - return QTextCodec::heuristicNameMatch(hint); - } diff --git a/x11-toolkits/qt22/files/patch-designer::Makefile.in b/x11-toolkits/qt22/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt22/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt22/pkg-plist b/x11-toolkits/qt22/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt22/pkg-plist +++ b/x11-toolkits/qt22/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt23/Makefile +++ b/x11-toolkits/qt23/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt23/distinfo b/x11-toolkits/qt23/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt23/distinfo +++ b/x11-toolkits/qt23/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt23/files/patch-al b/x11-toolkits/qt23/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt23/files/patch-al +++ b/x11-toolkits/qt23/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt23/files/patch-am b/x11-toolkits/qt23/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt23/files/patch-am +++ b/x11-toolkits/qt23/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt23/files/patch-an b/x11-toolkits/qt23/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt23/files/patch-an +++ b/x11-toolkits/qt23/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt23/files/patch-ao b/x11-toolkits/qt23/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt23/files/patch-ao +++ b/x11-toolkits/qt23/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt23/files/patch-designer::Makefile.in b/x11-toolkits/qt23/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt23/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt23/pkg-plist b/x11-toolkits/qt23/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt23/pkg-plist +++ b/x11-toolkits/qt23/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 diff --git a/x11-toolkits/qt30/Makefile b/x11-toolkits/qt30/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt30/Makefile +++ b/x11-toolkits/qt30/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt30/distinfo b/x11-toolkits/qt30/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt30/distinfo +++ b/x11-toolkits/qt30/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt30/files/patch-al b/x11-toolkits/qt30/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt30/files/patch-al +++ b/x11-toolkits/qt30/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt30/files/patch-am b/x11-toolkits/qt30/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt30/files/patch-am +++ b/x11-toolkits/qt30/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt30/files/patch-an b/x11-toolkits/qt30/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt30/files/patch-an +++ b/x11-toolkits/qt30/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt30/files/patch-ao b/x11-toolkits/qt30/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt30/files/patch-ao +++ b/x11-toolkits/qt30/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt30/files/patch-designer::Makefile.in b/x11-toolkits/qt30/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt30/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt30/pkg-plist b/x11-toolkits/qt30/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt30/pkg-plist +++ b/x11-toolkits/qt30/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 diff --git a/x11-toolkits/qt31/Makefile b/x11-toolkits/qt31/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt31/Makefile +++ b/x11-toolkits/qt31/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt31/distinfo b/x11-toolkits/qt31/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt31/distinfo +++ b/x11-toolkits/qt31/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt31/files/patch-al b/x11-toolkits/qt31/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt31/files/patch-al +++ b/x11-toolkits/qt31/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt31/files/patch-am b/x11-toolkits/qt31/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt31/files/patch-am +++ b/x11-toolkits/qt31/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt31/files/patch-an b/x11-toolkits/qt31/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt31/files/patch-an +++ b/x11-toolkits/qt31/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt31/files/patch-ao b/x11-toolkits/qt31/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt31/files/patch-ao +++ b/x11-toolkits/qt31/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt31/files/patch-designer::Makefile.in b/x11-toolkits/qt31/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt31/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt31/pkg-plist b/x11-toolkits/qt31/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt31/pkg-plist +++ b/x11-toolkits/qt31/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 diff --git a/x11-toolkits/qt32/Makefile b/x11-toolkits/qt32/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt32/Makefile +++ b/x11-toolkits/qt32/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt32/distinfo b/x11-toolkits/qt32/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt32/distinfo +++ b/x11-toolkits/qt32/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt32/files/patch-al b/x11-toolkits/qt32/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt32/files/patch-al +++ b/x11-toolkits/qt32/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt32/files/patch-am b/x11-toolkits/qt32/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt32/files/patch-am +++ b/x11-toolkits/qt32/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt32/files/patch-an b/x11-toolkits/qt32/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt32/files/patch-an +++ b/x11-toolkits/qt32/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt32/files/patch-ao b/x11-toolkits/qt32/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt32/files/patch-ao +++ b/x11-toolkits/qt32/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt32/files/patch-designer::Makefile.in b/x11-toolkits/qt32/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt32/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt32/pkg-plist b/x11-toolkits/qt32/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt32/pkg-plist +++ b/x11-toolkits/qt32/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index d3b51d11abb5..609e773174d6 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -5,19 +5,12 @@ # $FreeBSD$ # -PORTNAME= qt -PORTVERSION= 2.2.3 -PORTREVISION= 3 -CATEGORIES= x11-toolkits +PORTNAME?= qt +PORTVERSION?= 2.2.4 +CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ DISTNAME= qt-x11-${PORTVERSION} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) -PATCHFILES= qt-aa-${PORTVERSION}.diff.gz -PATCH_SITES= ${MASTER_SITE_LOCAL} -PATCH_SITE_SUBDIR= will -.endif - MAINTAINER= will@FreeBSD.org LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ @@ -26,26 +19,27 @@ LIB_DEPENDS= mng.0:${PORTSDIR}/graphics/libmng \ YES?= /usr/bin/yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USE_MESA= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_NEWGCC= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= -system-zlib -system-libpng -system-jpeg -sm -gif \ - -system-libmng -thread -no-opengl \ + -system-libmng -thread \ -I${LOCALBASE}/include -L${LOCALBASE}/lib CONFIGURE_ENV= ${YES} yes | QTDIR=${WRKSRC} .if defined(MAKE_JOBS) MAKE_ARGS+= MAKE="${GMAKE} -j${MAKE_JOBS}" -.else -MAKE_ARGS+= MAKE="${GMAKE} -j2" .endif -MAKE_ENV= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib CONFIG= ${WRKSRC}/configs/freebsd-g++-${STATIC} .if !defined(NOPORTDOCS) +.if (${PORTNAME} == "qt") .include "${.CURDIR}/files/manpages" .endif +.endif .if defined(WANT_STATIC) STATIC=static @@ -68,30 +62,25 @@ pre-fetch: .endif pre-configure: - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,gcc,${CC},g" -e "s,g\+\+,${CXX},g" -e "s,/usr/X11R6,${X11BASE},g" \ - -e "s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG}.new > ${CONFIG} -.if exists(${X11BASE}/lib/libXft.so) && !defined(NO_AA) - @${CP} ${CONFIG} ${CONFIG}.new - ${SED} -e "s,= -lXext,= -lXft -lXext,g" -e "s,QT= -I,QT= -DQT_XFT -I,g" \ - ${CONFIG}.new > ${CONFIG} -.endif - ${CP} ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/Makefile.in.new - ${SED} -e "s,VER_MAJ = 2,VER_MAJ = 4,g" -e "s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in.new > ${WRKSRC}/src/Makefile.in + ${PERL} -pi -e "s,gcc,${CC},g; s,g\+\+,${CXX},g; \ + s,/usr/X11R6,${X11BASE},g; \ + s,-pipe -O2,${CXXFLAGS} -frerun-cse-after-loop,g" ${CONFIG} + ${PERL} -pi -e "s,VER_MAJ = 2,VER_MAJ = 4,g; \ + s,TARGET = qt,TARGET = qt2,g" ${WRKSRC}/src/Makefile.in ${PERL} -pi -e "s@TARGET\t= moc@TARGET = moc2@g" ${WRKSRC}/src/moc/Makefile.in - ${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.new - ${SED} -e "s,rm -f bin/moc,rm -f bin/moc2,g" -e "s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g" \ - -e "s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ - ${WRKSRC}/Makefile.new > ${WRKSRC}/Makefile - ${PERL} -pi -e "s@-L../lib@-L${WRKSRC}/lib@g" ${WRKSRC}/tools/designer/uic/Makefile.in + ${PERL} -pi -e "s,rm -f bin/moc,rm -f bin/moc2,g; \ + s,cp src/moc/moc bin/moc,cp src/moc/moc2 bin/moc2,g; \ + s,symlinks src-moc src-mt sub-src sub-tools sub-tutorial sub-examples,symlinks src-moc src-mt sub-src sub-tools,g" \ + ${WRKSRC}/Makefile post-configure: @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} symlinks) +# XXX: This target looks like crap now. do-install: +.if (${PORTNAME} == "qt") ${MKDIR} ${PREFIX}/include/qt2 - ${MKDIR} ${PREFIX}/share/qt2/designer/templates -.for BIN in designer moc2 uic +.for BIN in moc2 uic ${INSTALL_PROGRAM} ${WRKSRC}/bin/${BIN} ${PREFIX}/bin .endfor .for SCRIPT in findtr qt20fix qtrename140 @@ -99,38 +88,41 @@ do-install: .endfor ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qt2 .if !defined(WANT_STATIC) - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2.so.4 ${PREFIX}/lib - ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqt2-mt.so.4 ${PREFIX}/lib +.for LIB in qt2 qt2-mt + ${INSTALL_PROGRAM} ${WRKSRC}/lib/lib${LIB}.so.4 ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/lib${LIB}.so.4 ${PREFIX}/lib/lib${LIB}.so +.endfor ${INSTALL_PROGRAM} ${WRKSRC}/lib/libqutil.so.1 ${PREFIX}/lib - ${LN} -sf ${PREFIX}/lib/libqt2-mt.so.4 ${PREFIX}/lib//libqt2-mt.so - ${LN} -sf ${PREFIX}/lib/libqt2.so.4 ${PREFIX}/lib/libqt2.so ${LN} -sf ${PREFIX}/lib/libqutil.so.1 ${PREFIX}/lib/libqutil.so .else .for LIB in qt2 qutil ${INSTALL_DATA} ${WRKSRC}/lib/lib${LIB}.a ${PREFIX}/lib .endfor .endif - ${INSTALL_DATA} ${WRKSRC}/tools/designer/templates/* \ - ${PREFIX}/share/qt2/designer/templates .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/qt2 - (cd ${WRKSRC} ; \ - ${INSTALL_DATA} ANNOUNCE ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} FAQ ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} LICENSE.QPL ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} PORTING ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README ${PREFIX}/share/doc/qt2 ; \ - ${INSTALL_DATA} README.QT ${PREFIX}/share/doc/qt2 ; \ - ( cd ${WRKSRC}/doc && ${TAR} -chf - html | \ - ${TAR} --unlink -xf - -C ${PREFIX}/share/doc/qt2 ) ; \ - ${INSTALL_MAN} doc/man/man3/q* ${PREFIX}/man/man3 ) + ${MKDIR} ${PREFIX}/share/doc/qt2/html +.for FILE in ANNOUNCE FAQ PORTING README README.QT + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/share/doc/qt2 +.endfor +.for SUFFIX in g1n html png + (for FILE in ${WRKSRC}/doc/html/*.${SUFFIX}; do \ + ${INSTALL_DATA} $$FILE ${PREFIX}/share/doc/qt2/html; done) +.endfor +.for FILE in index titleindex propertyindex whatsthis + ${INSTALL_DATA} ${WRKSRC}/doc/html/${FILE} ${PREFIX}/share/doc/qt2/html +.endfor + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/q* ${PREFIX}/man/man3 +.endif .endif .if defined(WANT_STATIC) +.if (${PORTNAME} == "qt") post-install: ${CP} ${TMPPLIST} ${TMPPLIST}.new - ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" -e "s/libqutil\.so/libqutil.a/" \ - -e "s/.*libqutil\.a\.\d\n//" ${TMPPLIST}.new > ${TMPPLIST} + ${SED} -e "s/libqt2\/.so/libqt2\.a/" -e "s/.*libqt2\.a\.\d\n//" \ + -e "s/libqutil\.so/libqutil.a/" -e "s/.*libqutil\.a\.\d\n//" \ + ${TMPPLIST}.new > ${TMPPLIST} +.endif .endif .include <bsd.port.mk> diff --git a/x11-toolkits/qt33/distinfo b/x11-toolkits/qt33/distinfo index 2d9f30cfc960..88b10c614ba0 100644 --- a/x11-toolkits/qt33/distinfo +++ b/x11-toolkits/qt33/distinfo @@ -1,2 +1 @@ -MD5 (qt-x11-2.2.3.tar.gz) = 964ca0e7e641271a2f5706a0e4383fcf -MD5 (qt-aa-2.2.3.diff.gz) = 027a296235e541d78d72ff99b4a86515 +MD5 (qt-x11-2.2.4.tar.gz) = 0a5cb173ded05c6b6ea620396d16889d diff --git a/x11-toolkits/qt33/files/patch-al b/x11-toolkits/qt33/files/patch-al index a7a86c62bc89..3be06c07aa42 100644 --- a/x11-toolkits/qt33/files/patch-al +++ b/x11-toolkits/qt33/files/patch-al @@ -1,31 +1,24 @@ -diff -ur src/kernel/qfont.cpp src/kernel/qfont.cpp ---- src/kernel/qfont.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.cpp Mon Oct 9 11:53:48 2000 -@@ -200,6 +200,8 @@ - <li> \c QFont::KOI8U - KOI8-U, Cyrillic/Ukrainian, defined in - <a href="ftp://ftp.nordu.net/rfc/rfc2319.txt">RFC 2319.</a> +--- src/kernel/qfont.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.cpp.new Sat Feb 3 16:15:05 2001 +@@ -202,6 +202,8 @@ + <li> \c QFont::CP1251, Microsoft Cyrillic encoding + <li> \c QFont::PT154, Paratype Asian Cyrillic encoding <li> \c QFont::AnyCharSet - whatever is handiest. + <li> \c QFont::CP_1251, Microsoft Cyrillic encoding + <li> \c QFont::PT_154, Paratype Asian Cyrillic encoding <li> \c QFont::Set_Ja, Japanese <li> \c QFont::Set_Ko, Korean <li> \c QFont::Set_Th_TH -@@ -1016,11 +1018,16 @@ - result = "iso8859-15"; - break; - case QFont::KOI8R: -- result = "KOI8-R"; -+ result = "koi8-r"; - break; +@@ -1023,6 +1025,12 @@ case QFont::KOI8U: -- result = "KOI8-U"; -+ result = "koi8-u"; + result = "koi8-u"; break; + case QFont::CP_1251: -+ result = "cp1251"; -+ break; ++ result = "cp1251"; ++ break; + case QFont::PT_154: -+ result = "pt154"; ++ result = "pt154"; ++ break; case QFont::Set_Ja: result = "Set_Ja"; break; diff --git a/x11-toolkits/qt33/files/patch-am b/x11-toolkits/qt33/files/patch-am index bea22e3b5906..0df46e135e46 100644 --- a/x11-toolkits/qt33/files/patch-am +++ b/x11-toolkits/qt33/files/patch-am @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont.h src/kernel/qfont.h ---- src/kernel/qfont.h Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont.h Mon Oct 9 11:53:48 2000 +--- src/kernel/qfont.h Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont.h.new Sat Feb 3 16:06:47 2001 @@ -70,6 +70,9 @@ ISO_8859_14, Latin8 = ISO_8859_14, ISO_8859_15, Latin9 = ISO_8859_15, @@ -11,13 +10,11 @@ diff -ur src/kernel/qfont.h src/kernel/qfont.h Set_Ja, Set_1 = Set_Ja, Set_Ko, Set_Th_TH, -@@ -96,8 +99,7 @@ - KSC_5601, - GB_2312, - Big5, -- TSCII, -- KOI8U -+ TSCII - }; - enum StyleHint { Helvetica, Times, Courier, OldEnglish, System, AnyStyle, - SansSerif = Helvetica, +@@ -87,7 +90,6 @@ + Set_Big5, + + TSCII, +- KOI8U, + CP1251, + PT154, + /* The following are font-specific encodings that diff --git a/x11-toolkits/qt33/files/patch-an b/x11-toolkits/qt33/files/patch-an index 74b1d0cfa126..b3a5f30703bb 100644 --- a/x11-toolkits/qt33/files/patch-an +++ b/x11-toolkits/qt33/files/patch-an @@ -1,6 +1,5 @@ -diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp ---- src/kernel/qfont_x11.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfont_x11.cpp Mon Oct 9 11:59:36 2000 +--- src/kernel/qfont_x11.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfont_x11.cpp.new Sat Feb 3 16:22:47 2001 @@ -324,6 +324,9 @@ { "ISO 8859-14", QFont::ISO_8859_14 }, { "ISO 8859-15", QFont::ISO_8859_15 }, @@ -11,15 +10,7 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp { "eucJP", QFont::Set_Ja }, { "SJIS", QFont::Set_Ja }, { "JIS7", QFont::Set_Ja }, -@@ -337,7 +340,6 @@ - { "Big5", QFont::Set_Big5 }, - { "ta_TA.TSCII", QFont::TSCII }, - { "TSCII", QFont::TSCII }, -- { "KOI8-U", QFont::KOI8U }, - { 0, /* anything */ QFont::ISO_8859_1 } - }; - -@@ -513,6 +515,12 @@ +@@ -522,6 +525,12 @@ } else if( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && strcmp( tokens[CharsetEncoding], "u" ) == 0) { fd->charSet = QFont::KOI8U; @@ -32,29 +23,22 @@ diff -ur src/kernel/qfont_x11.cpp src/kernel/qfont_x11.cpp } else if( qstrcmp( tokens[CharsetRegistry], "tscii" ) == 0 && qstrcmp( tokens[CharsetEncoding], "0" ) == 0 ) { fd->charSet = QFont::TSCII; -@@ -1424,11 +1432,23 @@ - else - exactMatch = FALSE; - } else if ( charSet() == KOI8U ) { -- if ( strcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -- strcmp( tokens[CharsetEncoding], "u" ) == 0 ) -+ if ( qstrcmp( tokens[CharsetRegistry], "koi8" ) == 0 && -+ qstrcmp( tokens[CharsetEncoding], "u" ) == 0 ) +@@ -1435,6 +1444,18 @@ score |= CharSetScore; else exactMatch = FALSE; + } else if ( charSet() == CP_1251 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp1251" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "1251" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; + } else if ( charSet() == PT_154 ) { -+ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || -+ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) -+ score |= CharSetScore; -+ else -+ exactMatch = FALSE; ++ if (qstrcmp( tokens[CharsetEncoding], "cp154" ) == 0 || ++ qstrcmp( tokens[CharsetEncoding], "154" ) == 0) ++ score |= CharSetScore; ++ else ++ exactMatch = FALSE; } else if ( qstrcmp( tokens[CharsetRegistry], "iso8859" ) == 0 && charSet() >= ISO_8859_1 && charSet() <= ISO_8859_15 ) { int i = 0; diff --git a/x11-toolkits/qt33/files/patch-ao b/x11-toolkits/qt33/files/patch-ao index 58e5fd9dff99..f26c1d1e80dc 100644 --- a/x11-toolkits/qt33/files/patch-ao +++ b/x11-toolkits/qt33/files/patch-ao @@ -1,24 +1,6 @@ -diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp ---- src/kernel/qfontdatabase.cpp Wed Oct 4 13:48:48 2000 -+++ src/kernel/qfontdatabase.cpp Mon Oct 9 12:03:01 2000 -@@ -1280,9 +1280,15 @@ - (qstrcmp( encoding, "r" ) == 0 || - qstrcmp( encoding, "1" ) == 0) ) { - return QFont::KOI8R; -- } else if ( strcmp( registry, "koi8" ) == 0 && -+ } else if ( qstrcmp( registry, "koi8" ) == 0 && - qstrcmp( encoding, "u" ) == 0) { - return QFont::KOI8U; -+ } else if ( qstrcmp( encoding, "cp1251" ) == 0 || -+ qstrcmp( encoding, "1251" ) == 0) { -+ return QFont::CP_1251; -+ } else if ( qstrcmp( encoding, "cp154" ) == 0 || -+ qstrcmp( encoding, "154" ) == 0) { -+ return QFont::PT_154; - } else if ( qstrcmp( registry, "tscii" ) == 0 && - qstrcmp( encoding, "0" ) == 0 ) { - return QFont::TSCII; -@@ -1334,6 +1340,14 @@ +--- src/kernel/qfontdatabase.cpp Wed Jan 31 21:26:40 2001 ++++ src/kernel/qfontdatabase.cpp.new Sat Feb 3 16:30:20 2001 +@@ -1343,6 +1343,14 @@ return QFont::KOI8R; if ( name == "koi8-u" ) return QFont::KOI8U; @@ -33,53 +15,19 @@ diff -ur src/kernel/qfontdatabase.cpp src/kernel/qfontdatabase.cpp if ( name == "tis620-0" ) return QFont::TIS620; if ( name == "tscii-0" ) -@@ -1380,6 +1394,10 @@ - return "koi8-r"; - case QFont::KOI8U: - return "koi8-u"; -+ case QFont::CP_1251: -+ return "microsoft-cp1251"; -+ case QFont::PT_154: -+ return "paratype-cp154"; - case QFont::Unicode: - return "iso10646-1"; - default: -@@ -1448,11 +1466,17 @@ - name = "French/Finnish/Euro(ISO 8859-15)"; - break; - case QFont::KOI8R: -- name = "Cyrillic (KOI8-R)"; -+ name = "Russian Cyrillic (KOI8-R)"; - break; - case QFont::KOI8U: -- name = "Ukrainian (KOI8-U)"; -+ name = "Ukrainian Cyrillic (KOI8-U)"; - break; -+ case QFont::CP_1251: -+ name = "Windows Cyrillic (CP 1251)"; -+ break; -+ case QFont::PT_154: -+ name = "Asian Cyrillic (PT 154)"; -+ break; - case QFont::TSCII: - name = "Tamil (TSCII)"; - break; -@@ -1571,6 +1595,18 @@ +@@ -1598,13 +1606,13 @@ sample += QChar(0x0436); sample += QChar(0x2560); break; +- case QFont::CP1251: + case QFont::CP_1251: -+ sample += QChar(0x0414); -+ sample += QChar(0x0490); -+ sample += QChar(0x040E); -+ sample += QChar(0x20AC); -+ break; + sample += QChar(0x0414); + sample += QChar(0x0490); + sample += QChar(0x040E); + sample += QChar(0x20AC); + break; +- case QFont::PT154: + case QFont::PT_154: -+ sample += QChar(0x0496); -+ sample += QChar(0x04E8); -+ sample += QChar(0x04D8); -+ sample += QChar(0x04AE); -+ break; - case QFont::Unicode: - sample = "Aa"; - sample += QChar(0x01A7); // Latin B + sample += QChar(0x0496); + sample += QChar(0x04E8); + sample += QChar(0x04D8); diff --git a/x11-toolkits/qt33/files/patch-designer::Makefile.in b/x11-toolkits/qt33/files/patch-designer::Makefile.in new file mode 100644 index 000000000000..f13ffe614aa8 --- /dev/null +++ b/x11-toolkits/qt33/files/patch-designer::Makefile.in @@ -0,0 +1,12 @@ +--- tools/designer/Makefile.in Wed Jan 31 21:29:47 2001 ++++ tools/designer/Makefile.in.new Sat Feb 3 18:05:34 2001 +@@ -6,8 +6,7 @@ + ############################################################################# + + SUBDIRS = util \ +- uic \ +- designer ++ uic + + all: + $(MAKE) util diff --git a/x11-toolkits/qt33/pkg-plist b/x11-toolkits/qt33/pkg-plist index 4089bfe38f70..9543422204e0 100644 --- a/x11-toolkits/qt33/pkg-plist +++ b/x11-toolkits/qt33/pkg-plist @@ -1,4 +1,3 @@ -bin/designer bin/findtr bin/moc2 bin/qt20fix @@ -284,21 +283,21 @@ include/qt2/qwmatrix.h include/qt2/qworkspace.h include/qt2/qxml.h include/qt2/qxt.h -lib/libqt2.so -lib/libqt2.so.4 lib/libqt2-mt.so lib/libqt2-mt.so.4 +lib/libqt2.so +lib/libqt2.so.4 lib/libqutil.so lib/libqutil.so.1 share/doc/qt2/ANNOUNCE share/doc/qt2/FAQ -share/doc/qt2/LICENSE.QPL share/doc/qt2/PORTING share/doc/qt2/README share/doc/qt2/README.QT share/doc/qt2/html/HOWTO-framebuffer.html share/doc/qt2/html/aboutqt.html share/doc/qt2/html/abstractwidgets.html +share/doc/qt2/html/accel.html share/doc/qt2/html/accelerators.html share/doc/qt2/html/aclock-main-cpp.html share/doc/qt2/html/action-main-cpp.html @@ -340,159 +339,6 @@ share/doc/qt2/html/debug.html share/doc/qt2/html/design.html share/doc/qt2/html/designer.html share/doc/qt2/html/designer.png -share/doc/qt2/html/designer/arrows/home.png -share/doc/qt2/html/designer/arrows/left.png -share/doc/qt2/html/designer/arrows/right.png -share/doc/qt2/html/designer/arrows/up.png -share/doc/qt2/html/designer/book1.html -share/doc/qt2/html/designer/chap10_1.html -share/doc/qt2/html/designer/chap1_1.html -share/doc/qt2/html/designer/chap2_1.html -share/doc/qt2/html/designer/chap2_2.html -share/doc/qt2/html/designer/chap2_3.html -share/doc/qt2/html/designer/chap2_4.html -share/doc/qt2/html/designer/chap3_1.html -share/doc/qt2/html/designer/chap3_2.html -share/doc/qt2/html/designer/chap3_3.html -share/doc/qt2/html/designer/chap3_4.html -share/doc/qt2/html/designer/chap4_1.html -share/doc/qt2/html/designer/chap4_2.html -share/doc/qt2/html/designer/chap5_1.html -share/doc/qt2/html/designer/chap5_2.html -share/doc/qt2/html/designer/chap5_3.html -share/doc/qt2/html/designer/chap5_4.html -share/doc/qt2/html/designer/chap5_5.html -share/doc/qt2/html/designer/chap5_6.html -share/doc/qt2/html/designer/chap6_1.html -share/doc/qt2/html/designer/chap6_2.html -share/doc/qt2/html/designer/chap6_3.html -share/doc/qt2/html/designer/chap6_4.html -share/doc/qt2/html/designer/chap6_5.html -share/doc/qt2/html/designer/chap6_6.html -share/doc/qt2/html/designer/chap6_7.html -share/doc/qt2/html/designer/chap7_1.html -share/doc/qt2/html/designer/chap7_10.html -share/doc/qt2/html/designer/chap7_11.html -share/doc/qt2/html/designer/chap7_12.html -share/doc/qt2/html/designer/chap7_13.html -share/doc/qt2/html/designer/chap7_14.html -share/doc/qt2/html/designer/chap7_15.html -share/doc/qt2/html/designer/chap7_16.html -share/doc/qt2/html/designer/chap7_2.html -share/doc/qt2/html/designer/chap7_3.html -share/doc/qt2/html/designer/chap7_4.html -share/doc/qt2/html/designer/chap7_5.html -share/doc/qt2/html/designer/chap7_6.html -share/doc/qt2/html/designer/chap7_7.html -share/doc/qt2/html/designer/chap7_8.html -share/doc/qt2/html/designer/chap7_9.html -share/doc/qt2/html/designer/chap8_1.html -share/doc/qt2/html/designer/chap9_1.html -share/doc/qt2/html/designer/chap9_2.html -share/doc/qt2/html/designer/chap9_3.html -share/doc/qt2/html/designer/chap9_4.html -share/doc/qt2/html/designer/chap9_5.html -share/doc/qt2/html/designer/chap9_6.html -share/doc/qt2/html/designer/colophon.html -share/doc/qt2/html/designer/feedback.html -share/doc/qt2/html/designer/figures/aboutdialog.png -share/doc/qt2/html/designer/figures/adjustsize.png -share/doc/qt2/html/designer/figures/breaklayout.png -share/doc/qt2/html/designer/figures/buttongroup.png -share/doc/qt2/html/designer/figures/buttongroupovercheckboxes.png -share/doc/qt2/html/designer/figures/checkbox.png -share/doc/qt2/html/designer/figures/combobox.png -share/doc/qt2/html/designer/figures/connectionedit.png -share/doc/qt2/html/designer/figures/connections.png -share/doc/qt2/html/designer/figures/connectionviewer.png -share/doc/qt2/html/designer/figures/connecttool.png -share/doc/qt2/html/designer/figures/customwidget.png -share/doc/qt2/html/designer/figures/customwidgets.png -share/doc/qt2/html/designer/figures/editcopy.png -share/doc/qt2/html/designer/figures/editcustomwidgets.png -share/doc/qt2/html/designer/figures/editcut.png -share/doc/qt2/html/designer/figures/editdelete.png -share/doc/qt2/html/designer/figures/editgrid.png -share/doc/qt2/html/designer/figures/edithlayout.png -share/doc/qt2/html/designer/figures/editiconview.png -share/doc/qt2/html/designer/figures/editlistbox.png -share/doc/qt2/html/designer/figures/editlistview.png -share/doc/qt2/html/designer/figures/editlower.png -share/doc/qt2/html/designer/figures/editmultiline.png -share/doc/qt2/html/designer/figures/editpaste.png -share/doc/qt2/html/designer/figures/editraise.png -share/doc/qt2/html/designer/figures/editslots.png -share/doc/qt2/html/designer/figures/emptydialog.png -share/doc/qt2/html/designer/figures/f001.png -share/doc/qt2/html/designer/figures/filenew.png -share/doc/qt2/html/designer/figures/filesave.png -share/doc/qt2/html/designer/figures/firstdialog.png -share/doc/qt2/html/designer/figures/form.png -share/doc/qt2/html/designer/figures/formsettings.png -share/doc/qt2/html/designer/figures/fourcheckboxes.png -share/doc/qt2/html/designer/figures/frame.png -share/doc/qt2/html/designer/figures/groupbox.png -share/doc/qt2/html/designer/figures/help.png -share/doc/qt2/html/designer/figures/helpdialog.png -share/doc/qt2/html/designer/figures/home.png -share/doc/qt2/html/designer/figures/iconview.png -share/doc/qt2/html/designer/figures/image.png -share/doc/qt2/html/designer/figures/label.png -share/doc/qt2/html/designer/figures/layout.png -share/doc/qt2/html/designer/figures/layouttutstep1.png -share/doc/qt2/html/designer/figures/layouttutstep10.png -share/doc/qt2/html/designer/figures/layouttutstep11.png -share/doc/qt2/html/designer/figures/layouttutstep2.png -share/doc/qt2/html/designer/figures/layouttutstep3.png -share/doc/qt2/html/designer/figures/layouttutstep4.png -share/doc/qt2/html/designer/figures/layouttutstep5.png -share/doc/qt2/html/designer/figures/layouttutstep6.png -share/doc/qt2/html/designer/figures/layouttutstep7.png -share/doc/qt2/html/designer/figures/layouttutstep9.png -share/doc/qt2/html/designer/figures/lcdnumber.png -share/doc/qt2/html/designer/figures/left.png -share/doc/qt2/html/designer/figures/line.png -share/doc/qt2/html/designer/figures/lineedit.png -share/doc/qt2/html/designer/figures/listbox.png -share/doc/qt2/html/designer/figures/listview.png -share/doc/qt2/html/designer/figures/load.png -share/doc/qt2/html/designer/figures/multilineedit.png -share/doc/qt2/html/designer/figures/newform.png -share/doc/qt2/html/designer/figures/newformdialog.png -share/doc/qt2/html/designer/figures/objecthierarchy.png -share/doc/qt2/html/designer/figures/onecheckbox.png -share/doc/qt2/html/designer/figures/ordertool.png -share/doc/qt2/html/designer/figures/paletteeditor.png -share/doc/qt2/html/designer/figures/pixlabel.png -share/doc/qt2/html/designer/figures/pizza1screenshot.png -share/doc/qt2/html/designer/figures/pointer.png -share/doc/qt2/html/designer/figures/preferences.png -share/doc/qt2/html/designer/figures/print.png -share/doc/qt2/html/designer/figures/progress.png -share/doc/qt2/html/designer/figures/pushbutton.png -share/doc/qt2/html/designer/figures/qtlogo.png -share/doc/qt2/html/designer/figures/radiobutton.png -share/doc/qt2/html/designer/figures/redo.png -share/doc/qt2/html/designer/figures/right.png -share/doc/qt2/html/designer/figures/slider.png -share/doc/qt2/html/designer/figures/slots.png -share/doc/qt2/html/designer/figures/spacer.png -share/doc/qt2/html/designer/figures/spinbox.png -share/doc/qt2/html/designer/figures/startup.png -share/doc/qt2/html/designer/figures/taborderform.png -share/doc/qt2/html/designer/figures/tabwidget.png -share/doc/qt2/html/designer/figures/testmode.png -share/doc/qt2/html/designer/figures/textbrowser.png -share/doc/qt2/html/designer/figures/textview.png -share/doc/qt2/html/designer/figures/title.png -share/doc/qt2/html/designer/figures/toolbutton.png -share/doc/qt2/html/designer/figures/topicchooser.png -share/doc/qt2/html/designer/figures/undo.png -share/doc/qt2/html/designer/figures/vlayout.png -share/doc/qt2/html/designer/figures/whatsthis.png -share/doc/qt2/html/designer/part1index.html -share/doc/qt2/html/designer/part2index.html -share/doc/qt2/html/designer/preface.html share/doc/qt2/html/desktop-desktop-cpp.html share/doc/qt2/html/dialogs.html share/doc/qt2/html/dirview-main-cpp.html @@ -504,13 +350,16 @@ share/doc/qt2/html/drawing.html share/doc/qt2/html/drawlines-connect-cpp.html share/doc/qt2/html/easteregg.html share/doc/qt2/html/easteregg2.html +share/doc/qt2/html/embedclasses.html share/doc/qt2/html/environment.html +share/doc/qt2/html/envvars.html share/doc/qt2/html/eventsandfilters.html share/doc/qt2/html/examples.html share/doc/qt2/html/face.png share/doc/qt2/html/features.html share/doc/qt2/html/fileiconview-main-cpp.html share/doc/qt2/html/focus.html +share/doc/qt2/html/fontdir.html share/doc/qt2/html/fonts-qws.html share/doc/qt2/html/forever-forever-cpp.html share/doc/qt2/html/frames.png @@ -872,6 +721,8 @@ share/doc/qt2/html/qfontdlg-w.png share/doc/qt2/html/qfontinfo-h.html share/doc/qt2/html/qfontinfo-members.html share/doc/qt2/html/qfontinfo.html +share/doc/qt2/html/qfontmanager-members.html +share/doc/qt2/html/qfontmanager_qws-h.html share/doc/qt2/html/qfontmetrics-h.html share/doc/qt2/html/qfontmetrics-members.html share/doc/qt2/html/qfontmetrics.html @@ -897,6 +748,9 @@ share/doc/qt2/html/qgdict-members.html share/doc/qt2/html/qgdict.html share/doc/qt2/html/qgdictiterator-members.html share/doc/qt2/html/qgdictiterator.html +share/doc/qt2/html/qgfx_qws-h.html +share/doc/qt2/html/qgfxraster_qws-h.html +share/doc/qt2/html/qgfxrasterbase-members.html share/doc/qt2/html/qgl-h.html share/doc/qt2/html/qgl-members.html share/doc/qt2/html/qgl.html @@ -1066,6 +920,8 @@ share/doc/qt2/html/qlnode.html share/doc/qt2/html/qlocalfs-h.html share/doc/qt2/html/qlocalfs-members.html share/doc/qt2/html/qlocalfs.html +share/doc/qt2/html/qlock-members.html +share/doc/qt2/html/qlock_qws-h.html share/doc/qt2/html/qmag-qmag-cpp.html share/doc/qt2/html/qmainwindow-h.html share/doc/qt2/html/qmainwindow-m.png @@ -1235,10 +1091,14 @@ share/doc/qt2/html/qregexp.html share/doc/qt2/html/qregion-h.html share/doc/qt2/html/qregion-members.html share/doc/qt2/html/qregion.html +share/doc/qt2/html/qrenderedfont-members.html share/doc/qt2/html/qresizeevent-members.html share/doc/qt2/html/qresizeevent.html share/doc/qt2/html/qscrbar-m.png share/doc/qt2/html/qscrbar-w.png +share/doc/qt2/html/qscreen-members.html +share/doc/qt2/html/qscreencursor-members.html +share/doc/qt2/html/qscreencursor.html share/doc/qt2/html/qscrollbar-h.html share/doc/qt2/html/qscrollbar-members.html share/doc/qt2/html/qscrollbar.html @@ -1677,26 +1537,21 @@ share/doc/qt2/html/tutorial.png share/doc/qt2/html/unicode.html share/doc/qt2/html/unsmooth.png share/doc/qt2/html/validator-main-cpp.html +share/doc/qt2/html/walkthroughs.html share/doc/qt2/html/whatsthis share/doc/qt2/html/whatsthis.png share/doc/qt2/html/winsystem.html share/doc/qt2/html/wizard-main-cpp.html share/doc/qt2/html/workspace.html share/doc/qt2/html/xform-xform-cpp.html +share/doc/qt2/html/xml-dom.html +share/doc/qt2/html/xml-sax-walkthrough.html share/doc/qt2/html/xml-sax.html +share/doc/qt2/html/xml-tagreader-tagreader-cpp.html +share/doc/qt2/html/xml-tagreader-with-features-tagreader-cpp.html share/doc/qt2/html/xml.html share/doc/qt2/html/xt.html share/doc/qt2/html/y2k.html -share/qt2/designer/templates/Configuration_Dialog.ui -share/qt2/designer/templates/Dialog_with_Buttons_(Bottom).ui -share/qt2/designer/templates/Dialog_with_Buttons_(Right).ui -share/qt2/designer/templates/Tab-Dialog.ui -@dirrm share/qt2/designer/templates -@dirrm share/qt2/designer -@dirrm share/qt2 -@dirrm share/doc/qt2/html/designer/figures -@dirrm share/doc/qt2/html/designer/arrows -@dirrm share/doc/qt2/html/designer -@dirrm share/doc/qt2/html -@dirrm share/doc/qt2 +@unexec /sbin/rm -rf %D/share/doc/qt2/html 2>/dev/null || true +@unexec /sbin/rm -rf %D/share/doc/qt2 2>/dev/null || true @dirrm include/qt2 |