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 784762 - Port to meson build system
Port to meson build system
Status: RESOLVED OBSOLETE
Product: gnome-terminal
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks: 782980
 
 
Reported: 2017-07-10 17:53 UTC by Iñigo Martínez
Modified: 2021-06-10 21:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Port to meson build system (22.58 KB, patch)
2017-07-10 17:53 UTC, Iñigo Martínez
none Details | Review
Port to meson build system (23.11 KB, patch)
2017-08-05 16:50 UTC, Iñigo Martínez
none Details | Review
Port to meson build system (23.11 KB, patch)
2017-08-05 16:56 UTC, Iñigo Martínez
none Details | Review
Remove autotools (44.52 KB, patch)
2017-08-05 16:57 UTC, Iñigo Martínez
none Details | Review

Description Iñigo Martínez 2017-07-10 17:53:50 UTC
Created attachment 355289 [details] [review]
Port to meson build system

It's a complete meson build port.

After some testing and file checking, as far as I know, everything I tried is working.

It has a minor issue regarding 'uuid' library when compiling the gterminal executable due to missing vapi file. There is an open issue regarding this problem[0].

I have pushed the code to a wip branch just in case someone wants to test it[1].

Any suggestion is very appreciated,

[0] https://github.com/mesonbuild/meson/issues/1195
[1] https://git.gnome.org/browse/gnome-terminal/log/?h=wip/inigomartinez/meson
Comment 1 Christian Persch 2017-07-15 19:50:31 UTC
Please get someone interested in meson to review this.

I'm not ready to switch to meson, so this will have to be kept in parallel until then, and someone needs to keep it uptodate with any changes in the autotools build. If someone commits to doing that, I'd be ok with having this meson build in g-t git, with the default still being autotools.
Comment 2 Iñigo Martínez 2017-08-05 16:50:52 UTC
Created attachment 357017 [details] [review]
Port to meson build system

Following my comments[0][1] at 'vte' bug[2], I've also updated 

[0] https://bugzilla.gnome.org/show_bug.cgi?id=784561#c8
[1] https://bugzilla.gnome.org/show_bug.cgi?id=784561#c9
[2] https://bugzilla.gnome.org/show_bug.cgi?id=784561
Comment 3 Iñigo Martínez 2017-08-05 16:56:59 UTC
Created attachment 357018 [details] [review]
Port to meson build system

Following my comments[0][1] at 'vte' bug[2], I've also updated the 'gnome-terminal' meson build port.

Almost all changes are aesthetic, but the important changes are as follows:

- autotools files have modified to include meson files as extra files.
- CFLocaleCopyCurrent and CFPreferencesCopyAppValue are only checked on "Mac" systems.
- common_flags are warn_flags have been split, so it's clearer now.

PS: I'm very sorry about last comment, it was just half written when I pushed Enter and the comment was submitted, and I don't know how to remove it.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=784561#c8
[1] https://bugzilla.gnome.org/show_bug.cgi?id=784561#c9
[2] https://bugzilla.gnome.org/show_bug.cgi?id=784561
Comment 4 Iñigo Martínez 2017-08-05 16:57:51 UTC
Created attachment 357019 [details] [review]
Remove autotools

Just in case removing autotools is considered, this patch removes autotools.
Comment 5 GNOME Infrastructure Team 2021-06-10 21:16:38 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/gnome-terminal/-/issues/7753.