From e3cff492974dc38355aaa7bb3211f09d65bb6b56 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 15 Jan 2023 11:01:45 +0800 Subject: gnome2.libgnomeprint: remove Unmaintained and no package depends on it. --- pkgs/desktops/gnome-2/default.nix | 3 +-- .../gnome-2/platform/libgnomeprint/bug653388.patch | 21 --------------- .../gnome-2/platform/libgnomeprint/default.nix | 30 ---------------------- 3 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch delete mode 100644 pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix (limited to 'pkgs/desktops/gnome-2') diff --git a/pkgs/desktops/gnome-2/default.nix b/pkgs/desktops/gnome-2/default.nix index 64648c2894f..b6f0d56056c 100644 --- a/pkgs/desktops/gnome-2/default.nix +++ b/pkgs/desktops/gnome-2/default.nix @@ -14,8 +14,6 @@ lib.makeScope pkgs.newScope (self: with self; { libglade = callPackage ./platform/libglade { }; - libgnomeprint = callPackage ./platform/libgnomeprint { }; - libgnomecups = callPackage ./platform/libgnomecups { }; libgtkhtml = callPackage ./platform/libgtkhtml { }; @@ -78,6 +76,7 @@ lib.makeScope pkgs.newScope (self: with self; { gnome_python = throw "gnome2.gnome_python has been removed"; # 2023-01-14 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 + libgnomeprint = throw "gnome2.libgnomeprint has been removed"; # 2023-01-15 libgnomeprintui = throw "gnome2.libgnomeprintui has been removed"; # 2023-01-15 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14 }) diff --git a/pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch b/pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch deleted file mode 100644 index 468f8e287a7..00000000000 --- a/pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 9b82b7e75b83395e7c5692085e1934202cf7f65f Mon Sep 17 00:00:00 2001 -From: Jeremy Huddleston -Date: Wed, 12 Oct 2011 15:08:59 +0000 -Subject: Add missing include - -https://bugzilla.gnome.org/show_bug.cgi?id=653388 ---- -diff --git a/libgnomeprint/modules/cups/gnome-print-cups-transport.c b/libgnomeprint/modules/cups/gnome-print-cups-transport.c -index aeb7111..85de91b 100644 ---- a/libgnomeprint/modules/cups/gnome-print-cups-transport.c -+++ b/libgnomeprint/modules/cups/gnome-print-cups-transport.c -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - #include - #include - --- -cgit v0.9.0.2 diff --git a/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix b/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix deleted file mode 100644 index 5f7a254c8fb..00000000000 --- a/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk2, gettext, libxml2, intltool, libart_lgpl -, libgnomecups, bison, flex }: - -stdenv.mkDerivation rec { - pname = "libgnomeprint"; - version = "2.18.8"; - - src = fetchurl { - url = "mirror://gnome/sources/libgnomeprint/${lib.versions.majorMinor version}/libgnomeprint-${version}.tar.bz2"; - sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691"; - }; - - patches = [ - ./bug653388.patch - # Fix compatibility with bison 3 - (fetchpatch { - url = "https://github.com/pld-linux/libgnomeprint/raw/54c0f9c3675b86c53f6d77a5bc526ce9ef0e38cd/bison3.patch"; - sha256 = "1sp04jbv34i1gcwf377hhmwdsmqzig70dd06rjz1isb6zwh4y01l"; - }) - ]; - - nativeBuildInputs = [ pkg-config intltool ]; - buildInputs = [ gtk2 gettext libart_lgpl libgnomecups bison flex ]; - - propagatedBuildInputs = [ libxml2 ]; - - meta = with lib; { - platforms = platforms.linux; - }; -} -- cgit 1.4.1