Package Details: pdf2htmlex 0.14.6-2

Git Clone URL: https://aur.archlinux.org/pdf2htmlex.git (read-only)
Package Base: pdf2htmlex
Description: Convert PDF to HTML without losing text or format
Upstream URL: http://coolwanglu.github.com/pdf2htmlEX/
Licenses: GPL3
Provides: pdf2htmlex
Submitter: Francois_B
Maintainer: None
Last Packager: Francois_B
Votes: 10
Popularity: 0.000004
First Submitted: 2015-08-09 18:45
Last Updated: 2016-11-23 21:13

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

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.