diff options
author | freezeboy <freezeboy@users.noreply.github.com> | 2020-11-02 21:12:27 +0100 |
---|---|---|
committer | freezeboy <freezeboy@users.noreply.github.com> | 2020-11-03 11:41:29 +0100 |
commit | d4ad2a87238218ecc20ce998707f379d1e932455 (patch) | |
tree | 6f57da619b4dc70bd757304728aab20078d7cffc /pkgs/tools/typesetting | |
parent | 8c3d91f77f853726b6051f567df8481ace929b3c (diff) | |
download | nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar.gz nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar.bz2 nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar.lz nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar.xz nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.tar.zst nixpkgs-d4ad2a87238218ecc20ce998707f379d1e932455.zip |
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
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r-- | pkgs/tools/typesetting/pdf2htmlEX/add-glib-cmake.patch | 17 | ||||
-rw-r--r-- | pkgs/tools/typesetting/pdf2htmlEX/default.nix | 48 |
2 files changed, 0 insertions, 65 deletions
diff --git a/pkgs/tools/typesetting/pdf2htmlEX/add-glib-cmake.patch b/pkgs/tools/typesetting/pdf2htmlEX/add-glib-cmake.patch deleted file mode 100644 index 8e1d9dfc191..00000000000 --- a/pkgs/tools/typesetting/pdf2htmlEX/add-glib-cmake.patch +++ /dev/null @@ -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") diff --git a/pkgs/tools/typesetting/pdf2htmlEX/default.nix b/pkgs/tools/typesetting/pdf2htmlEX/default.nix deleted file mode 100644 index dee6ec3c6ff..00000000000 --- a/pkgs/tools/typesetting/pdf2htmlEX/default.nix +++ /dev/null @@ -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 - }; -} |