Merge pull request #99554 from jmpunkt/jwm-gettext-fix

jwm: fix gettext requirement
This commit is contained in:
José Romildo Malaquias 2020-10-04 16:20:48 -03:00 committed by GitHub
commit 788d609c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 9 deletions

View File

@ -0,0 +1,14 @@
diff --git a/configure.ac b/configure.ac
index 347d325..dce95a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -489,7 +489,8 @@ fi
############################################################################
AM_ICONV
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19])
+AM_GNU_GETTEXT_VERSION([0.19.6])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6])
LDFLAGS="$LDFLAGS $LIBINTL $LIBICONV"
############################################################################

View File

@ -1,12 +1,11 @@
{ stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool,
gettext, which, xorg, libX11, libXext, libXinerama, libXpm, libXft,
libXau, libXdmcp, libXmu, libpng, libjpeg, expat, xorgproto,
librsvg, freetype, fontconfig }:
{ stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
stdenv.mkDerivation rec {
pname = "jwm";
version = "1685";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
@ -14,11 +13,28 @@ stdenv.mkDerivation rec {
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
};
patches = [ ./0001-Fix-Gettext-Requirement.patch ];
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];
buildInputs = [ libX11 libXext libXinerama libXpm libXft xorg.libXrender
libXau libXdmcp libXmu libpng libjpeg expat xorgproto
librsvg freetype fontconfig ];
buildInputs = [
libX11
libXext
libXinerama
libXpm
libXft
xorg.libXrender
libXau
libXdmcp
libXmu
libpng
libjpeg
expat
xorgproto
librsvg
freetype
fontconfig
];
enableParallelBuilding = true;
@ -28,7 +44,7 @@ stdenv.mkDerivation rec {
homepage = "http://joewing.net/projects/jwm/";
description = "Joe's Window Manager is a light-weight X11 window manager";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}