libgd: Dynamic graphics generation tool

Description

GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and “wrappers” are available for Perl, PHP and other languages. GD creates PNG, JPEG, GIF, WebP, XPM, BMP images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve website development.

License

  • Custom (BSD-ish)

Dependencies

  • libpng

  • freetype

  • iconv

Special Update/Build Instructions

See spkg-src script.

Type

standard

Version Information

package-version.txt:

2.1.1.1.p1

Equivalent System Packages

alpine: install the following packages: gd fontconfig libXpm libX11 libxcb libXau libXdmcp arch:

$ sudo pacman -S  gd fontconfig libXpm libX11 libxcb libXau libXdmcp

conda:

$ conda install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

cygwin:

$ apt-cyg install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

Debian/Ubuntu:

$ sudo apt-get install  gd fontconfig libXpm libX11 libxcb libXau libXdmcp

Fedora/Redhat/CentOS:

$ sudo yum install  gd fontconfig libXpm libX11 libxcb libXau libXdmcp

freebsd:

$ sudo pkg install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

gentoo:

$ sudo emerge gd fontconfig libXpm libX11 libxcb libXau libXdmcp

homebrew:

$ brew install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

nix:

$ nix-env --install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

opensuse:

$ sudo zypper install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

slackware:

$ sudo slackpkg install gd fontconfig libXpm libX11 libxcb libXau libXdmcp

See https://repology.org/project/gd/versions, https://repology.org/project/fontconfig/versions, https://repology.org/project/libXpm/versions, https://repology.org/project/libX11/versions, https://repology.org/project/libxcb/versions, https://repology.org/project/libXau/versions, https://repology.org/project/libXdmcp/versions

If the system package is installed, ./configure will check whether it can be used.