Difference between revisions of "GIMP"
(→Dependencies) |
Chipster19 (talk | contribs) |
||
(21 intermediate revisions by 8 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | ftp://ftp.gimp.org/pub/gimp/ | + | | ftp://ftp.gimp.org/pub/gimp/v{{GIMP-Version2}}/gimp-{{GIMP-Version}}.tar.bz2 |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|The Gimp package contains the GNU Image Manipulation Program. This is useful for photo retouching, image composition and image authoring.|http://www.gimp.org}} | ||
== Dependencies == | == Dependencies == | ||
+ | === Required === | ||
+ | * [[GEGL]] | ||
* [[Gtk2]] | * [[Gtk2]] | ||
* [[libart_lgpl]] | * [[libart_lgpl]] | ||
− | * [[XML::Parser]] | + | * [[Perl Module XML::Parser|XML::Parser]] |
+ | === Recommended === | ||
+ | * [[Gutenprint]] build the Gimp first with --disable-print | ||
+ | * [[libjpeg]] | ||
+ | * [[LibTIFF]] | ||
+ | === Optional === | ||
+ | * [[libmng]] | ||
+ | * [[librsvg]] | ||
+ | * [[AAlib]] | ||
+ | * [[little cms]] | ||
+ | * [[libexif]] | ||
+ | * [[libgtkhtml]] | ||
+ | * [[libXSLT]] | ||
+ | * [[PyGTK]] | ||
+ | * [[Gtk-Doc]] | ||
+ | * [[MTA]] | ||
+ | * [[ALSA]] | ||
+ | * [[libwmf]] | ||
+ | * [[Poppler]] | ||
+ | === Optional (for Building Documentation from the Help Tarball) === | ||
+ | * [[libXSLT]] | ||
+ | * [[DocBook XML]] | ||
+ | * [[ImageMagick]] (only needed to optimize PNG images) | ||
+ | |||
+ | == Configuration Information == | ||
+ | |||
+ | On a multi-processor machine, you may want to add this option to the ./configure script: | ||
+ | {| | ||
+ | |- | ||
+ | |''--enable-mp:'' Enables multi-processor support. | ||
+ | |} | ||
+ | Also see '''man gimprc''' and read about the option ''num-processors''. | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 17: | Line 52: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share | + | ./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share && |
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
− | install -v -m755 -d /usr/share/doc/gimp- | + | install -v -m755 -d /usr/share/doc/gimp-{{GIMP-Version}} && |
− | install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp- | + | install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-{{GIMP-Version}} |
== Multilib == | == Multilib == | ||
Line 31: | Line 66: | ||
Compile the package: | Compile the package: | ||
− | + | ||
− | + | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | |
− | CC="gcc | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \ |
− | ./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --datadir=/usr/share --build=${CLFS_TARGET32} && | ||
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
− | mv /usr/bin/gimptool-2.0 | + | mv /usr/bin/gimptool-2.0{,-32} |
=== N32 === | === N32 === | ||
− | + | Compile the package: | |
+ | |||
+ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
+ | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ | ||
+ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
+ | --libdir=/usr/lib32 --datadir=/usr/share && | ||
+ | make | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install && | ||
+ | mv /usr/bin/gimptool-2.0{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 50: | Line 97: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | |
− | CC="gcc | + | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ |
− | ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --datadir=/usr/share | + | ./configure --prefix=/usr --sysconfdir=/etc \ |
+ | --libdir=/usr/lib64 --datadir=/usr/share && | ||
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install && |
− | mv /usr/bin/gimptool-2.0 | + | mv /usr/bin/gimptool-2.0{,-64} |
− | ln -sfv | + | ln -sfv multiarch_wrapper /usr/bin/gimptool-2.0 && |
− | install -v -m755 -d /usr/share/doc/gimp- | + | install -v -m755 -d /usr/share/doc/gimp-{{GIMP-Version}} && |
− | install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.2. | + | install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-{{GIMP-Version}} |
+ | |||
+ | On ppc64 there is an endian bug somewhere that causes the 64-bit version to demand insane amounts of memory. The 32-bit version works well there. | ||
+ | |||
+ | = Contents = | ||
+ | |||
+ | Installed Programs: gimp, gimp-{{GIMP-Version2}}, gimp-remote, gimp-remote-{{GIMP-Version2}}, gimptool-2.0 | ||
+ | |||
+ | Installed Libraries: libgimp-2.0.so, libgimpbase-2.0.so, libgimpcolor-2.0.so, libgimpmath-2.0.so, libgimpmodule-2.0.so, libgimpthumb-2.0.so, libgimpui-2.0.so, libgimpwidgets-2.0.so, many other modules and plugin libraries | ||
+ | |||
+ | Installed Directories: /etc/gimp, /usr/include/gimp-2.0, /usr/lib/gimp, /usr/share/doc/gimp-{{GIMP-Version}}, /usr/share/gimp, /usr/share/gtk-doc/html/libgimp{,base,color,math,module,thumb,widgets} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | gimp: is a symbolic link to gimp-{{GIMP-Version2}}. | ||
+ | |||
+ | gimp-{{GIMP-Version2}}: is an image manipulation program. It works with a variety of image formats and provides a large selection of tools. | ||
+ | |||
+ | gimp-remote: is a symbolic link to gimp-remote-{{GIMP-Version2}}. | ||
+ | |||
+ | gimp-remote-{{GIMP-Version2}}: is a small utility that tells a running GIMP to open a local or remote image file. | ||
+ | |||
+ | gimptool-2.0: is a tool that can build plug-ins or scripts and install them if they are distributed in one source file. gimptool-2.0 | ||
+ | can also be used by programs that need to know what libraries and include-paths GIMP was compiled with. | ||
+ | |||
+ | libgimp-2.0.so: provides C bindings for GIMP's Procedural Database (PDB) which offers an interface to core functions and to functionality provided by plug-ins. | ||
+ | |||
+ | libgimpbase-2.0.so: provides the C functions for basic GIMP functionality such as determining enumeration data types, gettext translation, determining GIMP's version number and capabilities, handling data files and accessing the environment. | ||
+ | |||
+ | libgimpcolor-2.0.so: provides the C functions relating to RGB, HSV and CMYK colors as well as converting colors between different color models and performing adaptive supersampling on an area. | ||
+ | |||
+ | libgimpmath-2.0.so: contains C functions which provide mathematical definitions and macros, manipulate 3x3 transformation matrices, set up and manipulate vectors and the MD5 message-digest algorithm. | ||
+ | |||
+ | libgimpmodule-2.0.so: provides the C functions which implements module loading using GModule and keeps a list of GimpModule's found in a given searchpath. | ||
+ | |||
+ | libgimpthumb-2.0.so: provides the C functions for handling GIMP's thumbnail objects. | ||
+ | |||
+ | libgimpui-2.0.so: contains the GIMP common user interface functions. | ||
+ | |||
+ | libgimpwidgets-2.0.so: contains GIMP and GTK widget creation and manipulation functions. | ||
+ | |||
+ | [[Category:Graphics Utilities]] |
Latest revision as of 08:09, 18 July 2009
Download Source: | ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-2.6.8.tar.bz2 |
---|
Contents
Introduction to GIMP
The Gimp package contains the GNU Image Manipulation Program. This is useful for photo retouching, image composition and image authoring.
Project Homepage: http://www.gimp.org
Dependencies
Required
Recommended
- Gutenprint build the Gimp first with --disable-print
- libjpeg
- LibTIFF
Optional
Optional (for Building Documentation from the Help Tarball)
- libXSLT
- DocBook XML
- ImageMagick (only needed to optimize PNG images)
Configuration Information
On a multi-processor machine, you may want to add this option to the ./configure script:
--enable-mp: Enables multi-processor support. |
Also see man gimprc and read about the option num-processors.
Non-Multilib
Compile the package:
./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share && make
Install the package
make install && install -v -m755 -d /usr/share/doc/gimp-2.6.8 && install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.6.8
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \ ./configure --prefix=/usr --sysconfdir=/etc \ --datadir=/usr/share --build=${CLFS_TARGET32} && make
Install the package
make install && mv /usr/bin/gimptool-2.0{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib32 --datadir=/usr/share && make
Install the package
make install && mv /usr/bin/gimptool-2.0{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \ ./configure --prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib64 --datadir=/usr/share && make
Install the package
make install && mv /usr/bin/gimptool-2.0{,-64} ln -sfv multiarch_wrapper /usr/bin/gimptool-2.0 && install -v -m755 -d /usr/share/doc/gimp-2.6.8 && install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.6.8
On ppc64 there is an endian bug somewhere that causes the 64-bit version to demand insane amounts of memory. The 32-bit version works well there.
Contents
Installed Programs: gimp, gimp-2.6, gimp-remote, gimp-remote-2.6, gimptool-2.0
Installed Libraries: libgimp-2.0.so, libgimpbase-2.0.so, libgimpcolor-2.0.so, libgimpmath-2.0.so, libgimpmodule-2.0.so, libgimpthumb-2.0.so, libgimpui-2.0.so, libgimpwidgets-2.0.so, many other modules and plugin libraries
Installed Directories: /etc/gimp, /usr/include/gimp-2.0, /usr/lib/gimp, /usr/share/doc/gimp-2.6.8, /usr/share/gimp, /usr/share/gtk-doc/html/libgimp{,base,color,math,module,thumb,widgets}
Short Descriptions
gimp: is a symbolic link to gimp-2.6.
gimp-2.6: is an image manipulation program. It works with a variety of image formats and provides a large selection of tools.
gimp-remote: is a symbolic link to gimp-remote-2.6.
gimp-remote-2.6: is a small utility that tells a running GIMP to open a local or remote image file.
gimptool-2.0: is a tool that can build plug-ins or scripts and install them if they are distributed in one source file. gimptool-2.0 can also be used by programs that need to know what libraries and include-paths GIMP was compiled with.
libgimp-2.0.so: provides C bindings for GIMP's Procedural Database (PDB) which offers an interface to core functions and to functionality provided by plug-ins.
libgimpbase-2.0.so: provides the C functions for basic GIMP functionality such as determining enumeration data types, gettext translation, determining GIMP's version number and capabilities, handling data files and accessing the environment.
libgimpcolor-2.0.so: provides the C functions relating to RGB, HSV and CMYK colors as well as converting colors between different color models and performing adaptive supersampling on an area.
libgimpmath-2.0.so: contains C functions which provide mathematical definitions and macros, manipulate 3x3 transformation matrices, set up and manipulate vectors and the MD5 message-digest algorithm.
libgimpmodule-2.0.so: provides the C functions which implements module loading using GModule and keeps a list of GimpModule's found in a given searchpath.
libgimpthumb-2.0.so: provides the C functions for handling GIMP's thumbnail objects.
libgimpui-2.0.so: contains the GIMP common user interface functions.
libgimpwidgets-2.0.so: contains GIMP and GTK widget creation and manipulation functions.