Difference between revisions of "Xorg7/Utilities"

From CBLFS
Jump to navigationJump to search
Line 53: Line 53:
 
  make install
 
  make install
  
Second install the imake package with the following commands:
+
Next, install the imake package with the following commands:
  
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 61: Line 61:
 
  mv -v ${XORG_PREFIX}/bin/xmkmf{,-32}
 
  mv -v ${XORG_PREFIX}/bin/xmkmf{,-32}
  
Build the four remaining packages with the standard build commands:
+
Next, install the gccmakedep package with the following commands:
 +
 
 +
sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
 +
CC="gcc ${BUILD32}" ./configure $XORG_CONFIG32 &&
 +
make &&
 +
make install &&
 +
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-32}
 +
 
 +
Build the three remaining packages with the standard build commands:
  
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
Line 73: Line 81:
 
=== N32 ===
 
=== N32 ===
  
First install the xorg-cf-files  package with the following commands:
+
First, install the xorg-cf-files  package with the following commands:
  
 
  sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
 
  sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
Line 80: Line 88:
 
  make install
 
  make install
  
Second install the imake package with the following commands:
+
Next, install the imake package with the following commands:
  
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 88: Line 96:
 
  mv -v ${XORG_PREFIX}/bin/xmkmf{,-n32}
 
  mv -v ${XORG_PREFIX}/bin/xmkmf{,-n32}
  
Build the four remaining packages with the standard build commands:
+
Next, install the gccmakedep package with the following commands:
 +
 
 +
sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
 +
CC="gcc ${BUILDN32}" ./configure $XORG_CONFIGN32 &&
 +
make &&
 +
make install &&
 +
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-n32}
 +
 
 +
Build the three remaining packages with the standard build commands:
  
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
Line 100: Line 116:
 
=== 64Bit ===
 
=== 64Bit ===
  
First install the xorg-cf-files  package with the following commands:
+
First, install the xorg-cf-files  package with the following commands:
  
 
  sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
 
  sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
Line 107: Line 123:
 
  make install
 
  make install
  
Second install the imake package with the following commands:
+
Next, install the imake package with the following commands:
  
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
Line 117: Line 133:
 
  ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/xmkmf
 
  ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/xmkmf
  
Build the four remaining packages with the standard build commands:
+
Next, install the gccmakedep package with the following commands:
 +
 
 +
sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
 +
CC="gcc ${BUILD64}" ./configure $XORG_CONFIG64 &&
 +
make &&
 +
make install &&
 +
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-64} &&
 +
ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/gccmakedep
 +
 
 +
Build the three remaining packages with the standard build commands:
  
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \

Revision as of 12:51, 23 September 2006

Download Source: http://xorg.freedesktop.org/releases/individual/util/

Back to Protocol Headers

Utilities

There are five utilities. Note that the download source, above is the base URL. Each could be downloaded individually, but it is probably easiest to use wget and append either *.bz2 or *.gz to the base URL to pull them all down to your system.

The protocols are, in build order:

  • xorg-cf-files
  • imake
  • gccmakedep
  • lndir
  • makedepend

Dependencies

Non-Multilib

First install the xorg-cf-files package with the following commands:

sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
./configure $XORG_CONFIG &&
make install

Build the five remaining packages with the standard build commands:

./configure $XORG_CONFIG &&
make

Install the package:

make install

Multilib

32Bit

First install the xorg-cf-files package with the following commands:

sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure $XORG_CONFIG32 &&
make install

Next, install the imake package with the following commands:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure $XORG_CONFIG32 &&
make install &&
mv -v ${XORG_PREFIX}/bin/imake{,-32} &&
mv -v ${XORG_PREFIX}/bin/xmkmf{,-32}

Next, install the gccmakedep package with the following commands:

sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
CC="gcc ${BUILD32}" ./configure $XORG_CONFIG32 &&
make &&
make install &&
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-32}

Build the three remaining packages with the standard build commands:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure $XORG_CONFIG32 &&
make

Install the package:

make install

N32

First, install the xorg-cf-files package with the following commands:

sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure $XORG_CONFIGN32 &&
make install

Next, install the imake package with the following commands:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure $XORG_CONFIGN32 &&
make install &&
mv -v ${XORG_PREFIX}/bin/imake{,-n32} &&
mv -v ${XORG_PREFIX}/bin/xmkmf{,-n32}

Next, install the gccmakedep package with the following commands:

sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
CC="gcc ${BUILDN32}" ./configure $XORG_CONFIGN32 &&
make &&
make install &&
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-n32}

Build the three remaining packages with the standard build commands:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure $XORG_CONFIGN32 &&
make

Install the package:

make install

64Bit

First, install the xorg-cf-files package with the following commands:

sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure $XORG_CONFIG64 &&
make install

Next, install the imake package with the following commands:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure $XORG_CONFIG64 &&
make install &&
mv -v ${XORG_PREFIX}/bin/imake{,-64} &&
mv -v ${XORG_PREFIX}/bin/xmkmf{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/imake &&
ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/xmkmf

Next, install the gccmakedep package with the following commands:

sed -i '/-DCCCMD=/s/$(CC)/"\\"&\\""/' Makefile.in &&
CC="gcc ${BUILD64}" ./configure $XORG_CONFIG64 &&
make &&
make install &&
mv -v ${XORG_PREFIX}/bin/gccmakedep{,-64} &&
ln -sfv /usr/bin/multiarch_wrapper ${XORG_PREFIX}/bin/gccmakedep

Build the three remaining packages with the standard build commands:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure $XORG_CONFIG64 &&
make

Install the package:

make install


Next install the Libraries