Difference between revisions of "Gpdf"

From CBLFS
Jump to navigationJump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gnome.org/pub/GNOME/sources/gpdf/2.9/gpdf-2.9.3.tar.bz2
+
| ftp://ftp.gnome.org/pub/GNOME/sources/gpdf/{{Gpdf-Version2}}/gpdf-{{Gpdf-Version}}.tar.bz2
|
+
|-
|Required patch: To be uploaded...
+
!Required Patch:
|
+
| http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-{{Gpdf-Version}}-gcc4-2.patch
 +
|-
 +
!Required Patch (64bit Build):
 +
| http://svn.cross-lfs.org/svn/repos/patches/gpdf/gpdf-{{Gpdf-Version}}-gcc4_amd64-1.patch
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
 +
* [[Xpdf]]
 +
* [[libgnomeui]]
 +
* [[libgnomeprintui]]
 +
* [[GNOME Virtual File System]]
 +
* [[GConf]]
 +
* [[libglade]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
If you have a 64bit system apply the following patch:
 +
 +
patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4_amd64-1.patch
 +
 +
Compile the package:
 +
 +
patch -Np1 -i ../gpdf-{{Gpdf-Version}}-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-{{Gpdf-Version}}-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-{{Gpdf-Version}}-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:
 
Compile the package:
  
  patch -Np1 < gpdf-2.9.3-compile-fixes.patch &&
+
  patch -Np1 -i ../gpdf-{{Gpdf-Version}}-gcc4-2.patch &&
  ./configure --prefix=/usr --localstatedir=/var --with-gconf-schema-file-dir=/etc/gnome/gconf/schemas &&
+
patch -Np1 -i ../gpdf-{{Gpdf-Version}}-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
 
  make
  
Install the package
+
Install the package:
  
 
  make install
 
  make install

Latest revision as of 15:33, 16 April 2007

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

Introduction to Gpdf

Project Homepage: Unknown

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