xdg-app-builder: Adding a symlink

Murray Cumming murrayc at murrayc.com
Mon Dec 14 09:08:27 UTC 2015


On Mon, 2015-12-14 at 08:50 +0100, Alexander Larsson wrote:
> 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.

I'd want to do a pre-install command, before boost, rather than post
-install after python, which I'm not installing.

I actually worked around this for now by just telling boost to use an
extra -I:
https://git.gnome.org/browse/glom/commit/?id=91c16d731e206cbc18443cbc65
7d9bffef94e2bb

-- 
Murray Cumming
murrayc at murrayc.com
www.murrayc.com






More information about the xdg-app mailing list