nixpkgs/pkgs/tools/networking/network-manager
Jan Tojnar a961a289a9
networkmanager: port to Meson
All hail Meson!

One serious issue is that building docs does not work.

We patch gobject-introspection to use absolute paths for shared libraries
in GIR files. Building the NetworkManager docs relies on the produced
introspection data but since the library is not yet installed
at the time the docs are generated, the build will fail.

It works in Autotools for some reason; they probably use
the pregenerated GIRs from the tarball.

Disabling the docs completely is not possible at the moment either,
since nmc [depends on them][1].

I have decided to fix this by pointing the installed location to the one
in the build directory using libredirect. Unfortunately, we cannot just set
the environment variables directly, since the build system runs
the documentation generator in a clean environment.

I have also added man, doc and devdoc outputs so the generated files have
somewhere to go.

Secondly, since Nix store is immutable, we also cannot use the package prefix
for configuration and mutable state data. At the same time, we cannot write
to the appropriate global directories during build. Autotools allowed to change
this in installFlags but Meson lacks similar mechanism so we need to patch
the build files.

Finally, I also removed the at_console patch since the permission has been
removed in 0.9.10.

[1]: https://bugzilla.gnome.org/show_bug.cgi?id=796755
2019-04-22 12:10:10 +02:00
..
0.9.8 tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
fortisslvpn networkmanager-fortisslvpn: 1.2.8 → 1.2.10 2019-04-05 12:14:00 +02:00
iodine gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
l2tp networkmanager-l2tp: 1.2.10 -> 1.2.12 2019-04-02 17:57:00 +01:00
openconnect gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
openvpn Merge staging-next into staging 2019-02-16 09:30:46 +01:00
vpnc gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
applet.nix networkmanagerapplet: hardcode for eap gschema 2019-04-18 11:28:18 -04:00
default.nix networkmanager: port to Meson 2019-04-22 12:10:10 +02:00
dmenu.nix gobject-introspection: rename package 2018-12-02 12:42:29 +01:00
fix-docs-build.patch networkmanager: port to Meson 2019-04-22 12:10:10 +02:00
fix-install-paths.patch networkmanager: port to Meson 2019-04-22 12:10:10 +02:00
fix-paths.patch networkmanager: 1.14.4 -> 1.16.0 2019-04-05 12:13:28 +02:00
hardcode-gsettings.patch networkmanagerapplet: hardcode for eap gschema 2019-04-18 11:28:18 -04:00
strongswan.nix gnome3.gtk -> gtk3 2019-03-24 14:34:39 -04:00