GNU bug report logs - #65197
add offpunk

Previous Next

Package: guix-patches;

Reported by: "ShinyZero0" <shinyzero0 <at> tilde.club>

Date: Thu, 10 Aug 2023 08:52:01 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 65197 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Thu, 10 Aug 2023 08:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "ShinyZero0" <shinyzero0 <at> tilde.club>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 10 Aug 2023 08:52:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: <guix-patches <at> gnu.org>
Subject: add offpunk
Date: Thu, 10 Aug 2023 11:06:20 +0300
From 55885770d70ec38e190783c64322144d00495075 Mon Sep 17 00:00:00 2001
From: "zero <at> void" <shinyzero0 <at> gmail.com>
Date: Thu, 10 Aug 2023 11:03:09 +0300
Subject: [PATCH] add offpunk

---
 gnu/packages/web-browsers.scm | 49 +++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index c7143e3..e1b8fdd 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -61,6 +62,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fonts)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gcc)
@@ -71,7 +73,9 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages less)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
@@ -547,6 +551,51 @@ (define-public qutebrowser
 GUI.  It is based on PyQt5 and QtWebEngine.")
     (license license:gpl3+)))
 
+(define-public offpunk
+  (package
+    (name "offpunk")
+    (version "1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~lioploum/offpunk")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0r8j01s3hdn3iq4ld6pj3v0h4hpakvkc4h55jzz7jr6az4y8lcgs"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (delete 'check)
+                        (add-before 'wrap 'wrap-path
+                          (lambda* (#:key inputs outputs #:allow-other-keys)
+                            (wrap-program (string-append #$output
+                                                         "/bin/offpunk")
+                              `("PATH" ":" prefix
+                                (,(string-append #$(this-package-input "less")
+                                                 "/bin") ,(string-append #$(this-package-input
+                                                                            "file")
+                                                           "/bin")
+                                 ,(string-append #$(this-package-input
+                                                    "xdg-utils") "/bin")))))))))
+    (inputs (list python-cryptography
+                  python-requests
+                  python-feedparser
+                  python-beautifulsoup4
+                  python-readability-lxml
+                  python-flit
+                  xdg-utils
+                  file
+                  less))
+    (synopsis
+     "Command-line browser/feed reader for Gemini, Gopher, Spartan and Web")
+    (description
+     "The goal of Offpunk is to be able to synchronise your content once
+     (a day, a week, a month) and then browse/organise it while staying
+     disconnected")
+    (home-page "https://git.sr.ht/~lioploum/offpunk")
+    (license license:bsd-2)))
+
 (define-public vimb
   (package
     (name "vimb")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Thu, 10 Aug 2023 13:22:03 GMT) Full text and rfc822 format available.

Message #8 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: <65197 <at> debbugs.gnu.org>
Subject: [PATCH] fix formatting issues, remove unnecessary module import
Date: Thu, 10 Aug 2023 13:47:07 +0300
From 392732b00eace467aa2fc894fbdcb56985513de9 Mon Sep 17 00:00:00 2001
From: "zero <at> void" <shinyzero0 <at> gmail.com>
Date: Thu, 10 Aug 2023 13:32:47 +0300
Subject: [PATCH] fix formatting issues, remove unnecessary module

---
 gnu/packages/web-browsers.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index e1b8fdd..d9f0e9c 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -73,7 +73,6 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
-  #:use-module (gnu packages image-viewers)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages less)
   #:use-module (gnu packages libevent)
@@ -572,12 +571,15 @@ (define-public offpunk
                             (wrap-program (string-append #$output
                                                          "/bin/offpunk")
                               `("PATH" ":" prefix
-                                (,(string-append #$(this-package-input "less")
-                                                 "/bin") ,(string-append #$(this-package-input
-                                                                            "file")
-                                                           "/bin")
-                                 ,(string-append #$(this-package-input
-                                                    "xdg-utils") "/bin")))))))))
+                                (,(string-append
+                                    #$(this-package-input "less")
+                                    "/bin")
+                                  ,(string-append
+                                     #$(this-package-input "file")
+                                     "/bin")
+                                 ,(string-append
+                                    #$(this-package-input "xdg-utils")
+                                    "/bin")))))))))
     (inputs (list python-cryptography
                   python-requests
                   python-feedparser
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Sun, 13 Aug 2023 07:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: <65197 <at> debbugs.gnu.org>
Subject: [PATCH] install manpage
Date: Sun, 13 Aug 2023 01:21:00 +0300
From fcde8e265cbd7012b2983b6b5f9dbe58ba42a739 Mon Sep 17 00:00:00 2001
From: "zero <at> void" <shinyzero0 <at> gmail.com>
Date: Sun, 13 Aug 2023 01:14:45 +0300
Subject: [PATCH] offpunk: install manpage

---
 gnu/packages/web-browsers.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index d9f0e9c..915fbb0 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -579,7 +579,12 @@ (define-public offpunk
                                      "/bin")
                                  ,(string-append
                                     #$(this-package-input "xdg-utils")
-                                    "/bin")))))))))
+                                    "/bin"))))))
+                       (add-after 'install 'install-manpages
+                                  (lambda _
+                                    (let*
+                                      ((mandir (string-append #$output "/share/man/man1")))
+                                      (install-file "man/offpunk.1" mandir)))))))
     (inputs (list python-cryptography
                   python-requests
                   python-feedparser
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Tue, 15 Aug 2023 22:47:02 GMT) Full text and rfc822 format available.

Message #14 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: <65197 <at> debbugs.gnu.org>
Subject: [PATCH] gnu: Add offpunk
Date: Wed, 16 Aug 2023 01:44:37 +0300
From 60d578dfedaa237fbf1a7dec4902736ca882f75d Mon Sep 17 00:00:00 2001
Message-ID: <60d578dfedaa237fbf1a7dec4902736ca882f75d.1692130093.git.shinyzero0 <at> gmail.com>
From: "zero <at> void" <shinyzero0 <at> gmail.com>
Date: Tue, 15 Aug 2023 23:06:12 +0300
Subject: [PATCH] gnu: Add offpunk

---
 gnu/packages/web-browsers.scm | 63 +++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 4b0e33c..f352c43 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -61,6 +62,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fonts)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gcc)
@@ -72,6 +74,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages less)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
@@ -97,6 +100,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages webkit)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xorg))
 
 (define-public midori
@@ -547,6 +551,65 @@ (define-public qutebrowser
 GUI.  It is based on PyQt5 and QtWebEngine.")
     (license license:gpl3+)))
 
+(define-public offpunk
+  (package
+    (name "offpunk")
+    (version "1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~lioploum/offpunk")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0r8j01s3hdn3iq4ld6pj3v0h4hpakvkc4h55jzz7jr6az4y8lcgs"))))
+    (build-system pyproject-build-system)
+    (arguments
+      (list #:tests? #f ; no tests
+            #:phases #~(modify-phases
+                         %standard-phases
+                         (add-before
+                           'wrap 'wrap-path
+                           (lambda* (#:key inputs outputs #:allow-other-keys)
+                                    (wrap-program
+                                      (string-append #$output
+                                                     "/bin/offpunk")
+                                      `("PATH" ":" prefix
+                                        (,(string-append
+                                            #$(this-package-input "less")
+                                            "/bin")
+                                          ,(string-append
+                                             #$(this-package-input "file")
+                                             "/bin")
+                                          ,(string-append
+                                             #$(this-package-input "xdg-utils")
+                                             "/bin"))))))
+                         (add-after
+                           'install 'install-manpages
+                           (lambda _
+                             (let
+                               ((mandir
+                                  (string-append
+                                    #$output "/share/man/man1")))
+                               (install-file "man/offpunk.1" mandir)))))))
+    (inputs (list python-cryptography
+                  python-requests
+                  python-feedparser
+                  python-beautifulsoup4
+                  python-readability-lxml
+                  python-flit
+                  xdg-utils
+                  file
+                  less))
+    (synopsis
+     "Command-line browser/feed reader for Gemini, Gopher, Spartan and Web")
+    (description
+     "The goal of Offpunk is to be able to synchronise your content once
+     (a day, a week, a month) and then browse/organise it while staying
+     disconnected")
+    (home-page "https://git.sr.ht/~lioploum/offpunk")
+    (license license:bsd-2)))
+
 (define-public vimb
   (package
     (name "vimb")

base-commit: f2943958a224beda05a3d040876df2a7285cd7a2
-- 
2.41.0




Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Wed, 06 Sep 2023 05:01:02 GMT) Full text and rfc822 format available.

Message #17 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "ShinyZero0" <shinyzero0 <at> tilde.club>
Cc: 65197 <at> debbugs.gnu.org
Subject: Re: bug#65197: add offpunk
Date: Wed, 06 Sep 2023 01:00:28 -0400
Hi,

This series look good for the most part.  It's just missing GNU
ChangeLog style commits message.  You can check other commits or read
'info (standards) ChangeLog' from the 'standards' package to get
familiar with it.

Could you send a v2 with the changelog added?

-- 
Thanks,
Maxim




Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 06 Sep 2023 05:01:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Mon, 18 Sep 2023 16:19:02 GMT) Full text and rfc822 format available.

Message #22 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: "Maxim Cournoyer" <maxim.cournoyer <at> gmail.com>
Cc: 65197 <at> debbugs.gnu.org
Subject: Re: bug#65197: add offpunk
Date: Mon, 18 Sep 2023 16:18:03 +0000
Hi, do you mean it should have the capital "A"? I can't see any more
differences to another commit messages. Or maybe i'm looking at the
wrong place?
First time using email for patches :sweat:




Information forwarded to guix-patches <at> gnu.org:
bug#65197; Package guix-patches. (Mon, 18 Sep 2023 16:39:02 GMT) Full text and rfc822 format available.

Message #25 received at 65197 <at> debbugs.gnu.org (full text, mbox):

From: "ShinyZero0" <shinyzero0 <at> tilde.club>
To: "Maxim Cournoyer" <maxim.cournoyer <at> gmail.com>
Cc: 65197 <at> debbugs.gnu.org
Subject: Re: bug#65197: add offpunk
Date: Mon, 18 Sep 2023 16:38:22 +0000
From 60d578dfedaa237fbf1a7dec4902736ca882f75d Mon Sep 17 00:00:00 2001
Message-ID: <60d578dfedaa237fbf1a7dec4902736ca882f75d.1692130093.git.shinyzero0 <at> gmail.com>
From: "zero <at> void" <shinyzero0 <at> gmail.com>
Date: Tue, 15 Aug 2023 23:06:12 +0300
Subject: [PATCH] gnu: Add offpunk
* gnu/packages/web-browsers.scm (offpunk): New variable
---
 gnu/packages/web-browsers.scm | 63 +++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 4b0e33c..f352c43 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -43,6 +43,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
@@ -61,6 +62,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages fonts)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages gcc)
@@ -72,6 +74,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages imagemagick)
+  #:use-module (gnu packages less)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
@@ -97,6 +100,7 @@ (define-module (gnu packages web-browsers)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages webkit)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xorg))
 
 (define-public midori
@@ -547,6 +551,65 @@ (define-public qutebrowser
 GUI.  It is based on PyQt5 and QtWebEngine.")
     (license license:gpl3+)))
 
+(define-public offpunk
+  (package
+    (name "offpunk")
+    (version "1.10")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://git.sr.ht/~lioploum/offpunk")
+                    (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "0r8j01s3hdn3iq4ld6pj3v0h4hpakvkc4h55jzz7jr6az4y8lcgs"))))
+    (build-system pyproject-build-system)
+    (arguments
+      (list #:tests? #f ; no tests
+            #:phases #~(modify-phases
+                         %standard-phases
+                         (add-before
+                           'wrap 'wrap-path
+                           (lambda* (#:key inputs outputs #:allow-other-keys)
+                                    (wrap-program
+                                      (string-append #$output
+                                                     "/bin/offpunk")
+                                      `("PATH" ":" prefix
+                                        (,(string-append
+                                            #$(this-package-input "less")
+                                            "/bin")
+                                          ,(string-append
+                                             #$(this-package-input "file")
+                                             "/bin")
+                                          ,(string-append
+                                             #$(this-package-input "xdg-utils")
+                                             "/bin"))))))
+                         (add-after
+                           'install 'install-manpages
+                           (lambda _
+                             (let
+                               ((mandir
+                                  (string-append
+                                    #$output "/share/man/man1")))
+                               (install-file "man/offpunk.1" mandir)))))))
+    (inputs (list python-cryptography
+                  python-requests
+                  python-feedparser
+                  python-beautifulsoup4
+                  python-readability-lxml
+                  python-flit
+                  xdg-utils
+                  file
+                  less))
+    (synopsis
+     "Command-line browser/feed reader for Gemini, Gopher, Spartan and Web")
+    (description
+     "The goal of Offpunk is to be able to synchronise your content once
+     (a day, a week, a month) and then browse/organise it while staying
+     disconnected")
+    (home-page "https://git.sr.ht/~lioploum/offpunk")
+    (license license:bsd-2)))
+
 (define-public vimb
   (package
     (name "vimb")

base-commit: f2943958a224beda05a3d040876df2a7285cd7a2
-- 
2.41.0




This bug report was last modified 1 year and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.