Re: xdg-app; was: WGO Transition Meeting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 November 2015 at 18:42, Michael Natterer <mitch@xxxxxxxx> wrote:

> On Tue, 2015-11-17 at 11:17 +0300, Alexandre Prokoudine wrote:
> > On Tue, Nov 17, 2015 at 11:07 AM, Sam Gleske wrote:
>
> We need a *relocatable* build, but it doesn't need to be static.
>
> - build all deps into a prefix
> - enable relocation on all of them where needed/possible
> - provide a launcher script
> - tar up the install prefix
> - ...
> - profit
>

We do this in imgflo, which is based on GEGL. There is no GTK+ though, and
would need to build more dependencies to be fully distro-independent*.
https://github.com/jonnor/imgflo-dependencies/blob/master/Makefile
https://github.com/jonnor/imgflo-dependencies/blob/master/env.sh.in

This also includes headers, including some trickery to make pkg-config
relocatable,
so can also be used for developing. If someone was to make a relocatable
GIMP build, please consider the same, then people can also develop just by
downloading a single bundle.
By building a git checkout of GIMP/GEGL/BABL against the bundled prefix and
then installing into it, one could also develop core things this way (not
just plugins).

https://github.com/jonnor/imgflo/blob/master/Makefile#L66
https://github.com/jonnor/imgflo/blob/master/Makefile#L55

* it can be quite tricky to avoid host dependencies leaking into the build,
and quite a lot of work to build absolutely everything needed (down to or
including glibc). So it is practical to use something that provides some
isolation and some ready-made recipies - like Docker, makechrootpkg (from
Arch), or similar.

-- 
Jon Nordby - www.jonnor.com
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux