Gnome module werden jetzt korrekt verlinkt
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5004 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
b7a957e9a5
commit
11a5b50e51
@ -75,10 +75,11 @@ SRCPATH=WindowManager/Gnome/Lib
|
|||||||
|
|
||||||
|
|
||||||
premk() {
|
premk() {
|
||||||
ln -s /opt/gnome/lib/gtk-2.0/modules /usr/lib/gtk-2.0
|
#ln -sf /opt/gnome/lib/gtk-2.0/modules /usr/lib/gtk-2.0
|
||||||
if [ "$MK64BIT" = "true" ]; then
|
#if [ "$MK64BIT" = "true" ]; then
|
||||||
ln -s /opt/gnome/lib64/gtk-2.0/modules /usr/lib64/gtk-2.0
|
#ln -sf /opt/gnome/lib64/gtk-2.0/modules /usr/lib64/gtk-2.0
|
||||||
fi
|
#fi
|
||||||
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
@ -119,14 +120,20 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
if [ ! -d $TMPROOT/usr/lib/gtk-2.0 ]; then
|
if [ ! -d $TMPROOT/usr/lib/gtk-2.0/modules ]; then
|
||||||
mkdir -p $TMPROOT/usr/lib/gtk-2.0
|
mkdir -p $TMPROOT/usr/lib/gtk-2.0/modules
|
||||||
fi
|
fi
|
||||||
ln -s /opt/gnome/lib/gtk-2.0/modules $TMPROOT/usr/lib/gtk-2.0
|
for i in $TMPROOT/opt/gnome/lib/gtk-2.0/modules/*; do
|
||||||
|
MODNAME=`basename $i`
|
||||||
|
ln -sf /opt/gnome/lib/gtk-2.0/modules/$MODNAME $TMPROOT/usr/lib/gtk-2.0/modules/$MODNAME
|
||||||
|
done
|
||||||
if [ "$MK64BIT" = "true" ]; then
|
if [ "$MK64BIT" = "true" ]; then
|
||||||
if [ ! -d $TMPROOT/usr/lib64/gtk-2.0 ]; then
|
if [ ! -d $TMPROOT/usr/lib64/gtk-2.0/modules ]; then
|
||||||
mkdir -p $TMPROOT/usr/lib64/gtk-2.0
|
mkdir -p $TMPROOT/usr/lib64/gtk-2.0/modules
|
||||||
fi
|
fi
|
||||||
ln -s /opt/gnome/lib64/gtk-2.0/modules $TMPROOT/usr/lib64/gtk-2.0
|
for i in $TMPROOT/opt/gnome/lib64/gtk-2.0/modules/*; do
|
||||||
|
MODNAME=`basename $i`
|
||||||
|
ln -sf /opt/gnome/lib64/gtk-2.0/modules/$MODNAME $TMPROOT/usr/lib64/gtk-2.0/modules/$MODNAME
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user