From patchwork Sat Oct 12 13:16:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 15695 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 E67C917411; Sat, 12 Oct 2019 14:17:18 +0100 (BST) 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,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 A043017411 for ; Sat, 12 Oct 2019 14:17:18 +0100 (BST) Received: from localhost ([::1]:33262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJHGn-00057S-SN for patchwork@mira.cbaines.net; Sat, 12 Oct 2019 09:17:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59784) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJHGf-000552-GZ for guix-patches@gnu.org; Sat, 12 Oct 2019 09:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJHGd-0006DC-UW for guix-patches@gnu.org; Sat, 12 Oct 2019 09:17:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJHGd-0006Cz-R1 for guix-patches@gnu.org; Sat, 12 Oct 2019 09:17:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJHGd-0003AX-M4 for guix-patches@gnu.org; Sat, 12 Oct 2019 09:17:07 -0400 Subject: bug#37708: [PATCH] gnu: add uchardet Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 12 Oct 2019 13:17:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 37708 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Reza Alizadeh Majd Cc: 37708-done@debbugs.gnu.org Mail-Followup-To: 37708@debbugs.gnu.org, ludo@gnu.org, r.majd@pantherx.org Received: via spool by 37708-done@debbugs.gnu.org id=D37708.157088622512148 (code D ref 37708); Sat, 12 Oct 2019 13:17:07 +0000 Received: (at 37708-done) by debbugs.gnu.org; 12 Oct 2019 13:17:05 +0000 Received: from localhost ([127.0.0.1]:60867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJHGa-00039g-Pe for submit@debbugs.gnu.org; Sat, 12 Oct 2019 09:17:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJHGW-000394-3z for 37708-done@debbugs.gnu.org; Sat, 12 Oct 2019 09:17:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iJHGQ-00066S-Vj; Sat, 12 Oct 2019 09:16:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36694 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iJHGQ-00071p-G7; Sat, 12 Oct 2019 09:16:54 -0400 From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <7721cc22-fc20-41ab-affb-3a44d0947746@pantherx.org> Date: Sat, 12 Oct 2019 15:16:53 +0200 In-Reply-To: <7721cc22-fc20-41ab-affb-3a44d0947746@pantherx.org> (Reza Alizadeh Majd's message of "Sat, 12 Oct 2019 01:48:08 +0330") Message-ID: <87ftjyf6ii.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Reza, Reza Alizadeh Majd skribis: > From 5bbab834e617c0bfb14d384e05af390d05728b6e Mon Sep 17 00:00:00 2001 > From: Reza Alizadeh Majd > Date: Fri, 11 Oct 2019 23:23:21 +0330 > Subject: [PATCH] gnu: add uchardet > > * gnu/packages/freedesktop.scm (uchardet) New variable. Applied with the modifications below, which address ‘guix lint’ warnings (remember to run it next time :-)), enable tests, and clarify the license. Thank you for the patch! Ludo’. diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 17736aa537..4339f14f35 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1423,16 +1423,18 @@ their MIME type. (source (origin (method url-fetch) - (uri (string-append "https://www.freedesktop.org/software/" + (uri (string-append "https://www.freedesktop.org/software/" name "/releases/" name "-" version ".tar.xz")) (sha256 (base32 "0q9c02b6nmw41yfsiqsnphgc3f0yg3fj31wkccp47cmwvy634lc3")))) (build-system cmake-build-system) - (arguments `(#:tests? #f)) (home-page "https://www.freedesktop.org/wiki/Software/uchardet/") - (synopsis "encoding detector library") - (description "uchardet is an encoding detector library, which takes a -sequence of bytes in an unknown character encoding without any additional -information, and attempts to determine the encoding of the text. Returned + (synopsis "Encoding detector library") + (description "uchardet is an encoding detector library, which takes a +sequence of bytes in an unknown character encoding without any additional +information, and attempts to determine the encoding of the text. Returned encoding names are iconv-compatible.") + + ;; This combines code under MPL 1.1, LGPL 2.1+, and GPL 2.0+, so the + ;; combination is GPL 2.0+. (license license:gpl2+)))