Skip to content

Commit

Permalink
Merge pull request #106663 from alyssais/autoconf
Browse files Browse the repository at this point in the history
autoconf: 2.69 -> 2.70
  • Loading branch information
alyssais committed Dec 19, 2020
2 parents f081225 + e7998a2 commit fc08002
Show file tree
Hide file tree
Showing 6 changed files with 215 additions and 54 deletions.
4 changes: 3 additions & 1 deletion pkgs/desktops/gnome-3/default.nix
Expand Up @@ -264,7 +264,9 @@ lib.makeScope pkgs.newScope (self: with self; {

gnome-flashback = callPackage ./misc/gnome-flashback { };

gnome-panel = callPackage ./misc/gnome-panel { };
gnome-panel = callPackage ./misc/gnome-panel {
autoreconfHook = pkgs.autoreconfHook269;
};

gnome-tweaks = callPackage ./misc/gnome-tweaks { };

Expand Down
52 changes: 52 additions & 0 deletions pkgs/development/tools/misc/autoconf/2.69.nix
@@ -0,0 +1,52 @@
{ stdenv, fetchurl, m4, perl }:

stdenv.mkDerivation rec {
name = "autoconf-2.69";

src = fetchurl {
url = "mirror://gnu/autoconf/${name}.tar.xz";
sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4";
};

nativeBuildInputs = [ m4 perl ];
buildInputs = [ m4 ];

# Work around a known issue in Cygwin. See
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
# details.
# There are many test failures on `i386-pc-solaris2.11'.
#doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));
doCheck = false;

# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
# "fixed" path in generated files!
dontPatchShebangs = true;

enableParallelBuilding = true;

# Make the Autotest test suite run in parallel.
preCheck =''
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
'';

doInstallCheck = false; # fails

meta = {
homepage = "https://www.gnu.org/software/autoconf/";
description = "Part of the GNU Build System";

longDescription = ''
GNU Autoconf is an extensible package of M4 macros that produce
shell scripts to automatically configure software source code
packages. These scripts can adapt the packages to many kinds of
UNIX-like systems without manual user intervention. Autoconf
creates a configuration script for a package from a template
file that lists the operating system features that the package
can use, in the form of M4 macro calls.
'';

license = stdenv.lib.licenses.gpl2Plus;

platforms = stdenv.lib.platforms.all;
};
}
11 changes: 4 additions & 7 deletions pkgs/development/tools/misc/autoconf/default.nix
Expand Up @@ -6,11 +6,11 @@
# files.

stdenv.mkDerivation rec {
name = "autoconf-2.69";
name = "autoconf-2.70";

src = fetchurl {
url = "mirror://gnu/autoconf/${name}.tar.xz";
sha256 = "113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4";
sha256 = "1ipckz0wr2mvhj9n3ys54fmf2aksin6bhqvzl304bn6rc1w257ps";
};

nativeBuildInputs = [ m4 perl ];
Expand All @@ -20,8 +20,7 @@ stdenv.mkDerivation rec {
# http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/6822 for
# details.
# There are many test failures on `i386-pc-solaris2.11'.
#doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));
doCheck = false;
doCheck = ((!stdenv.isCygwin) && (!stdenv.isSunOS));

# Don't fixup "#! /bin/sh" in Autoconf, otherwise it will use the
# "fixed" path in generated files!
Expand All @@ -34,8 +33,6 @@ stdenv.mkDerivation rec {
export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
'';

doInstallCheck = false; # fails

meta = {
homepage = "https://www.gnu.org/software/autoconf/";
description = "Part of the GNU Build System";
Expand All @@ -50,7 +47,7 @@ stdenv.mkDerivation rec {
can use, in the form of M4 macro calls.
'';

license = stdenv.lib.licenses.gpl2Plus;
license = stdenv.lib.licenses.gpl3Plus;

platforms = stdenv.lib.platforms.all;
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/zfs/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch
, autoreconfHook, util-linux, nukeReferences, coreutils
, autoreconfHook269, util-linux, nukeReferences, coreutils
, perl, buildPackages
, configFile ? "all"

Expand Down Expand Up @@ -89,7 +89,7 @@ let
"PATH=${makeBinPath [ coreutils gawk gnused gnugrep systemd ]}"
'';

nativeBuildInputs = [ autoreconfHook nukeReferences ]
nativeBuildInputs = [ autoreconfHook269 nukeReferences ]
++ optionals buildKernel (kernel.moduleBuildDependencies ++ [ perl ])
++ optional buildUser pkgconfig;
buildInputs = optionals buildUser [ zlib libuuid attr libtirpc ]
Expand Down

0 comments on commit fc08002

Please sign in to comment.