From patchwork Thu Nov 25 15:19:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Foo Chuan Wei X-Patchwork-Id: 34813 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 21B6627BBEA; Thu, 25 Nov 2021 15:22:37 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 AE16F27BBE9 for ; Thu, 25 Nov 2021 15:22:36 +0000 (GMT) Received: from localhost ([::1]:47670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqGa3-0001kZ-Lz for patchwork@mira.cbaines.net; Thu, 25 Nov 2021 10:22:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqGXb-0005fH-5o for guix-patches@gnu.org; Thu, 25 Nov 2021 10:20:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqGXZ-0006a2-NJ for guix-patches@gnu.org; Thu, 25 Nov 2021 10:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqGXZ-00032S-Jz for guix-patches@gnu.org; Thu, 25 Nov 2021 10:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52109] [PATCH] gnu: Add unrar-free. Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Nov 2021 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52109 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52109@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163785358211603 (code B ref -1); Thu, 25 Nov 2021 15:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 15:19:42 +0000 Received: from localhost ([127.0.0.1]:57902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqGXF-000313-Ju for submit@debbugs.gnu.org; Thu, 25 Nov 2021 10:19:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:42024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqGXD-00030p-PD for submit@debbugs.gnu.org; Thu, 25 Nov 2021 10:19:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqGXC-000580-Up for guix-patches@gnu.org; Thu, 25 Nov 2021 10:19:39 -0500 Received: from mail-sgaapc01olkn2020.outbound.protection.outlook.com ([40.92.53.20]:52129 helo=APC01-SG2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqGX8-0006UD-Ts for guix-patches@gnu.org; Thu, 25 Nov 2021 10:19:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nAgY3JJAQxQdwo7vYeF+cmikBs2dACqfHe78XQY6lI/hkAIgEyQ3vDaQ2aO9lvS6m0eVg8RK7oShM7zcZswU3wFLrTviPM0Rq0TkKLI1J58XCcVyz7pw8b9jFi4gf1edGFH/826hx3Rr7vMNiieWctCrpFCYoitntOYlLMAR8o+PNla8CNHkysLS2zqNuc3Xonw1GCekf+oNafNb0GaHJhPe62aN719Nid7PTiSSSaU8vkddI9zau7gfnEKRIfBH83qKX/3eQbCh9jSpoh3hv/NPRm7DvkCc7zRa6Qh1WJt0JcLTjt5Bj5pn5eup2tYDMZo+8HKVFbkFx479UNp3rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hGr09Zaj313/gp6Euga+LQYddFG8mpDTv894SWqTKg8=; b=BOXfRhNYb6PKmZqHua5RXy4vNbXkPAnbx2psSFpMCrxOFfzmFJhSxVy/kdAjB56Ojmal43uenJzlMQLEsmv1qlzH9HQzvpTIJIuVAb9Mlnii2vZFkU7Mrtss+QxUdeexiC4uSkxOeAoVh6Y+mbRc2C9UtrVaXBB5ehfYnHRePg8AI8YhXy1JEQLZYqSKOaygmPqrf7iv6Xk+xwPZQGK3vj4W9e2WqE8i4w7AcJLGRYu1yKxe4ZWFH/yA+bStFL4RZ6bbmrlFOqTfBSjnaqTogDoNOZUV0pNqepD4uIelOT6b/k9xO0ofIp/eEhvZgA/JwUSO0PjODiQXFRG2sP3P5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hGr09Zaj313/gp6Euga+LQYddFG8mpDTv894SWqTKg8=; b=FYpJ5zqN8LBlOx4bz2BmI0jQxkHKOWtOVZpRfZOr0tKLJ536GPK8uCpPy2JlK3+WXDb35ZbREsqkZh7y25bAOlr0Jfofwv+4Vl0s2twhRJpY6Xl+IyRh9ux+SyiKCuELaie/EV6N2LIBYmHOLEs66xHbOObMIxtfa48Hi0Pw2WGn7UJRslajTUZ6mXroFwCAWs4bvSvqbDWIkOkZsGcnXHsQIiQqqnVc+YzzkDiwM1u/x8+xvyLmEkQoLf5DG0ajegbSlVS6g1Fvqy4FtDbTlv720neELM9d85GZyKW9rqah0ObNONpO2YXDHVDK/zWiC+4k0xVxvjpwdn7UH9mMag== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PU1PR01MB1931.apcprd01.prod.exchangelabs.com (2603:1096:803:27::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Thu, 25 Nov 2021 15:19:30 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::258d:e124:fd3a:40ee%7]) with mapi id 15.20.4713.027; Thu, 25 Nov 2021 15:19:30 +0000 Date: Thu, 25 Nov 2021 15:19:28 +0000 From: Foo Chuan Wei Message-ID: Mail-Followup-To: guix-patches@gnu.org Content-Disposition: inline X-TMN: [xvQhkCX3TKV37dxLnHMXQY0zcBSqa/8U] X-ClientProxiedBy: HK2PR06CA0001.apcprd06.prod.outlook.com (2603:1096:202:2e::13) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211125151928.7v5m45jxdenwkvl6@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (202.160.36.38) by HK2PR06CA0001.apcprd06.prod.outlook.com (2603:1096:202:2e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20 via Frontend Transport; Thu, 25 Nov 2021 15:19:30 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8e017d57-8650-4b0b-e692-08d9b026fa5e X-MS-TrafficTypeDiagnostic: PU1PR01MB1931: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /472UkRQ0fdTEjbj4LZTnjbhTGhfck8NRgAzDlDcCOI3vILL/uF9sCswF3pf1jxe8bIAUE6lGCmes+2mJELN98+67L0mU9CTmNb57hZe2KLU7qbA4jGZjgLOMZLXkxpRCU1dqs4nxLcfNwAsEb9C4VtRU8/wOaXPPkoVwhghyFBc5Tib36iH3u1kkcgR8XH9W3BzlgSdHtYbfPB7chE34mE0w7S1+sInZRt4e/F/8WKvgX4I4wakvyws3PrrAVsLiP/lhSTy/0/V6fzr7tK/kXRuQD5kZwqc3rEEzfvmrCDAvHYT1i0eGAm3l/yDABg7rZQT5cBNRFF6LT722C01TM5k1p64ZLaVlMdbfmeWRlVUh9MBnYmWXlBY1bq3YMyyi3F5JxnfWNcvDKs1lLWjiJLDQ2fD3hczl9XMxxz9bg4K24DYGtK4ShsRHypv4XWmzcHpoRYoabF2OVhbEVgg0nLJxAaqHXlti1AaiCGw9cyToYvSeelQLeBA3kl+nCV2fZ6T8wGSjv3py1GuVQNfO4AhfJRBtHneFmAUzrFdIkv0mKl4ljPQLW4JDYmx4fyLcGliWwHmLjBYh8clYXP62Lul4OO/YDGrBMPynhyV7T/2uP5MMHut06VYyNSFlGKp X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LlhsyeCB3vzhaJTfDwV2xWeRZTwDPeimDisesfVIbrHbCO49yQhokNKIlfZl5MLoO8Ve2iL16Kvv8ge3rs+rx9PE6A/hEBCitcGq/l3rNO3eGwOLmsbSOL58T/OeiycKmK/WuGlP7nwRcjKqBPR9eAAMf2m8nfKDUbAEUQATb3yIeBhgGO2UyukJbY3TOfQV2VLKMyssUlO+RNGAYzCOCtqVFd7MIpAryfDGF+dcFv5A9mf71BxrL/vRp1Q5AWUGmCMFzKw+GUasL3gGEWK7hAU04hCyKwPPUPo2WoxBxkCOgYs89TgZ6mMV8uevTVAJGrUGfXQ5vzbcEdEsWFR9czhyWTMh6KROk8ZWiLPW1VpCTteifmMG2czVCB5LLE2vOEJ3LWNzaGSFGSZLwIR2hZ5v25jCJGAsiVib3flq17XIWlqdz4hGLCqbUaj2yu3VJtIDnuyUueypxL9aJgtCSmKeWuhFQ8DC4pVTP9I72TjHDh5V8q2pkoShABk1BTCHFgKAKwtmtdGd0+cYkHScvVLT3fIfwmtJHXTNhaEEDmlCTKVpxlQH2sQNrOgxLTiQlYMJhu4zWiTUuTc61VYEKWlCaP632h6aihA8yDtIMs/mvcHmp2HNO2krJhlmjKd03A+jHc9RTgWFltBH7Dcpo+zJRp8Vtr8g8i6UqLEOxcj6m6w3oxDz/HX43k6znYbxrAN5kiM0oCX0p1rcdTl0Bw== X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 8e017d57-8650-4b0b-e692-08d9b026fa5e X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2021 15:19:30.8893 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1PR01MB1931 Received-SPF: pass client-ip=40.92.53.20; envelope-from=chuanwei.foo@hotmail.com; helo=APC01-SG2-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/compression.scm (unrar-free): New variable. --- gnu/packages/compression.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) base-commit: ea7233befb9570cce47e5ca71725b285a580cd22 diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 0a993d1550..deef04a1b1 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Antoine Côté ;;; Copyright © 2021 Vincent Legoll ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2021 Foo Chuan Wei ;;; ;;; This file is part of GNU Guix. ;;; @@ -2715,6 +2716,36 @@ compression and decompression. The supported formats are: ") (license license:expat))) +(define-public unrar-free + (package + (name "unrar-free") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/bgermann/unrar-free") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0l9xdygk8ki8471lmg8xkb58zq07cb9hy44pqz1hlyhgsvrb6vss")))) + (build-system gnu-build-system) + (inputs + `(("libarchive" ,libarchive))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (home-page "https://gitlab.com/bgermann/unrar-free") + (synopsis "Extract files from RAR archives") + (description + "@code{unrar-free} is a free software version of the non-free @code{unrar} +utility. This program is a simple command-line front-end to libarchive, and can +list and extract not only RAR archives but also other formats supported by +libarchive. It does not rival the non-free @code{unrar} in terms of features, +but special care has been taken to ensure it meets most user's needs.") + (license license:gpl2+))) + (define-public tarlz (package (name "tarlz")