treewide: drop more gtk2 packages (#361708)

Changed files
+7 -335
pkgs
applications
misc
green-pdfviewer
by-name
cr
gt
gtk-engine-bluecurve
la
latencytop
li
libmx
rf
vo
volnoti
top-level
-39
pkgs/applications/misc/green-pdfviewer/default.nix
···
-
{ lib, stdenv, fetchFromGitHub, poppler, pkg-config, gdk-pixbuf, SDL, gtk2 }:
-
-
stdenv.mkDerivation {
-
pname = "green-pdfviewer";
-
version = "nightly-2014-04-22";
-
-
src = fetchFromGitHub {
-
owner = "schandinat";
-
repo = "green";
-
rev = "0b516aec17915d9742d8e505d2ed383a3bdcea61";
-
sha256 = "0d0lv33flhgsxhc77kfp2avdz5gvml04r8l1j95yjz2rr096lzlj";
-
};
-
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ poppler gdk-pixbuf SDL gtk2 ];
-
-
patches = [
-
./gdk-libs.patch
-
];
-
-
buildPhase = ''
-
make PREFIX=$out
-
'';
-
-
installPhase = ''
-
mkdir -p $out/bin $out/share/man1
-
make install PREFIX=$out MANDIR=$out/share
-
'';
-
-
meta = with lib; {
-
homepage = "https://github.com/schandinat/green/";
-
description = "Viewer for PDF files, uses SDL and libpoppler";
-
-
platforms = platforms.unix;
-
license = licenses.gpl3;
-
maintainers = [ ];
-
mainProgram = "green";
-
};
-
}
···
-55
pkgs/applications/misc/green-pdfviewer/gdk-libs.patch
···
-
Common subdirectories: green.old/debian and green.new/debian
-
diff -u green.old/green.h green.new/green.h
-
--- green.old/green.h 2016-06-12 18:11:56.779434416 -0700
-
+++ green.new/green.h 2016-06-12 18:14:38.830557379 -0700
-
@@ -19,7 +19,14 @@
-
-
-
#include <stdbool.h>
-
-#include "glib/poppler.h"
-
+#include "poppler.h"
-
+#include "gdk-pixbuf/gdk-pixbuf.h"
-
+#include "gdk-pixbuf/gdk-pixbuf-core.h"
-
+#include "gdk-pixbuf/gdk-pixbuf-features.h"
-
+#include "gdk-pixbuf/gdk-pixbuf-enum-types.h"
-
+
-
+ #define GREEN_FULLSCREEN 0x0001
-
+
-
-
-
#define GREEN_FULLSCREEN 0x0001
-
diff -u green.old/Makefile green.new/Makefile
-
--- green.old/Makefile 2016-06-12 18:11:56.779434416 -0700
-
+++ green.new/Makefile 2016-06-12 18:13:09.591974048 -0700
-
@@ -17,6 +17,12 @@
-
SDL_CFLAGS := $$(sdl-config --cflags)
-
SDL_LIBS := $$(sdl-config --libs)
-
-
+GDKPIXBUF_CFLAGS := $$(pkg-config gdk-pixbuf-2.0 --cflags)
-
+GDKPIXBUF_LIBS := $$(pkg-config gdk-pixbuf-2.0 --libs)
-
+
-
+GTK_CFLAGS := $$(pkg-config gtk+-2.0 --cflags)
-
+GTK_LIBS := $$(pkg-config gtk+-2.0 --libs)
-
+
-
-
all: green
-
-
@@ -28,13 +34,14 @@
-
$(INSTALL) green.1 $(MANDIR)/man1/
-
-
green: main.o green.o sdl.o
-
- $(CC) $^ $(POPPLER_LIBS) $(SDL_LIBS) -o $@
-
+ $(CC) $^ $(POPPLER_LIBS) $(SDL_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS) -o $@
-
-
main.o: main.c green.h
-
- $(CC) $(CONFIG) $(CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
-
+ $(CC) $(CONFIG) $(CFLAGS) $(GDKPIXBUF_CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
-
-
green.o: green.c green.h
-
- $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) -o $@
-
+ $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(GDKPIXBUF_CFLAGS) -o $@
-
-
sdl.o: sdl.c green.h
-
- $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(SDL_CFLAGS) -o $@
-
+ $(CC) $(CFLAGS) -c $< $(POPPLER_CFLAGS) $(SDL_CFLAGS) $(GDKPIXBUF_CFLAGS) $(GTK_CFLAGS) -o $@
-
+
···
-10
pkgs/by-name/cr/crack_attack/crack-attack-1.1.14-gcc43.patch
···
-
--- crack-attack-1.1.14/src/Game.h
-
+++ crack-attack-1.1.14/src/Game.h
-
@@ -34,6 +34,7 @@
-
#include <climits>
-
#include <cstdlib>
-
#include <cmath>
-
+#include <cstring>
-
-
#ifdef __MINGW32__
-
# include <windows.h>
···
-10
pkgs/by-name/cr/crack_attack/crack-attack-1.1.14-glut.patch
···
-
--- crack-attack-1.1.14/src/Attack.cxx
-
+++ crack-attack-1.1.14/src/Attack.cxx
-
@@ -83,6 +83,7 @@
-
int height = -1, width = -1;
-
-
player_name[0] = '\0';
-
+ glutInit(&argc, argv);
-
parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
-
run_crack_attack(mode, port, host_name, player_name, height, width);
-
···
-37
pkgs/by-name/cr/crack_attack/package.nix
···
-
{ lib, stdenv, fetchurl, pkg-config, gtk2, libglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
-
-
stdenv.mkDerivation rec {
-
pname = "crack-attack";
-
version = "1.1.14";
-
-
src = fetchurl {
-
url = "mirror://savannah/crack-attack/crack-attack-${version}.tar.gz";
-
sha256 = "1sakj9a2q05brpd7lkqxi8q30bccycdzd96ns00s6jbxrzjlijkm";
-
};
-
-
patches = [
-
./crack-attack-1.1.14-gcc43.patch
-
./crack-attack-1.1.14-glut.patch
-
];
-
-
configureFlags = [
-
"--enable-sound=yes"
-
"--prefix=${placeholder "out"}"
-
"--datadir=${placeholder "out"}/share"
-
];
-
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ gtk2 libglut SDL SDL_mixer libGLU libGL libXi libXmu ];
-
-
hardeningDisable = [ "format" ];
-
enableParallelBuilding = true;
-
-
meta = {
-
description = "Fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!";
-
mainProgram = "crack-attack";
-
homepage = "https://www.nongnu.org/crack-attack/";
-
license = lib.licenses.gpl2Plus;
-
platforms = lib.platforms.linux;
-
maintainers = [ ];
-
};
-
}
···
-22
pkgs/by-name/gt/gtk-engine-bluecurve/package.nix
···
-
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk2 }:
-
-
stdenv.mkDerivation rec {
-
pname = "gtk-engine-bluecurve";
-
version = "1.0";
-
-
src = fetchurl {
-
url = "https://ftp.gnome.org/pub/gnome/teams/art.gnome.org/archive/themes/gtk2/GTK2-Wonderland-Engine-${version}.tar.bz2";
-
sha256 = "1nim3lhmbs5mw1hh76d9258c1p923854x2j6i30gmny812c7qjnm";
-
};
-
-
nativeBuildInputs = [ pkg-config intltool ];
-
-
buildInputs = [ gtk2 ];
-
-
meta = {
-
description = "Original Bluecurve engine from Red Hat's artwork package";
-
license = lib.licenses.gpl2;
-
platforms = lib.platforms.linux;
-
maintainers = [ ];
-
};
-
}
···
-33
pkgs/by-name/la/latencytop/package.nix
···
-
{ lib, stdenv, fetchurl, ncurses, glib, pkg-config, gtk2, util-linux }:
-
-
stdenv.mkDerivation rec {
-
pname = "latencytop";
-
version = "0.5";
-
-
postPatch = ''
-
sed -i s,/usr,$out, Makefile
-
-
# Fix #171609
-
substituteInPlace fsync.c --replace /bin/mount ${util-linux}/bin/mount
-
'';
-
-
preInstall = "mkdir -p $out/sbin";
-
-
src = fetchurl {
-
urls = [ "http://latencytop.org/download/latencytop-${version}.tar.gz"
-
"http://dbg.download.sourcemage.org/mirror/latencytop-0.5.tar.gz" ];
-
sha256 = "1vq3j9zdab6njly2wp900b3d5244mnxfm88j2bkiinbvxbxp4zwy";
-
};
-
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ ncurses glib gtk2 ];
-
-
meta = {
-
homepage = "http://latencytop.org";
-
description = "Tool to show kernel reports on latencies (LATENCYTOP option)";
-
mainProgram = "latencytop";
-
license = lib.licenses.gpl2Only;
-
maintainers = [ ];
-
platforms = lib.platforms.linux;
-
};
-
}
···
-64
pkgs/by-name/li/libmx/package.nix
···
-
{ lib, stdenv, fetchFromGitHub
-
, libtool, pkg-config, automake, autoconf, intltool
-
, gobject-introspection, gtk2, gtk-doc
-
, clutter, clutter-gtk
-
}:
-
-
stdenv.mkDerivation rec {
-
pname = "libmx";
-
version = "1.4.7";
-
-
src = fetchFromGitHub {
-
owner = "clutter-project";
-
repo = "mx";
-
rev = version;
-
sha256 = "sha256-+heIPSkg3d22xsU48UOTJ9FPLXC7zLivcnabQOM9aEk=";
-
};
-
-
# remove the following superfluous checks
-
preConfigure = ''
-
substituteInPlace "autogen.sh" \
-
--replace '`which intltoolize`' '"x"' \
-
--replace '`which gtkdocize`' '"x"' \
-
--replace '`which autoreconf`' '"x"'
-
'';
-
-
configureFlags = [ "--enable-introspection"
-
"--without-startup-notification"
-
"--without-dbus"
-
"--without-glade"
-
"--without-clutter-imcontext"
-
"--without-clutter-gesture"
-
];
-
-
configureScript = "sh autogen.sh";
-
-
nativeBuildInputs = [ pkg-config automake autoconf intltool gobject-introspection ];
-
buildInputs = [
-
libtool
-
gtk2 gtk-doc clutter clutter-gtk
-
];
-
-
# patch to resolve GL errors
-
# source : https://github.com/clutter-project/mx/pull/62
-
preBuild = ''
-
sed -i 's/GLushort/gushort/g' mx/mx-deform-texture.c
-
sed -i 's/GLfloat/gfloat/g' mx/mx-texture-frame.c
-
'';
-
-
meta = with lib; {
-
homepage = "http://www.clutter-project.org/";
-
description = "Clutter-based toolkit";
-
mainProgram = "mx-create-image-cache";
-
longDescription = ''
-
Mx is a widget toolkit using Clutter that provides a set of standard
-
interface elements, including buttons, progress bars, scroll bars and
-
others. It also implements some standard managers. One other interesting
-
feature is the possibility setting style properties from a CSS format
-
file.
-
'';
-
license = licenses.lgpl21;
-
maintainers = [ ];
-
platforms = with platforms; linux;
-
};
-
}
···
-23
pkgs/by-name/rf/rftg/package.nix
···
-
{ lib, stdenv, fetchurl, gtk2, pkg-config }:
-
-
stdenv.mkDerivation rec {
-
-
pname = "rftg";
-
version = "0.9.4";
-
-
src = fetchurl {
-
url = "http://keldon.net/rftg/rftg-${version}.tar.bz2";
-
sha256 = "0j2y6ggpwdlvyqhirp010aix2g6aacj3kvggvpwzxhig30x9vgq8";
-
};
-
-
nativeBuildInputs = [ pkg-config ];
-
buildInputs = [ gtk2.dev ];
-
-
meta = {
-
homepage = "http://keldon.net/rftg/";
-
description = "Implementation of the card game Race for the Galaxy, including an AI";
-
license = lib.licenses.gpl2Plus;
-
maintainers = [ ];
-
};
-
-
}
···
-38
pkgs/by-name/vo/volnoti/package.nix
···
-
{ lib, stdenv, fetchFromGitHub, fetchpatch
-
, pkg-config, dbus, gdk-pixbuf, glib, libX11, gtk2, librsvg
-
, dbus-glib, autoreconfHook, wrapGAppsHook3 }:
-
-
stdenv.mkDerivation {
-
pname = "volnoti-unstable";
-
version = "2013-09-23";
-
-
src = fetchFromGitHub {
-
owner = "davidbrazdil";
-
repo = "volnoti";
-
rev = "4af7c8e54ecc499097121909f02ecb42a8a60d24";
-
sha256 = "155lb7w563dkdkdn4752hl0zjhgnq3j4cvs9z98nb25k1xpmpki7";
-
};
-
-
patches = [
-
# Fix dbus interface headers. See
-
# https://github.com/davidbrazdil/volnoti/pull/10
-
(fetchpatch {
-
url = "https://github.com/davidbrazdil/volnoti/commit/623ad8ea5c3ac8720d00a2ced4b6163aae38c119.patch";
-
sha256 = "046zfdjmvhb7jrsgh04vfgi35sgy1zkrhd3bzdby3nvds1wslfam";
-
})
-
];
-
-
nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook3 ];
-
-
buildInputs = [
-
dbus gdk-pixbuf glib libX11 gtk2 dbus-glib librsvg
-
];
-
-
meta = with lib; {
-
description = "Lightweight volume notification for Linux";
-
homepage = "https://github.com/davidbrazdil/volnoti";
-
license = licenses.gpl3;
-
platforms = platforms.linux;
-
maintainers = [ ];
-
};
-
}
···
+7
pkgs/top-level/aliases.nix
···
inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
concurrencykit = throw "'concurrencykit' has been renamed to/replaced by 'libck'"; # Converted to throw 2024-10-17
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
critcl = tclPackages.critcl; # Added 2024-10-02
cudaPackages_10_0 = throw "CUDA 10.0 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2024-11-20
···
graylog-4_0 = throw "graylog 4.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 4.x to latest series."; # Added 2023-10-09
graylog-4_3 = throw "graylog 4.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 4.x to latest series."; # Added 2023-10-09
graylog-5_0 = throw "graylog 5.0.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 5.0.x to latest series."; # Added 2024-02-15
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
···
larynx = piper-tts; # Added 2023-05-09
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.mousepad' instead"; # Added 2024-10-19
ledger_agent = ledger-agent; # Added 2024-01-07
···
libixp_hg = libixp;
libjpeg_drop = throw "'libjpeg_drop' has been renamed to/replaced by 'libjpeg_original'"; # Converted to throw 2024-10-17
liblastfm = throw "'liblastfm' has been renamed to/replaced by 'libsForQt5.liblastfm'"; # Converted to throw 2024-10-17
liboop = throw "liboop has been removed as it is unmaintained upstream."; # Added 2024-08-14
libpqxx_6 = throw "libpqxx_6 has been removed, please use libpqxx"; # Added 2024-10-02
libpulseaudio-vanilla = libpulseaudio; # Added 2022-04-20
···
retroarchBare = retroarch-bare; # Added 2024-11-23
retroarchFull = retroarch-full; # Added 2024-11-23
retroshare06 = retroshare;
rigsofrods = rigsofrods-bin; # Added 2023-03-22
ring-daemon = throw "'ring-daemon' has been renamed to/replaced by 'jami-daemon'"; # Converted to throw 2024-10-17
rippled = throw "rippled has been removed as it was broken and had not been updated since 2022"; # Added 2024-11-25
···
virtscreen = throw "'virtscreen' has been removed, as it was broken and unmaintained"; # Added 2024-10-17
vkBasalt = vkbasalt; # Added 2022-11-22
vkdt-wayland = vkdt; # Added 2024-04-19
vuze = throw "'vuze' was removed because it is unmaintained upstream and insecure (CVE-2018-13417). BiglyBT is a maintained fork."; # Added 2024-11-22
inherit (libsForQt5.mauiPackages) vvave; # added 2022-05-17
···
inherit (libsForQt5.mauiPackages) communicator; # added 2022-05-17
concurrencykit = throw "'concurrencykit' has been renamed to/replaced by 'libck'"; # Converted to throw 2024-10-17
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
+
crack_attack = throw "'crack_attack' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
critcl = tclPackages.critcl; # Added 2024-10-02
cudaPackages_10_0 = throw "CUDA 10.0 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2024-11-20
···
graylog-4_0 = throw "graylog 4.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 4.x to latest series."; # Added 2023-10-09
graylog-4_3 = throw "graylog 4.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 4.x to latest series."; # Added 2023-10-09
graylog-5_0 = throw "graylog 5.0.x is EOL. Please consider downgrading nixpkgs if you need an upgrade from 5.0.x to latest series."; # Added 2024-02-15
+
green-pdfviewer = throw "'green-pdfviewer' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
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
+
gtk-engine-bluecurve = "'gtk-engine-bluecurve' has been removed as it has been archived upstream."; # Added 2024-12-04
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
···
larynx = piper-tts; # Added 2023-05-09
LASzip = laszip; # Added 2024-06-12
LASzip2 = laszip_2; # Added 2024-06-12
+
latencytop = throw "'latencytop' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
latinmodern-math = lmmath;
leafpad = throw "'leafpad' has been removed due to lack of maintenance upstream. Consider using 'xfce.mousepad' instead"; # Added 2024-10-19
ledger_agent = ledger-agent; # Added 2024-01-07
···
libixp_hg = libixp;
libjpeg_drop = throw "'libjpeg_drop' has been renamed to/replaced by 'libjpeg_original'"; # Converted to throw 2024-10-17
liblastfm = throw "'liblastfm' has been renamed to/replaced by 'libsForQt5.liblastfm'"; # Converted to throw 2024-10-17
+
libmx = throw "'libmx' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
liboop = throw "liboop has been removed as it is unmaintained upstream."; # Added 2024-08-14
libpqxx_6 = throw "libpqxx_6 has been removed, please use libpqxx"; # Added 2024-10-02
libpulseaudio-vanilla = libpulseaudio; # Added 2022-04-20
···
retroarchBare = retroarch-bare; # Added 2024-11-23
retroarchFull = retroarch-full; # Added 2024-11-23
retroshare06 = retroshare;
+
rftg = throw "'rftg' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
rigsofrods = rigsofrods-bin; # Added 2023-03-22
ring-daemon = throw "'ring-daemon' has been renamed to/replaced by 'jami-daemon'"; # Converted to throw 2024-10-17
rippled = throw "rippled has been removed as it was broken and had not been updated since 2022"; # Added 2024-11-25
···
virtscreen = throw "'virtscreen' has been removed, as it was broken and unmaintained"; # Added 2024-10-17
vkBasalt = vkbasalt; # Added 2022-11-22
vkdt-wayland = vkdt; # Added 2024-04-19
+
volnoti = throw "'volnoti' has been removed due to lack of maintenance upstream."; # Added 2024-12-04
vuze = throw "'vuze' was removed because it is unmaintained upstream and insecure (CVE-2018-13417). BiglyBT is a maintained fork."; # Added 2024-11-22
inherit (libsForQt5.mauiPackages) vvave; # added 2022-05-17
-4
pkgs/top-level/all-packages.nix
···
grc = python3Packages.callPackage ../tools/misc/grc { };
-
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
-
SDL = SDL_sixel;
-
};
-
gremlin-console = callPackage ../applications/misc/gremlin-console {
openjdk = openjdk11;
};
···
grc = python3Packages.callPackage ../tools/misc/grc { };
gremlin-console = callPackage ../applications/misc/gremlin-console {
openjdk = openjdk11;
};