From: Rudolf Polzer Date: Sat, 14 May 2011 16:37:52 +0000 (+0200) Subject: support more locations for pixbufloader-bmp X-Git-Tag: xonotic-v0.5.0~28^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5dcc40cfdb2469e8c9282f4e37565710d0b1bdcf;p=xonotic%2Fnetradiant.git support more locations for pixbufloader-bmp --- diff --git a/install-dylibs.sh b/install-dylibs.sh index 798a7d14..9f4e3e2b 100755 --- a/install-dylibs.sh +++ b/install-dylibs.sh @@ -24,19 +24,25 @@ finkgetdeps() finkgetdeps "$INSTALLDIR/radiant.$EXE" echo Warning: this only works if only ONE version of gtk-2.0 and pango is installed -for LIB in "$MACLIBDIR"/gtk-2.0/*/loaders/libpixbufloader-bmp.so; do +LAST= +for LIB in "$MACLIBDIR"/gtk-2.0/*/loaders/libpixbufloader-bmp.so "$MACLIBDIR"/gdk-pixbuf-2.0/*/loaders/libpixbufloader-bmp.so; do + [ -f "$LIB" ] || continue LAST=$LIB done cp -L "$LAST" "$INSTALLDIR" finkgetdeps "$LAST" +LAST= for LIB in "$MACLIBDIR"/pango/*/modules/pango-basic-fc.so; do + [ -f "$LIB" ] || continue LAST=$LIB done cp -L "$LAST" "$INSTALLDIR" finkgetdeps "$LAST" +LAST= for LIB in "$MACLIBDIR"/pango/*/modules/pango-basic-x.so; do + [ -f "$LIB" ] || continue LAST=$LIB done cp -L "$LAST" "$INSTALLDIR"