From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 4/7] gnu: Add kjs. Date: Mon, 21 Nov 2016 18:44:43 +0100 Message-ID: <87bmx89184.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <1479744699-27226-1-git-send-email-h.goebel@crazy-compilers.com> <1479744699-27226-5-git-send-email-h.goebel@crazy-compilers.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8se9-0004ft-4u for guix-devel@gnu.org; Mon, 21 Nov 2016 12:44:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8se6-0005PK-1M for guix-devel@gnu.org; Mon, 21 Nov 2016 12:44:49 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59648) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8se5-0005PB-TC for guix-devel@gnu.org; Mon, 21 Nov 2016 12:44:45 -0500 In-Reply-To: <1479744699-27226-5-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: Hartmut Goebel , guix-devel@gnu.org --=-=-= Content-Type: text/plain Hartmut Goebel writes: > * gnu/packages/kde-frameworks.scm (kjs): New variable. > --- > gnu/packages/kde-frameworks.scm | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm > index 07c6716..928b7ec 100644 > --- a/gnu/packages/kde-frameworks.scm > +++ b/gnu/packages/kde-frameworks.scm > @@ -43,6 +43,7 @@ > #:use-module (gnu packages gnupg) > #:use-module (gnu packages image) > #:use-module (gnu packages linux) > + #:use-module (gnu packages pcre) > #:use-module (gnu packages perl) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages polkit) > @@ -2994,3 +2995,34 @@ technology and using KJS for JavaScript support.") > ;; a variety of licenses > (license (list license:gpl2 license:lgpl2.0 license:lgpl2.1+ license:gpl3+ > license:expat license:bsd-2 license:bsd-3)))) > + > +(define-public kjs > + (package > + (name "kjs") > + (version "5.27.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "mirror://kde/stable/frameworks/" > + (version-major+minor version) "/portingAids/" > + name "-" version ".tar.xz")) > + (sha256 > + (base32 "18x4az3v4pbg77sxhmrdrfwrc9d9fw7l40m6p18k1khxn86hsp9j")))) > + (build-system cmake-build-system) > + (native-inputs > + `(("extra-cmake-modules" ,extra-cmake-modules) > + ("kdoctools" ,kdoctools) > + ("perl" ,perl))) > + (inputs > + `(("pcre" ,pcre) > + ("qtbase" ,qtbase))) > + (home-page "https://community.kde.org/Frameworks") > + (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt > +applications") > + (description "Add-on library to Qt which adds JavaScript scripting > +support.") > + ;; a variety of licenses > + (license (list license:lgpl2.0+ license:lgpl2.1+ > + license:bsd-2 license:bsd-3 > + license:non-copyleft)))) What is non-copyleft here? Note that "non-copyleft" is a procedure and can take a file:// style URI (or http etc) to the component in question, along with an optional comment. Otherwise LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYMzKLAAoJEKKgbfKjOlT6ERUH/i9fc1CPMaX1NM3swgxa7rU0 XtOIMWD1JzR8q3ZEMD3ZsV+o3EnBggOogjW3BnHH1uiN+fVJffWUaow1F4c4uO1B 7DalkGSPqi/7s9qF9UGuSnTK74Zeik/hYkMrmKvEU0g1769pWgFzgzP39tGFQp5v GpuS1DPaw+MaduzDPckFPz5/UsPzsQMDEDekGfqU2hpJzzJrE56Nn1dOT3PCu7T9 WD1WoHi9gZKTCjnGBr4XTftZmDTumUy0725hxAalQxZb3XyLmSoLJisXW22eWb/k cXT3ZR6t/gT7k4/GSTlYCPK2lY4ZwhxEzYIWR7AE2NRyfssSqyP/2C6MQf4Xo08= =z5zq -----END PGP SIGNATURE----- --=-=-=--