Commit graph

110 commits

Author SHA1 Message Date
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
obache
7a194ddbc8 Update fltk to 1.1.10.
Based on patch from Tim Larson by PR#43061.

CHANGES IN FLTK 1.1.10

	- Widgets now remove stale entries from the default callback
	  queue when they are deleted (STR #2302)
	- Fixed selection bug in Fl_Int_Input (STR #2292)
	- Fixed character set conversion functions (STR #2268)
	- Fixed image lib configure and fltk-config issues by backporting
	  the image lib and zlib configure code from FLTK 1.3 (STR #2203)
	- Updated the bundled libpng to v1.2.40 (released Sep. 10, 2009)
	- Fixed Fl_Choice contrast with light-on-dark settings (STR #2219)
	- Added Xft2 font lookup table (STR #2215)
	- Fixed X server "lock", if a modal dialog window is opened
	  while a menu is active (STR #1986)
	- Updated mirror sites in documentation (STR #2220)
	- Setting a default font for Xft (STR #2216)
	- Temporarily limited builds to 32-bit on OX S to stay
	  compatible to Snow Leopard
	- Fixed Windows compile bug with "#define USE_COLORMAP 0"
	  (STR #2241)
	- Fixed glibc 2.10 compiler problems (Fedora 11 and others)
	  with scandir() and strchr() (STR #2222)
	- Fixed OpenGL shared context handling (STR #2135)
	- Fixed gray-scale images with alpha channel (STR #2105)
	- Fixed unexpected shortcut behavior for Win32 (STR #2199)
	- Added cast to Fl_Color in all Fluid code (STR #2206)
	- Fixed wrong identifier for special keys combined with
	  modifier (STR #2196)
	- Fixed documentation for Fl_Progress (STR #2209)
	- Fix for multiple popups, when dragging and calling fl_alert()
	  and friends from the callback (STR #2159)
	- Avoiding crashes for recursive common dialogs (this does not
	  fix the issue at hand yet) (STR 2150)
	- Fluid printing used wrong colors under Windows (STR #2195)
	- Fixed bad system menu hadling in OS X (STR #2153)
	- Fixed File Input mouse pointer dragging (STR #2181)
	- Added Fl_Scroll::bbox() documentation (STR #1893)
	- Fixed static linking of image libraries (STR #1962)
	- Fixed callback would not be called when shortcut was used with
          radio and toggle buttons in default FL_RELEASE mode.
	- Fixed a problem with TrackMouseEvent() (Windows only) that would
	  generate wrong FL_LEAVE events with subwindows. TrackMouseEvent
	  is now enabled by default (it was disabled for GNU compilers).
	  It can be disabled by defining NO_TRACK_MOUSE.
	  Improved test/subwindow.cxx (STR #2079)
	- Fixed RGB colors for round box (STR #2097)
	- Fixed documentation (added missing COMCTRL32.LIB dependency)
	- Fl_Group::clip_children() is now public (STR #2017)
	- Fixed first modifier key event (STR #1952)
	- Fixed wrong default value of Fl_Spinner in Fluid (STR #1991)
	- Fixed Fluid textcolor output (STR #1992)
	- Added clarification to Fl_GL_Window mode function (STR #1945)
	- Fl_Group and Fl_Scroll now resize themselves before
	  resizing their children (STR #2032)
	- Fixed adding an idle handler during a draw() call (STR #1950)
	- Improved stability of fl_read_image (STR #2021)
	- Fixed menu position close to screen border (STR #2057)
2010-04-09 13:35:41 +00:00
obache
b054855daa Add buildlink to graphicws/jpeg and graphicws/png.
fltk-config --user-images --ldflags offers those libraries.
XXX: but libfltk_images is note linked with those libraries.
XXX: libfltk_gl is also not with GL and GLU.
2010-03-12 09:23:41 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
zafer
bb70d8a074 remove mirror.nu6.org from master_sites. host does not resolve. 2009-07-16 22:47:43 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
dsainty
f4fefdf92d Complete the libtoolisation of 'fluid' so it installs the real executable,
not the libtool wrapper.

Bump PKGREVISION, the previous revision installed an unusable "fluid".
2008-11-16 07:13:36 +00:00
adam
489e7e05e2 Changes 1.1.9:
- Improved color contrast in secondary selection blocks of Fl_Text_Display
- Fixed regression in callback handling
- Fixed wrong relative path when absolute path has a
  trailing slash in fl_filename_relative
- Fixed multiple selction of files and directories in Fl_File_Chooser
- Fixed MSWindows crash when selecting umlauts in Fl_Help_View

Changes 1.1.8:
- Documentation fixes
- Fixed library path in Makefile
- Fixed image read for partial regions on X11
- Fixed KDE/Gnome icon paths
- Fixed Tab key to wrap around menu bars
- Fixed possible timer leak in Scrollbar
- Added documentation about the potential limitations
  of Fl::grab on newer operating systems
- Fixed lockout when mixing popups and alerts
- Fixed recursion crash in event handling
- Fixed missing return code in 'fltk-config'
- Fixed inconsistencies with CHANGED flags
- Fixed message sent to hidden widgets
- Fixed width calculation in Fl_Help_View
- Fixed offset bug in OS X pixmap code
- Fixed potential buffer overrun in Fl_Preferences
- More...
2008-11-10 19:03:15 +00:00
obache
2d7bf63357 Remove unresolvable hosts from MASTER_SITES.
Noticed by Zafer Aydogan via private mail.
2008-08-23 07:46:59 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
ce7f6dc908 Needs libXt on modular Xorg for build. 2007-03-16 21:40:33 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
66943a6870 DESTDIR and modular Xorg support. 2007-01-02 12:42:45 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
6a6e511339 Don't install cat pages by default, fixes PR 33587. Bump revision. 2006-06-01 13:14:18 +00:00
ben
e4ec5e2cfe Add --enable-threads to CONFIGURE_ARGS or else FLTK library will omit
some threading methods such as Fl:awake(), which is needed by certain
applications.  Bump pkgrevision.
2006-05-21 22:16:54 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
minskim
def9d2aa06 Make this package build on a case-insensitive filesystem. 2006-03-22 19:31:14 +00:00
jlam
641e118d57 Drop maintainership for packages that I no longer have time to maintain. 2006-03-14 16:00:40 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
d5fb1f092f Update to 1.1.7, ok jlam@:
FLTK 1.1.7 fixes many bugs, adds some new example programs, and
adds many new improvements to the FLUID software including
multi-level undo, syntax highlighting in all code fields, widget
alignment and sizing guides, dialog templates, widget subclasses,
and printing and testing of user interfaces within FLUID.
2006-01-22 11:11:34 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
kristerw
0e147526c4 Add three man pages to the PLIST.
Bump PKGREVISION.
2005-08-24 19:48:18 +00:00
kristerw
d36f822ca7 Pthreads are needed to link to these libraries. Add mk/pthread.buildlink3.mk. 2005-06-16 23:49:40 +00:00
jlam
8a6826e1f7 My survey of packages was not quite complete enough. There are at
least two packages that still use <FL/*.h> files, so modify fltk to
*always* create the links on all platforms.  This unfortunately doesn't
allow installing this package on a case-insensitive filesystem.  Bump
PKGREVISION to 3.
2005-06-15 02:24:40 +00:00
jlam
1f0b1ace0f fltk headers are in ${PREFIX}/include/FL. 2005-06-15 01:40:33 +00:00
jlam
ebff9ab544 Don't create the mass of symlinks for the headers as they're not used
by FLTK packages.  Packages know to use <FL/*.H> for fltk>=1.1, which
we already require via BUILDLINK_DEPENDS.fltk.  This fixes the build
on Darwin where the symlinks were, by default, not created and which
subsequently broke the PLIST.  Bump the PKGREVISION to 2.
2005-06-14 22:42:49 +00:00
kristerw
a0030e8b35 Include "../../mk/pthread.buildlink3.mk". 2005-06-14 11:22:16 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
ben
6ccba5221c Originally fltk used different file names for the man pages depending on
the platform.  I followed the documentation that is now in pkgsrc.txt
and put the default names in PLIST, and the NetBSD names in PLIST.NetBSD.
The PLIST handling does not actually work this way, and it will be
cleaner to use the same file names for man pages regardless of platform.
2005-03-19 15:26:18 +00:00
drochner
ab0d5c8003 update to 1.1.6
changes:
        - Documentation updates (STR #552, STR #608)
	- Added the 2.0 Fl_Widget::copy_label() method to
	  allow FLTK 1.x applications to have their label
	  strings managed by FLTK (STR #630)
	- Added Fl::delete_widget() method to safely delete
	  widgets in callback methods (STR #629)
	+bugfixes
2005-02-24 15:58:05 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
adam
36b4079794 Patches no longer needed 2004-10-21 08:30:22 +00:00
adam
994fef0d34 Changes 1.1.5rc1:
- Documentation updates (STR #186, STR #245, STR #250,
          STR #277, STR #281, STR #328, STR #338)
        - fl_scroll() did not handle scrolling from off-screen on
          WIN32 (STR #315)
        - Fl_File_Chooser did not allow manual entry of a drive
          letter (STR #339)
        - Fl_Menu now uses the boxtype to redraw the menu
          background (STR #204)
        - Fl_Scroll now shows the background image when a framed
          box type is used and the Fl_Scroll is a direct
          decendent of a window (STR #205)
        - Added a new_directory_tooltip string pointer to allow
          localization of the file chooser's new directory
          button (STR #340)
        - Added Fl_Menu_::find_item() method (STR #316)
        - The Fl_Widget copy operator definitions were not
          conditionally compiled properly (STR #329)
        - FLUID's Layout functionality did not move child
          widgets when laying out group widgets (STR #319)
        - FLUID's Layout->Center In Group functionality did not
          properly handle widgets that were children of a
          Fl_Window widget (STR #318)
        - The Fl_Text_Display destructor did not remove the
          predelete callback associated with the current buffer
          (STR #332)
        - Fixed several bugs in the MacOS X Fl::add_fd()
          handling (STR #333, STR #337)
2004-10-21 08:29:45 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
grant
a423b59d3f fix @dirrm in PLIST:
share/doc/html/fltk -> dirrm share/doc/fltk

bump PKGREVISION.
2004-06-27 15:01:59 +00:00
ben
a957527758 Change PLIST.common location of HTML documentation. Somehow this got
missed while I was addressing PR#25652.
2004-05-23 14:06:45 +00:00
ben
194effe5e4 Address FLTK issues mentioned in PR#25652. Changes:
* link libjpeg and libpng to fluid
* install documentation to doc instead of doc/html
* bump PKGREVISION
2004-05-21 02:16:48 +00:00
snj
e60f06f729 No longer used. 2004-05-05 05:07:16 +00:00
snj
e0e6b763ab Add include/Fl/* to BUILDLINK_FILES. Needed to get palmosemulator building. 2004-05-05 05:07:12 +00:00
ben
36690ec66d Correct PLIST for non-NetBSD platforms. 2004-04-17 18:40:08 +00:00