From patchwork Sun Nov 21 19:55:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Baptiste Strazzulla X-Patchwork-Id: 34728 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 A596927BBE3; Sun, 21 Nov 2021 20:17:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 347B727BBE1 for ; Sun, 21 Nov 2021 20:17:29 +0000 (GMT) Received: from localhost ([::1]:35820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1motHE-0002pf-CP for patchwork@mira.cbaines.net; Sun, 21 Nov 2021 15:17:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1motGp-0002oG-8a for guix-patches@gnu.org; Sun, 21 Nov 2021 15:17:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1motGo-0004N4-DQ for guix-patches@gnu.org; Sun, 21 Nov 2021 15:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1motGo-0005tE-9L for guix-patches@gnu.org; Sun, 21 Nov 2021 15:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52027] [PATCH] Add lz4json Resent-From: Baptiste Strazzulla Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Nov 2021 20:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52027@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163752578922587 (code B ref -1); Sun, 21 Nov 2021 20:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2021 20:16:29 +0000 Received: from localhost ([127.0.0.1]:46109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1motGH-0005sF-2b for submit@debbugs.gnu.org; Sun, 21 Nov 2021 15:16:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:37248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1motGF-0005s7-F9 for submit@debbugs.gnu.org; Sun, 21 Nov 2021 15:16:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1motGF-0002dD-AN for guix-patches@gnu.org; Sun, 21 Nov 2021 15:16:27 -0500 Received: from mail-am6eur05olkn2041.outbound.protection.outlook.com ([40.92.91.41]:33024 helo=EUR05-AM6-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 1motGC-0004D4-Ah for guix-patches@gnu.org; Sun, 21 Nov 2021 15:16:26 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MOc/Ntjcb6eBvLxSk4nPkmcUk/A3ALaOUhI9KHAjlGJd2O+dA+r1b2oW53gpykva5TgYOlWGLBzDwFGC7WB2leKGnQplNmDONgqsGqlIeU1yBj2CdmLGWqbyOjeYbOtCZsXCN/Yhgmk+maV+z8dg4vVSfwVPoEmamxW2DUF09aDgjkWSQkRGto1tiDujj2B+Nw6ja3rCIZBJGOby6TujIMTsHO4MW8OYOZS40bCzMRvY1Va3tfcpb/BvqKuEBKecedS7lMEVCyRzyyrFdyjb97BhpkQwe2iuZ3Rhjzbp4on9xBd9onkn3mvHHD9h+96qe2aUkjAv6sF2vC9ZRh9boQ== 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=w6iRAUyVZLbVwVzS1bQNaSHyfbxklR69XGtffRyPjfw=; b=J3jw3YnpM20NyiJrm5NXWPMKImh5h+ymKgKZx8OvlGnGPy7wr9vHHKobUxiTRaEBVPkRnLLVm6DwX5MMdMtvjY9w6qEaqltVHLaKNLh51IK2EcZ4KU8hl8v7OI3hHD0ai1aSOMYZlGq4pIhcJ5i9UN7bYpmMHqj9O/hbEpW3RGOzbzy0IXb3OWH0qumtD6cCHrydHLaNi4ZntjI8n5HjlJE8OJk7E2x3/t/4ziYie0V3lNCr6hmu/sEfyueCxkAVFWFTMTr4gKS3CYam9xB4hjuOrrw6JdixRvroAqYUoYgGYhhAaCHf0BedxbX9BfghPIiX2TmebLXdexLQZjJASA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PA4PR03MB7101.eurprd03.prod.outlook.com (2603:10a6:102:eb::9) by PA4PR03MB7518.eurprd03.prod.outlook.com (2603:10a6:102:107::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Sun, 21 Nov 2021 19:55:22 +0000 Received: from PA4PR03MB7101.eurprd03.prod.outlook.com ([fe80::7cc3:b790:78b0:c956]) by PA4PR03MB7101.eurprd03.prod.outlook.com ([fe80::7cc3:b790:78b0:c956%7]) with mapi id 15.20.4713.024; Sun, 21 Nov 2021 19:55:22 +0000 From: Baptiste Strazzulla Thread-Topic: [PATCH] Add lz4json Thread-Index: AQHX3w+dMJ5teQyGu0Gp31joDiX+2w== Date: Sun, 21 Nov 2021 19:55:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: suggested_attachment_session_id: 892d4653-1e99-d8e1-cf4c-2014bf9c7692 x-tmn: [rBAA4uuq6eZHtvxu092F1XhJ7xw5eF/H] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8ddef815-1ccb-4310-0a8e-08d9ad28da63 x-ms-traffictypediagnostic: PA4PR03MB7518: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dEpPv260UssbYAMVS+5zbwjrZTJNLE4x2JPPatiKwbgUu3/8hp5PEd6YWlG9tHNs67Aft3iqFv2amq7Zqlo7Ld2ltASQKG9x+qYc8WNaKpVjm9mfpvYnM/hGUO6JUVwqJJVDh0TFPrNoEM9RBn7ZjjswGq8VXm2YUSKLOd6+sPMcj6jjxliOCmotITpqKkSnUVRH5LmZ5fJXyED2H2sk3cMOwTBXceKcB5TCtxyFB3QOTawp8S5VxHrWALI84cokMKZHdHcsgUegi6zaaPUJKDnqnMrVc1Os4t/aqcURn9/N1uTjF4FqEA2OW9A2639IgZCmb4UQcx/f+d+VCG9+FqYyDi9/DzY8lN7ZLXOytaPlRIHaVxBygto9YO1yDvqGEwhuJVKO0OeL82UwrP+8arbwvklsv51XvhWu9iNZsBqsbO3DW+VHxwi270Z4QQRBG0xb3uEwQql9BWI8m35MHbOy9yKHA5CYS50+kHqjruZH3RluSG/VRyByOLo8x5/5SairFypBHWzfRET26mxE4jIaMoCIjPg7sUxVV6aSIp0Vb9ZeE4WvxgfRYdOaLOKdauxmjhE8wLKHuQL0/25HKw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: tA7RKkhJBLAoEiL48AvgHtvdwV/G8/PtSxPGda/l8O4xQRjVhVp8mWHsVsXuf0Yj3KNmIdqRNITJTsE8LnuYYrksuo5Ie8PIQaR4WbeXUu9ZvfYJNts3UdZ2459pXc2xpptvL0qNNgC17echl713jAjyj1G4xrX3T+ki/WEoqFFTZa0nARKyDm5Dh/AbXLRo9/dZfP8PrMdVbLzrmqnARcdRM3SRkrHdTVgJlYTPzIYrFBlYIrt2+VTgUggXwJn47fjbBnZZPzh4GwxpGOfWEGgce/Wkc/350YU1DgPf+LZUbUzmpwVG4GgO6Z5eEHKbf6u9tKzQNPETbqbTycYdOZj6UuktQA7QRpUkGoWIlIZrReJ4z5f68HZhu/CQ9dtfl/fiPoiKo52fcwqajlleTfxVhAPZWVxwti6/JAIjLapwlM3Tb7QRan67apxYWFDs4wclk8BhPU8iK6pmTmNJLnovG9gloodBFgt0hF2wphS+UHxFfAeNVPj7lOu/uHnUSLiSdPCAkwDcF4wn8H83XltH34aby84ud7UhtPYHTsH9QF2oG+Q+BfrEyONXEj3pYOkjc2lPLmHoOUBNXZuGWKaBEvICP7FzsjuoKnoXpPB9UdtFQVonm3PhI4sRrgWvuwFrZo1OnQM+0k2YgIKqeu7GxLkLRHgNTkoWsfWPa3370g8Y0QcKvcj1kS3xjCulcJhGGtASrCfGypRN76yJZQ== MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-e50d8.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR03MB7101.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 8ddef815-1ccb-4310-0a8e-08d9ad28da63 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2021 19:55:22.3229 (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: PA4PR03MB7518 Received-SPF: pass client-ip=40.92.91.41; envelope-from=bstrazzull@hotmail.fr; helo=EUR05-AM6-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 Hello, I couldn't figure out a license for this package. It says " * Copyright (c) 2014 Intel Corporation" in the source. I don't even know if it's an actual license. In any case, it doesn't seem really engaging and there's no mention of it in `licenses.scm`… How shall I proceed? Kind regards, Baptiste From 8307da6cad6b9604f368eb2165c79906b9f9c0fd Mon Sep 17 00:00:00 2001 From: Zzull Date: Sun, 21 Nov 2021 20:19:44 +0100 Subject: [PATCH] gnu: Add lz4json * gnu/packages/gnuzilla.scm --- gnu/packages/gnuzilla.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm index 9edfcaa2ab..029a1be480 100644 --- a/gnu/packages/gnuzilla.scm +++ b/gnu/packages/gnuzilla.scm @@ -1992,3 +1992,40 @@ (define-public firefox-decrypt (description "Firefox Decrypt is a tool to extract passwords from Mozilla (Firefox, Waterfox, Thunderbird, SeaMonkey) profiles.") (license license:gpl3+))) + +(define-public lz4json + (package + (name "lz4json") + (version "2") + (home-page "https://github.com/andikleen/lz4json") + (source + (origin + (method git-fetch) + (uri + (git-reference (url home-page) (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xxn8yzr6j8j6prmbj6mxspdczigarfiv3vlm9k70yxmky65ijh3")))) + (build-system gnu-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("lz4" ,lz4))) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (man (string-append out "/share/man/man1"))) + (install-file "lz4jsoncat" bin) + (install-file "lz4jsoncat.1" man)) + #t))) + #:make-flags '("CC=gcc"))) + (synopsis "C decompress tool for mozilla lz4json format") + (description + "A little utility to unpack lz4json files as generated by Firefox's +bookmark backups and session restore. This is a different format from what +the normal lz4 utility expects. The data is dumped to stdout.") + (license license:gpl3+))) -- 2.33.1