treewide: remove more unmaintained gtk2 packages (#349744)

This commit is contained in:
Jörg Thalheim
2024-10-26 10:37:03 +02:00
committed by GitHub
10 changed files with 7 additions and 240 deletions
@@ -1,28 +0,0 @@
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2 }:
stdenv.mkDerivation rec {
version = "0.8.19";
pname = "leafpad";
src = fetchurl {
url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
sha256 = "sha256-B9P3EvTb0KMyUf0d7hTiGv3J+SCQ/HaMEasKxVatvpc=";
};
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ gtk2 ];
hardeningDisable = [ "format" ];
configureFlags = [
"--enable-chooser"
];
meta = with lib; {
description = "Notepad clone for GTK 2.0";
homepage = "http://tarot.freeshell.org/leafpad";
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
license = licenses.gpl3;
mainProgram = "leafpad";
};
}
-32
View File
@@ -1,32 +0,0 @@
{ lib, stdenv, fetchurl, pkg-config, gtk2, pcre }:
stdenv.mkDerivation rec {
pname = "qxw";
version = "20200708";
src = fetchurl {
url = "https://www.quinapalus.com/qxw-${version}.tar.gz";
sha256 = "1si3ila7137c7x4mp3jv1q1mh3jp0p4khir1yz1rwy0mp3znwv7d";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 pcre ];
makeFlags = [ "DESTDIR=$(out)" ];
patchPhase = ''
sed -i 's/ `dpkg-buildflags[^`]*`//g;
/mkdir -p/d;
s/cp -a/install -D/;
s,/usr/games,/bin,' Makefile
'';
meta = with lib; {
description = "Program to help create and publish crosswords";
homepage = "https://www.quinapalus.com/qxw.html";
license = licenses.gpl2;
maintainers = [ maintainers.tckmn ];
platforms = platforms.linux;
mainProgram = "qxw";
};
}
@@ -1,42 +0,0 @@
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk2, poppler }:
stdenv.mkDerivation rec {
pname = "epdfview";
version = "0.1.8";
src = fetchurl {
url = "mirror://debian/pool/main/e/epdfview/epdfview_${version}.orig.tar.gz";
sha256 = "0ibyb60a0b4n34bsjgvhdw8yf24463ky0hpmf6a2jjqsbm5g4v64";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 poppler ];
hardeningDisable = [ "format" ];
patches = [ (fetchpatch {
name = "epdfview-0.1.8-glib2-headers.patch";
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-glib2-headers.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
sha256 = "17df6s1zij5ficj67xszq6kd88cy620az3ic55065ccnmsd73f8h";
})
(fetchpatch {
name = "epdfview-0.1.8-modern-cups.patch";
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk/epdfview-0.1.8-modern-cups.patch?h=packages/epdfview&id=40ba115c860bdec31d03a30fa594a7ec2864d634";
sha256 = "07yvgvai2bvbr5fa1mv6lg7nqr0qyryjn1xyjlh8nidg9k9vv001";
})
];
meta = with lib; {
homepage = "https://packages.debian.org/wheezy/epdfview";
description = "Lightweight PDF document viewer using Poppler and GTK";
longDescription = ''
ePDFView is a free lightweight PDF document viewer using Poppler and
GTK libraries. The aim of ePDFView is to make a simple PDF document
viewer, in the lines of Evince but without using the Gnome libraries.
'';
license = licenses.gpl2;
maintainers = [ maintainers.astsmtl ];
platforms = platforms.linux;
mainProgram = "epdfview";
};
}
@@ -1,30 +0,0 @@
{lib, stdenv, fetchurl, pkg-config, gtk2 }:
stdenv.mkDerivation rec {
version = "0.1";
pname = "gtk2fontsel";
src = fetchurl {
url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 ];
preferLocalBuild = true;
meta = with lib; {
description = "Font selection program for X11 using the GTK 2 toolkit";
longDescription = ''
Font selection tool similar to xfontsel implemented using GTK 2.
Trivial, but useful nonetheless.
'';
homepage = "https://gtk2fontsel.sourceforge.net/";
downloadPage = "https://sourceforge.net/projects/gtk2fontsel/";
license = licenses.gpl2;
maintainers = [ maintainers.prikhi ];
platforms = platforms.linux;
mainProgram = "gtk2fontsel";
};
}
-26
View File
@@ -1,26 +0,0 @@
{ lib, stdenv, fetchurl, perl, pkg-config, gtk2 }:
stdenv.mkDerivation rec {
pname = "eboard";
version = "1.1.1";
src = fetchurl {
url = "mirror://sourceforge/eboard/eboard-${version}.tar.bz2";
sha256 = "0vm25j1s2zg1lipwjv9qrcm877ikfmk1yh34i8f5l3bwd63115xd";
};
patches = [ ./eboard.patch ];
buildInputs = [ gtk2 ];
nativeBuildInputs = [ perl pkg-config ];
hardeningDisable = [ "format" ];
env.NIX_CFLAGS_COMPILE = "-fpermissive";
meta = {
homepage = "http://www.bergo.eng.br/eboard/";
description = "Chess interface for Unix-like systems";
platforms = lib.platforms.linux;
};
}
-16
View File
@@ -1,16 +0,0 @@
--- a/cimg.cc 2014-05-25 02:41:58.000000000 -0500
+++ b/cimg.cc 2014-05-25 02:42:31.000000000 -0500
@@ -94,11 +94,11 @@
ct == PNG_COLOR_TYPE_GRAY_ALPHA)
png_set_gray_to_rgb(pngp);
- alloc(pngp->width,pngp->height);
+ alloc(png_get_image_width(pngp, infp),png_get_image_height(pngp, infp));
if (!ok) { fclose(f); return; }
ok = 0;
- for(i=0;i<pngp->height;i++) {
+ for(i=0;i<png_get_image_height(pngp, infp);i++) {
png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
}
-24
View File
@@ -1,24 +0,0 @@
{ lib, stdenv, fetchurl, gtk2, pkg-config }:
stdenv.mkDerivation rec {
version = "0.2.8-6";
pname = "xarchive";
src = fetchurl {
url = "mirror://sourceforge/xarchive/${pname}-${version}.tar.gz";
sha256 = "0chfim7z27s00naf43a61zsngwhvim14mg1p3csbv5i3f6m50xx4";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 ];
hardeningDisable = [ "format" ];
meta = {
description = "GTK front-end for command line archiving tools";
maintainers = [ lib.maintainers.domenkozar ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.all;
mainProgram = "xarchive";
};
}
-28
View File
@@ -1,28 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk2 }:
stdenv.mkDerivation rec {
pname = "colorpicker";
version = "unstable-2017-09-01";
src = fetchFromGitHub {
owner = "Jack12816";
repo = "colorpicker";
rev = "a4455b92fde1dfbac81e7852f171093932154a30";
sha256 = "z2asxTIP8WcsWcePmIg0k4bOF2JwkqOxNqSpQv4/a40=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 ];
installPhase = ''
install -Dt $out/bin colorpicker
'';
meta = with lib; {
description = "Click on a pixel on your screen and print its color value in RGB";
homepage = "https://github.com/Jack12816/colorpicker";
maintainers = with maintainers; [ jb55 ];
license = licenses.mit;
mainProgram = "colorpicker";
};
}
+7
View File
@@ -204,6 +204,7 @@ mapAliases {
clwrapperFunction = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
CoinMP = coinmp; # Added 2024-06-12
collada-dom = opencollada; # added 2024-02-21
colorpicker = throw "'colorpicker' has been removed due to lack of maintenance upstream. Consider using 'gcolor3' or 'eyedropper' instead"; # Added 2024-10-19
coriander = throw "'coriander' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27
corretto19 = throw "Corretto 19 was removed as it has reached its end of life"; # Added 2024-08-01
cosmic-tasks = tasks; # Added 2024-07-04
@@ -285,6 +286,7 @@ mapAliases {
EBTKS = ebtks; # Added 2024-01-21
eask = eask-cli; # Added 2024-09-05
eboard = throw "'eboard' has been removed due to lack of maintenance upstream. Consider using 'kdePackages.knights' instead"; # Added 2024-10-19
ec2_ami_tools = throw "'ec2_ami_tools' has been renamed to/replaced by 'ec2-ami-tools'"; # Converted to throw 2024-10-17
ec2_api_tools = throw "'ec2_api_tools' has been renamed to/replaced by 'ec2-api-tools'"; # Converted to throw 2024-10-17
ec2-utils = amazon-ec2-utils; # Added 2022-02-01
@@ -308,6 +310,7 @@ mapAliases {
EmptyEpsilon = empty-epsilon; # Added 2024-07-14
enyo-doom = enyo-launcher; # Added 2022-09-09
epdfview = throw "'epdfview' has been removed due to lack of maintenance upstream. Consider using 'qpdfview' instead"; # Added 2024-10-19
epoxy = throw "'epoxy' has been renamed to/replaced by 'libepoxy'"; # Converted to throw 2024-10-17
erlang_27-rc3 = throw "erlang_27-rc3 has been removed in favor of erlang_27"; # added 2024-05-20
@@ -474,6 +477,7 @@ mapAliases {
gringo = clingo; # added 2022-11-27
grub2_full = grub2; # Added 2022-11-18
gtetrinet = throw "'gtetrinet' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27
gtk2fontsel = throw "'gtk2fontsel' has been removed due to lack of maintenance upstream. GTK now has a built-in font chooser so it's no longer needed for newer apps"; # Added 2024-10-19
gtkcord4 = dissent; # Added 2024-03-10
gtkperf = throw "'gtkperf' has been removed due to lack of maintenance upstream"; # Added 2024-09-14
guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09
@@ -564,6 +568,7 @@ mapAliases {
LASzip = laszip; # Added 2024-06-12
LASzip2 = laszip_2; # Added 2024-06-12
latinmodern-math = lmmath;
leafpad = throw "'leafpad' has been removed due to lack of maintenance upstream. Consider using 'xfce.mouspad' instead"; # Added 2024-10-19
ledger_agent = ledger-agent; # Added 2024-01-07
lfs = dysk; # Added 2023-07-03
libAfterImage = throw "'libAfterImage' has been removed from nixpkgs, as it's no longer in development for a long time"; # Added 2024-06-01
@@ -981,6 +986,7 @@ mapAliases {
quicklispPackagesFor = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
quicklispPackagesGCL = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
quicklispPackagesSBCL = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
qxw = throw "'qxw' has been removed due to lack of maintenance upstream. Consider using 'crosswords' instead"; # Added 2024-10-19
### R ###
@@ -1239,6 +1245,7 @@ mapAliases {
### X ###
x509-limbo = throw "'x509-limbo' has been removed from nixpkgs"; # Added 2024-10-22
xarchive = throw "'xarchive' has been removed due to lack of maintenance upstream. Consider using 'file-roller' instead"; # Added 2024-10-19
xbmc-retroarch-advanced-launchers = throw "'xbmc-retroarch-advanced-launchers' has been renamed to/replaced by 'kodi-retroarch-advanced-launchers'"; # Converted to throw 2024-10-17
xdg_utils = throw "'xdg_utils' has been renamed to/replaced by 'xdg-utils'"; # Converted to throw 2024-10-17
xen-light = throw "'xen-light' has been renamed to/replaced by 'xen-slim'"; # Added 2024-06-30
-14
View File
@@ -501,8 +501,6 @@ with pkgs;
colorpanes = callPackage ../tools/misc/colorpanes { };
colorpicker = callPackage ../tools/misc/colorpicker { };
colorstorm = callPackage ../applications/misc/colorstorm { };
comedilib = callPackage ../development/libraries/comedilib { };
@@ -9579,8 +9577,6 @@ with pkgs;
ldns = callPackage ../development/libraries/ldns { };
leafpad = callPackage ../applications/editors/leafpad { };
leanblueprint = with python3Packages; toPythonApplication leanblueprint;
leanify = callPackage ../tools/misc/leanify { };
@@ -13643,8 +13639,6 @@ with pkgs;
buildGoModule = buildGo123Module;
};
xarchive = callPackage ../tools/archivers/xarchive { };
xarchiver = callPackage ../tools/archivers/xarchiver { };
xbanish = callPackage ../tools/X11/xbanish { };
@@ -28867,8 +28861,6 @@ with pkgs;
eos-installer = callPackage ../applications/misc/eos-installer { };
epdfview = callPackage ../applications/misc/epdfview { };
epeg = callPackage ../applications/graphics/epeg { };
epgstation = callPackage ../applications/video/epgstation { };
@@ -29680,8 +29672,6 @@ with pkgs;
gst123 = callPackage ../applications/audio/gst123 { };
gtk2fontsel = callPackage ../applications/misc/gtk2fontsel { };
gtklock = callPackage ../tools/wayland/gtklock { };
gtklock-playerctl-module = callPackage ../tools/wayland/gtklock/playerctl-module.nix { };
@@ -32060,8 +32050,6 @@ with pkgs;
inherit (__splicedPackages.libsForQt5) qtbase qtwebengine wrapQtAppsHook qtwayland;
};
qxw = callPackage ../applications/editors/qxw { };
rakarrack = callPackage ../applications/audio/rakarrack {
fltk = fltk13;
};
@@ -34491,8 +34479,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Foundation AudioUnit AudioToolbox;
};
eboard = callPackage ../games/eboard { };
ecwolf = callPackage ../games/ecwolf { };
egoboo = callPackage ../games/egoboo { };