Gpdf

From CBLFS
Revision as of 19:13, 17 December 2006 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.gnome.org/pub/GNOME/sources/gpdf/2.10/gpdf-2.10.0.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-2.10.0-gcc4-2.patch
Required Patch (64bit Build): http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-2.10.0-gcc4_amd64-1.patch

Dependencies

Required

Non-Multilib

If you have a 64bit system apply the following patch:

patch -Np1 -i ../gpdf-2.10.0-gcc4_amd64-1.patch

Compile the package:

patch -Np1 -i ../gpdf-2.10.0-gcc4-2.patch &&
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \
    --libexecdir=${GNOME_PREFIX}/lib/gpdf --sysconfdir=/etc \
    --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas &&
make

Install the package:

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../gpdf-2.10.0-gcc4-2.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \
    --libexecdir=${GNOME_PREFIX}/lib/gpdf --sysconfdir=/etc \
    --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas &&
make

Install the package:

make install

N32

Compile the package:

patch -Np1 -i ../gpdf-2.10.0-gcc4-2.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib32 \
    --libexecdir=${GNOME_PREFIX}/lib32/gpdf --sysconfdir=/etc \
    --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas &&
make

Install the package:

make install

64Bit

Compile the package:

patch -Np1 -i ../gpdf-2.10.0-gcc4-2.patch &&
patch -Np1 -i ../gpdf-2.10.0-gcc4_amd64-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib64 \
    --libexecdir=${GNOME_PREFIX}/lib64/gpdf --sysconfdir=/etc \
    --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas &&
make

Install the package:

make install
Retrieved from "?title=Gpdf&oldid=5968"