gtk/filesystem-extra/extra.tcsh
Weng 1e8053de59 set GI_TYPELIB_PATH for gobject-introspection library
GI_TYPELIB_PATH also need to include extra path, now
from gi.repository import Gtk works.
2013-08-01 19:57:38 +00:00

21 lines
670 B
Tcsh

setenv EXTRADIR /extra
setenv EXTRADIRS /usr:$EXTRADIR/usr
setenv PATH $PATH:$EXTRADIR/usr/bin
setenv MANPATH $MANPATH:$EXTRADIR/usr/man
setenv PKG_CONFIG_PATH $PKG_CONFIG_PATH:$EXTRADIR/usr/lib/pkgconfig
if ( ! $?XDG_DATA_DIRS ) then
setenv XDG_DATA_DIRS $EXTRADIR/usr/share
else
setenv XDG_DATA_DIRS $XDG_DATA_DIRS:$EXTRADIR/usr/share
endif
if ( ! $?XDG_CONFIG_DIRS ) then
setenv XDG_CONFIG_DIRS $EXTRADIR/etc/xdg
else
setenv XDG_CONFIG_DIRS $XDG_CONFIG_DIRS:$EXTRADIR/etc/xdg
endif
if ( ! $?GI_TYPELIB_PATH ) then
setenv GI_TYPELIB_PATH $EXTRADIR/usr/lib/girepository-1.0
else
export GI_TYPELIB_PATH $GI_TYPELIB_PATH:$EXTRADIR/usr/lib/girepository-1.0
fi