|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/gnome24/glib/gnome-24.conf
|
|
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
if [ "$prefix_auto" = 1 ] ; then
|
|
if [ "$NO_SANITY_CHECK" ] ; then
|
|
prefix=$ROCKCFG_PKG_GNOME24_CORE_PREFIX
|
|
else
|
|
for dir in usr opt/gnome24 $ROCKCFG_PKG_GNOME24_CORE_PREFIX ; do
|
|
[ -f "$root/$dir/lib/libglib-2.0.so" ] && prefix="$dir"
|
|
done
|
|
|
|
[ ! -f "$root/$prefix/lib/libglib-2.0.so" ] &&
|
|
abort "glib is not installed (in prefix $prefix)!"
|
|
fi
|
|
|
|
set_confopt
|
|
fi
|
|
|
|
# index.sgml is missing almost all packages ->
|
|
var_append confopt " " "--disable-gtk-doc"
|
|
|
|
#@FIXME determine python version
|
|
export PYTHONPATH="$root/$prefix/lib/python2.3/site-packages/:/usr/lib/python2.3/site-packages/"
|
|
|
|
#@FIXME remove once gnome24 is polished:
|
|
configure_features() {
|
|
if [ -f ./configure ]; then
|
|
echo Logging ./configure features:
|
|
eval_config_command --help
|
|
fi
|
|
}
|
|
[ -z "$SHOW_CONFIG_HELP" ] && hook_add preconf 3 "configure_features"
|
|
|
|
[ -z "$IN_GCONF" ] && . package/*/gconf/gnome-24.gconf.conf
|
|
. package/*/gtk+/gnome-24.gtk+.conf
|
|
. package/*/scrollkeeper/gnome-24.scrollkeeper.conf
|
|
|
|
#@FIXME temporary solution until xrender stuff is sorted out:
|
|
# pkgconfig path in gnome24 must be first
|
|
export PKG_CONFIG_PATH="/opt/gnome24/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/X11/lib/pkgconfig/"
|