GNOME Bugzilla – Bug 793916
Port to meson build system
Last modified: 2018-05-22 12:17:20 UTC
meson is a build system focused on speed an ease of use, which helps speeding up the software development [1]. This is a work in progress port to meson build system, just released for comments. Development branch is on GitLab [2]. [1] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting [2] https://gitlab.gnome.org/martinblanchard/libpeas/tree/wip/mablanch/meson
FYI there is another porting attempt at: https://github.com/gregier/libpeas/commits/meson Feel free to pull from it!
Arf, I started from scratch, didn't know about this attempt actually... I gave it a try but couldn't manage to build the library. Anuway, would you prefer me to rebase my work on top on it or is it fine if I just merge the relevant part into my branch?
Either way, just wanted to give you a heads up so you can avoid duplicating some work.
Created attachment 369177 [details] [review] Make substitution strings of the extension-python test plugin meson compatibles
Created attachment 369179 [details] [review] Port to meson build system Work in progress, early comments are welcome. Thinks that need to be sorted out: * Installing the Glade catalogue is failing: needs ITS rules in order to detect string that requires translation. * Message dictionaries get suffixed by the API version for better parallel installation support: libpeas.mo > libpeas-1.0.mo. * peas-demo and its plugins do not get installed: Is this really necessary? Can be made installable easily. * soversion == major_version (versioning logic copied from the first porting attemp): for Peas 1.22, libpeas-1.0.so.1.2200.0 gets generated. For the same Peas 1.22, autotools generate libpeas-1.0.so.0.2200.0 on my machine. * There is probably more...
Created attachment 369577 [details] [review] Remove intltool specific _syntaxe from glade catalog file (replaced by ITS)
Created attachment 369578 [details] [review] Port to meson build system Should be mostly complete now. Still: * Message dictionaries get suffixed by the API version for better parallel installation support: libpeas.mo > libpeas-1.0.mo. * peas-demo and its plugins do not get installed: Is this really necessary? Can be made installable easily. * soversion == major_version (versioning logic copied from the first porting attemp): for Peas 1.22, libpeas-1.0.so.1.2200.0 gets generated. For the same Peas 1.22, autotools generate libpeas-1.0.so.0.2200.0 on my machine.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libpeas/issues/26.