Difference between revisions of "GIMP"

From CBLFS
Jump to navigationJump to search
 
Line 34: Line 34:
 
  export USE_ARCH=32  
 
  export USE_ARCH=32  
 
  CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" \
 
  CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" \
  ./configure --prefix=/usr --sysconfdir=/etc
+
  ./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share
 
  make
 
  make
  
Line 40: Line 40:
  
 
  make install  
 
  make install  
  mv ./gimptool-2.0 ./gimptool-2.0-32
+
  mv /usr/bin/gimptool-2.0 /usr/bin/gimptool-2.0-32
  
 
=== N32 ===
 
=== N32 ===
Line 50: Line 50:
 
Compile the package:
 
Compile the package:
  
  export BUILDENC=64
+
  export USE_ARCH=64
 
  CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
 
  CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/ usr/lib64  
+
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --datadir=/usr/share
 
  make
 
  make
  

Revision as of 22:04, 30 September 2006

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

Dependencies

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:

export USE_ARCH=32 
CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" \
./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share
make

Install the package

make install 
mv /usr/bin/gimptool-2.0 /usr/bin/gimptool-2.0-32

N32

TO DO!

64Bit

Compile the package:

export USE_ARCH=64
CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 --datadir=/usr/share 
make

Install the package

make install 
mv /usr/bin/gimptool-2.0 /usr/bin/gimptool-2.0-64
ln -sfv /usr/bin/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
Retrieved from "?title=GIMP&oldid=2277"