Commit graph

120 commits

Author SHA1 Message Date
abs
8171c396f6 PKG_DESTDIR_SUPPORT needs to be before .include "options.mk" 2009-05-18 22:18:42 +00:00
sno
085dd4bff8 PkgSrc changes:
- allow optionally build a gd which supports xpm
2009-04-12 00:29:26 +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
wiz
8fc16d35d9 Package now depends on fontconfig, so its dependencies should see
fontconfig as well. Fixes e.g. mldonkey build.
2008-11-20 17:25:01 +00:00
dholland
060c54fedc Bump PKGREVISION for previous (adding fontconfig) because it changes the
package deps.

(I think also for pkgsrc xorg it causes it to start finding and using
fontconfig when it previously didn't.)
2008-11-16 08:58:08 +00:00
chuck
d3b938814c explicitly link in with fontconfig since it will grab it anyway, see
http://mail-index.netbsd.org/tech-pkg/2008/11/13/msg002046.html
2008-11-14 19:11:44 +00:00
adam
8df6a539f1 Avoid dependency on libXpm; thanks to adrianp 2008-09-22 17:44:49 +00:00
joerg
7c5ec538a9 Add DESTDIR support. 2007-09-21 16:56:19 +00:00
adam
bdc1fb6be3 Changes 2.0.35:
* Fix valgrind error in gdImageFillTiled
* Add missing custom cmake macros
* Avoid signature buffer copy  in gd_gif_c
* Race condition in gdImageStringFTEx
* Reading GIF images is not thread safe (static usage in private functions)
* GIF Local palette is read twice
* GIF, Use local frame dimension when possible instead of the logical screen size
* OpenVMS build support, see VMS/README.VMS for the details
* GIF, do not try to use the global colmap if it does not exist
* gdImageAALine draws axis lines with two pixels width
* TTF usage doesn't work properly on Netware
* gdImageArc CPU usage with large angles
* gdImageFilledRectangle regression fixed when used with reversed edges
* Possible infinite loop in libgd/gd_png.c, flaw found by Xavier Roche
* Fixed segfault when an invalid color index is present in a GIF image data
* Possible integer overflow in gdImageCreateTrueColor
* gdImageCreateXbm can crash if gdImageCreate fails
2007-07-01 07:54:25 +00:00
gdt
1dd9bc2a36 # fails in test not finding libgd.a
MAKE_JOBS_SAFE=		no
2007-05-16 13:12:39 +00:00
drochner
279974b31d CVE-2006-2906 has been fixed upstream another way; this patch is unneeded 2007-02-22 17:21:18 +00:00
adam
752db05ec6 Patch patch-ac 2007-02-17 07:04:44 +00:00
adam
9c65cc2150 Changes 2.0.34:
* 32-bit multiplication overflow vulnerabilities along with a number of similar
  issues
* Memory allocation errors that were not checked
* Multiple issues in the GIF loader. Corrupt gif images would cause a segfault
  or infinite loop
* Malformed or empty PNG image also may have caused segfaults
* gdImageFillToBorder segfaulted when the color was not opaque (alpha > 0)
* Antialiased lines drawn on an images edge caused a segfault
* gdImageFill segfaulted when used with patterns or invalid arguments
* gdImageFilledEllipse did not respect transparency
2007-02-16 20:37:52 +00:00
wiz
9a7e3fce1b Update HOMEPAGE. 2007-02-07 20:28:49 +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
salo
1d07100aaf Security fix for CVE-2006-2906:
"The LZW decoding in the gdImageCreateFromGifPtr function in the Thomas
 Boutell graphics draw (GD) library (aka libgd) 2.0.33 allows remote
 attackers to cause a denial of service (CPU consumption) via malformed
 GIF data that causes an infinite loop."

Patch from Xavier Roche via Ubuntu.
2006-06-14 21:42:33 +00:00
minskim
e67964cf0d This package installs a perl script. Add a dependency on perl using USE_TOOLS.
Bump PKGREVISION.
2006-05-14 18:22:38 +00:00
minskim
7adf79abce Fix a pkglint warning. 2006-05-14 18:19:08 +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
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
minskim
0cd8a5468b Do not define a variable in a header file; move the definition into .c
and leave the declraration only.  This fixes the graphviz build
problem reported by Adrian Portelli in PR pkg/28596.

Bump PKGREVISION.
2005-06-06 18:38:08 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
wiz
7df923365c Remove BUILDLINK_DEPENDS line for old version of freetype2. 2004-11-29 19:56:16 +00:00
jklos
f7d1554dd4 Added PTHREAD_AUTO_VARS=yes so this builds properly on 2.0. (thanks,
Juan RP)
2004-11-29 17:00:01 +00:00
jlam
af591191d2 Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
2004-11-12 06:39:19 +00:00
adam
394a584e28 Changes 2.0.33:
* Corrects a problem which prevented compiling with older versions of
  freetype2
2004-11-10 12:58:48 +00:00
adam
9476ff4a48 Changes 2.0.32:
* Animated GIF writing support
* Fontconfig support
* Open polygon drawing
* Fixes
2004-11-03 13:13:02 +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
adam
1f147d0fe9 Checksum corrected for the archive re-release 2004-07-23 07:52:16 +00:00
adam
ff7c8e0412 Changes 2.0.28:
* Restored support for reading and writing GIF images
* Fix for a possible problem in gdImageTrueColorToPalette
2004-07-22 12:38:49 +00:00
adam
e99c7029d0 Changes 2.0.27:
Fixes
* Potential memory overruns in gdImageFilled Polygon
* The sign of Y-axis values returned in the bounding box by gdImageStringFT
2004-07-16 07:46:54 +00:00
adam
a2640eaccc Changes 2.0.26:
* Windows build uses __stdcall calling convention
* Even more complete freetype version checking
* Binary transparency is now handled correctly in gdImageToPalette
2004-07-01 10:28:42 +00:00
xtraeme
8cefe37694 As discussed in tech-pkg, remove X11/Xpm support in graphics/gd.
While I'm here, s/-lpthread/${PTHREAD_LDFLAGS}/.

Bump PKGREVISION.
2004-06-20 21:46:36 +00:00
adam
040ae95b77 Changes 2.0.25:
* Correction in gdfontl.h

Changes 2.0.24:
* bgd.dll is now compatible with Visual BASIC
* Even more complete freetype version checking
* Binary transparency is now handled correctly in gdImageToPalette
2004-05-25 14:55:34 +00:00
snj
398301ef04 No longer used. 2004-05-09 06:50:29 +00:00
adam
59c77d0b47 Changes 2.0.23:
* horizontal and vertical DPI hints can now be given to the freetype font
  renderer via the gdFTStringExtra
* several autoconf problems have been addressed
* the current version of freetype is more precisely detected to prevent
  FT_ENCODING_SYMBOL-related errors
* a significant bug in gdNewDynamicCtx was fixed
2004-04-26 12:24:12 +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
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
adam
4db773ba90 Type fixed, thanks to Stoned 2004-02-04 15:50:37 +00:00
adam
40907ad07a Changes 2.0.22:
* New font-fetching functions
* CMYK colour-space in JPEGs can now be opened
* Fixed configure script
2004-02-04 13:34:53 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
50372c561f graphics/gd uses X11, so all packages that link against gd use X11. 2004-01-23 18:00:59 +00:00
jlam
6ac0980e12 graphics/gd requires USE_X11. 2004-01-23 11:48:03 +00:00
adam
4a59225de2 Changes 2.0.21:
* added gdImageCreateFromPngPtr and similar
2004-01-20 14:32:58 +00:00
simonb
047e33db75 GD apparently grew the need for pthreads; tell the buildlink machinery
about it so that dependant packages also build.
2004-01-13 01:41:07 +00:00