git.iko.soy/typeable/nixpkgs
on master help sign in
gdm: fix build with systemd 230
commitef8ea38fe828728757d6183136d227f02d2a1bd5 authorLuca Bruno <lethalman88@gmail.com> dateFri 27 May 2016, 11:17 (11 years ago) parent1fb49e8
2 files changed+25−3
pkgs/desktops/gnome-3/3.18/core/gdm/default.nix+4−3 pkgs/desktops/gnome-3/3.18/core/gdm/libsystemd.patch+21
pkgs/desktops/gnome-3/3.18/core/gdm/default.nix+4−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
2−, intltool, accountsservice, libX11, gnome3, systemd, gnome_session
2+, intltool, accountsservice, libX11, gnome3, systemd, gnome_session, autoreconfHook
33, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection }:
44
55stdenv.mkDerivation rec {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 "--with-systemd=yes"
1616 "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ];
1717
18− buildInputs = [ pkgconfig glib itstool libxml2 intltool
18+ buildInputs = [ pkgconfig glib itstool libxml2 intltool autoreconfHook
1919 accountsservice gnome3.dconf systemd
2020 gobjectIntrospection libX11 gtk
2121 libcanberra_gtk3 pam libtool ];
@@ -28,7 +28,8 @@ stdenv.mkDerivation rec {
2828
2929 # Disable Access Control because our X does not support FamilyServerInterpreted yet
3030 patches = [ ./xserver_path.patch ./sessions_dir.patch
31− ./disable_x_access_control.patch ./no-dbus-launch.patch ];
31+ ./disable_x_access_control.patch ./no-dbus-launch.patch
32+ ./libsystemd.patch ];
3233
3334 installFlags = [ "sysconfdir=$(out)/etc" "dbusconfdir=$(out)/etc/dbus-1/system.d" ];
3435
pkgs/desktops/gnome-3/3.18/core/gdm/libsystemd.patchnew file+21
@@ -0,0 +1,21 @@
1+https://github.com/GNOME/gdm/commit/eee5bf72c9bb1c1d62eb0e7102088ae3b9a188cd
2+--- a/configure.ac 2016-05-27 11:10:44.589740789 +0200
3++++ b/configure.ac 2016-05-27 11:11:00.146427723 +0200
4+@@ -888,7 +888,7 @@
5+ dnl ---------------------------------------------------------------------------
6+
7+ PKG_CHECK_MODULES(SYSTEMD,
8+- [libsystemd-login >= 186 libsystemd-daemon],
9++ [libsystemd],
10+ [have_systemd=yes], [have_systemd=no])
11+
12+ if test "x$with_systemd" = "xauto" ; then
13+@@ -912,7 +912,7 @@
14+ AC_SUBST(SYSTEMD_LIBS)
15+
16+ PKG_CHECK_MODULES(JOURNALD,
17+- [libsystemd-journal],
18++ [libsystemd],
19+ [have_journald=yes], [have_journald=no])
20+
21+ if test "x$enable_systemd_journal" = "xauto" ; then