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 783224 - Add meson support
Add meson support
Status: RESOLVED FIXED
Product: gnome-backgrounds
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Jakub Steiner
Jakub Steiner
Depends on: 783223
Blocks: 782980
 
 
Reported: 2017-05-30 00:58 UTC by Florian Müllner
Modified: 2017-09-26 11:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Support the meson build system (2.62 KB, patch)
2017-05-30 00:58 UTC, Florian Müllner
none Details | Review
build: Drop autotools support (10.52 KB, patch)
2017-05-30 00:58 UTC, Florian Müllner
none Details | Review
build: Add Build API wrapper for meson/ninja (5.40 KB, patch)
2017-05-30 00:58 UTC, Florian Müllner
none Details | Review
build: Support the meson build system (2.62 KB, patch)
2017-06-26 17:24 UTC, Florian Müllner
committed Details | Review
build: Drop autotools support (10.49 KB, patch)
2017-07-12 16:44 UTC, Florian Müllner
committed Details | Review
build: Add Build API wrapper for meson/ninja (5.40 KB, patch)
2017-07-12 16:44 UTC, Florian Müllner
none Details | Review

Description Florian Müllner 2017-05-30 00:58:05 UTC
Only the first patch is needed to support meson, the last two can be applied when we decide to drop autotools support altogether.
Comment 1 Florian Müllner 2017-05-30 00:58:10 UTC
Created attachment 352836 [details] [review]
build: Support the meson build system

Meson is on track to replace autotools as the build system of choice,
so supporting it seems like a good idea ...
Comment 2 Florian Müllner 2017-05-30 00:58:15 UTC
Created attachment 352837 [details] [review]
build: Drop autotools support

Complete the switch to meson and drop autotools support ...
Comment 3 Florian Müllner 2017-05-30 00:58:20 UTC
Created attachment 352838 [details] [review]
build: Add Build API wrapper for meson/ninja

The Build API[0] used by gnome-continuous expects a configure
script that generates a Makefile, so grab a copy of graphene's
compatibility script[1] to make it happy.

[0] https://github.com/cgwalters/build-api
[1] https://github.com/ebassi/graphene/blob/master/configure
Comment 4 Florian Müllner 2017-06-26 17:24:45 UTC
Created attachment 354525 [details] [review]
build: Support the meson build system

Install to backgrounds/gnome, not background/gnome ...
Comment 5 Jakub Steiner 2017-07-12 16:35:39 UTC
I have no objection to changing the build system, as long as it works.
Comment 6 Florian Müllner 2017-07-12 16:38:40 UTC
Comment on attachment 354525 [details] [review]
build: Support the meson build system

Attachment 354525 [details] pushed as 1e4bec0 - build: Support the meson build system

OK. I'll push only the first one for now (and switch jhbuild), then if we don't run into any issues, we can drop autotools ...
Comment 7 Florian Müllner 2017-07-12 16:44:43 UTC
Created attachment 355445 [details] [review]
build: Drop autotools support

Rebased to current master
Comment 8 Florian Müllner 2017-07-12 16:44:57 UTC
Created attachment 355446 [details] [review]
build: Add Build API wrapper for meson/ninja

Rebased to current master
Comment 9 Jakub Steiner 2017-09-26 11:54:07 UTC
Attachment 355445 [details] pushed as 7fc6e18 - build: Drop autotools support