|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
qt4-kde most recent diffversion 4.5.2
Scroll down toward the bottom of the page to get installation instructions for qt4-kde. The raw portfile for qt4-kde 4.5.2 is located here: http://qt4-kde.darwinports.com/dports/aqua/qt4-kde/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/qt4-kde # -*- 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 The qt4-kde Portfile 57375 2009-09-10 08:16:41Z ryandesign PortSystem 1.0 Name: qt4-kde Version: 4.5.2 Category: aqua Platform: macosx Maintainers: nomaintainer Homepage: http://www.trolltech.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 Patch Files: 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}" If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/qt4-kdeYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using qt4-kde with these commands: % man qt4-kde Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




