Package: fltk-x11-43 Version: 1.1.4 Revision: 12 Description: GUI toolkit (for XFree86 4.3) DescDetail: << FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes. << DescUsage: << Documentation is available on the website, or in the installed manpages and HTML. << DescPort: << We need different packages for different XFree86 versions. If 4.3 then libfltk must link against libfontconfig (thanks Jerry Talkington), but if 4.2 then there is no libfontconfig. You must manually remove any old fltk-x11/fltk-x11-shlibs package in order to be able to link against the new XFree86-versioned ones. When `uname` is Darwin will try to link against Carbon. To force x11, remove case that sets Darwin Carbon compiler flags (so fall through to unix/xll). HFS+ is not case sensitive, but there is an important variable (HLINKS) involving this that is set in the same case, so factor out the setting of that variable. Sylvain says to undefine __APPLE__, a practice which I reluctantly continue for now. This flag affects many features, some of which are FS-dependent (similar to HLINKS) and others are Carbon-vs-x11 issues. The use of -U is especially bad since this setting may propagate (via bin/fltk-config) to programs compiled against fltk which may use that token for other platform issues but if it doesn't then fltk headers may give incorrect behavior (it is -D but library was built with it -U). Actions should be made based on (tokens resulting from) specific feature-related checks. I haven't had a chance to go through every occurance to see what the desired behavior is in each case. Patch Makefile to not build test programs. Patch test/colbrowser for OS X location of rgb.txt. Installing preformatted manpages makes the package difficult to remove cleanly (presence of man/cat? causes `man` to populate it). No need to install them since we also install the sources. Previously maintained by Sylvain Cuaz (up to 1.1.2-2). << Homepage: http://www.fltk.org/ License: LGPL Maintainer: Daniel Macks Depends: dlcompat-shlibs, libjpeg-shlibs, libpng3-shlibs, freetype2-shlibs, x11-shlibs, xft2-shlibs, %n-shlibs (= %v-%r) BuildDepends: dlcompat, libjpeg, libpng3, freetype2, glut (>= 3.7-13), x11, xft2, x11-dev Provides: fltk-x11 Conflicts: fltk, fltk-x11, fltk-x11-42 Replaces: fltk, fltk-x11, fltk-x11-42 BuildDependsOnly: True Source: mirror:sourceforge:fltk/fltk-%v-source.tar.bz2 SourceDirectory: fltk-%v Source-MD5: 06ce1d3def2df35525592746faccbf98 Patch: %n.patch SetCPPFLAGS: -U__APPLE__ SetCXXFLAGS: -I%p/include -U__APPLE__ SetMACOSX_DEPLOYMENT_TARGET: 10.2 GCC: 3.3 ConfigureParams: --enable-shared --with-x --enable-xft --mandir='${prefix}/share/man' CompileScript: << ./configure %c make FONTCONFIGLIB=-lfontconfig << InstallScript: << make install prefix=%i docdir=%i/share/doc/%n/html ln -s html/index.html %i/share/doc/%n rm -r %i/share/man/cat? << RuntimeVars: << FLTK_DOCDIR: %p/share/doc/%n/html << DocFiles: ANNOUNCEMENT CHANGES COPYING CREDITS README SplitOff: << Package: %N-shlibs Description: Runtime code for fltk-x11 (for XFree86 4.3) Depends: dlcompat-shlibs, libjpeg-shlibs, libpng3-shlibs, x11-shlibs, xft2-shlibs Provides: fltk-x11-shlibs Conflicts: fltk, fltk-x11-shlibs, fltk-x11-42-shlibs Replaces: fltk, fltk-x11-shlibs, fltk-x11-42-shlibs Files: << lib/libfltk.*.dylib lib/libfltk_forms.*.dylib lib/libfltk_gl.*.dylib lib/libfltk_images.*.dylib << Shlibs: << %p/lib/libfltk.1.1.dylib 1.1.0 %n (>= 1.1.4-1) %p/lib/libfltk_forms.1.1.dylib 1.1.0 %n (>= 1.1.4-1) %p/lib/libfltk_gl.1.1.dylib 1.1.0 %n (>= 1.1.4-1) %p/lib/libfltk_images.1.1.dylib 1.1.0 %n (>= 1.1.4-1) << DocFiles: ANNOUNCEMENT CHANGES COPYING CREDITS README <<