pdf2djvu: drop (#468475)
This commit is contained in:
@@ -1,69 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
gettext,
|
||||
libtool,
|
||||
pkg-config,
|
||||
djvulibre,
|
||||
exiv2,
|
||||
fontconfig,
|
||||
graphicsmagick,
|
||||
libjpeg,
|
||||
libuuid,
|
||||
poppler,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.19";
|
||||
pname = "pdf2djvu";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jwilk";
|
||||
repo = "pdf2djvu";
|
||||
rev = version;
|
||||
sha256 = "sha256-j4mYdmLZ56qTA1KbWBjBvyTyLaeuIITKYsALRIO7lj0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
djvulibre
|
||||
exiv2
|
||||
fontconfig
|
||||
graphicsmagick
|
||||
libjpeg
|
||||
libuuid
|
||||
poppler
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace private/autogen \
|
||||
--replace /usr/share/gettext ${gettext}/share/gettext \
|
||||
--replace /usr/share/libtool ${libtool}/share/libtool
|
||||
|
||||
substituteInPlace configure.ac \
|
||||
--replace '$djvulibre_bin_path' ${djvulibre.bin}/bin
|
||||
'';
|
||||
|
||||
preAutoreconf = ''
|
||||
private/autogen
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Required by Poppler
|
||||
CXXFLAGS = "-std=c++20";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Creates djvu files from PDF files";
|
||||
homepage = "https://jwilk.net/software/pdf2djvu";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
mainProgram = "pdf2djvu";
|
||||
};
|
||||
}
|
||||
@@ -1243,6 +1243,7 @@ mapAliases {
|
||||
pcp = throw "'pcp' has been removed because the upstream repo was archived and it hasn't been updated since 2021"; # Added 2025-09-23
|
||||
pcre16 = throw "'pcre16' has been removed because it is obsolete. Consider migrating to 'pcre2' instead."; # Added 2025-05-29
|
||||
pcsctools = throw "'pcsctools' has been renamed to/replaced by 'pcsc-tools'"; # Converted to throw 2025-10-27
|
||||
pdf2djvu = throw "pdf2djvu has been removed because it was broken and archived upstream"; # added 2025-12-06
|
||||
pdf4tcl = throw "'pdf4tcl' has been renamed to/replaced by 'tclPackages.pdf4tcl'"; # Converted to throw 2025-10-27
|
||||
pds = warnAlias "'pds' has been renamed to 'bluesky-pds'" bluesky-pds; # Added 2025-08-20
|
||||
pdsadmin = warnAlias "'pdsadmin' has been renamed to 'bluesky-pdsadmin'" bluesky-pdsadmin; # Added 2025-08-20
|
||||
|
||||
Reference in New Issue
Block a user