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 784910 - Port to meson build system
Port to meson build system
Status: RESOLVED FIXED
Product: dconf
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks: 782980
 
 
Reported: 2017-07-13 14:27 UTC by Iñigo Martínez
Modified: 2017-10-22 20:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
abicheck script update to get library from different place (1.32 KB, patch)
2017-07-13 14:27 UTC, Iñigo Martínez
none Details | Review
Port to meson build system (18.12 KB, patch)
2017-07-13 14:27 UTC, Iñigo Martínez
none Details | Review
Port to meson build system (22.76 KB, patch)
2017-08-07 10:18 UTC, Iñigo Martínez
none Details | Review
Remove autotools (21.86 KB, patch)
2017-08-07 10:18 UTC, Iñigo Martínez
none Details | Review
Changed abicheck.sh script (1.33 KB, patch)
2017-09-28 13:20 UTC, Iñigo Martínez
committed Details | Review
Port to meson build system (22.98 KB, patch)
2017-09-28 13:21 UTC, Iñigo Martínez
committed Details | Review
Remove autotools (22.00 KB, patch)
2017-09-28 13:22 UTC, Iñigo Martínez
committed Details | Review
Update the README file (3.08 KB, patch)
2017-10-20 08:51 UTC, Iñigo Martínez
none Details | Review
Update the README file (3.01 KB, patch)
2017-10-22 09:20 UTC, Iñigo Martínez
committed Details | Review
Remove .gitignore files (4.21 KB, patch)
2017-10-22 09:40 UTC, Iñigo Martínez
committed Details | Review

Description Iñigo Martínez 2017-07-13 14:27:16 UTC
Created attachment 355520 [details] [review]
abicheck script update to get library from different place

Port to meson build system. It also includes a minor patch for abicheck script so it can work with 'dconfsetting' library located in a different place, that is necessary for meson which build all the objects in a different location.

Some further improvements are also possible.
Comment 1 Iñigo Martínez 2017-07-13 14:27:55 UTC
Created attachment 355521 [details] [review]
Port to meson build system
Comment 2 Iñigo Martínez 2017-08-07 10:18:04 UTC
Created attachment 357095 [details] [review]
Port to meson build system

An update to meson build port patch which includes meson build files to autotools as extra files so they are also included in the distributable package.

It also removes C99 as the default standard, so compiler's default standard will be used.

Some aesthetic changes have also been made to improve readibility.
Comment 3 Iñigo Martínez 2017-08-07 10:18:58 UTC
Created attachment 357096 [details] [review]
Remove autotools

Some applications are removing autotools as build system to avoid the burden of maintaining two build systems. Just in case this is considered, this patch removes autotools as build system.
Comment 4 Michael Catanzaro 2017-09-25 17:37:15 UTC
Note: I'll be doing a dconf release on behalf of release team with these patches if there's no response from maintainers here after a few days.
Comment 5 Iñigo Martínez 2017-09-28 13:20:03 UTC
Created attachment 360604 [details] [review]
Changed abicheck.sh script

The commit message has been updated and also the bug URI has been included.
Comment 6 Iñigo Martínez 2017-09-28 13:21:49 UTC
Created attachment 360605 [details] [review]
Port to meson build system

Revised patch with some minor improvements and license fix. The license has been changed from `LGPL2.1` to `LGPL2.1+`.
Comment 7 Iñigo Martínez 2017-09-28 13:22:35 UTC
Created attachment 360606 [details] [review]
Remove autotools

Proper commit message has been included an also the bug URI has been included.
Comment 8 Michael Catanzaro 2017-10-17 22:22:07 UTC
(In reply to Michael Catanzaro from comment #4)
> Note: I'll be doing a dconf release on behalf of release team with these
> patches if there's no response from maintainers here after a few days.

Done. Thanks again Iñigo!
Comment 9 Iñigo Martínez 2017-10-20 08:51:03 UTC
Created attachment 361920 [details] [review]
Update the README file

The following comment[0] has pointed out that I've forgotten to update the README file, with proper steps to build dconf with meson.

This patch replaces the autotools commands with their meson equivalents. I've also removed any mention of dconf-editor, which is not part of dconf anymore.

[0] https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984036-libinput-1-9-released-with-input-improvements-requires-meson?p=984064#post984064
Comment 10 Michael Catanzaro 2017-10-20 16:08:48 UTC
Review of attachment 361920 [details] [review]:

One more thing I notice is that we forgot to remove the .gitignores, which are no longer needed now that builds are out-of-tree. Except the toplevel directory should perhaps have a .gitignore that just ignores build/ since that's a pretty common place to create the builddir.

::: README
@@ +63,3 @@
 applications).
 
+bin/ is written in Vala.  The Vala compiler is not required to compile

What, is this really true, meson is including generated C sources in the dist tarball? A horrible mistake if true, but checking the tarball I see that's not the case. So the Vala compiler really is needed now.
Comment 11 Iñigo Martínez 2017-10-22 09:20:40 UTC
Created attachment 362031 [details] [review]
Update the README file

Fixed!
Comment 12 Iñigo Martínez 2017-10-22 09:40:10 UTC
Created attachment 362033 [details] [review]
Remove .gitignore files

(In reply to Michael Catanzaro from comment #10)
> Review of attachment 361920 [details] [review] [review]:
> 
> One more thing I notice is that we forgot to remove the .gitignores, which
> are no longer needed now that builds are out-of-tree. Except the toplevel
> directory should perhaps have a .gitignore that just ignores build/ since
> that's a pretty common place to create the builddir.

I've just removed all the .gitignore files. IMO, there is no much problem of seeing the `builddir` in the git status so you can be aware of how many `builddir` are present (probably only one called *build*).
Comment 13 Iñigo Martínez 2017-10-22 20:23:59 UTC
Comment on attachment 362031 [details] [review]
Update the README file

Pushed as a4e1149 - Update the README file
Comment 14 Iñigo Martínez 2017-10-22 20:25:20 UTC
Comment on attachment 362033 [details] [review]
Remove .gitignore files

Pushed as f82500d - Remove .gitignore files