Package Details: pdf2htmlex continuous-2

Git Clone URL: https://aur.archlinux.org/pdf2htmlex.git (read-only, click to copy)
Package Base: pdf2htmlex
Description: Convert PDF to HTML without losing text or format.
Upstream URL: https://github.com/pdf2htmlEX/pdf2htmlEX
Licenses: GPL3
Submitter: Francois_B
Maintainer: d0lphin
Last Packager: d0lphin
Votes: 11
Popularity: 0.001231
First Submitted: 2015-08-09 18:45
Last Updated: 2020-09-05 06:26

Latest Comments

dreieck commented on 2020-06-13 10:54

Fails to configure for me:

==> Starting build()...
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") 
-- Checking for module 'poppler>=0.25.0'
--   Found poppler, version 0.88.0
-- Checking for module 'cairo>=1.10.0'
--   Found cairo, version 1.17.3
Trying to locate cairo-svg...
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.10.2") 
-- Checking for module 'libfontforge>=2.0.0'
--   Package 'libfontforge', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:467 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindPkgConfig.cmake:647 (_pkg_check_modules_internal)
  CMakeLists.txt:57 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-felics/aur-pdf2htmlex/src/pdf2htmlEX-0.14.6/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...

macie commented on 2019-12-28 21:00

There is newer, maintained fork: https://github.com/pdf2htmlEX/pdf2htmlEX But it aimed at Ubuntu, so it will be probably slightly out of date (dependent packages are slower adopted in Ubuntu than in Arch).

xanc commented on 2018-03-24 22:31

airoFontEngine.cc:681:17: error: ‘void Object::free()’ is private within this context charProc.free(); ^ In file included from /usr/include/poppler/GfxFont.h:41:0, from /home/xan/aur/pdf2htmlex/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.h:40, from /home/xan/aur/pdf2htmlex/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc:39: /usr/include/poppler/Object.h:292:8: note: declared private here void free(); ^~~~ make[2]: [CMakeFiles/pdf2htmlEX.dir/build.make:63: CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:68: CMakeFiles/pdf2htmlEX.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: S'ha produït un error a build(). Cancel·lant...

ilpianista commented on 2017-11-15 18:05

Fails to build:

/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc: In function ‘cairo_status_t _render_type3_glyph(cairo_scaled_font_t*, long unsigned int, cairo_t*, cairo_text_extents_t*)’:
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc:662:50: error: no matching function for call to ‘Dict::getVal(long unsigned int&, Object*)’
gfx->display(charProcs->getVal(glyph, &charProc));
^
In file included from /usr/include/poppler/Object.h:342:0,
from /usr/include/poppler/GfxFont.h:41,
from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.h:40,
from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc:39:
/usr/include/poppler/Dict.h:84:10: note: candidate: Object Dict::getVal(int) const
Object getVal(int i) const;
^~~~~~
/usr/include/poppler/Dict.h:84:10: note: candidate expects 1 argument, 2 provided
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc:681:17: error: ‘void Object::free()’ is private within this context
charProc.free();
^
In file included from /usr/include/poppler/GfxFont.h:41:0,
from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.h:40,
from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoFontEngine.cc:39:
/usr/include/poppler/Object.h:292:8: note: declared private here
void free();
^~~~
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:63: CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc: In constructor ‘CairoOutputDev::CairoOutputDev()’:
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:164:33: error: ‘class GlobalParams’ has no member named ‘getStrokeAdjust’
stroke_adjust = globalParams->getStrokeAdjust();
^~~~~~~~~~~~~~~
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc: In member function ‘virtual void CairoOutputDev::setMimeData(Stream*, Object*, cairo_surface_t*)’:
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:2690:65: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
GBool hasColorSpace = !str->getDict()->lookup("ColorSpace", &obj)->isNull();
^~~~
In file included from /usr/include/poppler/Object.h:342:0,
from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:52:
/usr/include/poppler/Dict.h:78:10: note: initializing argument 2 of ‘Object Dict::lookup(const char*, int) const’
Object lookup(const char *key, int recursion = 0) const;
^~~~~~
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:2690:70: error: base operand of ‘->’ has non-pointer type ‘Object’
GBool hasColorSpace = !str->getDict()->lookup("ColorSpace", &obj)->isNull();
^~
/tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:2691:14: error: ‘void Object::free()’ is private within this context
obj.free();
^
In file included from /tmp/pdf2htmlex/src/pdf2htmlEX-0.14.6/3rdparty/poppler/git/CairoOutputDev.cc:52:0:
/usr/include/poppler/Object.h:292:8: note: declared private here
void free();
^~~~
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:111: CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoOutputDev.cc.o] Error 1

Fanch commented on 2016-11-23 15:11

it look like it is because ${_pkgname} is not defined in the pkgbuild
you should remove the underscore for this variable in the package () function

dreieck commented on 2016-11-22 19:09

Your package produces a file /usr/share/licenses/LICENSE. This should _not_ happen!, indeed it must be at /usr/share/licenses/pdf2htmlex/LICENSE. Please correct. You break compatibility and conflict with other packages that also have this bug (e.g. lha).

runical commented on 2015-11-19 11:54

You have added 'pdf2htmlex' to the replaces. This is not needed and if added to a repo, pacman will ask to replace it every time with the same package. So, please remove it on the next update.