summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* fix build without C++Fabrice Fontaine2022-04-021-1/+1
| | | | | | | | | | | | | | | Fix the following build failure without C++ raised since https://gitlab.freedesktop.org/polkit/polkit/-/commit/957a015157fd359d9679540f664183e4b9492896: The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-14/output-1/host/bin/or1k-buildroot-linux-musl-g++'" Indeed, C++ is only required with mozjs engine Fixes: - http://autobuild.buildroot.org/results/1d52c8100414aa384572b23006a13f9b806d2d5a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* build: Add fallback looking for duktape's library and headerDaniel E2022-03-301-1/+5
|
* jsauthority: port to mozjs-91Xi Ruoyao2022-01-271-1/+1
|
* Added support for duktape as JS engineGustavo Lima Chaves2022-01-251-1/+15
| | | | | Original author: Wu Xiaotian (@yetist) Resurrection author, runaway-killer author: Gustavo Lima Chaves (@limachaves)
* fixed version to 0.120Jan Rybar2021-09-291-1/+1
|
* build: Don't require dbus development filesSimon McVittie2021-09-071-2/+7
| | | | | | | | We don't actually need libdbus, only the dbus-daemon's installation directory for system services, which in practice is always going to be /usr/share/dbus-1/system-services. Signed-off-by: Simon McVittie <smcv@debian.org>
* build: Remove redundant computation of dbus data directorySimon McVittie2021-09-071-2/+1
| | | | | | | | We were asking pkg-config "if I define ${datadir} to pk_prefix/pk_datadir, what would ${datadir} be?" but the answer is obviously always going to be pk_prefix/pk_datadir. Signed-off-by: Simon McVittie <smcv@debian.org>
* build: Migrate from Intltool to GettextIñigo Martínez2021-07-291-4/+10
| | | | | | | | Recent versions of Gettext are able to translate several formats that are used in GNOME applications. This migrates from Intltool to Gettext both autotools and meson build systems.
* build: Make the directory for helper executables consistent with AutotoolsSimon McVittie2021-07-191-2/+3
| | | | | | | | | | | | | | | | | | The Autotools build system has been using /usr/lib/polkit-1 for several releases, even on distributions where the library directory is /usr/lib64 or /usr/lib/x86_64-linux-gnu, so it makes sense for Meson to do the same. This lets 32- and 64-bit polkit agents share a single helper executable. This might be superseded by polkit!63, which requests going back to using the libexecdir for these (like polkit 0.105 did), which would also make sense; but until that's decided, let's at least be consistent between our two build systems. Every time we change this, all programs that have already loaded libpolkit-agent into their address space need to be restarted, unless distributions provide compatibility symlinks. Signed-off-by: Simon McVittie <smcv@debian.org>
* version bump to 0.200Jan Rybar2021-06-031-1/+1
|
* Release 0.1190.119Jan Rybar2021-06-031-1/+1
|
* Move D-Bus policy file to /usr/share/dbus-1/system.d/Jan Rybar2021-01-051-2/+2
| | | | | | | | | | | To better support stateless systems with an empty /etc, the old location in /etc/dbus-1/system.d/ should only be used for local admin changes. Package provided D-Bus policy files are supposed to be installed in /usr/share/dbus-1/system.d/. This is supported since dbus 1.9.18. https://lists.freedesktop.org/archives/dbus/2015-July/016746.html
* meson-installed polkit fails to run with default usr/lib prefixJan Rybar2020-11-161-0/+1
| | | | | | | With default /usr/lib prefix set by meson, polkit service would fail with sigsegv. Changing prefix to /usr fixed the issue. Also /usr/lib conforms FHS more than /usr/local/lib in terms of a system service.
* build: Port to meson build systemJan Rybar2020-10-261-0/+363
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools.