Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - pdf2htmlex-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: pdf2htmlex-git 1:1694.984c118-1

Git Clone URL: https://aur-dev.archlinux.org/pdf2htmlex-git.git (read-only)
Package Base: pdf2htmlex-git
Description: Convert PDF to HTML without losing format. Text is preserved as much as possible.
Upstream URL: https://github.com/coolwanglu/pdf2htmlEX
Keywords: multimedia
Licenses: custom, GPL3
Conflicts: pdf2htmlex
Provides: pdf2htmlex
Replaces: pdf2htmlex
Submitter: roentgen
Maintainer: roentgen
Last Packager: roentgen
Votes: 41
Popularity: 0.987387
First Submitted: 2012-09-01 11:39
Last Updated: 2015-07-05 10:53

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

leha2000 commented on 2015-04-29 17:29

Add -DENABLE_SVG=ON option please to cmake section :)

roentgen commented on 2015-04-05 08:49

According to https://github.com/coolwanglu/pdf2htmlEX/issues/492 it works by using the 'incoming' branch.

So please modify the source line in the PKGBUILD like bellow:


albion commented on 2015-04-04 09:16

It doesn't compile for me. Does anybody know what to do? (see output below)

==> Making package: pdf2htmlex-git 1:1173.a124926-1 (Sat 4 Apr 11:05:11 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning pdf2htmlEX git repo...
Cloning into bare repository '/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/pdf2htmlEX'...
remote: Counting objects: 11418, done.
remote: Total 11418 (delta 0), reused 0 (delta 0), pack-reused 11418
Receiving objects: 100% (11418/11418), 131.24 MiB | 3.59 MiB/s, done.
Resolving deltas: 100% (7929/7929), done.
Checking connectivity... done.
==> Validating source files with md5sums...
pdf2htmlEX ... Skipped
==> Extracting sources...
-> Creating working copy of pdf2htmlEX git repo...
Cloning into 'pdf2htmlEX'...
==> Starting pkgver()...
==> Updated version: pdf2htmlex-git 1:1608.5e11cc4-1
==> Starting build()...
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- 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 "0.28")
-- checking for module 'poppler>=0.25.0'
-- found poppler, version 0.31.0
-- checking for module 'libfontforge>=2.0.0'
-- found libfontforge, version 2.0.20140101
-- Performing Test CXX0X_SUPPORT
-- Performing Test CXX0X_SUPPORT - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX
Scanning dependencies of target pdf2htmlEX
[ 3%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o
[ 6%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/draw.cc.o
[ 9%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o
[ 12%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/image.cc.o
[ 15%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/HTMLRenderer/font.cc: In member function ‘const pdf2htmlEX::FontInfo* pdf2htmlEX::HTMLRenderer::install_font(GfxFont*)’:
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/HTMLRenderer/font.cc:890:55: warning: converting ‘false’ to pointer type for argument 2 of ‘GfxFontLoc* GfxFont::locateFont(XRef*, PSOutputDev*)’ [-Wconversion-null]
if(auto * font_loc = font->locateFont(xref, gFalse))
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/HTMLRenderer/font.cc: In member function ‘void pdf2htmlEX::HTMLRenderer::install_external_font(GfxFont*, pdf2htmlEX::FontInfo&)’:
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/HTMLRenderer/font.cc:945:62: warning: converting ‘false’ to pointer type for argument 2 of ‘GfxFontLoc* GfxFont::locateFont(XRef*, PSOutputDev*)’ [-Wconversion-null]
GfxFontLoc * localfontloc = font->locateFont(xref, gFalse);
[ 18%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/link.cc.o
[ 21%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/outline.cc.o
[ 25%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/state.cc.o
[ 28%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o
[ 31%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/BackgroundRenderer.cc.o
[ 34%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/BackgroundRenderer/SplashBackgroundRenderer.cc: In constructor ‘pdf2htmlEX::SplashBackgroundRenderer::SplashBackgroundRenderer(const string&, pdf2htmlEX::HTMLRenderer*, const pdf2htmlEX::Param&)’:
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/BackgroundRenderer/SplashBackgroundRenderer.cc:35:23: error: no matching function for call to ‘SplashOutputDev::SplashOutputDev(SplashColorMode, int, bool, SplashColorPtr, bool, bool)’
, format(imgFormat)
/tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/BackgroundRenderer/SplashBackgroundRenderer.cc:35:23: note: candidate is:
In file included from /tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/BackgroundRenderer/SplashBackgroundRenderer.h:15:0,
from /tmp/yaourt-tmp-vbm/aur-pdf2htmlex-git/src/pdf2htmlEX/src/BackgroundRenderer/SplashBackgroundRenderer.cc:20:
/usr/include/poppler/SplashOutputDev.h:171:3: note: SplashOutputDev::SplashOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, SplashThinLineMode, GBool)
SplashOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
/usr/include/poppler/SplashOutputDev.h:171:3: note: no known conversion for argument 6 from ‘bool’ to ‘SplashThinLineMode’
CMakeFiles/pdf2htmlEX.dir/build.make:284: recipe for target 'CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o' failed
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o] Error 1
CMakeFiles/Makefile2:91: recipe for target 'CMakeFiles/pdf2htmlEX.dir/all' failed
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build pdf2htmlex-git.
==> Restart building pdf2htmlex-git ? [y/N]
==> ---------------------------------------

roentgen commented on 2015-03-28 19:04

alanoth, it seems that's not so easy.

Please look at https://unix.stackexchange.com/questions/154919/how-to-modify-a-pkgbuild-which-uses-git-sources-to-pull-only-a-shallow-clone

and the linked bug report https://bugs.archlinux.org/task/23065

alanoth commented on 2015-03-27 02:32

Would it be possible to install the package with a shallow clone? (using '--depth 1')

alanoth commented on 2015-03-27 02:30

Please use "git clone --depth 1". It saves a lot of bandwidth & time as the repository is very large.

Anonymous comment on 2013-04-14 08:30


roentgen commented on 2013-04-14 07:51


Anonymous comment on 2013-04-13 07:48

Could you update the PKGBUILD with the new CVS PKGBUILD features:
Thanks in advance.

roentgen commented on 2013-01-06 15:21

Added ttfautohint as optional dependency.
Run pdf2htmlEX with --external-hint-tool=ttfautohint to enable it.