Bug 105209 - Port to meson build system
Summary: Port to meson build system
Status: RESOLVED MOVED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-22 13:26 UTC by Iñigo Martínez
Modified: 2018-08-20 21:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
build: Port to meson build system (33.52 KB, patch)
2018-02-22 13:31 UTC, Iñigo Martínez
Details | Splinter Review
build: Port to meson build system (39.94 KB, patch)
2018-02-23 08:57 UTC, Iñigo Martínez
Details | Splinter Review
build: Migrate from Intltool to Gettext (11.70 KB, patch)
2018-02-23 08:58 UTC, Iñigo Martínez
Details | Splinter Review

Description Iñigo Martínez 2018-02-22 13:26:28 UTC
meson is a build system focused on speed an ease of use, which helps speeding up the software development.
Comment 1 Iñigo Martínez 2018-02-22 13:31:20 UTC
Created attachment 137530 [details] [review]
build: Port to meson build system

Almost complete port to meson build system.

The only missing piece is `mocklibc` which is used as a subdirectory under `test` directory. I'm not sure how to handle it, just as a meson subdirectory as polkit does or convert it a meson project and use it as a subproject.

Althoug all tests are building fine, due to this missing piece, some of them fail.

Any suggestion is greatly appreciated,
Comment 2 Iñigo Martínez 2018-02-22 13:36:53 UTC
You can find a fork with this patch applied to ease its testing at: https://gitlab.gnome.org/inigomartinez/polkit/tree/meson

This should also fix bug 104970.
Comment 3 Iñigo Martínez 2018-02-23 08:57:21 UTC
Created attachment 137553 [details] [review]
build: Port to meson build system

Although the idea is to replace autotools with meson, to avoid the burden of maintaining two build systems, I've added meson build files to autotools so they are also distributed until the issue with mocklibc is fixed.

I've also added the bug URL to the commit description.
Comment 4 Iñigo Martínez 2018-02-23 08:58:20 UTC
Created attachment 137554 [details] [review]
build: Migrate from Intltool to Gettext

Recent versions of Gettext are able to translate several formats that are used in GNOME applications. This patch migrates from Intltool to Gettext both autotools and meson.
Comment 5 GitLab Migration User 2018-08-20 21:35:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/polkit/polkit/issues/18.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.