From patchwork Sat Jan 26 16:12:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kei Kebreau X-Patchwork-Id: 828 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 D81C716A85; Sat, 26 Jan 2019 16:13:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7174016A41 for ; Sat, 26 Jan 2019 16:13:10 +0000 (GMT) Received: from localhost ([127.0.0.1]:32936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnQZx-00080K-SR for patchwork@mira.cbaines.net; Sat, 26 Jan 2019 11:13:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnQZs-000807-Ce for guix-patches@gnu.org; Sat, 26 Jan 2019 11:13:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnQZr-0004C3-8E for guix-patches@gnu.org; Sat, 26 Jan 2019 11:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnQZq-0004BG-Nw for guix-patches@gnu.org; Sat, 26 Jan 2019 11:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnQZq-0002M9-AN for guix-patches@gnu.org; Sat, 26 Jan 2019 11:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34205] [PATCH] gnu: Add lhasa. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Jan 2019 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34205 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Received: via spool by 34205-submit@debbugs.gnu.org id=B34205.15485191449013 (code B ref 34205); Sat, 26 Jan 2019 16:13:02 +0000 Received: (at 34205) by debbugs.gnu.org; 26 Jan 2019 16:12:24 +0000 Received: from localhost ([127.0.0.1]:46733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnQZ9-0002LB-V9 for submit@debbugs.gnu.org; Sat, 26 Jan 2019 11:12:24 -0500 Received: from mout01.posteo.de ([185.67.36.65]:48358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnQZ6-0002Kw-SY for 34205@debbugs.gnu.org; Sat, 26 Jan 2019 11:12:18 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D8C19160060 for <34205@debbugs.gnu.org>; Sat, 26 Jan 2019 17:12:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1548519129; bh=79FE7+HCzx5WMUzvfjaOKYCzhdR67skRzDYqEMh/uPA=; h=From:To:Cc:Subject:Date:From; b=gHA8Rors+023TB9wS8GHhE1mEoVZrm94t8++XoT0NGWQk1vegCBJW49NIAdk7K8+Q XOTLukfr0wyRoc6rMHmY7pY/ZPO6tHtx9pI/CLw2ShmGHtjrwLsO7vWvtS7crrU6HX hPfPhkj57lu+MduG6iT+uFB9EGrbLeL2pKjtppicUi4wtoZ/0AOKNt2XVZTVZlg8Np Q8lhIzcOulZjMpRczx7rbN/pb7OM154+0wJIhE2PeLpnLMwIepkIsxYmtfg91fM7qQ w0/mbqNm8Uw04+7k4hOKwAbpMrOPdEPzHHwYL1+GpDBwlEQH8AESw+5JWOIE0/iFj+ +/3mxXDqcw06w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43n1B04rfmz6tm6; Sat, 26 Jan 2019 17:12:08 +0100 (CET) From: Kei Kebreau References: <20190126012444.19033-1-kkebreau@posteo.net> <878sz7vcvr.fsf@elephly.net> Date: Sat, 26 Jan 2019 11:12:07 -0500 In-Reply-To: <878sz7vcvr.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 26 Jan 2019 13:09:44 +0100") Message-ID: <87pnsjbdpk.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 34205@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Thanks for the suggestions! I've attached a revised patch with the suggested changes. From a8ddb85540c9ee3d4b125f36652330fab565c65e Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Fri, 25 Jan 2019 20:22:23 -0500 Subject: [PATCH] gnu: Add lhasa. * gnu/packages/compression.scm (lhasa): New variable. --- gnu/packages/compression.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 327951fde..cb56137fd 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016, 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2016 David Craven -;;; Copyright © 2016 Kei Kebreau +;;; Copyright © 2016, 2019 Kei Kebreau ;;; Copyright © 2016, 2018 Marius Bakke ;;; Copyright © 2017 Nils Gillmann ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis @@ -434,6 +434,39 @@ than gzip and 15 % smaller output than bzip2.") (license (list license:gpl2+ license:lgpl2.1+)) ; bits of both (home-page "https://tukaani.org/xz/"))) +(define-public lhasa + (package + (name "lhasa") + (version "0.3.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/fragglet/lhasa/releases/download/v" + version "/lhasa-" version ".tar.gz")) + (sha256 + (base32 + "092zi9av18ma20c6h9448k0bapvx2plnp292741dvfd9hmgqxc1z")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'set-up-test-environment + (lambda* (#:key inputs #:allow-other-keys) + (setenv "TZDIR" (string-append (assoc-ref inputs "tzdata") + "/share/zoneinfo")) + #t))))) + (native-inputs + `(("tzdata" ,tzdata))) + (home-page "https://fragglet.github.com/lhasa/") + (synopsis "LHA archive decompressor") + (description "Lhasa is a replacement for the Unix LHA tool, for +decompressing .lzh (LHA / LHarc) and .lzs (LArc) archives. The backend for the +tool is a library, so that it can be reused for other purposes. Lhasa aims to +be compatible with as many types of lzh/lzs archives as possible. It also aims +to generate the same output as the (non-free) Unix LHA tool, so that it will +act as a free drop-in replacement.") + (license license:isc))) + (define-public lzo (package (name "lzo")