BSD Ports

graphics/gd 2.3.3,1 MidnightBSD

Graphics library for fast creation of images

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
graphics

Description

gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG, GIF or JPEG file. This is particularly useful in World Wide Web applications, where PNG, GIF and JPEG are three of the formats accepted for inline images by most browsers.

gd does not provide for every possible desirable graphics operation, but version 2.0 does include most frequently requested features, including both truecolor and palette images, resampling (smooth resizing of truecolor images) and so forth.

In the other systems

SystemPortVersion
MidnightBSDgraphics/gd2.3.3,1
FreeBSDgraphics/gd2.3.3_13,1
OpenBSDgraphics/gd2.3.3
NetBSDgraphics/gd2.3.3nb18
DragonFlygraphics/gd2.3.3_13,1
HardenedBSDgraphics/gd2.3.3_13,1
GhostBSDgraphics/gd2.3.3_13,1
OPNsensegraphics/gd2.3.3_13,1

Install

Binary package:

mport install libgd

From mports:

cd /usr/mports/graphics/gd && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libgd>0:graphics/gd
LIB_DEPENDS=	libgd.so:graphics/gd

Dependencies

Configuration

Options name: graphics_libgd

OptionDefaultDescription
AVIFoff
FONTCONFIGon
FREETYPEon
HEIFoff
ICONVon
JPEGon
LIQofflibimagequant color conversion support
PNGon
RAQMoffRaqm text layout support
THREADSoff
TIFFon
WEBPon
XPMoff
USES
cpe tar:xz pkgconfig pathfix libtool:keepla autoreconf shebangfix
Service scripts
none
Conflicts with
libgd ??-libgd

Files

pkg-plist 33
  • bin/annotate
  • bin/bdftogd
  • bin/gd2copypal
  • bin/gd2togif
  • bin/gd2topng
  • bin/gdcmpgif
  • bin/gdlib-config
  • bin/gdparttopng
  • bin/gdtopng
  • bin/giftogd2
  • bin/pngtogd
  • bin/pngtogd2
  • bin/webpng
  • include/gd.h
  • include/gd_color_map.h
  • include/gd_errors.h
  • include/gd_io.h
  • include/gd_io_stream.h
  • include/gdcache.h
  • include/gdfontg.h
  • include/gdfontl.h
  • include/gdfontmb.h
  • include/gdfonts.h
  • include/gdfontt.h
  • include/gdfx.h
  • include/gdhelpers.h
  • include/gdpp.h
  • lib/libgd.a
  • lib/libgd.la
  • lib/libgd.so
  • lib/libgd.so.6
  • lib/libgd.so.6.0.11
  • libdata/pkgconfig/gdlib.pc
distinfo 1
FileSizeSHA256
libgd-2.3.3.tar.xz2.809056e+063fe822ece20796060af63b7c60acb151e5844204d289da0ce08f8fdf131e5a61
Master sites 1
  • https://github.com/libgd/libgd/releases/download/gd-2.3.3/