pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11 Qt(TM) is a GUI software toolkit. Qt simplifies th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cdaeb9d3025
branches:  trunk
changeset: 508493:5cdaeb9d3025
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 20 12:07:12 2006 +0000

description:
Qt(TM) is a GUI software toolkit. Qt simplifies the task of writing and
maintaining GUI (graphical user interface) applications.

Qt is written in C++ and is fully object-oriented. It has everything you need
to create professional GUI applications. And it enables you to create them
quickly.

Qt is a multi-platform toolkit. When developing software with Qt, you can run
it on the X Window System (Unix/X11) or Microsoft Windows NT and Windows 95/98.
Simply recompile your source code on the platform you want.

Qt cuts down the complexity in implementing large and complex systems. Its
ingenious signal-slot technology enables true component programming.

diffstat:

 x11/qt4-docs/DESCR                    |    5 +
 x11/qt4-docs/Makefile                 |   17 +
 x11/qt4-docs/PLIST                    |    4 +
 x11/qt4-libs/DESCR                    |   13 +
 x11/qt4-libs/MESSAGE                  |   20 +
 x11/qt4-libs/Makefile                 |   69 ++
 x11/qt4-libs/Makefile.common          |  113 ++++
 x11/qt4-libs/PLIST                    |  848 ++++++++++++++++++++++++++++++++++
 x11/qt4-libs/buildlink3.mk            |   44 +
 x11/qt4-libs/distinfo                 |   13 +
 x11/qt4-libs/files/license-acceptance |    1 +
 x11/qt4-libs/files/qmake.conf         |   96 +++
 x11/qt4-libs/options.mk               |   20 +
 x11/qt4-libs/patches/patch-aa         |   13 +
 x11/qt4-libs/patches/patch-ab         |   13 +
 x11/qt4-libs/patches/patch-ac         |   13 +
 x11/qt4-libs/patches/patch-ad         |   22 +
 x11/qt4-libs/patches/patch-af         |   21 +
 x11/qt4-libs/patches/patch-ag         |   13 +
 x11/qt4-libs/patches/patch-ah         |   90 +++
 x11/qt4-libs/patches/patch-ai         |   85 +++
 x11/qt4-tools/DESCR                   |   13 +
 x11/qt4-tools/Makefile                |   49 +
 x11/qt4-tools/PLIST                   |  334 +++++++++++++
 x11/qt4-tools/buildlink3.mk           |   33 +
 x11/qt4/DESCR                         |    8 +
 x11/qt4/Makefile                      |   23 +
 x11/qt4/Makefile.common               |    6 +
 x11/qt4/PLIST                         |    2 +
 29 files changed, 2001 insertions(+), 0 deletions(-)

diffs (truncated from 2117 to 300 lines):

diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-docs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-docs/DESCR        Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,5 @@
+Documentation for the Qt(TM) C++ GUI software toolkit.
+
+Qt is a multi-platform toolkit. When developing software with Qt, you can run
+it on the X Window System (Unix/X11) or Microsoft Windows NT and Windows 95/98.
+Simply recompile your source code on the platform you want.
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-docs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-docs/Makefile     Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/20 12:09:27 adam Exp $
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME=       qt4-docs-${QTVERSION}
+COMMENT=       Documentation for the QT C++ X GUI toolkit
+
+NO_CONFIGURE=          yes
+NO_BUILD=              yes
+PLIST_SRC=             ${WRKDIR}/PLIST ${PKGDIR}/PLIST
+
+do-install:
+       ${CP} -R ${WRKSRC}/doc ${QTPREFIX}
+       cd ${PREFIX}; ${FIND} qt4/doc -type f -print > ${WRKDIR}/PLIST
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-docs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-docs/PLIST        Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/20 12:09:27 adam Exp $
+@dirrm qt4/doc/html/images
+@dirrm qt4/doc/html
+@dirrm qt4/doc
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-libs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/DESCR        Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,13 @@
+Qt(TM) is a GUI software toolkit. Qt simplifies the task of writing and
+maintaining GUI (graphical user interface) applications.
+
+Qt is written in C++ and is fully object-oriented. It has everything you need
+to create professional GUI applications. And it enables you to create them
+quickly.
+
+Qt is a multi-platform toolkit. When developing software with Qt, you can run
+it on the X Window System (Unix/X11) or Microsoft Windows NT and Windows 95/98.
+Simply recompile your source code on the platform you want.
+
+Qt cuts down the complexity in implementing large and complex systems. Its
+ingenious signal-slot technology enables true component programming.
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-libs/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/MESSAGE      Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,20 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2006/02/20 12:08:11 adam Exp $
+
+To allow this package to coexist with other versions of Qt
+it has been installed in ${PREFIX}/qt4/{bin,include,lib,doc}.
+
+You should be able to select this version of Qt when compiling
+programs which use it by ensuring that
+
+1) QTDIR is set to ${PREFIX}/qt4
+
+2) Use the "configure" argument "--with-qt-dir=${PREFIX}/qt4"
+
+3) you may also have to put ${PREFIX}/qt4/bin in your PATH
+
+To access Qt-4 man pages add ${PREFIX}/qt4/doc/man to your MANPATH
+environment variable.  Note that the Qt-4 man pages are installed
+here to avoid conflicts with man pages of other Qt versions.
+
+===========================================================================
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-libs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/Makefile     Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,69 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/02/20 12:08:15 adam Exp $
+
+.include "../../x11/qt4-libs/Makefile.common"
+
+PKGNAME=               qt4-libs-${QTVERSION}
+COMMENT=               C++ X GUI toolkit
+
+BUILD_TARGET=          sub-src
+PTHREAD_OPTS+=         require
+UNLIMIT_RESOURCES=     datasize
+BUILDLINK_PASSTHRU_DIRS+= ${QTPREFIX}
+
+do-install:
+       ${INSTALL_DATA_DIR} ${QTPREFIX}
+       ${INSTALL_PROGRAM_DIR} ${QTPREFIX}/bin
+.for prog in moc rcc uic
+       ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} ${QTPREFIX}/bin/
+.endfor
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/uic3 ${QTPREFIX}/bin/
+       ${INSTALL_DATA_DIR} ${QTPREFIX}/include
+.for inc in Qt Qt3Support QtCore QtGui QtNetwork QtOpenGL QtSql QtSvg QtXml
+       ${INSTALL_DATA_DIR} ${QTPREFIX}/include/${inc}
+       ${INSTALL_DATA} ${WRKSRC}/include/${inc}/q*.h ${QTPREFIX}/include/${inc}/
+.endfor
+       ${INSTALL_LIB_DIR} ${QTPREFIX}/lib
+.for lib in Qt3Support QtCore QtGui QtNetwork QtOpenGL QtSql QtSvg QtXml
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/lib${lib}.la \
+               ${QTPREFIX}/lib/
+       ${INSTALL_DATA} ${WRKSRC}/lib/${lib}.pc ${PREFIX}/lib/pkgconfig/
+.endfor
+       ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins
+       ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/accessible
+.for plug in qtaccessiblecompatwidgets qtaccessiblewidgets
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+               ${WRKSRC}/plugins/accessible/lib${plug}.la \
+               ${QTPREFIX}/plugins/accessible/
+.endfor
+       ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/codecs
+.for plug in qcncodecs qjpcodecs qkrcodecs qtwcodecs
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+               ${WRKSRC}/plugins/codecs/lib${plug}.la \
+               ${QTPREFIX}/plugins/codecs/
+.endfor
+       ${INSTALL_LIB_DIR} ${QTPREFIX}/plugins/imageformats/
+.for plug in qgif qjpeg qmng
+       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
+               ${WRKSRC}/plugins/imageformats/lib${plug}.la \
+               ${QTPREFIX}/plugins/imageformats/
+.endfor
+
+.if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*)
+SUBST_CLASSES+=                socklen
+SUBST_MESSAGE.socklen= Correcting socklen_t.
+SUBST_STAGE.socklen=   pre-configure
+SUBST_FILES.socklen=   mkspecs/darwin-g++/qplatformdefs.h
+SUBST_SED.socklen=     -e 's/QT_SOCKLEN_T.*/QT_SOCKLEN_T socklen_t/'
+.endif
+
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/mng/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/Xrandr/buildlink3.mk"
+.include "../../x11/xcursor/buildlink3.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-libs/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/Makefile.common      Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,113 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2006/02/20 12:08:11 adam Exp $
+
+DISTNAME=      qt-x11-opensource-src-${QTVERSION}
+CATEGORIES=    x11
+MASTER_SITES=  ftp://ftp.trolltech.com/qt/source/ \
+               ftp://ftp.bero.org/pub/qt/source/
+
+.include "../../x11/qt4/Makefile.common"
+
+DISTINFO_FILE= ${.CURDIR}/../../x11/qt4-libs/distinfo
+FILESDIR=      ${.CURDIR}/../../x11/qt4-libs/files
+PATCHDIR=      ${.CURDIR}/../../x11/qt4-libs/patches
+
+HAS_CONFIGURE=         yes
+USE_LANGUAGES=         c c++
+USE_LIBTOOL=           yes
+USE_TOOLS+=            gmake
+
+QTPREFIX=              ${PREFIX}/qt4
+
+CONFIGURE_ARGS+=       -prefix "${QTPREFIX}" -shared -sm
+CONFIGURE_ARGS+=       -no-sql-sqlite
+CONFIGURE_ARGS+=       -release
+CONFIGURE_ARGS+=       -system-libjpeg
+CONFIGURE_ARGS+=       -system-libmng
+CONFIGURE_ARGS+=       -system-libpng
+CONFIGURE_ARGS+=       -system-zlib
+CONFIGURE_ARGS+=       -qt-gif # qt4 does not write compressed GIFs
+CONFIGURE_ARGS+=       ${CFLAGS:M-I*} ${LDFLAGS:M-L*} ${LDFLAGS:M-Wl*:S/-Wl,//}
+CONFIGURE_ARGS.SunOS+= -no-xrender
+OPSYSVARS+=            CONFIGURE_ARGS
+CONFIGURE_ARGS+=       < ${FILESDIR}/license-acceptance
+
+LIBQT?=                        -lQtCore -lQtGui
+
+MAKE_ENV+=             QTPREFIX=${QTPREFIX:Q}
+MAKE_ENV+=             QTDIR=${WRKSRC:Q}
+
+# avoid creating a .qt directory in the users home directory
+SCRIPTS_ENV+=          HOME=${WRKDIR:Q}
+
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+=       -no-g++-exceptions
+.endif
+
+.if ${OPSYS} == "SunOS"
+CONFIGURE_SCRIPT=      ${SH} ./configure
+.  if !empty(CC_VERSION:Mgcc*)
+CONFIGURE_ARGS+=       -platform solaris-g++
+.  else
+CONFIGURE_ARGS+=       -platform solaris-cc
+.  endif
+SYS_LIBS=              -lresolv -lsocket -lnsl -lrt
+.elif ${OPSYS} == "Interix"
+CONFIGURE_ARGS+=       -platform interix-g++
+CFLAGS+=               -I/usr/local/include/bind
+LDFLAGS+=              -L/usr/local/lib/bind -lbind
+BUILDLINK_PASSTHRU_DIRS+=/usr/local/include/bind /usr/local/lib/bind
+SYS_LIBS=              -lbind -ldb -ldl
+.elif ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+=       -platform freebsd-g++
+.elif ${OPSYS} == "Darwin"
+QMAKE_RANLIB=          ${RANLIB}
+.  if exists(/usr/lib/libresolv.dylib)
+LDFLAGS+=              -lresolv
+.  endif
+.endif
+
+QMAKE_RANLIB?=         ${TRUE}
+
+.if !exists(${X11BASE}/lib/libXinerama.so)
+CONFIGURE_ARGS+=       -no-xinerama
+.endif
+
+.include "options.mk"
+
+# Reverse the change to how templates are handled made between 3.0.4
+# and 3.0.5 for older toolchains. Removing inline for newer toolchains
+# produces smaller code. Removing inline for older toolchains prod-
+# uces buggy code.
+.if !empty(CC_VERSION:Mgcc-2.8*)
+CXXFLAGS+=             -DQ_INLINE_TEMPLATES=inline
+.endif
+
+.include "../../mk/x11.buildlink3.mk"
+
+pre-configure:
+       ${SED}  -e 's:@LOCALBASE@:${LOCALBASE}:g' \
+               -e 's:@X11BASE@:${X11BASE}:g' \
+               -e 's:@X11PREFIX@:${X11PREFIX}:g' \
+               -e 's:@LIBTOOL@:${LIBTOOL}:g' \
+               -e 's:@CC@:${CC}:g' \
+               -e 's:@CXX@:${CXX}:g' \
+               -e 's:@LDFLAGS@:${LDFLAGS}:g' \
+               -e 's:@CFLAGS@:${CFLAGS}:g' \
+               -e 's:@CXXFLAGS@:${CXXFLAGS}:g' \
+               -e 's:@SYS_LIBS@:${SYS_LIBS}:g' \
+               -e 's:@LEX@:${LEX}:g' \
+               -e 's:@YACC@:${TOOLS_CMDLINE_YACC}:g' \
+               -e 's:@AR@:${AR}:g' \
+               -e 's:@MKDIR@:${MKDIR}:g' \
+               -e 's:@LIBQT@:${LIBQT}:g' \
+               -e 's:@PTHREAD_LDFLAGS@:${PTHREAD_LDFLAGS}:g' \
+               -e 's:@PTHREAD_LIBS@:${PTHREAD_LIBS}:g' \
+               -e 's:@COMPILER_RPATH_FLAG@:${COMPILER_RPATH_FLAG}:g' \
+               -e 's:@QMAKE_RANLIB@:${QMAKE_RANLIB}:g' \
+               ${FILESDIR}/qmake.conf > ${WRKSRC}/qmake.conf
+       for dir in ${WRKSRC}/mkspecs/*; do \
+               ${CP} ${WRKSRC}/qmake.conf $${dir}; \
+               ${RM} -f $${dir}/*.orig; \
+       done
diff -r 4133ece78ca5 -r 5cdaeb9d3025 x11/qt4-libs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/PLIST        Mon Feb 20 12:07:12 2006 +0000
@@ -0,0 +1,848 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/02/20 12:08:15 adam Exp $
+lib/pkgconfig/Qt3Support.pc
+lib/pkgconfig/QtCore.pc
+lib/pkgconfig/QtGui.pc
+lib/pkgconfig/QtNetwork.pc
+lib/pkgconfig/QtOpenGL.pc
+lib/pkgconfig/QtSql.pc
+lib/pkgconfig/QtSvg.pc
+lib/pkgconfig/QtXml.pc
+qt4/bin/moc
+qt4/bin/rcc
+qt4/bin/uic
+qt4/bin/uic3
+qt4/include/Qt/q3accel.h
+qt4/include/Qt/q3action.h
+qt4/include/Qt/q3asciicache.h
+qt4/include/Qt/q3asciidict.h
+qt4/include/Qt/q3boxlayout.h
+qt4/include/Qt/q3button.h
+qt4/include/Qt/q3buttongroup.h
+qt4/include/Qt/q3cache.h
+qt4/include/Qt/q3canvas.h
+qt4/include/Qt/q3cleanuphandler.h
+qt4/include/Qt/q3combobox.h
+qt4/include/Qt/q3cstring.h
+qt4/include/Qt/q3databrowser.h
+qt4/include/Qt/q3datatable.h



Home | Main Index | Thread Index | Old Index