The Fast Light ToolKit ("FLTK", pronounced "fulltick") is a LGPL'd C++
graphical user interface for X11.
FLTK provides modern GUI functionality without the bloat and supports
3D graphics via OpenGL and its built-in GLUT emulation.
FLTK is designed to be small and modular enough to be statically linked,
but works fine as a shared library. FLTK also includes an excellent UI
builder called FLUID that can be used to create applications in minutes.
===> The following configuration options are available for fltk-1.3.11:
CAIRO=off: Cairo graphics library support
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
x11-toolkits/fltk: update the port to version 1.3.11
- Fix potential crash when backspace is typed in a menu
- Fluid: output FLTK version for -v/--version command-
line arguments
- Fix Fl_Table_Row inconsistencies
- Improve transitions between fullscreen modes
- Fix potential buffer overflow in Fl_Help_View
The ABI is 100% compatible with releases 1.3.5-1.3.10.
No further releases are planned for the 1.3.x series.
PR: 283342 (wip towards 1.4.x update)
x11-toolkits/fltk: update this port to the latest version 1.3.10
FLTK 1.3.10 is a maintenance release with minor enhancements and
bug fixes. Particularly, Fl_XFont_On_Demand class was previously
not labeled FL_EXPORT, which made it not exposed in the library,
in turn breaking `x11-toolkits/py-fltk' port and other consumers.
There are no new ABI features and thus it is 100% compatible with
releases 1.3.5-1.3.9. This is intended to be the last release of
the 1.3.x series.
PR: 277433, 277439
x11-toolkits/fltk: the port had been improved (+)
- Add an option to enable limited Cairo rendering support
- Do not strip static libraries upon installation as this
breaks linking against them (the case for `x11/flruler')
- Restore `files/patch-src_Makefile' which was ditched in
r447379 (commit 2a288980b3dd) in favor of `post-install'
target because of the above and now this code is mature
enough and should be less fragile to patch statically
- Garbage-collect no longer useful patch added in r138020
(commit 2a70195a3279) back in 2005 which now makes `-lm'
appear twice in the fltk-config(1)'s LDFLAGS outputs
- Shorten local variable name in the `post-patch' target
Reported by: pkg-fallout
x11-toolkits/fltk: update the port to version 1.3.9
This is a minor maintenance release and does not contain
new ABI features. While here, strip installed libraries
in addition to the programs (subject to -DWITH_DEBUG).
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11-toolkits: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* 1wardd@airmail.net
* Alexander Kabaev <ak03@gte.com>
* Alexander Novitsky <alecn2002@yandex.ru>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Andreas Kohn <andreas@syndrom23.de>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Anton Berezin <tobez@FreeBSD.org>
* Brian Buchanan <brian@CSUA.Berkeley.EDU>
* Cezary Morga <cm@therek.net>
* Cheng-Lung Sung <clsung@FreeBSD.org>
* Danilo Egea Gondolfo <danilo@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
x11-toolkits/fltk: the port had been updated to version 1.3.8
FLTK 1.3.8 is a maintenance release with minor enhancements. One new
function `fl_choice_n()' has been introduced (please see documentation
for details).
This release does not contain new ABI features and is 100% compatible
with releases 1.3.5-1.3.7.
x11-toolkits/fltk: update FLTK to version 1.3.7
This release does not contain new ABI features and is 100% binary
compatible with releases 1.3.5 and 1.3.6.
PR: 254934
Submitted by: yuri
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
- Update FLTK to version 1.3.5 which brings many new features,
bug fixes, and adaptations to new compilers
- Switch to the smaller .tar.bz2 distfile and make a few implicit
dependencies explicit (as reported by `stage-qa')
- Rename `test/help' demo program to `test/help_dialog' in order
to unbreak against upcomig `devel/ninja' update to version 1.9.0
- The ABI is 100% compatible with the previous version so no port
revision bumps are necessary for consumer ports
- Chase HTTP redirection in the MASTER_SITES and WWW: line
PR: 235507 (ninja-related)
Remove `groff' from USES.
It was recently killed in the base system and consumers have to use
`textproc/groff' port now, which is a real PITA: it pulls in some
obscure dependencies like `print/psutils', `graphics/netpbm', but
most importantly, `ghostscript' (unconditionally), which is a huge
abomination of its own, pulling another round of dependencies, some
of which are as crazy as `graphics/svgalib' (sic). Trying to reset
all offered knobs to `off' results in unbuildable package.
Pass NROFF as mere `echo' and be done with it. Generated manpages
remain identical.
- Update `x11-toolkits/fltk' to version 1.3.4 (version 1.3.4-1 is available,
but the only difference is fixes for Windows IDE solutions Visual C 2008
and Visual C 2010, so prefer 1.3.4 to avoid dealing with the DISTVERSION)
- Move out .so.1-suffixed symlink creation to `post-install' target rather
than patching `src/Makefile' since the patch tends to get modified with
each update; and drop no longer needed patches that were merged upstream
- Define LICENSE_FILE as it is not just a standard boilerplate
PR: 220649 (modified)
Submitted by: sunpoet
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
x11-toolkits/fltk: ensure that binary packages have complete feature support
Previously, binary packages would miss Xinerama and Xcursor dependencies and
thus were giving some odd behaviors as e.g. reported in the PR. While here,
switch to USES+=localbase instead of manually amending CPPFLAGS and LDFLAGS.
PR: 213294
- Since version 1.3.3, FLTK now checks for compiler support of -fvisibility
and -fvisibility-inlines-hidden and uses it if available to reduce shared
library size. Unfortunately, this hides Fl_XFont_On_Demand::value, which
in turn causes undefined reference errors during linking. Fix by marking
Fl_XFont_On_Demand class as FL_EXPORT for the time being (Gentoo Linux is
doing the same)
- Do not strip libraries for now: FLTK uses the same command for installing
both dynamic and static libraries, but "fltk-config(1) --compile" prefers
static, which breaks programs like `graphics/iccexamin' (threading test)
- Pull another patch from Gentoo to fix segmentation fault in vncview(1) of
port `net/tigervnc' (Gentoo bug #529856 by Maxim Britov)
- Do not leak non-existent (build-time only) -Lfoo references in LDFLAGS as
it can potentially lead to various sporadic bugs in programs which obtain
these flags through fltk-config(1). To prevent build-time conflicts that
this gimmick was originally used for, we change shared linking command of
fluid(1) accordingly
Since these are one-line changes likely to be merged upstream sooner rather
than later, perform them with sed(1) instead of trivial patches.
Reported and reviewed by: antoine
- Fix the breakage caused by previous commit (r378707): restore sane order of
knobs; resurrect documentation/Makefile patch; bring back recalculation of
${ETCDIR} length in Fl_Preferences.cxx, trim CONFIGURE_ARGS (again), etc.
- Restore correct LDFLAGS+= -L../src (previously -L${WRKSRC}/src), otherwise
the build fails with e.g. previous version of FLTK libraries installed
- Take maintainership to prevent Kato's monkeys jeopardizing it all over again
- Install code examples as PORTEXAMPLES (we do not install any documentation
because it requires LaTeX stack to build)
- Since `post-patch' target is a bit too verbose now, make it .SILENT
- Do not compile things with -Os by default (already honors user's CXXFLAGS)
- Do not blindly strip libraries and fluid(1) binary (respect ${STRIP} value)
In sight of upcoming update, clean up things a bit:
- Sort the knobs, remove "default=yes" arguments from CONFIGURE_ARGS
- In post-staging era, conditional installation of documentation is no
longer necessary, so simplify the patch and drop post-install target
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
- Add a patch to #undef nitems, which has been added as a macro to sys/param.h
in r236486 and is also a member of Fl_Check_Browser class.
- Bump PORTREVISION
Notified by: martymac
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Update x11-toolkits/fltk to 1.1.10
- Unconditionally enable threads on x11-toolkits/fltk
- Mark x11-toolkits/fltk-threads as IGNORE (master port has threads now)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
Re-enable building with gcc4.2. Apparently patches were committed
after the last amd64-7 build.
I'm doing this one myself because I was the one that marked it broken.
PR: ports/117843
Submitted by: Dmitry Marakasov <amdmi3 at amdmi3 dot ru>
Approved by: portmgr (self)
- Fix gcc42 build on amd64, these diffs duplicate vendor fltk-1.1.x-r5940
work in progress, so can be backed out on next major release of fltk.
Approved by: demon
Add '-lm' to the output of fltk-config --ldstaticflags and
fltk-config --ldflags. libm is needed when linking against libfltk.
This fixes OpenOffice build with fltk installed.
PR: 82551
Submitted by: Mike Durian <durian@shadetreesoftware.com>
Remove patch-fltk-config.in: fltk-config --ldflags should not return
-L/usr/local/lib, but this breaks audio/spiralsynthmodular and
graphics/quat-gui which rely on it.
Reported by: Kris via pointyhat.
- prepare for a new slave port x11-toolkits/fltk-threads;
- remove -L/usr/local/lib from `fltk-config --ldflags`;
- mark IGNORE if threading is enable on 4.x (if someone had a
a clue to fix it, it would be great!).
Approved by: demon (maintainer)