Difference between revisions of "Alacarte"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 18: Line 18:
  
 
  sed -i "/^import sys/a\if not "\
 
  sed -i "/^import sys/a\if not "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\""\
+
  "\"${GNOME_PREFIX}/lib/python{{Python-Version2}}/site-packages\""\
 
  " in sys.path:\n    sys.path.insert (0, "\
 
  " in sys.path:\n    sys.path.insert (0, "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\")" alacarte.in
+
  "\"${GNOME_PREFIX}/lib/python{{Python-Version2}}/site-packages\")" alacarte.in
  
 
Compile the package:
 
Compile the package:
Line 39: Line 39:
  
 
  sed -i "/^import sys/a\if not "\
 
  sed -i "/^import sys/a\if not "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\""\
+
  "\"${GNOME_PREFIX}/lib/python{{Python-Version2}}/site-packages\""\
 
  " in sys.path:\n    sys.path.insert (0, "\
 
  " in sys.path:\n    sys.path.insert (0, "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\")" alacarte.in
+
  "\"${GNOME_PREFIX}/lib/python{{Python-Version2}}/site-packages\")" alacarte.in
  
 
Compile the package:
 
Compile the package:
Line 58: Line 58:
  
 
  sed -i "/^import sys/a\if not "\
 
  sed -i "/^import sys/a\if not "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\""\
+
  "\"${GNOME_PREFIX}/lib32/python{{Python-Version2}}/site-packages\""\
 
  " in sys.path:\n    sys.path.insert (0, "\
 
  " in sys.path:\n    sys.path.insert (0, "\
  "\"${GNOME_PREFIX}/lib64/python{{Python-Version2}}/site-packages\")" alacarte.in
+
  "\"${GNOME_PREFIX}/lib32/python{{Python-Version2}}/site-packages\")" alacarte.in
  
 
Compile the package:
 
Compile the package:

Revision as of 17:16, 16 January 2007

Download Source: http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.13/alacarte-0.13.2.tar.bz2

Dependencies

Required

Non-Multilib

Make sure that the data installed in the site-packages directory can be found:

sed -i "/^import sys/a\if not "\
"\"${GNOME_PREFIX}/lib/python2.7/site-packages\""\
" in sys.path:\n    sys.path.insert (0, "\
"\"${GNOME_PREFIX}/lib/python2.7/site-packages\")" alacarte.in

Compile the package:

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

Install the package

make install

Multilib

This package does not compile anything but it will still install files into pythons site-packages. Only one installation is needed.

32Bit

Make sure that the data installed in the site-packages directory can be found:

sed -i "/^import sys/a\if not "\
"\"${GNOME_PREFIX}/lib/python2.7/site-packages\""\
" in sys.path:\n    sys.path.insert (0, "\
"\"${GNOME_PREFIX}/lib/python2.7/site-packages\")" alacarte.in

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=${GNOME_PREFIX} &&
make

Install the package

make install

N32

Make sure that the data installed in the site-packages directory can be found:

sed -i "/^import sys/a\if not "\
"\"${GNOME_PREFIX}/lib32/python2.7/site-packages\""\
" in sys.path:\n    sys.path.insert (0, "\
"\"${GNOME_PREFIX}/lib32/python2.7/site-packages\")" alacarte.in

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=n32 \
./configure --prefix=${GNOME_PREFIX} &&
make

Install the package

make install

64Bit

Make sure that the data installed in the site-packages directory can be found:

sed -i "/^import sys/a\if not "\
"\"${GNOME_PREFIX}/lib64/python2.7/site-packages\""\
" in sys.path:\n    sys.path.insert (0, "\
"\"${GNOME_PREFIX}/lib64/python2.7/site-packages\")" alacarte.in

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=${GNOME_PREFIX} &&
make

Install the package

make install
Retrieved from "?title=Alacarte&oldid=7199"