xdg-app-builder: Adding a symlink

Alexander Larsson alexl at redhat.com
Mon Dec 14 08:45:15 UTC 2015


On lör, 2015-12-12 at 22:25 +0100, Murray Cumming wrote:
> On Sat, 2015-12-12 at 11:44 +0100, Murray Cumming wrote:
> > After building python in xdg-app-builder, I need to create a
> > symlink
> > from
> > /app/include/python3.5
> > to
> > /app/include/python3.5m
> > so that boost's awful build system can find it. I think distros do
> > this
> > in their packages.
> > 
> > Python already has configure and Makefile files. Is there an easy
> > way
> > to just run an extra shell command after the install, or do I need
> > to
> > patch python's build files?
> 
> Actually, on second thoughts, I'd rather just use the python provided
> by xdg-app (or maybe it's from the GNOME SDK?). But that's missing
> the
> symlink. Ubuntu/Debian adds the symlink in its package, and I'd guess
> that Fedora does too.
> 
> I've tried fixing boost's build system to make it do
>   -I /usr/include/python3.3m
> instead of
>   -I /usr/include/python3.3
> but so far I fear it might be a fundamental problem in boost's build
> system.
> 
> Could we add the symlink to xdg-app's /usr ?

I don't see where fedora does this. At least I don't have a symlink
like this, instead there are some boost patches:

http://pkgs.fedoraproject.org/cgit/boost.git/tree/boost-1.57.0-python-abi_letters.patch
http://pkgs.fedoraproject.org/cgit/boost.git/tree/boost-1.57.0-python-libpython_dep.patch

However, debian does seem to have the link:


https://packages.debian.org/sid/amd64/libpython3.5-dev/filelist

I can't find where this is created in the sources though. Can you find this?

It seems the "m" part is part of the ABI flags to mean "optimized". I
don't know python packaging well enought to know what the right
decision is here. Does anyone else know more about this?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a one-legged moralistic dwarf moving from town to town, helping folk 
in trouble. She's a mistrustful streetsmart traffic cop with the power to 
see death. They fight crime! 





More information about the xdg-app mailing list