diff --git a/pkgs/applications/editors/leafpad/default.nix b/pkgs/applications/editors/leafpad/default.nix deleted file mode 100644 index b5beb0d74d8a7..0000000000000 --- a/pkgs/applications/editors/leafpad/default.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/applications/editors/qxw/default.nix b/pkgs/applications/editors/qxw/default.nix deleted file mode 100644 index 53cdbcfc27070..0000000000000 --- a/pkgs/applications/editors/qxw/default.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/applications/misc/epdfview/default.nix b/pkgs/applications/misc/epdfview/default.nix deleted file mode 100644 index ec43e5a18ca6d..0000000000000 --- a/pkgs/applications/misc/epdfview/default.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/applications/misc/gtk2fontsel/default.nix b/pkgs/applications/misc/gtk2fontsel/default.nix deleted file mode 100644 index f55e32baebf83..0000000000000 --- a/pkgs/applications/misc/gtk2fontsel/default.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/games/eboard/default.nix b/pkgs/games/eboard/default.nix deleted file mode 100644 index 0250208fd48a9..0000000000000 --- a/pkgs/games/eboard/default.nix +++ /dev/null @@ -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; - }; -} diff --git a/pkgs/games/eboard/eboard.patch b/pkgs/games/eboard/eboard.patch deleted file mode 100644 index f80c1b2f78d7e..0000000000000 --- a/pkgs/games/eboard/eboard.patch +++ /dev/null @@ -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;iheight;i++) { -+ for(i=0;i