# # Fink Package Description # TaskJuggler II version 2.4.1 # The flexible project management software # # Packages: # + taskjuggler # + taskjuggler-nox # # Package Maintainer: Rene Kuettner # # meta Info2: << Package: taskjuggler%type_pkg[-nox] Description: KDE - Flexible project management tool Version: 2.4.1 Type: -nox (boolean) Revision: 1 HomePage: http://www.taskjuggler.org License: GPL GCC: 4.0 Maintainer: Rene Kuettner BuildDepends: << autoconf, automake1.10, qt3 (>= 3.3-1), (%type_raw[-nox] = .) kdelibs3-unified-dev (>= 3.5-1), (%type_raw[-nox] = .) kdepim3-dev (>= 3.5-1), x11-dev, fink (>= 0.28-1), libjpeg, libpng3, docbook-bundle (>= 4.1-1), docbook-utils (>= 0.6.14-1), freetype219, libart2, libgettext3-dev, libiconv-dev, libidn, pcre, (%type_raw[-nox] = .) arts-dev << Depends: << x11, x11-shlibs, (%type_raw[-nox] = .) kdepim3-base, (%type_raw[-nox] = .) kdepim3-common, (%type_raw[-nox] = .) ktnef, (%type_raw[-nox] = .) kdelibs3-unified-shlibs, libjpeg-shlibs, libpng3-shlibs, freetype219-shlibs, libart2-shlibs, libgettext3-shlibs, libiconv, libidn-shlibs, pcre-shlibs, qt3-shlibs << Conflicts: taskjuggler, taskjuggler-nox Replaces: taskjuggler, taskjuggler-nox Provides: taskjuggler-nox PatchFile: %{ni}.patch PatchFile-MD5: 765b0b04977513bc6ad0d8ef3a3b825d Source: http://www.taskjuggler.org/download/%{ni}-%v.tar.bz2 Source-MD5: 18e0cec8b2ec69220ae7c9a790c16819 # build ConfigureParams: << (%type_raw[-nox] = -nox) --with-kde-support=no \ --with-extra-includes=%p/include --with-extra-libs=%p/lib \ --with-qt-dir="%p/lib/qt3" --disable-pch \ --disable-dependency-tracking \ --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib << SetDYLD_LIBRARY_PATH: %b/taskjuggler/.libs CompileScript: << #!/bin/sh -ev export LDFLAGS=$LDFLAGS" -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" if [ "%type_pkg[-nox]" != "-nox" ] ; then export LDFLAGS=$LDFLAGS" -lkdeui -lkdecore -lDCOP" ; fi %{default_script} << # install DocFiles: COPYING README AUTHORS ChangeLog TODO InstallScript: << install -d %i/share/man/man1 install -m 644 man/en/taskjuggler.1 %i/share/man/man1 install -d %i/lib install -m 644 taskjuggler/.libs/libtaskjuggler.3.0.3.dylib %i/lib/ (cd %i/lib && ln -s libtaskjuggler.3.0.3.dylib libtaskjuggler.3.dylib) make install \ DESTDIR=%d \ docprefix=%p/share/doc/%n \ kde_locale=%p/share/locale << # sh-libs Shlibs: !%p/lib/libtaskjuggler.3.dylib # details DescDetail: << TaskJuggler is a project management tool for Linux and UNIX-like operating systems. Its new approach to project planning and tracking is far superior to the commonly used Gantt chart editing tools. It has already been successfully used in many projects and scales easily to projects with hundreds of resources and thousands of tasks. If you are about to build a skyscraper or just want to put together your colleague's shift plan for the next month, TaskJuggler is the right tool for you. If you just want to draw nice looking Gantt charts to impress your boss or your investors, TaskJuggler might not be right for you. It takes some effort to master its power, but it will become a companion you don't want to miss anymore. Authors: -------- Chris Schlaeger , Klaas Freitag Lukas Tinkl Note: -nox refers to "no GUI", not "no X in the dependencies" << DescPackaging: << Build failure due to implicit symbol resolution from .la files (after package modified locally to avoid autotools complaint) was reported by AKH on 28-04-2011. No reply from maintainer. AKH fixed the package on 09-05-2011. << DescPort: << Eplicitly choose automake1.10 and autoconf so that build works on all platforms. LDFLAGS for the KDE-using variant needs to include a bunch of libs explictly, since the package apparently had been relying on .la files to figure out what to link. << <<