Commit graph

46 commits

Author SHA1 Message Date
tnn
9ee4b877fb Recursive revbump following MesaLib update, categories g through n. 2015-04-25 14:22:51 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +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
tnn
db051de52c Fix build on IRIX 2008-05-19 13:47:45 +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
1b41b26c08 Fix patch to not include spaces inside filenames... 2007-08-08 22:43:47 +00:00
joerg
5a48dbe004 Explicitly include GL/glxext.h to fix build with Mesa 7.0. 2007-08-08 17:22:45 +00:00
tv
2897aab1f2 Fix uint64_t on Interix. 2007-01-30 20:53:23 +00:00
jschauma
721b60b433 Instead of setting compiler flags in each package if it uses C99,
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing.
May need to be reviewed/added for other compilers.
ok rillig@
2006-12-02 22:32:59 +00:00
joerg
ac3e6db366 Switch to modular buildlinks. 2006-11-06 11:28:02 +00:00
joerg
6e82078eef DESTDIR support. 2006-11-05 17:17:04 +00:00
rillig
aec9f02b0c Just fixing pkglint warnings doesn't help. Sometimes they are just
pointers that something else is wrong. In this case, the file contained
_three_ instances of __sun__, but only two were in the patch, so pkglint
could not warn on the third one.

Now pango really builds on Solaris with SunPro (tested).
2006-08-03 19:33:55 +00:00
rillig
34c63c56b7 Fixed a build failure of devel/pango by replacing __sun__ with __sun in
patch-ab, as told by pkglint. Maybe that warning is really useful. :)

Bumped PKGREVISION.
2006-08-03 18:22:16 +00:00
minskim
81212f6d7e Link glitz-agl with the AGL framework, so that applications using this
library will not have "undefined symbols" errors in linking.

Bump PKGREVISION.
2006-07-25 19:19:27 +00:00
minskim
c0976c5d97 Support the x11 option to enable/disable the glx backend. Platforms
without X11 may turn off this option while using another backend
such as AGL on Mac OS X.
2006-07-23 03:42:43 +00:00
minskim
b17e3704d2 Do not include MesaLib's buildlink3.mk because glitz does not expose
MesaLib's API.
2006-07-23 01:24:38 +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
markd
df196cae30 Don't try and do visibility stuff with gcc on Solaris as the Solaris
gcc/ld doesn't support it.
From Gilles Dauphin in PR pkg/33919.
2006-07-06 23:43:27 +00:00
drochner
099cfd5568 update to 0.5.6
changes:
New GL_EXT_framebuffer_object interface.
Add WGL backend.
New radial gradient.
YV12 surface support.
misc fixes
additional GL support
optimization: avoid context switches
2006-07-04 15:12:58 +00:00
minskim
7ec40e5594 Add missing files to PLIST. Those are installed when the AGL framework
is available.  Bump PKGREVISION.
2006-06-18 13:17:12 +00:00
reed
7fde9102f8 Remove the include of xextensions buildlink3.mk.
Its code doesn't reference any x11/extensions/*.h headers.

And building it doesn't seem to need it either.

If it was needed before, then probably one of its other dependencies ended
up needing it and that is the one that should include it in its own
buildlink3.mk file.

(I am looking at these because I am working on updating xextensions
package which includes a rename to xextproto.)

Okayed by maintainer.

No revision change as it was a "build" dependency.
2006-04-17 18:09:48 +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
drochner
823eac290d fix paths in PKGCONFIG_OVERRIDE
bump PKGREVISION
2006-04-06 16:23:41 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jschauma
979b6444a6 if using the Mipspro compiler chain, pass '-c99'. 2005-12-25 16:46:05 +00:00
tv
3a3bc64e66 Interix has neither <stdint.h> nor <inttypes.h>. 2005-11-04 17:10:04 +00:00
rillig
8214caad27 BUILDLINK_RECOMMENDED follows the recent PKGREVISION bump. 2005-11-03 01:52:29 +00:00
rillig
203220f2a9 Added a patch that prevents glitz from using -lsunmath on Solaris, as
this library is not provided by the Solaris base system. Thanks to
<grant> for finding the relevant part to patch. Bumped PKGREVISION.
2005-11-03 01:47:08 +00:00
joerg
957ca17ce6 Use platform pthread flags instead of hard coded -lpthread. 2005-10-03 19:46:56 +00:00
adam
2dd078fc14 Changes 0.4.4:
* Bug fixes
* Improvements
2005-08-11 15:24:54 +00:00
drochner
5529e25c20 remove obsolete patch, pointed out by Leonard Schmidt 2005-07-08 10:27:15 +00:00
drochner
240100dd8f update to 0.4.3
changes: minor fixes and feature additions
2005-07-06 18:23:27 +00:00
kristerw
d6ffa1182a Fix a cut-and-paste error that prevented compilation on NetBSD 1.6. 2005-06-18 20:11:01 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
recht
8833df0e32 Fix build on Darwin by explicitly linking against libXext.
While at it also include x11/xextensions/buildlink3.mk since it is used
directly.
ok'd by adam
2005-03-25 10:10:31 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
xtraeme
4f57fc7390 Update to 0.4.0.
Some changes:

        Add anti-aliased trapezoids, rectangular clipping, multiple
        geometry arrays, bitmap geometry, mask surface convolution
        filtering.
2005-02-09 21:20:03 +00:00
rh
5c52ee2f39 Update glitz to 0.2.3. Changes are too numerous to list here. They
include a revamped graphics engine and tons of bug fixes.  Closes PR
pkg/28107 by Francois Briere, thanks!
2004-11-15 03:33:22 +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
recht
ef6869d4d9 update to glitz-0.1.2
Sadly, there's no real news file avaiable. So, I guess it's the usual
bug-fixes and optimizations.
2004-05-11 17:35:06 +00:00
kristerw
9477c8113e USE_X11 and include mk/pthread.buildlink3.mk to make sure the package
finds the necessary include files.
2004-05-03 23:03:21 +00:00
adam
4277a7c587 Glitz is a portable 2D graphics library that uses OpenGL to render hardware
accelerated graphics.  It supports many of the latest OpenGL features, such as
efficient off-screen rendering using pbuffers. Rendering can be carried out by
arbitrary OpenGL layers, thanks to glitz's extensible backend system.

Glitz is designed to match the X Render Extension semantics and provides
a general way for accelerating this imaging model.  Glitz can be used as
a stand-alone layer above OpenGL but is also designed to act as a backend for
cairo, providing it with OpenGL accelerated output.
2004-04-27 12:11:43 +00:00