After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793916 - Port to meson build system
Port to meson build system
Status: RESOLVED OBSOLETE
Product: libpeas
Classification: Platform
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: libpeas-maint
libpeas-maint
Depends on:
Blocks: 782980
 
 
Reported: 2018-02-28 14:26 UTC by Martin Blanchard
Modified: 2018-05-22 12:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make substitution strings of the extension-python test plugin meson compatibles (2.71 KB, patch)
2018-03-02 10:53 UTC, Martin Blanchard
none Details | Review
Port to meson build system (52.26 KB, patch)
2018-03-02 11:21 UTC, Martin Blanchard
none Details | Review
Remove intltool specific _syntaxe from glade catalog file (replaced by ITS) (9.10 KB, patch)
2018-03-12 14:56 UTC, Martin Blanchard
none Details | Review
Port to meson build system (52.44 KB, patch)
2018-03-12 15:16 UTC, Martin Blanchard
none Details | Review

Description Martin Blanchard 2018-02-28 14:26:18 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
Comment 1 Garrett Regier 2018-02-28 15:16:05 UTC
FYI there is another porting attempt at:
https://github.com/gregier/libpeas/commits/meson

Feel free to pull from it!
Comment 2 Martin Blanchard 2018-03-01 09:38:06 UTC
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?
Comment 3 Garrett Regier 2018-03-01 11:09:27 UTC
Either way, just wanted to give you a heads up so you can avoid duplicating some work.
Comment 4 Martin Blanchard 2018-03-02 10:53:58 UTC
Created attachment 369177 [details] [review]
Make substitution strings of the extension-python test plugin meson compatibles
Comment 5 Martin Blanchard 2018-03-02 11:21:39 UTC
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...
Comment 6 Martin Blanchard 2018-03-12 14:56:17 UTC
Created attachment 369577 [details] [review]
Remove intltool specific _syntaxe from glade catalog file (replaced by ITS)
Comment 7 Martin Blanchard 2018-03-12 15:16:05 UTC
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.
Comment 8 GNOME Infrastructure Team 2018-05-22 12:17:20 UTC
-- 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.