Package: fltk-x11 Version: 1.1.7 Revision: 2 Description: GUI toolkit 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: << When `uname` is Darwin will try to link against Carbon, and use Quartz or QuickDraw graphics. To force x11, remove case that sets Darwin Carbon compiler flags (so fall through to unix/xll) and that sets config.h flags to use Apple-specific graphics. HFS+ is not case sensitive, but there is an important variable (HLINKS) involving this that is set in the same case blocks, 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. Patch to show actual compiling commands, not synopses of them. Don't continue if any make target fails. Patch to avoid chmod +x on libraries. << DescPackaging: << 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. By 10.3, we're all up to 4.3; drop the special handling and Provides mess, just have real fltk-x11. 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: libjpeg-shlibs, libpng3-shlibs, x11-shlibs, xft2-shlibs, %n-shlibs (= %v-%r) BuildDepends: libjpeg, libpng3, x11, xft2, x11-dev Conflicts: fltk Replaces: fltk BuildDependsOnly: True #Source: mirror:sourceforge:fltk/fltk-%v-source.tar.bz2 Source: mirror:custom:fltk/%v/fltk-%v-source.tar.bz2 CustomMirror: << nam-US: http://ftp.easysw.com/pub nam-US: ftp://ftp.easysw.com/pub eur-SE: http://mirror.nu6.org//ftp.easysw.com/pub eur-FI: http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub eur-FI: ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub eur-DE: ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub eur-DE: http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub << SourceDirectory: fltk-%v Source-MD5: 2e29319119adc9d63b2f26b72cae0a88 Patch: %n.patch PatchScript: << #!/bin/sh -ex perl -ni -e 'print unless /echo.*COMMAND/' src/Makefile perl -pi -e 's/\|\| break//' Makefile perl -pi -e 's|rgb.txt|/usr/X11R6/lib/X11/rgb.txt|' test/colbrowser.cxx perl -pi -e 's/ 755 / 644 / if /\/lib.*\.{a,dylib}/' src/Makefile perl -ni -e 'print unless /mandir\)\/cat/' documentation/Makefile perl -pi -e 's|share/doc/fltk|share/doc/%n/html|' configure << SetCPPFLAGS: -U__APPLE__ -I/usr/X11R6/include SetCXXFLAGS: -U__APPLE__ -I/usr/X11R6/include -I%p/include GCC: 3.3 ConfigureParams: --enable-shared --with-x --enable-xft --mandir=%p/share/man --without-links --enable-threads CompileScript: << ./configure %c make FONTCONFIGLIB=-lfontconfig << InstallScript: << make install DESTDIR=%d docdir=%p/share/doc/%n/html ln -s html/index.html %i/share/doc/%n << DocFiles: ANNOUNCEMENT CHANGES COPYING CREDITS README SplitOff: << Package: %N-shlibs Description: Runtime code for fltk-x11 Depends: libjpeg-shlibs, libpng3-shlibs, x11-shlibs, xft2-shlibs Conflicts: fltk Replaces: fltk 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-23) %p/lib/libfltk_forms.1.1.dylib 1.1.0 %n (>= 1.1.4-23) %p/lib/libfltk_gl.1.1.dylib 1.1.0 %n (>= 1.1.4-23) %p/lib/libfltk_images.1.1.dylib 1.1.0 %n (>= 1.1.4-23) << DocFiles: ANNOUNCEMENT CHANGES COPYING CREDITS README <<