Package Details: pdf2djvu 0.9.19-3

Git Clone URL: https://aur.archlinux.org/pdf2djvu.git (read-only, click to copy)
Package Base: pdf2djvu
Description: Creates DjVu files from PDF files
Upstream URL: https://jwilk.net/software/pdf2djvu
Licenses: GPL
Submitter: arojas
Maintainer: blueowl
Last Packager: blueowl
Votes: 6
Popularity: 0.000000
First Submitted: 2021-05-08 09:21 (UTC)
Last Updated: 2024-07-09 22:16 (UTC)

Latest Comments

1 2 Next › Last »

blueowl commented on 2024-07-09 22:59 (UTC)

@simona: Sure, thanks for confirming ;-)

@Joshix, @alan1world: thanks for pointing in the right direction.

simona commented on 2024-07-09 22:48 (UTC)

now build... :-)

Joshix commented on 2024-06-08 20:33 (UTC)

I was able to build it with the following change:

diff --git a/PKGBUILD b/PKGBUILD
index 3651687..697b1dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,6 +32,9 @@ build() {
     cd ${pkgname}-${pkgver}

     ./configure --prefix=/usr
+
+    sed -i -e 's/CXXFLAGS = /CXXFLAGS = -std=c++20 /' autoconf.mk
+
     make
 }

alan1world commented on 2024-06-04 11:13 (UTC) (edited on 2024-06-04 11:13 (UTC) by alan1world)

Based on some other packages, poppler now uses C++ 20 - the error occurs when compilation is tried with earlier C++ flags set (current default is not C++ 20).

Openboard - https://github.com/OpenBoard-org/OpenBoard/pull/961 and https://aur.archlinux.org/packages/openboard
dia-git - https://aur.archlinux.org/packages/dia-git

simona commented on 2024-05-11 14:28 (UTC)

/usr/include/poppler/goo/GooString.h:241:24: error: ‘starts_with’ has not been declared in ‘std::string’
/usr/include/poppler/goo/GooString.h:244:24: error: ‘ends_with’ has not been declared in ‘std::string’

simona commented on 2024-05-02 10:32 (UTC)

ImportError: cannot import name 'assert_regexp_matches' from 'nose.tools' (/usr/lib/python3.12/site-packages/nose/tools/init.py)

TheGreatAndyChow commented on 2022-09-22 06:02 (UTC)

requires poppler-data or fails to compile. poppler-data is not required by poppler.

renatocan commented on 2022-04-03 13:39 (UTC)

I tried to compile, commenting out the dependency on python2-nose and check() stage but got the following error:

pdf-backend.cc:133:64: error: no matching function for call to ‘PDFDoc::PDFDoc(pdf::String*, std::nullptr_t, std::nullptr_t)’

zoidberg commented on 2022-02-19 13:50 (UTC)

@Amolith you can just comment out the make PYTHON=python2 test line in the check() function of the PKGBUILD

Amolith commented on 2022-02-14 01:18 (UTC)

Is there a decent way to work around the missing python2-nose dependency?