[62579] trunk/dports/aqua/qt4-kde
sharky at macports.org
sharky at macports.org
Mon Jan 11 07:30:47 PST 2010
Revision: 62579
http://trac.macports.org/changeset/62579
Author: sharky at macports.org
Date: 2010-01-11 07:30:45 -0800 (Mon, 11 Jan 2010)
Log Message:
-----------
qt4-kde: remove obsolete port
Removed Paths:
-------------
trunk/dports/aqua/qt4-kde/Portfile
trunk/dports/aqua/qt4-kde/files/patch-compile.test.diff
trunk/dports/aqua/qt4-kde/files/patch-configure.diff
trunk/dports/aqua/qt4-kde/files/patch-mac.conf.diff
trunk/dports/aqua/qt4-kde/files/qt4-kde
Deleted: trunk/dports/aqua/qt4-kde/Portfile
===================================================================
--- trunk/dports/aqua/qt4-kde/Portfile 2010-01-11 15:06:13 UTC (rev 62578)
+++ trunk/dports/aqua/qt4-kde/Portfile 2010-01-11 15:30:45 UTC (rev 62579)
@@ -1,163 +0,0 @@
-# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem 1.0
-
-name qt4-kde
-version 4.5.2
-revision 1
-categories aqua
-platforms macosx
-maintainers nomaintainer
-
-homepage http://qt.nokia.com/
-description Qt Tool Kit (Native Aqua Version)
-long_description This is Qt, TrollTech's C++ toolkit for writing cross-platform GUI applications. \
- This version uses the native Aqua UI. For a X11 version, see qt4-x11.
-master_sites ftp://ftp.qt.nokia.com/qt/source/
-distname qt-mac-opensource-src-${version}
-checksums md5 c549d6c0c2e0723377cb955c78a1b680 \
- sha1 61b45db17962b48c338628d58c0445c9f544d5e6 \
- rmd160 53c752de43aa0623f005ca1c5a12810acc1da013
-
-depends_build port:pkgconfig
-
-depends_lib \
- port:zlib \
- port:tiff \
- port:libpng \
- port:libmng \
- port:jpeg \
- port:dbus \
- port:unixODBC \
- path:lib/mysql5:mysql5 \
- port:postgresql83 \
- port:openssl \
- port:sqlite3
-
-patchfiles patch-compile.test.diff patch-mac.conf.diff patch-configure.diff
-
-# have to build with Apple gcc because of -fconstant-cfstrings
-# configure.compiler should therefore not be one of the MacPorts compilers
-
-# --prefix is not recognized
-configure.pre_args-delete --prefix=${prefix}
-# -I${prefix}/include and -L${prefix}/lib must be set in ${configure.args}
-# or else some generated Makefiles will not seem them
-configure.cppflags
-configure.ldflags
-
-set qt_dir ${prefix}/libexec/${name}
-
-# See
-# http://doc.trolltech.com/qtopia4.3/buildsystem/over-configure-options-qt-1.html
-# for options
-#
-# -isystem is used instead of -I to avoid conflicts with other ports (e.g. pcre).
-# See http://trac.macports.org/ticket/15219 and http://trac.macports.org/ticket/18723.
-#
-# -dbus-linked prevends qt4 from trying to dynamically load libdbus-1,
-# which it is not able to find in ${prefix}
-# -openssl-linked ensures that the MacPorts openssl is used
-configure.args \
- -v \
- -debug-and-release \
- -framework \
- -confirm-license \
- -opensource \
- -prefix ${qt_dir} \
- -docdir ${prefix}/share/doc/${name} \
- -examplesdir ${prefix}/share/${name}/examples \
- -demosdir ${prefix}/share/${name}/demos \
- -system-sqlite \
- -openssl-linked \
- -dbus-linked \
- -isystem${prefix}/include \
- -isystem${prefix}/include/mysql5/mysql \
- -isystem${prefix}/include/postgresql83 \
- -L${prefix}/lib \
- -L${prefix}/lib/mysql5/mysql \
- -L${prefix}/lib/postgresql83
-
-build.target first
-use_parallel_build yes
-
-destroot.destdir INSTALL_ROOT="${destroot}"
-
-post-patch {
- # ensure that the MacPorts odbc is used
- reinplace "s|-liodbc|-lodbc|" \
- ${worksrcpath}/src/plugins/sqldrivers/odbc/odbc.pro
-
- # ensure that securesocketclient demo is built
- reinplace "s|contains(QT_CONFIG, openssl)|contains(QT_CONFIG, openssl) \\| contains(QT_CONFIG, openssl-linked)|" \
- ${worksrcpath}/examples/network/network.pro
-
- # ensure that MacPorts compilers are used
- reinplace "s| gcc\$| ${configure.cc}|" ${worksrcpath}/mkspecs/common/mac-g++.conf
- reinplace "s| g++\$| ${configure.cxx}|" ${worksrcpath}/mkspecs/common/mac-g++.conf
-}
-
-post-destroot {
- # install documentation
- foreach doc {INSTALL FAQ.txt LICENSE.LGPL LICENSE.GPL3 README \
- LGPL_EXCEPTION.TXT} {
- xinstall -c -m 644 ${worksrcpath}/$doc ${destroot}${prefix}/share/doc/${name}
- }
-
- # create link in ${prefix}/bin to executable files in ${qt_dir}/bin
- foreach bin [glob -type f -directory ${destroot}${qt_dir}/bin *] {
- ln -s ${qt_dir}/bin/[file tail ${bin}] ${destroot}${prefix}/bin
- }
-
- xinstall -d -m 0755 ${destroot}${applications_dir}/Qt
- # create link in ${prefix}/bin to all *.app/Contents/MacOS/*
- foreach app [glob -type d -directory ${destroot}${qt_dir}/bin *.app] {
- foreach bin [glob -tails -type f -directory ${app}/Contents/MacOS *] {
- ln -s ${qt_dir}/bin/[file tail ${app}]/Contents/MacOS/${bin} ${destroot}${prefix}/bin
- }
- }
-
- # avoid conflict with other qt packages
- # ensure lower case names
- foreach bin [glob ${destroot}${prefix}/bin/*] {
- file rename ${bin} ${destroot}${prefix}/bin/[string tolower [file tail ${bin}]]-kde
- }
-
- # Fix the .pc and .prl files by removing ${destroot}
- foreach fixfile [glob -directory ${destroot}${qt_dir}/lib/pkgconfig *.pc] {
- reinplace \
- "s|[regsub ${prefix} ${worksrcpath} {}]/bin|[regsub ${prefix} ${qt_dir}/bin {}]|g" \
- ${fixfile}
- }
- foreach fixfile [glob -nocomplain -directory ${destroot} ${qt_dir}/lib/pkgconfig/*.pc ${qt_dir}/lib/*.prl ${qt_dir}/lib/*/*.prl ${prefix}/share/${name}/demos/shared/*.prl] {
- reinplace \
- "s|-L${worksrcpath}/lib|-L${qt_dir}/lib|g" \
- ${fixfile}
- reinplace \
- "s|-F${worksrcpath}/lib|-F${qt_dir}/lib|g" \
- ${fixfile}
- }
-
- # install select file for qt4_select
- xinstall -m 755 -d ${destroot}${prefix}/etc/select/qt4
- xinstall -m 644 ${filespath}/${name} ${destroot}${prefix}/etc/select/qt4/
-}
-
-variant noframework description {Do not build frameworks} {
- configure.args-delete -framework
- configure.args-append -no-framework
-}
-
-variant webkit description {Use WebKit as html rendering engine in Assistant} {
- configure.args-append -assistant-webkit
-}
-
-variant universal {
- configure.universal_args-delete --disable-dependency-tracking
- configure.args-append -universal
-}
-
-livecheck.type regex
-livecheck.url ftp://ftp.qt.nokia.com/qt/source/
-livecheck.regex "qt-mac-opensource-src-(4(?:\\.\\d+)*)${extract.suffix}"
Deleted: trunk/dports/aqua/qt4-kde/files/patch-compile.test.diff
===================================================================
--- trunk/dports/aqua/qt4-kde/files/patch-compile.test.diff 2010-01-11 15:06:13 UTC (rev 62578)
+++ trunk/dports/aqua/qt4-kde/files/patch-compile.test.diff 2010-01-11 15:30:45 UTC (rev 62579)
@@ -1,13 +0,0 @@
---- config.tests/unix/compile.test.orig 2008-09-27 04:58:41.000000000 -0400
-+++ config.tests/unix/compile.test 2008-10-27 00:46:48.000000000 -0400
-@@ -32,6 +32,10 @@
- INC=`echo $PARAM | sed -e 's/^-I//'`
- INCLUDEPATH="$INCLUDEPATH $INC"
- ;;
-+ -isystem*)
-+ INC=`echo $PARAM | sed -e 's/^-isystem//'`
-+ INCLUDEPATH="$INCLUDEPATH $INC"
-+ ;;
- -f*|-D*)
- CXXFLAGS="$CXXFLAGS $PARAM"
- ;;
Deleted: trunk/dports/aqua/qt4-kde/files/patch-configure.diff
===================================================================
--- trunk/dports/aqua/qt4-kde/files/patch-configure.diff 2010-01-11 15:06:13 UTC (rev 62578)
+++ trunk/dports/aqua/qt4-kde/files/patch-configure.diff 2010-01-11 15:30:45 UTC (rev 62579)
@@ -1,28 +0,0 @@
---- configure.orig 2009-03-03 18:48:59.000000000 -0500
-+++ configure 2009-03-03 18:50:00.000000000 -0500
-@@ -802,6 +802,15 @@
- VAL=`echo $1 | sed 's,-I,,'`
- fi
- ;;
-+ -isystem?*|-isystem)
-+ VAR="add_ipath_system"
-+ if [ "$1" = "-isystem" ]; then
-+ shift
-+ VAL="$1"
-+ else
-+ VAL=`echo $1 | sed 's,-isystem,,'`
-+ fi
-+ ;;
- -L?*|-L)
- VAR="add_lpath"
- if [ "$1" = "-L" ]; then
-@@ -1700,6 +1709,9 @@
- add_ipath)
- I_FLAGS="$I_FLAGS -I\"${VAL}\""
- ;;
-+ add_ipath_system)
-+ I_FLAGS="$I_FLAGS -isystem\"${VAL}\""
-+ ;;
- add_lpath)
- L_FLAGS="$L_FLAGS -L\"${VAL}\""
- ;;
Deleted: trunk/dports/aqua/qt4-kde/files/patch-mac.conf.diff
===================================================================
--- trunk/dports/aqua/qt4-kde/files/patch-mac.conf.diff 2010-01-11 15:06:13 UTC (rev 62578)
+++ trunk/dports/aqua/qt4-kde/files/patch-mac.conf.diff 2010-01-11 15:30:45 UTC (rev 62579)
@@ -1,25 +0,0 @@
-Index: mkspecs/common/mac.conf
-===================================================================
---- mkspecs/common/mac.conf (revision 814547)
-+++ mkspecs/common/mac.conf (working copy)
-@@ -5,6 +5,7 @@
- QMAKE_RESOURCE = /Developer/Tools/Rez
-
- QMAKE_EXTENSION_SHLIB = dylib
-+QMAKE_EXTENSION_PLUGIN = bundle
-
- QMAKE_LIBDIR =
- QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
-Index: mkspecs/common/mac-g++.conf
-===================================================================
---- mkspecs/common/mac-g++.conf (revision 814547)
-+++ mkspecs/common/mac-g++.conf (working copy)
-@@ -55,7 +55,7 @@
- QMAKE_LFLAGS_DEBUG +=
- QMAKE_LFLAGS_APP +=
- QMAKE_LFLAGS_SHLIB += -single_module -dynamiclib
--QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
-+QMAKE_LFLAGS_PLUGIN += -bundle -flat_namespace
- QMAKE_LFLAGS_THREAD +=
- QMAKE_LFLAGS_INCREMENTAL+= -undefined suppress -flat_namespace
- QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}
Deleted: trunk/dports/aqua/qt4-kde/files/qt4-kde
===================================================================
--- trunk/dports/aqua/qt4-kde/files/qt4-kde 2010-01-11 15:06:13 UTC (rev 62578)
+++ trunk/dports/aqua/qt4-kde/files/qt4-kde 2010-01-11 15:30:45 UTC (rev 62579)
@@ -1,42 +0,0 @@
-libexec/qt4-kde/bin/assistant
-libexec/qt4-kde/bin/assistant_adp
-libexec/qt4-kde/bin/designer
-libexec/qt4-kde/bin/linguist
-libexec/qt4-kde/bin/lrelease
-libexec/qt4-kde/bin/lupdate
-libexec/qt4-kde/bin/moc
-libexec/qt4-kde/bin/pixeltool
-libexec/qt4-kde/bin/qcollectiongenerator
-libexec/qt4-kde/bin/qdbus
-libexec/qt4-kde/bin/qdbuscpp2xml
-libexec/qt4-kde/bin/qdbusviewer
-libexec/qt4-kde/bin/qdbusxml2cpp
-libexec/qt4-kde/bin/qhelpconverter
-libexec/qt4-kde/bin/qhelpgenerator
-libexec/qt4-kde/bin/qmake
-libexec/qt4-kde/bin/qt3to4
-libexec/qt4-kde/bin/qtdemo
-libexec/qt4-kde/bin/rcc
-libexec/qt4-kde/bin/uic
-libexec/qt4-kde/bin/uic3
-libexec/qt4-kde/bin/xmlpatterns
-libexec/qt4-kde/lib/pkgconfig/Qt3Support.pc
-libexec/qt4-kde/lib/pkgconfig/QtAssistant.pc
-libexec/qt4-kde/lib/pkgconfig/QtCLucene.pc
-libexec/qt4-kde/lib/pkgconfig/QtCore.pc
-libexec/qt4-kde/lib/pkgconfig/QtDBus.pc
-libexec/qt4-kde/lib/pkgconfig/QtDesigner.pc
-libexec/qt4-kde/lib/pkgconfig/QtDesignerComponents.pc
-libexec/qt4-kde/lib/pkgconfig/QtGui.pc
-libexec/qt4-kde/lib/pkgconfig/QtHelp.pc
-libexec/qt4-kde/lib/pkgconfig/QtNetwork.pc
-libexec/qt4-kde/lib/pkgconfig/QtOpenGL.pc
-libexec/qt4-kde/lib/pkgconfig/QtScript.pc
-libexec/qt4-kde/lib/pkgconfig/QtSql.pc
-libexec/qt4-kde/lib/pkgconfig/QtSvg.pc
-libexec/qt4-kde/lib/pkgconfig/QtTest.pc
-libexec/qt4-kde/lib/pkgconfig/QtUiTools.pc
-libexec/qt4-kde/lib/pkgconfig/QtWebKit.pc
-libexec/qt4-kde/lib/pkgconfig/QtXml.pc
-libexec/qt4-kde/lib/pkgconfig/QtXmlPatterns.pc
-libexec/qt4-kde/lib/pkgconfig/phonon.pc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100111/d535e404/attachment.html>
More information about the macports-changes
mailing list