Difference between revisions of "Gpdf"
From CBLFS
Jump to navigationJump to searchLine 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | ftp://ftp.gnome.org/pub/GNOME/sources/gpdf/ | + | | ftp://ftp.gnome.org/pub/GNOME/sources/gpdf/{{Gpdf-Version2}}/gpdf-{{Gpdf-Version}}.tar.bz2 |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf- | + | | http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-{{Gpdf-Version}}-gcc4-2.patch |
|- | |- | ||
!Required Patch (64bit Build): | !Required Patch (64bit Build): | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf- | + | | http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-{{Gpdf-Version}}-gcc4_amd64-1.patch |
|} | |} | ||
Line 27: | Line 27: | ||
If you have a 64bit system apply the following patch: | If you have a 64bit system apply the following patch: | ||
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4_amd64-1.patch |
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4-2.patch && |
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \ | ./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \ | ||
--libexecdir=${GNOME_PREFIX}/lib/gpdf --sysconfdir=/etc \ | --libexecdir=${GNOME_PREFIX}/lib/gpdf --sysconfdir=/etc \ | ||
Line 48: | Line 48: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4-2.patch && |
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \ | ./configure --prefix=${GNOME_PREFIX} --localstatedir=/var \ | ||
Line 63: | Line 63: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4-2.patch && |
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | ||
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib32 \ | ./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib32 \ | ||
Line 78: | Line 78: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4-2.patch && |
− | patch -Np1 -i ../gpdf- | + | patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4_amd64-1.patch && |
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib64 \ | ./configure --prefix=${GNOME_PREFIX} --localstatedir=/var --libdir=${GNOME_PREFIX}/lib64 \ |
Revision as of 19:13, 17 December 2006
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