Unverified Commit a840a5cd authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

lightdm: use regular gettext to fix build (#424874)

parents 3ebec4d8 c0e0c035
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@
  plymouth,
  pam,
  pkg-config,
  autoconf,
  automake,
  autoreconfHook,
  gettext,
  libtool,
  libxcb,
  glib,
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
  };

  nativeBuildInputs = [
    autoconf
    automake
    autoreconfHook
    gettext
    yelp-tools
    yelp-xsl
    gobject-introspection
@@ -88,6 +88,9 @@ stdenv.mkDerivation rec {
    (replaceVars ./fix-paths.patch {
      plymouth = "${plymouth}/bin/plymouth";
    })

    # glib gettext is deprecated and broken, so use regular gettext instead
    ./use-regular-gettext.patch
  ];

  dontWrapQtApps = true;
+13 −0
Original line number Diff line number Diff line
diff --git a/configure.ac b/configure.ac
index 6f2e706f..6307dd59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,6 +195,8 @@ dnl Internationalization
 dnl ###########################################################################
 
 IT_PROG_INTLTOOL(0.35.0)
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.21])
 AC_SUBST(GETTEXT_PACKAGE, lightdm)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", Gettext package)