Difference between revisions of "DevHelp"

From CBLFS
Jump to navigationJump to search
Line 22: Line 22:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 
If your $GNOME_PREFIX is anything other then /usr correct the [[Gedit]] plugin installation path with the following command:
 
 
sed -i "/^plugindir =/s:=.*:= ${GNOME_PREFIX}/lib/gedit-2/plugins:" misc/gedit-plugin/Makefile.in
 
  
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --sysconfdir=/etc/gnome &&
+
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Line 39: Line 35:
  
 
=== 32Bit ===
 
=== 32Bit ===
 
If your $GNOME_PREFIX is anything other then /usr correct the [[Gedit]] plugin installation path with the following command:
 
 
sed -i "/^plugindir =/s:=.*:= ${GNOME_PREFIX}/lib/gedit-2/plugins:" misc/gedit-plugin/Makefile.in
 
  
 
Compile the package:
 
Compile the package:
Line 48: Line 40:
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
  ./configure --prefix=/usr --sysconfdir=/etc/gnome &&
+
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
 
  make
 
  make
  
Line 56: Line 48:
  
 
=== N32 ===
 
=== N32 ===
 
If your $GNOME_PREFIX is anything other then /usr correct the [[Gedit]] plugin installation path with the following command:
 
 
sed -i "/^plugindir =/s:=.*:= ${GNOME_PREFIX}/lib32/gedit-2/plugins:" misc/gedit-plugin/Makefile.in
 
  
 
Compile the package:
 
Compile the package:
Line 65: Line 53:
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
+
  ./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
     --libdir=/usr/lib32 &&
+
     --libdir=${GNOME_PREFIX}/lib32 &&
 
  make
 
  make
  
Line 74: Line 62:
  
 
=== 64Bit ===
 
=== 64Bit ===
 
If your $GNOME_PREFIX is anything other then /usr correct the [[Gedit]] plugin installation path with the following command:
 
 
sed -i "/^plugindir =/s:=.*:= ${GNOME_PREFIX}/lib64/gedit-2/plugins:" misc/gedit-plugin/Makefile.in
 
  
 
Compile the package:
 
Compile the package:
Line 84: Line 68:
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 
  PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
 
  ./configure --prefix=/usr --sysconfdir=/etc/gnome \
     --libdir=/usr/lib64 &&
+
     --libdir=${GNOME_PREFIX}/lib64 &&
 
  make
 
  make
  
Line 102: Line 86:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/devhelp
+
| ${GNOME_PREFIX}/share/devhelp
 
|}
 
|}

Revision as of 14:44, 26 December 2006

Download Source: http://ftp.gnome.org/pub/GNOME/sources/devhelp/0.22/devhelp-0.22.tar.bz2

Introduction to DevHelp

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=${GNOME_PREFIX} --sysconfdir=/etc/gnome \
    --libdir=${GNOME_PREFIX}/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc/gnome \
    --libdir=${GNOME_PREFIX}/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: devhelp
Installed Libraries: libdevhelp-1.so
Installed Directories: ${GNOME_PREFIX}/share/devhelp