t1lib: drop
Unmaintained upstream for ~10 years, currently broken with gcc 14. It was removed from Debian in 2014 for being unmaintained and "unsupportable". Arch has also removed t1lib from its repository, although it seems they may be working on bringing it back? https://gitlab.archlinux.org/archlinux/packaging/packages/t1lib
This commit is contained in:
@@ -1,74 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
libX11,
|
||||
libXaw,
|
||||
}:
|
||||
|
||||
let
|
||||
getPatch =
|
||||
{ name, sha256 }:
|
||||
fetchpatch {
|
||||
inherit name sha256;
|
||||
url =
|
||||
"https://projects.archlinux.org/svntogit/packages.git/plain/trunk/${name}"
|
||||
+ "?h=packages/t1lib&id=643a4c2c58e70072b5bc1e9e4624162517b58357";
|
||||
};
|
||||
|
||||
patches = map getPatch [
|
||||
{
|
||||
name = "lib-cleanup.diff";
|
||||
sha256 = "1w3q1y4zk0y4mf2s2x9z4cd8d4af8i868c8837p40mz3dqrai4zp";
|
||||
}
|
||||
{
|
||||
name = "format-security.diff";
|
||||
sha256 = "0cca94bif9dsc6iwpcnk1504gb3sl3nsqhni85c21q9aywyz26l3";
|
||||
}
|
||||
{
|
||||
name = "CVE-2011-0764.diff";
|
||||
sha256 = "1j0y3f38im7srpqjg9jvx8as6sxkz8gw7hglcxnxl9qylx8mr2jh";
|
||||
}
|
||||
{
|
||||
name = "CVE-2011-1552_1553_1554.patch";
|
||||
sha256 = "16cyq6jhyhh8912j8hapx9pq4rzxk36ljlkxlnyi7i3wr8iz1dir";
|
||||
}
|
||||
{
|
||||
name = "CVE-2010-2642.patch";
|
||||
sha256 = "175zvyr9v1xs22k2svgxqjcpz5nihfa7j46hn9nzvkqcrhm5m9y8";
|
||||
}
|
||||
# this ^ also fixes CVE-2011-5244
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "t1lib";
|
||||
version = "5.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k=";
|
||||
};
|
||||
inherit patches;
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXaw
|
||||
];
|
||||
buildFlags = [ "without_doc" ];
|
||||
|
||||
postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
# ??
|
||||
chmod +x $out/lib/*.so.*
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.t1lib.org/";
|
||||
description = "Type 1 font rasterizer library for UNIX/X11";
|
||||
license = with licenses; [
|
||||
gpl2
|
||||
lgpl2
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1867,6 +1867,7 @@ mapAliases {
|
||||
|
||||
### T ###
|
||||
|
||||
t1lib = throw "'t1lib' has been removed as it was broken and unmaintained upstream."; # Added 2025-06-11
|
||||
tabula = throw "tabula has been removed from nixpkgs, as it was broken"; # Added 2024-07-15
|
||||
tailor = throw "'tailor' has been removed from nixpkgs, as it was unmaintained upstream."; # Added 2024-11-02
|
||||
tangogps = throw "'tangogps' has been renamed to/replaced by 'foxtrotgps'"; # Converted to throw 2024-10-17
|
||||
|
||||
Reference in New Issue
Block a user