[PATCH] gnu: java-slf4j-api: Update the source URI.

  • Done
  • quality assurance status badge
Details
2 participants
  • Mathieu Othacehe
  • Artyom V. Poptsov
Owner
unassigned
Submitted by
Artyom V. Poptsov
Severity
normal

Debbugs page

Artyom V. Poptsov wrote 3 years ago
(address . guix-patches@gnu.org)
87sfkyjx7r.fsf@gmail.com
Hello,

this patch sets the source URI of "java-slf4j-api" to "git-reference" as
the old source URI that points to "https://www.slf4j.org/dist/slf4j-..."
seems to be broken.
From 236280d50a9527cd3735df4db2ae207f4e4d8ac6 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 11 Sep 2022 07:09:21 +0300
Subject: [PATCH 1/2] gnu: java-slf4j-api: Update the source URI.

* gnu/packages/java.scm (java-slf4j-api): Replace source URI with
"git-reference" to GitHub as the origin reference to
---
gnu/packages/java.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

Toggle diff (25 lines)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 73898d120c..9fa9f61f12 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8065,12 +8065,14 @@ (define-public java-slf4j-api
(name "java-slf4j-api")
(version "1.7.25")
(source (origin
- (method url-fetch)
- (uri (string-append "https://www.slf4j.org/dist/slf4j-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/qos-ch/slf4j")
+ (commit (string-append "v_" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "13j51sgzmhhdrfa74gkal5zpip7r1440dh7zsi2c8bpb2zs1v8kb"))
+ "15n42zq3k1iyn752nwdcbs44hxns2rmxhglwjfr4np7lxx56apjl"))
(modules '((guix build utils)))
;; Delete bundled jars.
(snippet
--
2.34.1
Thanks,

- Artyom

--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
-----BEGIN PGP SIGNATURE-----

iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmMdchgZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigLwOsB/wMAms12Dfh6jLz+0TZKlz0
35Kk9X7cPXrVZgnye2fcK7WcLqk75Fl323PG++8Yt1fwXC+h+iyTpRYXhENirzc9
53E9hjkqQgQkBP0L3hSN5VHneplm5scpmXwQLKqStTIiBhnkkeaxfSGA6TMn7rrr
pS8qHUyI7QgukfqCGYwhsh6JjurC+Wijh5FuWu55aV+97ryiimugOv4KtpQ3/OkE
u2IxrLMuHKO1Kh3gzvhZHGxe7r6tGt/PPI+vUcDkGqzI1oyynW7f3BZSee8e/c1R
fSKwq5/XS8PB9T6nENEJTbfMh+z04MRd+Bwg7/x+ZK5cpLNltDIOgqOBUM/1qAAF
=1kYA
-----END PGP SIGNATURE-----

Mathieu Othacehe wrote 2 years ago
(name . Artyom V. Poptsov)(address . poptsov.artyom@gmail.com)(address . 57723-done@debbugs.gnu.org)
874jxe0yqk.fsf@gnu.org
Toggle quote (4 lines)
> * gnu/packages/java.scm (java-slf4j-api): Replace source URI with
> "git-reference" to GitHub as the origin reference to
> "https://www.slf4j.org/dist/slf4j-..." seems to be broken.

Applied, thanks!

Mathieu
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 57723@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 57723
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help