Difference between revisions of "GIMP"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 57: Line 57:
 
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 &&
 
  make
 
  make
  
Line 65: Line 66:
  
 
  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 87:
 
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 96:
  
 
  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-2.2.13 &&
 
  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-2.2.13

Revision as of 17:39, 21 October 2006

Download Source: ftp://ftp.gimp.org/pub/gimp/v2.2/gimp-2.2.13.tar.bz2

Dependencies

Required

Recommended

Optional

Optional (for Building Documentation from the Help Tarball)

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.2.13 &&
install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.2.13

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 &&
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.2.13 &&
install -v -m644 docs/{Wilber*,keybindings.txt,quick_reference.ps} /usr/share/doc/gimp-2.2.13

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 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}

Short Descriptions

gimp: is a symbolic link to gimp-2.2.

gimp-2.2: 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-2.2: 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.

Retrieved from "?title=GIMP&oldid=3264"