unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66883] [PATCH] gnu: lowdown: Update to 1.0.2.
@ 2023-11-01 12:00 Spencer Skylar Chan
  2023-11-02 14:07 ` [bug#66883] [PATCH v2] " Spencer Skylar Chan
  2023-11-11  0:29 ` [bug#66883] [PATCH v3] gnu: lowdown: Update to 1.1.0 iyzsong--- via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Spencer Skylar Chan @ 2023-11-01 12:00 UTC (permalink / raw)
  To: 66883

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



[-- Attachment #2: 0001-gnu-lowdown-Update-to-1.0.2.patch --]
[-- Type: text/x-patch, Size: 3154 bytes --]

From 1ea1bc0f2740cb62f230f6a9811f75e83ca35a51 Mon Sep 17 00:00:00 2001
From: Skylar Chan <schan12@umd.edu>
Date: Tue, 31 Oct 2023 20:33:49 -0400
Subject: [PATCH] gnu: lowdown: Update to 1.0.2.

* gnu/packages/markup.scm (lowdown): Update to 1.0.2.
[source]: Use upstream tarball and switch to url-fetch.

Change-Id: I2268c587be2fddb43fdf9ae957b6e5344e5f2984
---
 gnu/packages/markup.scm | 59 +++++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index ad2d74f742..f432936033 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -125,39 +125,34 @@ (define-public markdown
                                    "See License.text in the distribution."))))
 
 (define-public lowdown
-  (let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
-        (revision "1"))
-    (package
-      (name "lowdown")
-      (version (git-version "0.10.0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/kristapsdz/lowdown")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
-      (build-system gnu-build-system)
-      (arguments
-       (list
-        #:test-target "regress"
-        #:phases
-        #~(modify-phases %standard-phases
-            (replace 'configure
-              (lambda _
-                (invoke "./configure"
-                        (string-append "PREFIX=" #$output)
-                        (string-append "MANDIR=" #$output "/share/man")))))
-        #:make-flags #~(list "CFLAGS=-fPIC")))
-      (native-inputs
-       (list which))
-      (home-page "https://kristaps.bsd.lv/lowdown/")
-      (synopsis "Simple Markdown translator")
-      (description "Lowdown is a Markdown translator producing HTML5,
+  (package
+    (name "lowdown")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" version ".tar.gz"))
+       (sha256
+        (base32 "11c4l2z56dvwpyjg97xv39s0127axjr9vs7anzgfrbrrzx0hsnz4"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:test-target "regress"
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              (invoke "./configure"
+                      (string-append "PREFIX=" #$output)
+                      (string-append "MANDIR=" #$output "/share/man")))))
+      #:make-flags #~(list "CFLAGS=-fPIC")))
+    (native-inputs
+     (list which))
+    (home-page "https://kristaps.bsd.lv/lowdown/")
+    (synopsis "Simple Markdown translator")
+    (description "Lowdown is a Markdown translator producing HTML5,
 roff documents in the ms and man formats, LaTeX, gemini, and terminal output.")
-      (license license:isc))))
+    (license license:isc)))
 
 (define-public discount
   (package

base-commit: a0a377fdd6c873aeb6340afeddcd23b4ead7657d
-- 
2.39.2


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

* [bug#66883] [PATCH v2] gnu: lowdown: Update to 1.0.2.
  2023-11-01 12:00 [bug#66883] [PATCH] gnu: lowdown: Update to 1.0.2 Spencer Skylar Chan
@ 2023-11-02 14:07 ` Spencer Skylar Chan
  2023-11-11  0:39   ` bug#66883: " 宋文武 via Guix-patches via
  2023-11-11  0:29 ` [bug#66883] [PATCH v3] gnu: lowdown: Update to 1.1.0 iyzsong--- via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Spencer Skylar Chan @ 2023-11-02 14:07 UTC (permalink / raw)
  To: 66883

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

Fixes broken Nix build.

[-- Attachment #2: 0001-gnu-lowdown-Update-to-1.0.2.patch --]
[-- Type: text/x-patch, Size: 3323 bytes --]

From 8a8b46b472189c447f4eeda0647d8267754377b8 Mon Sep 17 00:00:00 2001
From: Skylar Chan <schan12@umd.edu>
Date: Tue, 31 Oct 2023 20:33:49 -0400
Subject: [PATCH v2] gnu: lowdown: Update to 1.0.2.

* gnu/packages/markup.scm (lowdown): Update to 1.0.2.
[source]: Use upstream tarball and switch to url-fetch.
[arguments]: Invoke make with explicit install targets.

Change-Id: I2268c587be2fddb43fdf9ae957b6e5344e5f2984
---
 gnu/packages/markup.scm | 62 ++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index ad2d74f742..b3277fb368 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -125,39 +125,37 @@ (define-public markdown
                                    "See License.text in the distribution."))))
 
 (define-public lowdown
-  (let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
-        (revision "1"))
-    (package
-      (name "lowdown")
-      (version (git-version "0.10.0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/kristapsdz/lowdown")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
-      (build-system gnu-build-system)
-      (arguments
-       (list
-        #:test-target "regress"
-        #:phases
-        #~(modify-phases %standard-phases
-            (replace 'configure
-              (lambda _
-                (invoke "./configure"
-                        (string-append "PREFIX=" #$output)
-                        (string-append "MANDIR=" #$output "/share/man")))))
-        #:make-flags #~(list "CFLAGS=-fPIC")))
-      (native-inputs
-       (list which))
-      (home-page "https://kristaps.bsd.lv/lowdown/")
-      (synopsis "Simple Markdown translator")
-      (description "Lowdown is a Markdown translator producing HTML5,
+  (package
+    (name "lowdown")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" version ".tar.gz"))
+       (sha256
+        (base32 "11c4l2z56dvwpyjg97xv39s0127axjr9vs7anzgfrbrrzx0hsnz4"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:test-target "regress"
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              (invoke "./configure"
+                      (string-append "PREFIX=" #$output)
+                      (string-append "MANDIR=" #$output "/share/man"))))
+          (replace 'install
+            (lambda _
+              (invoke "make" "install" "install_libs"))))
+      #:make-flags #~(list "CFLAGS=-fPIC")))
+    (native-inputs
+     (list which))
+    (home-page "https://kristaps.bsd.lv/lowdown/")
+    (synopsis "Simple Markdown translator")
+    (description "Lowdown is a Markdown translator producing HTML5,
 roff documents in the ms and man formats, LaTeX, gemini, and terminal output.")
-      (license license:isc))))
+    (license license:isc)))
 
 (define-public discount
   (package

base-commit: f5346094f0365a2c04ca00111ff06e17dac832e2
-- 
2.39.2


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

* [bug#66883] [PATCH v3] gnu: lowdown: Update to 1.1.0.
  2023-11-01 12:00 [bug#66883] [PATCH] gnu: lowdown: Update to 1.0.2 Spencer Skylar Chan
  2023-11-02 14:07 ` [bug#66883] [PATCH v2] " Spencer Skylar Chan
@ 2023-11-11  0:29 ` iyzsong--- via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: iyzsong--- via Guix-patches via @ 2023-11-11  0:29 UTC (permalink / raw)
  To: 66883; +Cc: Skylar Chan, 宋文武

From: Skylar Chan <schan12@umd.edu>

* gnu/packages/markup.scm (lowdown): Update to 1.1.0.
[source]: Use upstream tarball and switch to url-fetch.
[arguments]<phases>: Install with "make install install_libs".

Change-Id: I2268c587be2fddb43fdf9ae957b6e5344e5f2984
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
 gnu/packages/markup.scm | 66 ++++++++++++++++++++---------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index 6ee7bebf57..595b08fa20 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -125,39 +125,39 @@ (define-public markdown
                                    "See License.text in the distribution."))))
 
 (define-public lowdown
-  (let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
-        (revision "1"))
-    (package
-      (name "lowdown")
-      (version (git-version "0.10.0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/kristapsdz/lowdown")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
-      (build-system gnu-build-system)
-      (arguments
-       (list
-        #:test-target "regress"
-        #:phases
-        #~(modify-phases %standard-phases
-            (replace 'configure
-              (lambda _
-                (invoke "./configure"
-                        (string-append "PREFIX=" #$output)
-                        (string-append "MANDIR=" #$output "/share/man")))))
-        #:make-flags #~(list "CFLAGS=-fPIC")))
-      (native-inputs
-       (list which))
-      (home-page "https://kristaps.bsd.lv/lowdown/")
-      (synopsis "Simple Markdown translator")
-      (description "Lowdown is a Markdown translator producing HTML5,
-roff documents in the ms and man formats, LaTeX, gemini, and terminal output.")
-      (license license:isc))))
+  (package
+    (name "lowdown")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0y88gffrg1zrin0y53j4gbkmpia0r8p0kyklj501wavkqi83j7pk"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:test-target "regress"
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'configure
+            (lambda _
+              (invoke "./configure"
+                      (string-append "PREFIX=" #$output)
+                      (string-append "MANDIR=" #$output "/share/man"))))
+          (replace 'install
+            (lambda _
+              (invoke "make" "install" "install_libs"))))
+      #:make-flags #~(list "CFLAGS=-fPIC")))
+    (native-inputs
+     (list which))
+    (home-page "https://kristaps.bsd.lv/lowdown/")
+    (synopsis "Simple Markdown translator")
+    (description "Lowdown is a Markdown translator producing HTML5, roff
+documents in the ms and man formats, LaTeX, gemini, and terminal output.")
+    (license license:isc)))
 
 (define-public discount
   (package

base-commit: bb3ab24a296ffa5273b2e82a02ed057e90c095f3
prerequisite-patch-id: 43b7202bd62a4488685baa7436d94a6b1aecbb0e
-- 
2.41.0





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

* bug#66883: [PATCH v2] gnu: lowdown: Update to 1.0.2.
  2023-11-02 14:07 ` [bug#66883] [PATCH v2] " Spencer Skylar Chan
@ 2023-11-11  0:39   ` 宋文武 via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: 宋文武 via Guix-patches via @ 2023-11-11  0:39 UTC (permalink / raw)
  To: Spencer Skylar Chan; +Cc: 66883-done

Spencer Skylar Chan <schan12@umd.edu> writes:

Hello, I apply this patch to master with some updates (v3 patch):
- Update to version 1.1.0.
- Put url line under 80 columns.
- Adjust commit message for "install_libs".

Thanks.




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

end of thread, other threads:[~2023-11-11  0:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 12:00 [bug#66883] [PATCH] gnu: lowdown: Update to 1.0.2 Spencer Skylar Chan
2023-11-02 14:07 ` [bug#66883] [PATCH v2] " Spencer Skylar Chan
2023-11-11  0:39   ` bug#66883: " 宋文武 via Guix-patches via
2023-11-11  0:29 ` [bug#66883] [PATCH v3] gnu: lowdown: Update to 1.1.0 iyzsong--- via Guix-patches via

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).