all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57723] [PATCH] gnu: java-slf4j-api: Update the source URI.
@ 2022-09-11  5:28 Artyom V. Poptsov
  2022-09-11 14:30 ` bug#57723: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2022-09-11  5:28 UTC (permalink / raw)
  To: 57723


[-- Attachment #1.1: Type: text/plain, Size: 174 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-java-slf4j-api-Update-the-source-URI.patch --]
[-- Type: text/x-diff, Size: 1545 bytes --]

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
  "https://www.slf4j.org/dist/slf4j-..."  seems to be broken.
---
 gnu/packages/java.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

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


[-- Attachment #1.3: Type: text/plain, Size: 230 bytes --]


Thanks,

- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

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

* bug#57723: [PATCH] gnu: java-slf4j-api: Update the source URI.
  2022-09-11  5:28 [bug#57723] [PATCH] gnu: java-slf4j-api: Update the source URI Artyom V. Poptsov
@ 2022-09-11 14:30 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2022-09-11 14:30 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: 57723-done


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




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

end of thread, other threads:[~2022-09-11 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-11  5:28 [bug#57723] [PATCH] gnu: java-slf4j-api: Update the source URI Artyom V. Poptsov
2022-09-11 14:30 ` bug#57723: " Mathieu Othacehe

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.