Difference between revisions of "GIMP"

From CBLFS
Jump to navigationJump to search
 
(16 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gimp.org/pub/gimp/v2.2/gimp-2.2.13.tar.bz2
+
| 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 ===
 
=== Required ===
 +
* [[GEGL]]
 
* [[Gtk2]]
 
* [[Gtk2]]
 
* [[libart_lgpl]]
 
* [[libart_lgpl]]
 
* [[Perl Module XML::Parser|XML::Parser]]
 
* [[Perl Module XML::Parser|XML::Parser]]
 
 
=== Recommended ===
 
=== Recommended ===
* [[Gimp-Print]]
+
* [[Gutenprint]] build the Gimp first with --disable-print
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[LibTIFF]]
 
* [[LibTIFF]]
 
 
=== Optional ===
 
=== Optional ===
 
* [[libmng]]
 
* [[libmng]]
Line 32: Line 33:
 
* [[ALSA]]
 
* [[ALSA]]
 
* [[libwmf]]
 
* [[libwmf]]
 
+
* [[Poppler]]
 
=== Optional (for Building Documentation from the Help Tarball) ===
 
=== Optional (for Building Documentation from the Help Tarball) ===
 
* [[libXSLT]]
 
* [[libXSLT]]
 
* [[DocBook XML]]
 
* [[DocBook XML]]
 
* [[ImageMagick]] (only needed to optimize PNG images)
 
* [[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 48: Line 58:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/gimp-2.2.13 &&
+
  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.13
+
  install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-{{GIMP-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 56: Line 66:
  
 
Compile the package:
 
Compile the package:
+
 
export USE_ARCH=32 &&
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
  CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" \
+
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
  
Line 65: Line 76:
  
 
  make install &&
 
  make install &&
  mv /usr/bin/gimptool-2.0 /usr/bin/gimptool-2.0-32
+
  mv /usr/bin/gimptool-2.0{,-32}
  
 
=== N32 ===
 
=== N32 ===
  
TO DO!
+
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 75: Line 97:
 
Compile the package:
 
Compile the package:
  
export USE_ARCH=64 &&
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
  CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
+
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
  
Line 83: Line 106:
  
 
  make install &&
 
  make install &&
  mv /usr/bin/gimptool-2.0 /usr/bin/gimptool-2.0-64 &&
+
  mv /usr/bin/gimptool-2.0{,-64}
  ln -sfv /usr/bin/multiarch_wrapper /usr/bin/gimptool-2.0 &&
+
  ln -sfv multiarch_wrapper /usr/bin/gimptool-2.0 &&
  install -v -m755 -d /usr/share/doc/gimp-2.2.13 &&
+
  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.13
+
  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 =
 
= Contents =
The GIMP package contains the GNU Image Manipulation Program.
 
  
Installed Programs: gimp, gimp-2.2, gimp-remote, gimp-remote-2.2, gimptool-2.0
+
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 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.2.12, /usr/share/gimp, /usr/share/gtk-doc/html/libgimp{,base,color,math,module,thumb,widgets}
+
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 ===
 
=== Short Descriptions ===
  
gimp: is a symbolic link to gimp-2.2.  
+
gimp: is a symbolic link to gimp-{{GIMP-Version2}}.  
  
gimp-2.2: is an image manipulation program. It works with a variety of image formats and provides a large selection of tools.  
+
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-2.2.  
+
gimp-remote: is a symbolic link to gimp-remote-{{GIMP-Version2}}.  
  
gimp-remote-2.2: is a small utility that tells a running GIMP to open a local or remote image file.  
+
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  
 
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  
Line 125: Line 149:
  
 
libgimpwidgets-2.0.so: contains GIMP and GTK widget creation and manipulation functions.
 
libgimpwidgets-2.0.so: contains GIMP and GTK widget creation and manipulation functions.
 +
 +
[[Category:Graphics Utilities]]

Latest revision as of 09:09, 18 July 2009

Download Source: ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-2.6.8.tar.bz2

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

Optional

Optional (for Building Documentation from the Help Tarball)

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.