gnome2.libgnomeprint: remove

Unmaintained and no package depends on it.

+1 -53
+1 -2
pkgs/desktops/gnome-2/default.nix
··· 14 14 15 15 libglade = callPackage ./platform/libglade { }; 16 16 17 - libgnomeprint = callPackage ./platform/libgnomeprint { }; 18 - 19 17 libgnomecups = callPackage ./platform/libgnomecups { }; 20 18 21 19 libgtkhtml = callPackage ./platform/libgtkhtml { }; ··· 78 76 gnome_python = throw "gnome2.gnome_python has been removed"; # 2023-01-14 79 77 gnome_python_desktop = throw "gnome2.gnome_python_desktop has been removed"; # 2023-01-14 80 78 libglademm = throw "gnome2.libglademm has been removed"; # 2022-01-15 79 + libgnomeprint = throw "gnome2.libgnomeprint has been removed"; # 2023-01-15 81 80 libgnomeprintui = throw "gnome2.libgnomeprintui has been removed"; # 2023-01-15 82 81 python_rsvg = throw "gnome2.python_rsvg has been removed"; # 2023-01-14 83 82 })
-21
pkgs/desktops/gnome-2/platform/libgnomeprint/bug653388.patch
··· 1 - From 9b82b7e75b83395e7c5692085e1934202cf7f65f Mon Sep 17 00:00:00 2001 2 - From: Jeremy Huddleston <jeremyhu@freedesktop.org> 3 - Date: Wed, 12 Oct 2011 15:08:59 +0000 4 - Subject: Add missing include 5 - 6 - https://bugzilla.gnome.org/show_bug.cgi?id=653388 7 - --- 8 - diff --git a/libgnomeprint/modules/cups/gnome-print-cups-transport.c b/libgnomeprint/modules/cups/gnome-print-cups-transport.c 9 - index aeb7111..85de91b 100644 10 - --- a/libgnomeprint/modules/cups/gnome-print-cups-transport.c 11 - +++ b/libgnomeprint/modules/cups/gnome-print-cups-transport.c 12 - @@ -34,6 +34,7 @@ 13 - #include <sys/types.h> 14 - #include <sys/stat.h> 15 - #include <fcntl.h> 16 - +#include <stdio.h> 17 - #include <unistd.h> 18 - #include <locale.h> 19 - 20 - -- 21 - cgit v0.9.0.2
-30
pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk2, gettext, libxml2, intltool, libart_lgpl 2 - , libgnomecups, bison, flex }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "libgnomeprint"; 6 - version = "2.18.8"; 7 - 8 - src = fetchurl { 9 - url = "mirror://gnome/sources/libgnomeprint/${lib.versions.majorMinor version}/libgnomeprint-${version}.tar.bz2"; 10 - sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691"; 11 - }; 12 - 13 - patches = [ 14 - ./bug653388.patch 15 - # Fix compatibility with bison 3 16 - (fetchpatch { 17 - url = "https://github.com/pld-linux/libgnomeprint/raw/54c0f9c3675b86c53f6d77a5bc526ce9ef0e38cd/bison3.patch"; 18 - sha256 = "1sp04jbv34i1gcwf377hhmwdsmqzig70dd06rjz1isb6zwh4y01l"; 19 - }) 20 - ]; 21 - 22 - nativeBuildInputs = [ pkg-config intltool ]; 23 - buildInputs = [ gtk2 gettext libart_lgpl libgnomecups bison flex ]; 24 - 25 - propagatedBuildInputs = [ libxml2 ]; 26 - 27 - meta = with lib; { 28 - platforms = platforms.linux; 29 - }; 30 - }