Difference between revisions of "GD"
From CBLFS
Jump to navigationJump to search (I added the template for the package description and "Contents" sections.) |
|||
(9 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | http://www. | + | | http://www.libgd.org/releases/gd-{{GD-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly.|http://www.libgd.org/Main_Page}} | |
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
Line 25: | Line 23: | ||
Compile the package: | Compile the package: | ||
+ | autoreconf -f -i && | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
Line 38: | Line 37: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" | + | export USE_ARCH=32 && |
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" && | ||
+ | autoreconf -f -i && | ||
+ | CC="gcc ${BUILD32}" ./configure \ | ||
--prefix=/usr && | --prefix=/usr && | ||
make | make | ||
Line 45: | Line 47: | ||
make install && | make install && | ||
− | mv -v /usr/bin/gdlib-config{,-32} | + | mv -v /usr/bin/gdlib-config{,-32} && |
+ | unset PKG_CONFIG_PATH && | ||
+ | unset USE_ARCH | ||
=== N32 === | === N32 === | ||
Line 51: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" | + | export USE_ARCH=n32 && |
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" && | ||
+ | autoreconf -f -i && | ||
+ | CC="gcc ${BUILDN32}" ./configure \ | ||
--prefix=/usr --libdir=/usr/lib32 && | --prefix=/usr --libdir=/usr/lib32 && | ||
make | make | ||
Line 58: | Line 65: | ||
make install && | make install && | ||
− | mv -v /usr/bin/gdlib-config{,-n32} | + | mv -v /usr/bin/gdlib-config{,-n32} && |
+ | unset USE_ARCH && | ||
+ | unset PKG_CONFIG_PATH | ||
=== 64Bit === | === 64Bit === | ||
Line 64: | Line 73: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" | + | export USE_ARCH=64 && |
+ | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" && | ||
+ | autoreconf -f -i && | ||
+ | CC="gcc ${BUILD64}" ./configure \ | ||
--prefix=/usr --libdir=/usr/lib64 && | --prefix=/usr --libdir=/usr/lib64 && | ||
make | make | ||
Line 72: | Line 84: | ||
make install && | make install && | ||
mv -v /usr/bin/gdlib-config{,-64} && | mv -v /usr/bin/gdlib-config{,-64} && | ||
− | ln -sfv multiarch_wrapper /usr/bin/gdlib-config | + | ln -sfv multiarch_wrapper /usr/bin/gdlib-config && |
+ | unset USE_ARCH && | ||
+ | unset PKG_CONFIG_PATH | ||
= Contents = | = Contents = | ||
− | {| style="text-align: left | + | {|style="text-align: left" |
+ | |-valign="top" | ||
+ | !Installed Directories: | ||
+ | |None | ||
|-valign="top" | |-valign="top" | ||
− | ! Installed Programs: | + | !Installed Programs: |
− | | | + | |gdlib-config, annotate, gdparttopng, gdtopng, gd2copypal, gd2topng, pngtogd, pngtogd2, webpng, gd2togif, gdcmpgif, giftogd2, bdftogd, gdlib-config |
|-valign="top" | |-valign="top" | ||
− | ! Installed Libraries: | + | !Installed Libraries: |
− | | | + | |libgd.{a, la, so} |
|-valign="top" | |-valign="top" | ||
− | ! | + | !Symlinks: |
− | | | + | |/usr/lib/libgd.so.2 --> /usr/lib/libgd.so.2.0.0, /usr/lib/libgd.so --> /usr/lib/libgd.so.2.0.0, |
|} | |} | ||
− | + | [[Category:Graphics Libraries]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:09, 19 March 2009
Download Source: | http://www.libgd.org/releases/gd-2.0.35.tar.bz2 |
---|
Contents
Introduction to GD
GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly.
Project Homepage: http://www.libgd.org/Main_Page
Dependencies
Required
Optional
- FreeType
- FontConfig
- libjpeg
- libxpm (Usually Provided by an X Window System)
Non-Multilib
Compile the package:
autoreconf -f -i && ./configure --prefix=/usr && make
Install the package
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" && autoreconf -f -i && CC="gcc ${BUILD32}" ./configure \ --prefix=/usr && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-32} && unset PKG_CONFIG_PATH && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && export PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" && autoreconf -f -i && CC="gcc ${BUILDN32}" ./configure \ --prefix=/usr --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-n32} && unset USE_ARCH && unset PKG_CONFIG_PATH
64Bit
Compile the package:
export USE_ARCH=64 && export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" && autoreconf -f -i && CC="gcc ${BUILD64}" ./configure \ --prefix=/usr --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/gdlib-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/gdlib-config && unset USE_ARCH && unset PKG_CONFIG_PATH
Contents
Installed Directories: | None |
---|---|
Installed Programs: | gdlib-config, annotate, gdparttopng, gdtopng, gd2copypal, gd2topng, pngtogd, pngtogd2, webpng, gd2togif, gdcmpgif, giftogd2, bdftogd, gdlib-config |
Installed Libraries: | libgd.{a, la, so} |
Symlinks: | /usr/lib/libgd.so.2 --> /usr/lib/libgd.so.2.0.0, /usr/lib/libgd.so --> /usr/lib/libgd.so.2.0.0, |