1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

pdf2htmlEx: remove

This package is broken since 2018 and the project itself is abandonned
upstream since 2017, so there is no hope to see it evolve
This commit is contained in:
freezeboy 2020-11-02 21:12:27 +01:00
parent 8c3d91f77f
commit d4ad2a8723
4 changed files with 1 additions and 67 deletions

View file

@ -1,17 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3fdabb0..378621a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,6 +59,12 @@ include_directories(${FONTFORGE_INCLUDE_DIRS})
link_directories(${FONTFORGE_LIBRARY_DIRS})
set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${FONTFORGE_LIBRARIES})
+# add glib dependency
+pkg_check_modules(GLIB REQUIRED glib-2.0)
+include_directories(${GLIB_INCLUDE_DIRS})
+link_directories(${GLIB_INCLUDE_DIRS})
+set(PDF2HTMLEX_LIBS ${PDF2HTMLEX_LIBS} ${GLIB_LIBRARIES})
+
# debug build flags (overwrite default cmake debug flags)
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pg")
set(CMAKE_CXX_FLAGS_DEBUG "-ggdb -pg")

View file

@ -1,48 +0,0 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, poppler, xorg, pcre, python, glib, fontforge, cairo, pango, openjdk8
}:
stdenv.mkDerivation {
name = "pdf2htmlEX-0.14.6";
src = fetchFromGitHub {
repo = "pdf2htmlEX";
owner = "coolwanglu";
rev = "v0.14.6";
sha256 = "1nh0ab8f11fsyi4ldknlkmdzcfvm1dfh8b9bmprjgq6q0vjj7f78";
};
patches = [ ./add-glib-cmake.patch ];
cmakeFlags = [ "-DENABLE_SVG=ON" ];
enableParallelBuilding = true;
nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [
xorg.libpthreadstubs
xorg.libXdmcp
pcre
python
glib
cairo
pango
poppler
fontforge
openjdk8
];
meta = with stdenv.lib; {
description = "Render PDF files to beautiful HTML";
homepage = "https://github.com/coolwanglu/pdf2htmlEX";
license = licenses.gpl3Plus;
maintainers = [ maintainers.taktoa ];
platforms = with platforms; linux;
broken = true; # 2018-09-08
};
}

View file

@ -366,6 +366,7 @@ mapAliases ({
parity = openethereum; # added 2020-08-01
parquet-cpp = arrow-cpp; # added 2018-09-08
pass-otp = pass.withExtensions (ext: [ext.pass-otp]); # added 2018-05-04
pdf2htmlEx = throw "pdf2htmlEx has been removed from nixpkgs, as it was unmaintained"; # added 2020-11-03
perlXMLParser = perlPackages.XMLParser; # added 2018-10-12
perlArchiveCpio = perlPackages.ArchiveCpio; # added 2018-10-12
pgp-tools = signing-party; # added 2017-03-26

View file

@ -6332,8 +6332,6 @@ in
pdf2djvu = callPackage ../tools/typesetting/pdf2djvu { };
pdf2htmlEX = callPackage ../tools/typesetting/pdf2htmlEX { };
pdf2odt = callPackage ../tools/typesetting/pdf2odt { };
pdf-redact-tools = callPackage ../tools/graphics/pdfredacttools { };