From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [WIP v0.1 7/8] gnu: Add kde kcodecs Date: Tue, 14 Jun 2016 23:15:09 +0200 Message-ID: <1465938910-15739-8-git-send-email-h.goebel@crazy-compilers.com> References: <1465938910-15739-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvgE-0004qj-9L for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCvgD-000348-4t for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:26 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:55927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvgC-000342-UI for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:25 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rTj983tFWz3hjYP for ; Tue, 14 Jun 2016 23:15:24 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rTj983nlBzvjMk for ; Tue, 14 Jun 2016 23:15:24 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id ZgSCXtNe1BhZ for ; Tue, 14 Jun 2016 23:15:23 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-133-227.dynamic.mnet-online.de [188.174.133.227]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 14 Jun 2016 23:15:23 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 93F2B60D76 for ; Tue, 14 Jun 2016 23:15:10 +0200 (CEST) In-Reply-To: <1465938910-15739-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/kde-frameworks.scm (kcodecs): New variable. --- gnu/packages/kde-frameworks.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index ab90112..dca89d7 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -234,6 +234,40 @@ GZip format, via a subclass of QIODevice.") (license (list license:lgpl2.1 license:lgpl2.1+ license:lgpl3+ license:bsd-2)))) +(define-public kcodecs + (package + (name "kcodecs") + (version kde-frameworks-version) + (source + (origin + (method url-fetch) + (uri (string-append "http://download.kde.org/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0wng7kqqxrsz7b4w163j6m2zdhb5pvgbd9n6bn7ggyldn4zl86w7")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qt" ,qt))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "String encoding and manipulating library") + (description "KCodecs provide a collection of methods to manipulate +strings using various encodings. + +It can automatically determine the charset of a string, translate XML +entities, validate email addresses, and find encodings by name in a more +tolerant way than QTextCodec (useful e.g. for data coming from the +Internet).") + ;; The included licenses is are gpl2 and lgpl2.1, but the sources are + ;; under a variety of licenses. + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:gpl2 license:gpl2+ license:bsd-2 + license:lgpl2.1 license:lgpl2.1+ license:expat + license:lgpl3+ license:mpl1.1)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- 2.7.4