Bug#690822: caribou: architecture specific paths in arch-all package

Michael Biebl biebl at debian.org
Thu Oct 18 03:14:29 UTC 2012


Hi,

On 18.10.2012 04:48, Paul Wise wrote:
> 
> I'm not sure if this bug should be RC or not, but the caribou and
> caribou-preferences bash scripts are hard-coding multi-arch library
> paths. They are also setting a PYTHONPATH that does not exist on Debian.
> 
> caribou:
> 
>   export PYTHONPATH="/usr/lib/python2.7/site-packages${PYTHONPATH:+:$PYTHONPATH}"
>   export GI_TYPELIB_PATH="${prefix}/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
> 
> caribou-preferences:
> 
>   datadir="$(/usr/bin/python -c "from gi.repository import GLib; print ':'.join(GLib.get_system_data_dirs())")"
>   export PYTHONPATH="/usr/lib/python2.7/site-packages${PYTHONPATH:+:$PYTHONPATH}"
>   export GI_TYPELIB_PATH="${prefix}/lib/x86_64-linux-gnu/girepository-1.0${GI_TYPELIB_PATH:+:$GI_TYPELIB_PATH}"
>   export LD_LIBRARY_PATH="${prefix}/lib/x86_64-linux-gnu${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH}"
>   export XDG_DATA_DIRS="${prefix}/share${datadir:+:$datadir}"

Since caribou installs the introspection files and python modules in the
default system paths, it seems to me that it actually doesn't really
matter that much that GI_TYPELIB_PATH and PYTHONPATH point to
non-existing directories.
We could just as well drop those environment variables (including
LD_LIBRARY_PATH).

So it's mostly a cosmetic issue, imo, definitely not RC.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20121018/c75199e3/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list