Package Details: pdfsam 5.2.9-1

Git Clone URL: https://aur.archlinux.org/pdfsam.git (read-only, click to copy)
Package Base: pdfsam
Description: A free open source tool to split and merge pdf documents
Upstream URL: https://www.pdfsam.org/
Licenses: AGPL3
Submitter: ainola
Maintainer: ChaosKid42 (ChaosKid42)
Last Packager: ChaosKid42
Votes: 19
Popularity: 0.82
First Submitted: 2021-02-25 08:17 (UTC)
Last Updated: 2024-10-28 10:55 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

b4st1 commented on 2024-06-01 09:39 (UTC) (edited on 2024-06-01 09:57 (UTC) by b4st1)

Recent pdfsam version starts but shows no fonts on a freshly installed arch machine. Interface elements are clickable. Am I'm missing dependencies?

UPDATE: pdfsam expects windows fonts to be installed. I installed ttf-ms-win11-auto, and now the fonts are visible.

ChaosKid42 commented on 2024-03-28 09:31 (UTC) (edited on 2024-03-28 09:32 (UTC) by ChaosKid42)

In recent versions pdfsam wouldn't work with a java version other than the one specified. Therefore I would suggest that you simply do a sudo pacman -S jre21-openjdk to additionally install the correct jre. The startscript provided will automatically select the correct java environment.

ElemondCraw commented on 2024-03-28 08:41 (UTC)

jre-openjdk is now in version 22 which break dependency of this package that needs runtime 21, is it possible to update ?

marco.righi commented on 2024-01-10 09:18 (UTC)

@ChaosKid42 you are right! Resolved, thank you very much.

ChaosKid42 commented on 2024-01-10 05:33 (UTC)

sudo pacman -Sy jre-openjdk should solve your problem

marco.righi commented on 2024-01-09 20:34 (UTC) (edited on 2024-01-09 20:37 (UTC) by marco.righi)

Too much versions...

pacman -Qs | grep openjdk

local/java-openjdk-bin 21.0.1.u12-1
local/jdk11-openjdk 11.0.21.u9-3
local/jdk17-openjdk 17.0.9.u8-2
local/jdk8-openjdk 8.392.u08-1
local/jre-openjdk-headless 21.u35-8
local/jre11-openjdk 11.0.21.u9-3
local/jre11-openjdk-headless 11.0.21.u9-3
local/jre17-openjdk 17.0.9.u8-2
local/jre17-openjdk-headless 17.0.9.u8-2
local/jre8-openjdk 8.392.u08-1
local/jre8-openjdk-headless 8.392.u08-1

Using xfce4, does it exist alternatives (debian like)?

yay -R local/jre8-openjdk-headless jre8-openjdk jre17-openjdk jre17-openjdk jre11-openjdk jre11-openjdk jre-openjdk-headless jdk8-openjdk jdk17-openjdk jdk11-openjdk 


checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing jre8-openjdk breaks dependency 'java-runtime=8' required by arduino
:: removing jre8-openjdk breaks dependency 'java-runtime=8' required by cuda-tools
:: removing jre11-openjdk breaks dependency 'jre11-openjdk' required by ganttproject
:: removing jre8-openjdk breaks dependency 'jre8-openjdk' required by geotortue-bin
:: removing jre8-openjdk breaks dependency 'jre8-openjdk' required by geotortue4-bin
:: removing jre17-openjdk breaks dependency 'java-runtime=17' required by intellij-idea-community-edition
:: removing jre11-openjdk breaks dependency 'java-runtime-openjdk=11' required by java11-openjfx
:: removing jre8-openjdk breaks dependency 'java-runtime=8' required by jitsi
:: removing jdk17-openjdk breaks dependency 'java-environment=17' required by openrocket
:: removing jre11-openjdk breaks dependency 'java-runtime=11' required by weka
 -> exit status 1

ChaosKid42 commented on 2024-01-09 16:19 (UTC) (edited on 2024-01-09 16:20 (UTC) by ChaosKid42)

@marco.righi: What is the output of pacman -Qs | grep openjdk?

It should say local/jdk-openjdk 21.u35-8or local/jre-openjdk 21.u35-8.

Did you maybe install jre-openjdk-headless?

marco.righi commented on 2024-01-09 11:42 (UTC) (edited on 2024-01-09 11:42 (UTC) by marco.righi)

archlinux-java-run --min 21 --max 21 --java-home

/usr/lib/jvm/java-21-openjdk

ChaosKid42 commented on 2023-12-28 09:01 (UTC) (edited on 2023-12-28 09:01 (UTC) by ChaosKid42)

@marco.righi:

What is the output of archlinux-java-run --min 21 --max 21 --java-home?

marco.righi commented on 2023-12-28 08:55 (UTC)

pdfsam does not start. Any ideas?

The packages:

pacman -Qs |grep pdfsam

local/pdfsam 5.2.0-1
pacman -Qs |grep java

local/archlinux-java-run 10-1
    Eclipse java bytecode compiler
local/java-avalon-framework 4.2.0-9
local/java-batik 1.17-1
local/java-commons-io 2.14.0-1
local/java-commons-lang 3.13.0-1
    A host of helper utilities for the java.lang API
local/java-commons-logging 1.2-3
local/java-environment-common 3-5
local/java-openjdk-bin 21.0.1.u12-1
local/java-openjfx 21.0.1.u6-1
local/java-qdox 2.0.3-1
local/java-runtime-common 3-5
local/java-skinlf 6.7-5
local/java-xmlgraphics-commons 2.9-1
local/java11-openjfx 11.0.20.u1-1

The environment

echo $DISPLAY
:0.0

The OS:

OS: Manjaro Linux x86_64 
Kernel: 6.1.69-1-MANJARO
DE: Xfce 4.18
WM: Xfwm4

The error:

INFO 09:47:54.062 org.pdfsam.gui.PdfsamApp.init [JavaFX-Launcher] Starting...
INFO 09:47:54.372 org.sejda.core.context.DefaultSejdaConfiguration.<init> [JavaFX Application Thread] Configuring Sejda 5.0.11
Exception in Application start method
INFO 09:47:55.825 org.pdfsam.gui.PdfsamApp.stop [JavaFX Application Thread] Chiusura PDFsam...
ERROR 09:47:56.205 org.pdfsam.gui.UncaughtExceptionLogger.uncaughtException [main] Unexpected error: java.lang.RuntimeException: Exception in Application start method
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.awt.HeadlessException: 
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

    at java.desktop/java.awt.SplashScreen.getSplashScreen(Unknown Source)
    at org.pdfsam.gui@5.2.0/org.pdfsam.gui.PdfsamApp.closeSplash(PdfsamApp.java:159)
    at org.pdfsam.gui@5.2.0/org.pdfsam.gui.PdfsamApp.start(PdfsamApp.java:132)
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
    at javafx.graphics@21.0.1/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at javafx.graphics@21.0.1/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at javafx.graphics@21.0.1/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(GtkApplication.java:263)
    ... 1 morejava.lang.RuntimeException: Exception in Application start method
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.awt.HeadlessException: 
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

    at java.desktop/java.awt.SplashScreen.getSplashScreen(Unknown Source)
    at org.pdfsam.gui@5.2.0/org.pdfsam.gui.PdfsamApp.closeSplash(PdfsamApp.java:159)
    at org.pdfsam.gui@5.2.0/org.pdfsam.gui.PdfsamApp.start(PdfsamApp.java:132)
    at javafx.graphics@21.0.1/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at javafx.graphics@21.0.1/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
    at javafx.graphics@21.0.1/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at javafx.graphics@21.0.1/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at javafx.graphics@21.0.1/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$10(GtkApplication.java:263)
    ... 1 more

Thanks in advance