Commit graph

82 commits

Author SHA1 Message Date
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
xtraeme
0a7477a162 Update x11/fltk to 1.1.5rc1 and s/USE_X11BASE/USE_X11/.
Changes:

CHANGES IN FLTK 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)
        - The Fl_Text_Display widget did not display selections
          set by the application (STR #322)
        - FLUID crashed if you did layout with a window widget
          (STR #317)
        - Fl_Scroll::clear() didn't remove the child widget from
          the Fl_Scroll widget (STR #327)
        - Fl_Value_Slider::draw_bg() didn't always apply the
          clipping rectangle (STR #235)
        - fl_filename_relative() returned the wrong string if
          the absolute pathname was equal to the current working
          directory (STR #224)
        - Fl_Help_Dialog didn't correctly restore the scroll
          position when going forward/back in the link history
          if the file changed (STR #218)

And more...
2004-04-13 09:36:17 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
1d98f6a8b1 bl3ify 2004-02-18 10:21:15 +00:00
ben
602d1edaa8 Update from FLTK 1.0.11 to FLTK 1.1.4. 2004-02-18 05:07:34 +00:00
jlam
75f431d969 PKGLIBTOOL and PKGSHLIBTOOL are no more. 2004-02-08 03:00:29 +00:00
jlam
17d1ca394e These packages need a C++ compiler. 2004-02-02 13:02:49 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
ben
13fa5d7135 Force the use of a C++ compiler to compile C++ source files in a more clean
manner, from feedback in PR 23252.
2003-12-01 16:35:51 +00:00
jschauma
6048206d2c As pointed out by jlam:
bump PKGREVISION on packages depending on graphics/glu due to latest shlib
changes there.
2003-11-30 22:58:40 +00:00
grant
2510497b0d s/USE_GMAKE/USE_GNU_TOOLS+=make/ 2003-10-30 22:53:02 +00:00
grant
7a87c851d5 define USE_GCC_SHLIB.
sort USE_* lines.
2003-10-30 22:52:34 +00:00
agc
72924189cf Force the use of a C++ compiler to compile C++ source files. From an
analysis of the problem by Ben Collver in PR 23252.
2003-10-30 15:43:07 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
556dfd66a9 More updates from Mesa:
As with the Makefiles, only include Mesa's buildlink when necessary,
otherwise include MesaLib's and/or glu's buildlink.
2003-03-12 22:07:27 +00:00
jschauma
e7c1762bd0 Bump PKGREVISION due to upgrade of Mesa and friends.
Only include Mesa/buildlink2.mk if the package requires all three of
MesaLib, glu and glut - else only include the necessary buildlink2s.
2003-03-09 19:23:09 +00:00
jmmv
9f8d3a9cb6 Subdirectory at Sourceforge is fltk, not FLTK. 2003-02-28 11:57:06 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
jlam
9718326373 Bump PKGREVISION to on x11/fltk to 1: link the dependent libraries
directly into libfltk.{la,so} so that we don't need to guess at which
additional libraries will be needed to link into a program when linking
against libfltk.  Suggested in private email by Dave Sainty <dave at
dtsp dot co dot nz>.
2002-11-25 18:58:36 +00:00
jlam
9a50e4c655 FLTK headers should also be found under <include/Fl/*>. 2002-11-25 18:21:02 +00:00
wiz
2d6f6286dd Unused. 2002-10-09 18:47:35 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
a4bc16d30c I am a triple idiot. The only relevant variable that x11.buildlink.mk
redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR,
which points to the location of the X11R6 hierarchy used during building.
If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to
${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use.  Remove
the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and
revert changes to move x11.buildlink.mk before the other buildlink.mk files.
2001-10-24 22:10:43 +00:00
jlam
dff59f9ec3 x11.buildlink.mk needs to be included before any buildlink.mk files that
use X11_BUILDLINK_MK as a test value.  Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
2001-10-23 13:14:43 +00:00
jlam
63fc151cb9 Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links.  These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.

Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
2001-08-29 22:41:00 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00