Merge branch 'staging' into v/modular
Conflicts (easy): pkgs/development/interpreters/perl/5.10/setup-hook.sh pkgs/development/interpreters/perl/5.8/setup-hook.sh pkgs/development/libraries/gtk+/2.x.nix
This commit is contained in:
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "GNU Enscript, a converter from ASCII to PostScript, HTML, or RTF";
|
||||
description = "Converter from ASCII to PostScript, HTML, or RTF";
|
||||
|
||||
longDescription =
|
||||
'' GNU Enscript converts ASCII files to PostScript, HTML, or RTF and
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Mpage, many-to-one page printing utility";
|
||||
description = "Many-to-one page printing utility";
|
||||
|
||||
longDescription = ''
|
||||
Mpage reads plain text files or PostScript documents and prints
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = !stdenv.isLinux;
|
||||
|
||||
meta = {
|
||||
description = "Namazu, a full-text search engine";
|
||||
description = "Full-text search engine";
|
||||
|
||||
longDescription = ''
|
||||
Namazu is a full-text search engine intended for easy use. Not
|
||||
|
||||
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1l92sfvx1f0wmkbvzv1385y1gb3hh010xksi1iyviyclrjb7jb8x";
|
||||
};
|
||||
|
||||
patches = [ ./msggen.patch ];
|
||||
|
||||
buildInputs = [ opensp perl ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/openjade/files/openjade-1.3.2-msggen.pl.patch?revision=1.2
|
||||
|
||||
Use Getopt::Std in place of getopts.pl.
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=420083
|
||||
|
||||
--- a/msggen.pl
|
||||
+++ b/msggen.pl
|
||||
@@ -4,6 +4,7 @@
|
||||
# See the file COPYING for copying permission.
|
||||
|
||||
use POSIX;
|
||||
+use Getopt::Std;
|
||||
|
||||
# Package and version.
|
||||
$package = 'openjade';
|
||||
@@ -18,8 +19,7 @@
|
||||
undef $opt_l;
|
||||
undef $opt_p;
|
||||
undef $opt_t;
|
||||
-do 'getopts.pl';
|
||||
-&Getopts('l:p:t:');
|
||||
+getopts('l:p:t:');
|
||||
$module = $opt_l;
|
||||
$pot_file = $opt_p;
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
else {
|
||||
$field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
|
||||
$type[$num] = substr($field[0], 0, 1);
|
||||
- $argc = int(substr($field[0], 1, 1));
|
||||
+ $argc = substr($field[0], 1, 1);
|
||||
}
|
||||
$nargs[$num] = $argc;
|
||||
$field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/wdiff/;
|
||||
description = "GNU wdiff, comparing files on a word by word basis";
|
||||
description = "Comparing files on a word by word basis";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
||||
@@ -1,28 +1,29 @@
|
||||
{stdenv, fetchurl, wget, bash, coreutils}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.23";
|
||||
name = "wgetpaste-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://wgetpaste.zlin.dk/${name}.tar.bz2";
|
||||
sha256 = "1xam745f5pmqi16br72a866117hnmcfwjyvsw1jhg3npbdnm9x6n";
|
||||
};
|
||||
# currently zsh-autocompletion support is not installed
|
||||
{ stdenv, fetchurl, wget, bash, coreutils }:
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace wgetpaste --replace "/usr/bin/env bash" "${bash}/bin/bash"
|
||||
substituteInPlace wgetpaste --replace "LC_ALL=C wget" "LC_ALL=C ${wget}/bin/wget"
|
||||
'';
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.25";
|
||||
name = "wgetpaste-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://wgetpaste.zlin.dk/${name}.tar.bz2";
|
||||
sha256 = "1x209j85mryp3hxmv1gfsbvw03k306k5fa65ky0zxx07cs70fzka";
|
||||
};
|
||||
# currently zsh-autocompletion support is not installed
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin;
|
||||
cp wgetpaste $out/bin;
|
||||
'';
|
||||
prePatch = ''
|
||||
substituteInPlace wgetpaste --replace "/usr/bin/env bash" "${bash}/bin/bash"
|
||||
substituteInPlace wgetpaste --replace "LC_ALL=C wget" "LC_ALL=C ${wget}/bin/wget"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Command-line interface to various pastebins";
|
||||
homepage = http://wgetpaste.zlin.dk/;
|
||||
license = "publicDomain";
|
||||
maintainers = with stdenv.lib.maintainers; [qknight];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin;
|
||||
cp wgetpaste $out/bin;
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Command-line interface to various pastebins";
|
||||
homepage = http://wgetpaste.zlin.dk/;
|
||||
license = "publicDomain";
|
||||
maintainers = with stdenv.lib.maintainers; [ qknight iElectric ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user