Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pdftk-java: Fix path to bcprov jar
@ 2024-04-05 19:09 d3jv
  2024-04-05 19:13 ` [PR PATCH] [Closed]: " classabbyamp
  2024-04-05 19:14 ` classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: d3jv @ 2024-04-05 19:09 UTC (permalink / raw)
  To: ml

[-- 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 "$@"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: pdftk-java: Fix path to bcprov jar
  2024-04-05 19:09 [PR PATCH] pdftk-java: Fix path to bcprov jar d3jv
@ 2024-04-05 19:13 ` classabbyamp
  2024-04-05 19:14 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-04-05 19:13 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

pdftk-java: Fix path to bcprov jar
https://github.com/void-linux/void-packages/pull/49722

Description:
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**



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: pdftk-java: Fix path to bcprov jar
  2024-04-05 19:09 [PR PATCH] pdftk-java: Fix path to bcprov jar d3jv
  2024-04-05 19:13 ` [PR PATCH] [Closed]: " classabbyamp
@ 2024-04-05 19:14 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-04-05 19:14 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/49722#issuecomment-2040485434

Comment:
thanks

in the future, a change like this should increment the `revision` variable in the template

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-05 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-05 19:09 [PR PATCH] pdftk-java: Fix path to bcprov jar d3jv
2024-04-05 19:13 ` [PR PATCH] [Closed]: " classabbyamp
2024-04-05 19:14 ` classabbyamp

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).