Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21639/10.3/unstable/main/finkinfo/graphics
Added Files: qt3mac.info qt3mac.patch Log Message: New package, Aqua version of qt3 library and tools. Coexists peacefully with the X11 qt3 packages. --- NEW FILE: qt3mac.info --- Package: qt3mac Version: 3.3.4 Revision: 4 GCC: 3.3 CustomMirror: << Primary: ftp://ftp.trolltech.com/qt/source aus-AU: http://public.ftp.planetmirror.com.au/pub/trolltech/qt/source eur-DE: ftp://ftp.fu-berlin.de/unix/X11/gui/Qt/source eur-DE: http://wftp.tu-chemnitz.de/pub/Qt/source eur-ES: http://sunsite.rediris.es/mirror/Qt/source eur-GR: http://ftp.ntua.gr/pub/X11/Qt/qt/source eur-NO: ftp://ftp.trolltech.com/qt/source eur-RO: http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/sources nam-US: http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source << Source: mirror:custom:qt-mac-free-%v.tar.bz2 Source-MD5: 13eabc6c8b21f409de2a8d14ce40e8c6 SourceDirectory: qt-mac-free-%v Description: Aqua version of QT3 library and tools Depends: %N-shlibs (>= %v-%r), pkgconfig BuildDepends: cctools (>= 446) | cctools-single-module, cups-dev, fink (>= 0.17.3-1), freetype219, gcc3.3, libgl-dev, libpng3 (>= 1.2.5-4), libjpeg BuildConflicts: qt3, qt3-designer, qt3-dev BuildDependsOnly: true PatchScript: << #!/bin/sh -ex sed -e 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 perl -pi.bak -e 's|cp \-P|cp \-Rp|' qmake/Makefile.unix << NoSetLDFLAGS: true CompileScript: << #!/bin/sh -ex unset QMAKESPEC export QTDIR=%b export DYLD_LIBRARY_PATH="$QTDIR/lib:%p/lib/freetype219/lib:$DYLD_LIBRARY_PATH" export PATH="$QTDIR/bin:%p/lib/freetype219/bin:$PATH" export INSTALL_ROOT="" LIBRESOLV="-lresolv" echo "yes" | ./configure \ '-I$(QTDIR)/include' '-I%p/lib/freetype219/include/freetype2' \ '-L%p/lib/freetype219/lib' '-I%p/include' \ '-L$(QTDIR)/lib' '-L%p/lib' $LIBRESOLV \ -platform macx-g++ -xplatform macx-g++ \ -translationdir '%p/share/%n/translations' \ -prefix '%p/lib/%n' -docdir '%p/share/doc/%n' \ -datadir '%p/share/%n' \ -release -shared -no-exceptions -thread -cups -stl \ -qt-gif \ -system-zlib -largefile -verbose # don't link against older versions of self /usr/bin/find . -name Makefile -print0 | xargs -0 perl -pi -e 's,-L%p/lib/%n/lib,,g' # attempt to counterfix qmake's warped fileFixify logic that makes install break # when %p is a symlink and something exists already at -libdir or -datadir etc /usr/bin/find . -name Makefile -print0 | xargs -0 perl -pi -e 's,(\$\(INSTALL_ROOT\))/[^/]*/,$1%p/,g' make # make symlinks src-qmake src-moc sub-src sub-tools << InstallScript: << #!/bin/sh make install INSTALL_ROOT=%d # remove stuff from the libtool archive that libtool doesn't understand perl -pi.bak -e 's,\$\(QTDIR\),%p,g;s,\-framework.*,\-lz \-ldl'\'',g' %i/lib/%n/lib/libqt-mt.la # move the app bundles; the AppBundles field seems not to work here... /usr/bin/install -d -m 755 %i/Applications /usr/bin/install -d -m 755 %d/Applications/Fink for APP in assistant designer linguist qtconfig do /bin/mv %i/lib/%n/bin/${APP}.app %i/Applications/ ln -s %p/Applications/${APP}.app %d/Applications/Fink/ done << SplitOff: << Package: %N-shlibs Depends: fink (>= 0.23.1-1), freetype219-shlibs, libgl-shlibs, libpng3-shlibs (>= 1.2.5-4), libjpeg-shlibs Shlibs: << %p/lib/%N/lib/libqt-mt.3*.dylib 3.0.0 %n (>= 3.3.4-1) %p/lib/%N/lib/libqui.1*.dylib 1.0.0 %n (>= 3.3.4-1) << Files: << lib/%N/lib/libqt-mt.*.dylib lib/%N/lib/libqui.*.dylib << << SplitOff2: << Package: %N-apps Depends: %N-shlibs (>= %v-%r), libjpeg-shlibs, libpng3-shlibs (>= 1.2.5-4) Files: << /Applications/Fink/*.app Applications/*.app share/%N/{phrasebooks,templates,translations} lib/%N/plugins << << SplitOff3: << Package: %N-doc Files: share/doc/%N << DocFiles: FAQ INSTALL LICENSE* MANIFEST PLATFORMS README* License: GPL DescUsage: << This version is independent of X11. It installs the applications assistant, designer, linguist, qtconfig in %p/Applications and makes double-clickable symbolic links to them in /Applications/Fink/. Since it installs into %p/lib/qt3mac and %/share/qt3mac, it can coexist with the qt3 packages. To use its dylibs, set QTDIR to %p/lib/qt3mac. Fink packages that want to use it will also have to use BuildConflicts: qt3, qt3-dev << DescPort: Adapted from Benjamin Reed's qt3 package Maintainer: Martin Costabel <[EMAIL PROTECTED]> Homepage: http://www.trolltech.com/ --- NEW FILE: qt3mac.patch --- diff -ur qt-mac-free-3.3.4_old/mkspecs/macx-g++/qmake.conf qt-mac-free-3.3.4/mkspecs/macx-g++/qmake.conf --- qt-mac-free-3.3.4_old/mkspecs/macx-g++/qmake.conf Fri Jan 21 18:16:43 2005 +++ qt-mac-free-3.3.4/mkspecs/macx-g++/qmake.conf Fri Mar 11 00:51:27 2005 @@ -26,6 +26,7 @@ QMAKE_CFLAGS_DEBUG = -g QMAKE_CFLAGS_SHLIB = -fPIC QMAKE_EXTENSION_SHLIB = dylib +QMAKE_EXTENSION_PLUGIN = so QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses QMAKE_CXX = c++ @@ -38,9 +39,9 @@ QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC -QMAKE_LIBDIR = -QMAKE_INCDIR_QT = $(QTDIR)/include -QMAKE_LIBDIR_QT = $(QTDIR)/lib +QMAKE_LIBDIR = @PREFIX@/lib/qt3mac/lib +QMAKE_INCDIR_QT = @PREFIX@/lib/qt3mac/include +QMAKE_LIBDIR_QT = @PREFIX@/lib/qt3mac/lib QMAKE_INCDIR_OPENGL = /System/Library/Frameworks/OpenGL.framework/Headers \ /System/Library/Frameworks/AGL.framework/Headers/ @@ -51,12 +52,12 @@ QMAKE_LFLAGS_RELEASE = QMAKE_LFLAGS_DEBUG = QMAKE_LFLAGS_APP = -prebind -QMAKE_LFLAGS_SHLIB = -prebind -dynamiclib -QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace +QMAKE_LFLAGS_SHLIB = -prebind -dynamiclib -single_module +QMAKE_LFLAGS_INCREMENTAL = -undefined dynamic_lookup QMAKE_LFLAGS_PLUGIN = -bundle #You probably don't want to mess with this, instead look at install_name_tool(1) #QMAKE_LFLAGS_SONAME = [EMAIL PROTECTED]/../Frameworks/ -QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE} +QMAKE_LFLAGS_SONAME = -install_name$${LITERAL_WHITESPACE}$$QMAKE_LIBDIR/ QMAKE_LFLAGS_THREAD = QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE} @@ -64,7 +65,7 @@ QMAKE_RPATH = -QMAKE_LIBS_DYNLOAD = +QMAKE_LIBS_DYNLOAD = -ldl QMAKE_LIBS_QT = -lqt QMAKE_LIBS_QT_THREAD = -lqt-mt QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL Only in qt-mac-free-3.3.4/mkspecs/macx-g++: qmake.conf~ diff -ur qt-mac-free-3.3.4_old/mkspecs/macx-g++/qplatformdefs.h qt-mac-free-3.3.4/mkspecs/macx-g++/qplatformdefs.h --- qt-mac-free-3.3.4_old/mkspecs/macx-g++/qplatformdefs.h Tue May 27 17:19:20 2003 +++ qt-mac-free-3.3.4/mkspecs/macx-g++/qplatformdefs.h Fri Mar 11 00:52:37 2005 @@ -75,10 +75,11 @@ #define QT_SIGNAL_ARGS int #define QT_SIGNAL_IGNORE (void (*)(int))1 -#define QT_SOCKLEN_T int +#define QT_SOCKLEN_T socklen_t #define QT_SNPRINTF ::snprintf #define QT_VSNPRINTF ::vsnprintf +#define QT_MITSHM #endif // QPLATFORMDEFS_H ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits