From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46369) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJ1QJ-0004l1-TK for guix-patches@gnu.org; Fri, 11 Oct 2019 16:22:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJ1QI-0002K9-Ke for guix-patches@gnu.org; Fri, 11 Oct 2019 16:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJ1QI-0002JW-HG for guix-patches@gnu.org; Fri, 11 Oct 2019 16:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJ1QI-0003pA-Au for guix-patches@gnu.org; Fri, 11 Oct 2019 16:22:02 -0400 Subject: [bug#37708] [PATCH] gnu: add uchardet Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:46269) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJ1PT-0004c8-Se for guix-patches@gnu.org; Fri, 11 Oct 2019 16:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJ1PQ-0000yz-RV for guix-patches@gnu.org; Fri, 11 Oct 2019 16:21:11 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iJ1PQ-0000xi-G6 for guix-patches@gnu.org; Fri, 11 Oct 2019 16:21:08 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 61F8B21E44 for ; Fri, 11 Oct 2019 16:21:06 -0400 (EDT) Received: from localhost (unknown [185.213.155.163]) by mail.messagingengine.com (Postfix) with ESMTPA id 81548D60057 for ; Fri, 11 Oct 2019 16:21:05 -0400 (EDT) From: Reza Alizadeh Majd Date: Fri, 11 Oct 2019 23:51:03 +0330 MIME-Version: 1.0 Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: 37708@debbugs.gnu.org >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. --- gnu/packages/freedesktop.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 401f54bb14..51848be170 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -14,6 +14,7 @@ ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Pierre Neidhardt ;;; Copyright =C2=A9 2018 Stefan Stefanovi=C4=87 +;;; Copyright =C2=A9 2019 Reza Alizadeh Majd ;;; ;;; This file is part of GNU Guix. ;;; @@ -1409,3 +1410,24 @@ This package also contains two related utilities: their MIME type. @end itemize") (license license:perl-license))) + +(define-public uchardet + (package + (name "uchardet") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.freedesktop.org/software/"=20 + name "/releases/" name "-" version ".tar.xz")) + (sha256 + (base32=20 "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=20= +sequence of bytes in an unknown character encoding without any additional=20= +information, and attempts to determine the encoding of the text. Returned=20= +encoding names are iconv-compatible.") + (license license:gpl2+))) --=20 Regards Reza Alizadeh Majd PantherX Team