From patchwork Wed Mar 8 14:12:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 47792 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 1755316E3C; Wed, 8 Mar 2023 14:14:32 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 EE81316E31 for ; Wed, 8 Mar 2023 14:14:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZuYR-0006E9-PY; Wed, 08 Mar 2023 09:14:07 -0500 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 1pZuYM-00062O-Qa for guix-patches@gnu.org; Wed, 08 Mar 2023 09:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZuYM-0001Fy-I8 for guix-patches@gnu.org; Wed, 08 Mar 2023 09:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZuYM-00056b-D8 for guix-patches@gnu.org; Wed, 08 Mar 2023 09:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62050] [PATCH] gnu: Add tissue. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Mar 2023 14:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62050@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167828479719563 (code B ref -1); Wed, 08 Mar 2023 14:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2023 14:13:17 +0000 Received: from localhost ([127.0.0.1]:48118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZuXd-00055T-BF for submit@debbugs.gnu.org; Wed, 08 Mar 2023 09:13:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:34662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZuXb-00055I-26 for submit@debbugs.gnu.org; Wed, 08 Mar 2023 09:13:16 -0500 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 1pZuXa-00058F-Rl for guix-patches@gnu.org; Wed, 08 Mar 2023 09:13:14 -0500 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZuXX-0000zt-PE for guix-patches@gnu.org; Wed, 08 Mar 2023 09:13:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XHRffJehLCnOUnQTnHfjUA88R8UI4pFHoaTgvBXS/Og=; b=ClZjhS+8YgiU4Mcp7Ph6hYeGbo B91BBsndVJ51oyfRZg2S0JuZ0b3b1nbeqtyyI2/FqoM3mnhjNIZ/4YH+0T2cLktP5uziwCZIbunzJ u0A/lKXr4jLj6IqxGkTycCnrhPr59ZsnGUqrfHwXY3o28yLbGbUscFQbDPGZ0QLY3uPIdd0umDngU TM6VW7Vdgkc+Y5D6m7ZyezM8WeZSiPZhigJp6sUatfMYRQVHbRzxfUX/88rx8oG9aNEYLwIgC1BjJ z7fvBQ+74XPrJJn0tmwxk7Q0UoYc8xoWkGDwoZIxet+EawIirGkbr2drhrEJN8ss7HlZbVxq0JHdR MK/eTWAA==; Received: from [192.168.2.1] (port=55230 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pZuWw-00062H-09; Wed, 08 Mar 2023 19:43:03 +0530 From: Arun Isaac Date: Wed, 8 Mar 2023 14:12:21 +0000 Message-Id: <20230308141221.7825-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 * gnu/packages/web.scm (tissue): New variable. --- gnu/packages/web.scm | 56 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index cc206722a9..580f92f156 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016, 2023 Clément Lassieur ;;; Copyright © 2016, 2017 Nikita -;;; Copyright © 2016–2022 Arun Isaac +;;; Copyright © 2016–2023 Arun Isaac ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice ;;; Copyright © 2016 Bake Timmons ;;; Copyright © 2017 Thomas Danckaert @@ -184,6 +184,7 @@ (define-module (gnu packages web) #:use-module (gnu packages readline) #:use-module (gnu packages search) #:use-module (gnu packages serialization) + #:use-module (gnu packages skribilo) #:use-module (gnu packages sphinx) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) @@ -7979,6 +7980,59 @@ (define-public buku-run "This package provides a rofi frontend for the buku bookmark manager.") (license license:gpl3+))) +(define-public tissue + (package + (name "tissue") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (string-append "https://tissue.systemreboot.net/releases/tissue-" + version ".tar.lz")) + (sha256 + (base32 + "0vsybgnzv8nnwf58pnxrs4101xczl8jvxd1wzmk4vmdyrp8a2kkm")))) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "prefix=" #$output)) + #:modules `(((guix build guile-build-system) + #:select (target-guile-effective-version)) + ,@%gnu-build-system-modules) + #:phases + (with-imported-modules '((guix build guile-build-system)) + #~(modify-phases %standard-phases + (replace 'patch-source-shebangs + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bin/tissue" + (("^exec guile") + (string-append "exec " + (search-input-file inputs "/bin/guile")))))) + (delete 'configure) + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (effective-version (target-guile-effective-version))) + (wrap-program (string-append out "/bin/tissue") + `("GUILE_LOAD_PATH" prefix + (,(string-append out "/share/guile/site/" effective-version) + ,(getenv "GUILE_LOAD_PATH"))) + `("GUILE_LOAD_COMPILED_PATH" prefix + (,(string-append out "/lib/guile/" + effective-version "/site-ccache") + ,(getenv "GUILE_LOAD_COMPILED_PATH"))))))))))) + (inputs (list bash-minimal guile-3.0 guile-filesystem guile-git guile-xapian)) + (native-inputs (list lzip)) + (propagated-inputs (list skribilo)) + (home-page "https://tissue.systemreboot.net") + (synopsis "Text based project information management system") + (description "tissue is an issue tracker and project information +management system built on plain text files and git. It is specifically +intended for small free software projects. It features a static site +generator to build a project website and a powerful search interface to search +through project issues and documentation. The search interface is built on +the Xapian search engine library, and is available both as a command-line +program and as a web server.") + (license license:gpl3+))) + (define-public anonip (package (name "anonip")