Package: impressive
Version: 0.13.0~beta2-2
Severity: important
Tags: patch

Whenever I try to open a PDF presentation with impressive, I get the
following error message:

    Welcome to Impressive version 0.13.0-beta2 (SVN r298)
    pygame 1.9.6
    Hello from the pygame community. https://www.pygame.org/contribute.html
    Detected screen size: 1920x1080 pixels
    PDF renderer: Xpdf/Poppler
    pdftkParse() FAILED
    WARNING: The input file `/tmp/testfile.pdf' could not be analyzed.
    The presentation doesn't have any pages, quitting.

Do note that I am running this on ARM64, and using Wayland.

And... Oh! This seems to be due to a missing dependency! I was
checking through the list of versions of depends/recommends/suggests
(am not running reportbug from the affected system), and turns out
that installing pdftk (or rather, pdftk-java, as pdftk is now just a
transitional package) fixes the issue. Just for completeness sake, the
PDF renderer is still marked to be Xpdf/Poppler, but now it reports
"OpenGL renderer: FD630" and... works! :-D

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm64

Kernel: Linux 5.16.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages impressive depends on:
ii  poppler-utils   20.09.0-3.1
ii  python3         3.9.8-1
ii  python3-pil     9.0.1-1
pn  python3-pygame  1.9.6+dfsg-5

Versions of packages impressive recommends:
ii  ffmpeg     7:4.3.1-3+b2
ii  mplayer    2:1.4+ds1-1+b1
ii  perl       5.34.0-3
ii  xdg-utils  1.1.3-4.1

Versions of packages impressive suggests:
ii  ghostscript   9.55.0~dfsg-3
pn  latex-beamer  <none>
pn  pdftk         <none>
diff --git a/debian/control b/debian/control
index 12a1a9d..981c495 100644
--- a/debian/control
+++ b/debian/control
@@ -28,13 +28,13 @@ Depends: python3,
          python3-pygame,
          python3-pil,
          mupdf-tools (>= 1.5) | poppler-utils,
+        pdftk-java,
 Recommends: mplayer,
             ffmpeg,
             perl,
             xdg-utils
 Suggests: ghostscript,
           latex-beamer,
-          pdftk,
 Conflicts: keyjnote (<< 0.10.2r-0)
 Provides: keyjnote
 Replaces: keyjnote (<< 0.10.2r-0)

Reply via email to