|
|
@ -32,57 +32,53 @@ sysconfdir="${sysconfdir%xfce4}" |
|
|
|
[ "$ROCKCFG_DISABLE_NLS" = 1 ] && postmake="rm -rf $datadir/xfce4/doc/??{,_??}" |
|
|
|
|
|
|
|
xfce4_custmain() { |
|
|
|
if [ "$prefix_auto" = 1 ] ; then |
|
|
|
prefix="opt/xfce4" |
|
|
|
var_append confopt " " "--prefix=$root/$prefix" |
|
|
|
fi |
|
|
|
if [ "$prefix_auto" = 1 ] |
|
|
|
then |
|
|
|
prefix="opt/xfce4" |
|
|
|
set_confopt |
|
|
|
fi |
|
|
|
|
|
|
|
# these need to be built first in that order |
|
|
|
xfce4_prebuild="libxfce4util libxfcegui4 libxfce4mcs xfce-mcs-manager\ |
|
|
|
xfce4-panel" |
|
|
|
|
|
|
|
for i in $xfce4_prebuild; do |
|
|
|
echo "Building $i ..." |
|
|
|
echo "extracting src/${i}*.tar.gz ..." |
|
|
|
tar xzf src/${i}*.tar.gz |
|
|
|
cd ${i}* |
|
|
|
hook_eval preconf |
|
|
|
echo "./configure $confopt" |
|
|
|
eval ./configure $confopt |
|
|
|
# we create the $prefix here - so it's not in the env yet.. |
|
|
|
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$libdir/pkgconfig" |
|
|
|
export PATH="$PATH:$bindir" |
|
|
|
|
|
|
|
hook_eval premake |
|
|
|
echo "make $makeopt" |
|
|
|
eval make $makeopt |
|
|
|
echo "evaluating inmake" |
|
|
|
# sometimes xfce is unsure if its own header files are |
|
|
|
# in /$prefix/include/ or /$prefix/include/xfce4/ .. |
|
|
|
var_append CC_WRAPPER_APPEND " " "-I$includedir" |
|
|
|
|
|
|
|
hook_eval inmake |
|
|
|
echo "make $makeopt $makeinstopt" |
|
|
|
eval make $makeopt $makeinstopt |
|
|
|
hook_eval postmake |
|
|
|
cd .. |
|
|
|
echo "Finished building $i" |
|
|
|
done |
|
|
|
for i in \ |
|
|
|
src/libxfce4util-*.tar.gz \ |
|
|
|
src/dbh-*.tar.gz \ |
|
|
|
src/libxfcegui4-*.tar.gz \ |
|
|
|
src/libxfce4mcs-*.tar.gz \ |
|
|
|
src/xfce-mcs-manager-*.tar.gz \ |
|
|
|
src/xfce4-panel-*.tar.gz \ |
|
|
|
src/*.tar.gz |
|
|
|
do |
|
|
|
if [ ! -d $(basename ${i%.tar.gz}) ]; then |
|
|
|
echo |
|
|
|
echo "Building $i ..." |
|
|
|
tar xzf ${i} |
|
|
|
cd $(basename ${i%.tar.gz}) |
|
|
|
|
|
|
|
for i in src/*.tar.gz; do |
|
|
|
i=$(basename ${i/.tar.gz}) |
|
|
|
if [[ ${xfce4_prebuild} != *${i} ]]; then |
|
|
|
echo "Building $i ..." |
|
|
|
tar xzf src/${i}*.tar.gz |
|
|
|
cd ${i}* |
|
|
|
hook_eval preconf |
|
|
|
echo "./configure $confopt" |
|
|
|
eval ./configure $confopt |
|
|
|
hook_eval premake |
|
|
|
echo "make $makeopt" |
|
|
|
eval make $makeopt |
|
|
|
hook_eval inmake |
|
|
|
echo "make $makeopt $makeinstopt" |
|
|
|
eval make $makeopt $makeinstopt |
|
|
|
hook_eval postmake |
|
|
|
cd .. |
|
|
|
echo "Finished building $i" |
|
|
|
fi |
|
|
|
done |
|
|
|
hook_eval preconf |
|
|
|
echo "./configure $confopt" |
|
|
|
eval ./configure $confopt |
|
|
|
|
|
|
|
hook_eval premake |
|
|
|
echo "make $makeopt" |
|
|
|
eval make $makeopt |
|
|
|
echo "evaluating inmake" |
|
|
|
|
|
|
|
hook_eval inmake |
|
|
|
echo "make $makeopt $makeinstopt" |
|
|
|
eval make $makeopt $makeinstopt |
|
|
|
hook_eval postmake |
|
|
|
echo "Finished building $i" |
|
|
|
echo |
|
|
|
cd .. |
|
|
|
fi |
|
|
|
done |
|
|
|
} |
|
|
|
|
|
|
|
custmain="xfce4_custmain" |
|
|
|