From mboxrd@z Thu Jan 1 00:00:00 1970 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-To: guix-patches@gnu.org Resent-Message-ID: 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Reza Alizadeh Majd Cc: 37708-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=98guix lint=E2= =80=99 warnings (remember to run it next time :-)), enable tests, and clarify the license. Thank you for the patch! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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+))) --=-=-=--