This will build with any -lfreetype, any -ljpeg, and any -lpng. Remove the major version numbers from LIB_DEPENDS...746c474335
php-gd and gd -- Buffer over-read into uninitialized memoryentered 2017-09-26
Graphics library for fast creation of images
# pkg install libgdinstalls 2.3.3_13,1 from latest; from quarterly (2026Q4) 2.3.3_13,1# cd /usr/ports/graphics/gd && make install clean# make -C /usr/ports/graphics/gd config # change options first
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.3.3_13,1 | 2.3.3_13,1 | – |
| FreeBSD 15 | 2.3.3_13,1 | 2.3.3_13,1 | – |
| FreeBSD 14 | 2.3.3_13,1 | 2.3.3_13,1 | 2.3.3_13,1 |
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.3.3_13,1 | 2.3.3_13,1 | – |
| FreeBSD 14 | 2.3.3_13,1 | 2.3.3_13,1 | 2.3.3_13,1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
pkg audit for the packaged version 2.3.3_13,1.This will build with any -lfreetype, any -ljpeg, and any -lpng. Remove the major version numbers from LIB_DEPENDS...746c474335
Update version number of freetype2 shared library.6cd76ded7b
Fix a typo, that prevented my clever font substitution scheme from working...0d60d8e4c0
Fix depends for freetype PR: 33759 Submitted by: Oliver Lehmann <lehmann@ans-netz.de>, bento83ebb89931
Add the ability to pass a list of alternative bdf fonts to this port. This can be used to generalize building of, say, language-specific versions of gd like ukrainian/gd -- the controlling port will simply set GD_FONTS to something like GD_FONTS="/usr/ports/distfiles/x-koi8u.tgz koi6x10.bdf koi8x13.bdf \ koi9x15.bdf koi12x24.bdf koi10x20.bdf" And the new configure script will extract the bdf files from the tarball and use the bdftogd perl script (bundled with the software) to regenerate the sources. No REVISION bump, because the default package is still the same...1a79aa3205
Fix the diff so that it actually apply. The original source should be used when generating a diff. This should get make release a bit further again.27179ddde6
- Respect CFLAGS properly - Fix compilation error when both freetype and freetype2 are installed - Fix Xpm support - Use freetype-config to find both include and library path - Port style changes in Makefile - Generic fix for -current malloc.h issue PR: 32854 Submitted by: KATO Tsuguru <tkato@prontomail.com>460774c383
Set LATEST_LINK to "gd2".f264dad72c
Fix the build when NOPROFILE is not defined in /etc/make.conf or in the build environment. PR: 31698 Submitted by: John Hildreth <partsman@ns2.slutpuppy.org> (to -ports) Submitted by: Kirk Strauser <kirk@strauser.com> (the PR) Approved by: mife4e8fe800
Both -- include and include/X11 might be needed...ca49092319
Install the HTML documentation. Approved by: silence on -ports68b00bd839
back out last commit, let others decide what to doc1aa304ed5
typo79948b5210
remove unnecessary "\"f51b59edd8
XFree86-4 installs freetype.6, freetype2 installs freetype.7 so we have to use "freetype.7" instead of just "freetype" Reported by: Mike Harding <mvh@ix.netcom.com>9adc91f01a
Upgrade to 2.0.1 (gd2 was repocopied from gd). The name of the installed library is still libgd, which is on purpose. It looks like very little needs to be done after all to make current gd users switch, so gd2 will, hopefully, quickly become gd again. XPM will be used by default now, unless WITHOUT_XPM is declared. When XPM can be built without installing X11, this is seems sensible.d52a7a070a
Bump png majorb60160c5d8
Conditionalize the dependency on bzip2. De-portlint a bit.63a15f2970
LIB_DEPEND on freetype again (regardless of version, what comes with XFree86-4 should work too). I could've sworn, I saw some other port use the seemingly non-existent USE_FREETYPE2. As a bonus, add a patch for malloc.h -> stdlib.h... While I'm here (again), switch the default maintainership to ports@. Submitted by: John Haydc74024472
Use USE_FREETYPE2 instead of explicitly depending on freetype-config.5e502b4289
Restore the ability to _read_ gif images, removed by the author due to fear of Unisys... Bump up PORTREVISION. Approved by: maintainer timeout :( (since July 27)1a136774b6
Update version number of freetype2 shared library.495daa29cc
Various patches (mainly shared library revision changes) for those ports that depend on GNOME and need to change for 1.4bc47cccc84
Ensure that the freetype-config is available. This should workaround the XFree86-4 + freetype2 problem. This is not a final solution and provided only for forthcoming 4.3 release, after which it will be removed. We are still waiting for jmz to fix things properly.2a1e03477c
The clown^Wauthor of gd once again changed the contents of the tarball without bumping the minor version number. update patches and checksum accordingly. Our PORTREVISION was bumped, however, because we actually do have a clue about these sorts of things...cef70df629
Update the checksum. Seems the distfile was updated with a new one that does not include *.o files. Submitted by: Mike Harding <mvh@ix.netcom.com>6a5b7af6e6
Make japanese/gd a slave port of graphics/gd. Approved by: ichiro@ichiro.org (MAINTAINER of japanese/gd)8e185a18bb
Update to 1.8.4. Add MASTER_SITE_RINGSERVER to MASTER_SITES. Add a couple of patches to complete GD's Japanese support. PR: ports/24930 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>, knu Approved by: billf (MAINTAINER)a128c373e6
Massive style enforcement - use ^I instead of spaces for variables identation.2b1a883dc4
Compile with freetype default. Approved by: billff52f02f515
(1) Add new variable, XFREE86_VERSION, to specify which version of XFree86 (3 or 4) to depend to when USE_XLIB is set. XFREE86_VERSION defaults to 3 for now, but adventurous users can override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB will add a dependency to x11/XFree86; when it is set to 4, the dependency will be to x11/XFree86-4-libraries. When XFREE86_VER
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbmc6bcad2436Bump png shared library version. Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>6db96c0500
Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the previous commit message to bsd.port.mk, which said INSTALL_SHLIBS. Boo.) Line up the rhs of variable assignments nicely. Remove a couple of extra whitespaces while I'm here. Suggested by: sobomaxffb21b5654
Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports with ldconfig in PLIST need personal consideration.5178b48938
Add missing "$" Submitted by: Andrzej Tobola <san@tmp.iem.pw.edu.pl>a4d8441524
Change library number to gd.1 per porter's handbook. PR: 19060 Submitted by: Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>0968e6bccd
The incredibly intelligent people who release engineer gd once again bumped the version number and went back and made all the old tarballs copies of the the newest version, breaking this again. They also zerobyted a lot of old versions of gd. Evidently "history" isn't one of the ideas thats supported in their project. Submitted by: jkhe48df57040
The people who release gd think that removing old versions of gd and replacing them with symlinks to the latest is smart, so we'll upgrade now. patches/patch-ac changed and was regenerated with -u1 so when the authors make more gratuitious changes to the Makefile it will break less deltas.e8d67e876a
Standardize all user defined options to the booleans WITH_FOO and WITHOUT_FOO. Begin the process of reserving these prefixes for user defined options. No comment by: ports877b8a533b
Convert to PORTNAME/PORTVERSION. lfview had an invalid version string so I fixed it.c99c600944
Upgrade to 1.8.1 which should shrink my mailbox and the PR system.6c4d8b3e72
Upgrade to gd 1.8, with shiny new jpeg support.6939e577e2
-DWANT_X11 is now required to build this port with X support. You no longer have to install X in order to have a decent web server.680b9935f2
Take over maintainership of this port (was ports@freebsd.org). There are quite a few things this port is doing wrong or poorly and I plan to fix that.26414295e4
Build and install the shared library again. PR: 15313 Submitted by: Ade Lovett <ade@lovett.com>5cb55aa139
Add ttf and xpm support to this port. PR: 15437 Submitted by: Igor Vinokurov <igor@zynaps.ru>96e917f705
Update to version 1.7.3. PR: 14518 Submitted by: Ade Lovett <ade@lovett.com>cb8e819414
Remove Jeff Wheat as maintainer at his request.bd05a364ba
Add master site. portlint now complains that it's 26 lines long, but I don't know where to cleave.8e00b8d814
Upgrade to 1.6.3 Submitted by: Will Andrews <andrews@technologist.com> PR: ports/13455415432b375