From patchwork Thu Aug 10 08:06:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ShinyZero0 X-Patchwork-Id: 52719 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9645A27BBEC; Thu, 10 Aug 2023 13:40:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6347627BBE2 for ; Thu, 10 Aug 2023 13:40:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qU4xB-0000rG-FL; Thu, 10 Aug 2023 08:39:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU1Ok-00037N-5q for guix-patches@gnu.org; Thu, 10 Aug 2023 04:52:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qU1Oj-00034e-Th for guix-patches@gnu.org; Thu, 10 Aug 2023 04:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qU1Oj-0005Xo-Py for guix-patches@gnu.org; Thu, 10 Aug 2023 04:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65197] add offpunk Resent-From: "ShinyZero0" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Aug 2023 08:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65197 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 65197@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.169165747821251 (code B ref -1); Thu, 10 Aug 2023 08:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2023 08:51:18 +0000 Received: from localhost ([127.0.0.1]:41334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU1O1-0005Wg-2i for submit@debbugs.gnu.org; Thu, 10 Aug 2023 04:51:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qU0iT-0004Kq-Pv for submit@debbugs.gnu.org; Thu, 10 Aug 2023 04:08:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU0iO-0003F7-KV for guix-patches@gnu.org; Thu, 10 Aug 2023 04:08:16 -0400 Received: from tilde.club ([142.44.150.184]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qU0iM-00016s-VC for guix-patches@gnu.org; Thu, 10 Aug 2023 04:08:16 -0400 Received: from localhost (unknown [77.91.85.198]) by tilde.club (Postfix) with ESMTPSA id 480D322420E1A for ; Thu, 10 Aug 2023 08:08:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 480D322420E1A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail; t=1691654891; bh=bk5ezSB7w9eGd8KSUdGrii3E47byS4CdaEh9cXnsejs=; h=Date:Subject:From:To:From; b=vBIsWpHOs8iFtnis4hA6ZVZI34l2z19Xw/zoJlmlXLjXilI5qlOg4eSBiAEw/absJ mP8vMotFiMV4IXmueDiaV47Mx4KVKm09I/wf7jB1r08SLeFJYz/GXO8pddm7JMoM2J RJ7AOUibLl52TT5DEujGHR0DxuuMxQc9xvoe26mc= Mime-Version: 1.0 Date: Thu, 10 Aug 2023 11:06:20 +0300 From: "ShinyZero0" Message-Id: X-Mailer: aerc 0.15.2 Received-SPF: pass client-ip=142.44.150.184; envelope-from=shinyzero0@tilde.club; helo=tilde.club X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 10 Aug 2023 04:51:16 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 10 Aug 2023 08:39:47 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 55885770d70ec38e190783c64322144d00495075 Mon Sep 17 00:00:00 2001 From: "zero@void" 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")