Github messages for voidlinux
 help / color / mirror / Atom feed
From: d3jv <d3jv@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] pdftk-java: Fix path to bcprov jar
Date: Fri, 05 Apr 2024 21:09:06 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49722@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

There is a new pull request by d3jv against master on the void-packages repository

https://github.com/d3jv/void-packages pdftk-java
https://github.com/void-linux/void-packages/pull/49722

pdftk-java: Fix path to bcprov jar
pdftk was not able to load some java libraries because the path to one of them was incorrect.

This PR fixes the path so that it points to the [correct jar file](https://github.com/void-linux/void-packages/blob/master/srcpkgs/bc-java/template#L22).

#### Testing the changes
- I tested the changes in this PR: **briefly**



A patch file from https://github.com/void-linux/void-packages/pull/49722.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pdftk-java-49722.patch --]
[-- Type: text/x-diff, Size: 827 bytes --]

From bf5dd1d5b3adf857d4df6d267a04c954580b115d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20=C5=A0torek?= <d.storek@seznam.cz>
Date: Fri, 5 Apr 2024 21:02:03 +0200
Subject: [PATCH] pdftk-java: Fix path to bcprov jar

---
 srcpkgs/pdftk-java/files/pdftk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/pdftk-java/files/pdftk b/srcpkgs/pdftk-java/files/pdftk
index 2b1959430c5dff..bd4bde25f2ce10 100644
--- a/srcpkgs/pdftk-java/files/pdftk
+++ b/srcpkgs/pdftk-java/files/pdftk
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-"$JAVA_HOME"/bin/java -cp "/usr/lib/bc-java/bc-java.jar:/usr/lib/java-commons-lang/commons-lang.jar:/usr/lib/pdftk/pdftk.jar" \
+"$JAVA_HOME"/bin/java -cp "/usr/lib/bc-java/bcprov.jar:/usr/lib/java-commons-lang/commons-lang.jar:/usr/lib/pdftk/pdftk.jar" \
 	com.gitlab.pdftk_java.pdftk "$@"

             reply	other threads:[~2024-04-05 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 19:09 d3jv [this message]
2024-04-05 19:13 ` [PR PATCH] [Closed]: " classabbyamp
2024-04-05 19:14 ` classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49722@inbox.vuxu.org \
    --to=d3jv@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).