Merge pull request #50614 from c0bw3b/pkg/gna-cleanup

Cleanup of dead packages after Gna.org closure
This commit is contained in:
Renaud 2018-11-20 21:18:49 +01:00 committed by GitHub
commit c5e4c0f847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1 additions and 289 deletions

View file

@ -1,45 +0,0 @@
{ fetchurl, stdenv, texinfo, emacs, bbdb }:
stdenv.mkDerivation rec {
# Note: Remember is part of GNU Emacs 23.
name = "remember-2.0";
src = fetchurl {
url = "http://download.gna.org/remember-el/${name}.tar.gz";
sha256 = "04bp071xjbb6mbspjpwcza0krgx2827v6rfxbsdcpn0qcjgad9wm";
};
# FIXME: It also has a (soft) dependency on Planner and Bibl-mode.
buildInputs = [ emacs bbdb texinfo ];
patchPhase = ''
sed -i "Makefile.defs" \
-e"s|^ *PREFIX *=.*$|PREFIX = $out|g ;
s|^ *ELISPDIR *=.*$|ELISPDIR = $out/share/emacs/site-lisp|g ;
s|^ *EMACS *=.*$|EMACS = emacs -L \"${bbdb}/share/emacs/site-lisp\"|g"
'';
meta = {
description = "Remember, an Emacs mode for quickly remembering data";
longDescription = ''
Remember is an Emacs mode for quickly remembering data. It uses
whatever back-end is appropriate to record and correlate the
data, but its main intention is to allow you to express as
little structure as possible up front.
When you enter data, either by typing it into a buffer, or using
the contents of the selected region, Remember will store that
data -- unindexed, uninterpreted -- in a data pool. It will
also try to remember as much context information as possible
(any text properties that were set, where you copied it from,
when, how, etc). Later, you can walk through your accumulated
set of data (both organized, and unorganized) and easily begin
moving things around, and making annotations that will express
the full meaning of that data, as far as you know it.
'';
homepage = http://gna.org/projects/remember-el/;
license = stdenv.lib.licenses.gpl2Plus;
};
}

View file

@ -1,41 +0,0 @@
{ stdenv, fetchsvn
, wrapGAppsHook, makeWrapper, gettext
, python3Packages, gtk3, poppler_gi
, gnome3, gsettings-desktop-schemas, shared-mime-info,
}:
python3Packages.buildPythonApplication rec {
name = "pdfshuffler-unstable-2017-02-26"; # no official release in 5 years
src = fetchsvn {
url = "http://svn.gna.org/svn/pdfshuffler/trunk";
rev = "20";
sha256 = "1g20dy45xg5vda9y58d2b1gkczj44xgrfi59jx6hr62ynd3z0dfc";
};
nativeBuildInputs = [ wrapGAppsHook gettext makeWrapper ];
buildInputs = [
gtk3 gsettings-desktop-schemas poppler_gi gnome3.adwaita-icon-theme
];
propagatedBuildInputs = with python3Packages; [
pygobject3
pycairo
pypdf2
];
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';
doCheck = false; # no tests
meta = with stdenv.lib; {
homepage = https://sourceforge.net/p/pdfshuffler/wiki/Home;
description = "Merge or split pdf documents and rotate, crop and rearrange their pages";
platforms = platforms.linux;
maintainers = with maintainers; [ mic92 ];
license = licenses.gpl3;
};
}

View file

@ -166283,7 +166283,7 @@ self: {
librarySystemDepends = [ poker-eval ];
description = "Binding to libpoker-eval";
license = stdenv.lib.licenses.publicDomain;
}) {inherit (pkgs) poker-eval;};
}) {poker-eval = null;};
"pokitdok" = callPackage
({ mkDerivation, aeson, base, base64-string, bytestring

View file

@ -1,24 +0,0 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "poker-eval-138.0";
src = fetchurl {
url = "http://download.gna.org/pokersource/sources/${name}.tar.gz";
sha256 = "0s6gvcdwdi6j7nrg6mmb5l971gclk0p99bcbfsynx1gnj159wrcj";
};
patchPhase = ''
sed -i -e 's#pkgincludedir = $(includedir)/@PACKAGE@#pkgincludedir = $(includedir)#g' Makefile.in
sed -i -e 's#pkgincludedir = $(includedir)/@PACKAGE@#pkgincludedir = $(includedir)#g' include/Makefile.in
sed -i -e 's#includedir=@includedir@/poker-eval#includedir=@includedir@/#g' poker-eval.pc.in
'';
meta = {
homepage = http://pokersource.sourceforge.net;
description = "Poker hand evaluator";
license = stdenv.lib.licenses.gpl3;
maintainers = [stdenv.lib.maintainers.mtreskin];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -1,38 +0,0 @@
{stdenv, fetchsvn, SDL, libGLU_combined, openal, libvorbis, freealut, SDL_image, popt}:
stdenv.mkDerivation rec {
name = "blackshades-elite-svn-29";
src = fetchsvn {
url = svn://svn.gna.org/svn/blackshadeselite/trunk;
rev = "29";
sha256 = "1lkws5pqpgcgdlar11waikp6y41z678457n9jcik7nhn53cjjr1s";
};
NIX_LDFLAGS = "-lSDL_image";
NIX_CFLAGS_COMPILE = "-fpermissive";
buildInputs = [ SDL SDL_image libGLU_combined openal libvorbis freealut popt ];
patchPhase = ''
sed -i -e s,Data/,$out/opt/$name/Data/,g \
-e s,Data:,$out/opt/$name/Data/,g \
Source/*.cpp
sed -i -e s/-march=pentium-m// Makefile
sed -i -e '/include "Window.h"/a#include <cstring>' -e 's/strcmp/std::strcmp/' \
Source/Window.cpp
'';
installPhase = ''
mkdir -p $out/bin $out/opt/$name
cp objs/blackshades $out/bin/blackshadeselite
cp -R Data IF* Readme $out/opt/$name/
'';
meta = {
homepage = http://home.gna.org/blackshadeselite/;
description = "Fork of Black Shades";
license = stdenv.lib.licenses.gpl2Plus; # Says its gna.org project page
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View file

@ -1,20 +0,0 @@
--- a/bins_edit 2005-08-25 14:34:39.000000000 -0400
+++ b/bins_edit 2016-05-18 20:25:40.913460314 -0400
@@ -26,7 +26,7 @@
use Getopt::Long;
use IO::File;
-use UNIVERSAL qw(isa);
+use Scalar::Util 'reftype';
# XML parsing & writing
use XML::Grove;
@@ -198,7 +198,7 @@
my $fieldValue;
foreach my $element
(@{$document->at_path('/'.$fileType.'/description')->{Contents}}) {
- if (isa($element, 'XML::Grove::Element') && $element->{Name} eq "field") {
+ if (reftype($element) eq 'XML::Grove::Element' && $element->{Name} eq "field") {
$fieldName = $element->{Attributes}{'name'};
$fieldValue = "";
if ($fieldName eq $field) {

View file

@ -1,11 +0,0 @@
--- a/bins 2016-05-18 20:45:49.513330005 -0400
+++ b/bins 2016-05-18 20:58:58.957830874 -0400
@@ -1332,7 +1332,7 @@
mkdir $destDir, 0755
or die("\nCannot create $destDir: $?");
}
- system("cp", "-R", bsd_glob("$staticDir/*", GLOB_TILDE), "$destDir") == 0
+ system("cp", "-Rf", bsd_glob("$staticDir/*", GLOB_TILDE), "$destDir") == 0
or die("\nCannot copy $staticDir directory content to $destDir: $?");
} else {
beVerboseN(" Cannot find any static template directory.", 4);

View file

@ -1,50 +0,0 @@
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
let
version = "1.1.29";
in
#note: bins-edit-gui does not work
stdenv.mkDerivation {
name = "bins-${version}";
src = fetchurl {
url = "http://download.gna.org/bins/bins-${version}.tar.gz";
sha256 = "0n4pcssyaic4xbk25aal0b3g0ibmi2f3gpv0gsnaq61sqipyjl94";
};
buildInputs = with perlPackages; [ makeWrapper perl
ImageSize ImageInfo PerlMagick
URI HTMLParser HTMLTemplate HTMLClean
XMLGrove XMLHandlerYAWriter
TextIconv TextUnaccent
DateTimeFormatDateParse ]; #TODO need Gtk (not Gtk2?) for bins-edit-gui
patches = [ ./bins_edit-isa.patch
./hashref.patch
./cp-dash-f.patch ];
installPhase = ''
export DESTDIR=$out;
export PREFIX=.;
echo | ./install.sh
for f in bins bins_edit bins-edit-gui; do
substituteInPlace $out/bin/$f \
--replace /usr/bin/perl ${perl}/bin/perl \
--replace /etc/bins $out/etc/bins \
--replace /usr/local/share $out/share;
wrapProgram $out/bin/$f --set PERL5LIB "$PERL5LIB";
done
'';
meta = {
description = "Generates static HTML photo albums";
homepage = http://bins.sautret.org;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -1,13 +0,0 @@
--- a/bins 2016-05-18 20:45:49.513330005 -0400
+++ b/bins 2016-05-18 20:58:58.957830874 -0400
@@ -3643,8 +3643,8 @@
my @descTable;
foreach my $tagName (@mainFields) {
- if (${%$hashref}{$tagName}) {
- my $value=${%$hashref}{$tagName};
+ if (${$hashref}{$tagName}) {
+ my $value=${$hashref}{$tagName};
$value =~ s/'/&#39;/g ; # in case it's used in javascript code
push @descTable, {DESC_FIELD_NAME => getFields($configHash)->{$tagName}->{'Name'},
DESC_FIELD_VALUE => $value,

View file

@ -1,32 +0,0 @@
{stdenv, fetchurl, perl, perlldap, makeWrapper, CryptSmbHash, DigestSHA1}:
let
version = "0.9.11";
in
stdenv.mkDerivation {
name = "smbldap-tools-${version}";
src = fetchurl {
url = "http://download.gna.org/smbldap-tools/sources/${version}/smbldap-tools-${version}.tar.gz";
sha256 = "1xcxmpz74r82vjp731axyac3cyksfiarz9jk5g5m2bzfdixkq9mz";
};
buildInputs = [ perl perlldap makeWrapper CryptSmbHash DigestSHA1 ];
preConfigure = ''
export configureFlags="$configureFlags --with-perl-libdir=$out/lib/perl5/site_perl"
'';
postInstall = ''
for i in $out/sbin/*; do
wrapProgram $i \
--prefix PERL5LIB : $PERL5LIB:$out/lib/perl5/site_perl
done
'';
meta = {
homepage = http://gna.org/projects/smbldap-tools/;
description = "SAMBA LDAP tools";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -934,8 +934,6 @@ with pkgs;
bindfs = callPackage ../tools/filesystems/bindfs { };
bins = callPackage ../tools/graphics/bins { };
bitbucket-cli = python2Packages.bitbucket-cli;
bittornado = callPackage ../tools/networking/p2p/bittornado { };
@ -4762,8 +4760,6 @@ with pkgs;
inherit (pythonPackages) pillow;
};
pdfshuffler = callPackage ../applications/misc/pdfshuffler { };
briss = callPackage ../tools/graphics/briss { };
brickd = callPackage ../servers/brickd {
@ -5415,10 +5411,6 @@ with pkgs;
smarty3 = callPackage ../development/libraries/smarty3 { };
smarty3-i18n = callPackage ../development/libraries/smarty3-i18n { };
smbldaptools = callPackage ../tools/networking/smbldaptools {
inherit (perlPackages) perlldap CryptSmbHash DigestSHA1;
};
smbnetfs = callPackage ../tools/filesystems/smbnetfs {};
smenu = callPackage ../tools/misc/smenu { };
@ -11811,8 +11803,6 @@ with pkgs;
podofo = callPackage ../development/libraries/podofo { lua5 = lua5_1; };
poker-eval = callPackage ../development/libraries/poker-eval { };
polkit = callPackage ../development/libraries/polkit { };
polkit_qt4 = callPackage ../development/libraries/polkit-qt-1/qt-4.nix { };
@ -16552,8 +16542,6 @@ with pkgs;
rectMark = callPackage ../applications/editors/emacs-modes/rect-mark { };
remember = callPackage ../applications/editors/emacs-modes/remember { };
rudel = callPackage ../applications/editors/emacs-modes/rudel { };
s = callPackage ../applications/editors/emacs-modes/s { };
@ -20200,8 +20188,6 @@ with pkgs;
blackshades = callPackage ../games/blackshades { };
blackshadeselite = callPackage ../games/blackshadeselite { };
blobby = callPackage ../games/blobby { };
boohu = callPackage ../games/boohu { };