xdg-app-builder: Adding a symlink

Alexander Larsson alexl at redhat.com
Mon Dec 14 07:50:18 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?

Every module can have a post-install array of shell commands, which you
could use for something like this.

> 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'll have a look at this.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a scrappy Amish Green Beret trapped in a world he never made. She's 
a scantily clad gypsy fairy princess who hides her beauty behind a pair 
of thick-framed spectacles. They fight crime! 





More information about the xdg-app mailing list