From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czYlR-0000xC-QD for guix-patches@gnu.org; Sat, 15 Apr 2017 21:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czYlO-0004Ii-M0 for guix-patches@gnu.org; Sat, 15 Apr 2017 21:14:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1czYlO-0004II-I6 for guix-patches@gnu.org; Sat, 15 Apr 2017 21:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1czYlO-0005ef-C7 for guix-patches@gnu.org; Sat, 15 Apr 2017 21:14:02 -0400 Subject: bug#26517: [PATCH] gnu: Add graphene. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Kei Kebreau References: <8737d9u9vs.fsf@gnu.org> <87a87hmdsd.fsf@openmailbox.org> <87pogdfbq1.fsf@gnu.org> Date: Sat, 15 Apr 2017 21:13:09 -0400 In-Reply-To: <87pogdfbq1.fsf@gnu.org> (Roel Janssen's message of "Sun, 16 Apr 2017 02:16:38 +0200") Message-ID: <87vaq5kvdm.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Roel Janssen Cc: 26517-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Roel Janssen writes: > Dear Kei, > > Thanks for your quick response. > > Kei Kebreau writes: > >> Roel Janssen writes: >> >>>>>From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001 >>> From: Roel Janssen >>> Date: Sat, 15 Apr 2017 14:33:39 +0200 >>> Subject: [PATCH] gnu: Add graphene. >>> >>> * gnu/packages/gtk.scm (graphene): New variable. >>> --- >>> gnu/packages/gtk.scm | 40 ++++++++++++++++++++++++++++++++++++++++ >>> 1 file changed, 40 insertions(+) >>> >>> diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm >>> index 770a8c916..f697e569b 100644 >>> --- a/gnu/packages/gtk.scm >>> +++ b/gnu/packages/gtk.scm >>> @@ -42,6 +42,7 @@ >>> #:use-module (gnu packages) >>> #:use-module (gnu packages algebra) >>> #:use-module (gnu packages autotools) >>> + #:use-module (gnu packages base) >>> #:use-module (gnu packages texinfo) >>> #:use-module (gnu packages check) >>> #:use-module (gnu packages compression) >>> @@ -1419,3 +1420,42 @@ misspelled words in a GtkTextView widget.") >>> thereof, global hotkeys and clipboard item actions. It was forked from >>> Parcellite and adds bugfixes and features.") >>> (license license:gpl2+))) >>> + >>> +(define-public graphene >>> + (package >>> + (name "graphene") >>> + (version "1.6.0") >>> + (source (origin >>> + (method url-fetch) >>> + (uri (string-append >>> + "https://github.com/ebassi/graphene/archive/" >>> + version ".tar.gz")) >>> + (file-name (string-append name "-" version ".tar.gz")) >>> + (sha256 >>> + (base32 "1zd2daj7y590wnzn4jw0niyc4fnzgxrcl9i7nwhy8b25ks2hz5wq")))) >>> + (build-system gnu-build-system) >>> + (arguments >>> + `(#:configure-flags '("--enable-introspection=yes") >>> + #:phases >>> + (modify-phases %standard-phases >>> + (add-before 'configure 'autogen >>> + (lambda _ >>> + (zero? (system* "./autogen.sh"))))))) >>> + (native-inputs >>> + `(("autoconf" ,autoconf) >>> + ("which" ,which) >>> + ("pkg-config" ,pkg-config) >>> + ("automake" ,automake) >>> + ("libtool" ,libtool))) >>> + (inputs >>> + `(("python" ,python) >>> + ("python-2" ,python-2) >>> + ("glib" ,glib) >>> + ("gobject-introspection" ,gobject-introspection))) >>> + (home-page "http://ebassi.github.io/graphene") >>> + (synopsis "Thin layer of graphic data types") >>> + (description "This library provides graphic types and their relative API; >>> +it does not deal with windowing system surfaces, drawing, scene graphs, or >>> +input. You're supposed to do that yourself, in your own canvas implementation, >>> +which is the whole point of writing the library in the first place.") >> >> The description after "You're supposed to do that yourself..." doesn't >> seem like it fits in a package description. If you have any other ideas >> for what information should go there, that'd be great. > > Is it okay to remove "You're supposed to ... in the first place."? > Sure! I've pushed the patch with this change and added a copyright line for you. >> >>> + (license license:expat))) >> >> Everything else LGTM. >> >> P.S.: Where can I find GTK+ documentation about the new Graphene library >> requirement? Thanks in advance. > > So, here's the documentation for the GskRenderer that uses > 'graphene_rect_t' for example: > > https://developer.gnome.org/gsk4/unstable/GskRenderer.html > > Thanks for your time! > Oooh, I was unaware that there was a GTK4 in development. > Kind regards, > Roel Janssen --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljyxSUACgkQ5qXuPBlG eg36MxAAjpgaGUDPInJ50xpvrCS/WG7uO0oQvRlKkb/vePUiBPqHp1C2T1kw0YoA ufre+/CNtNB2siTlF2C/w2ubAVMXBfBxmB0pNrMsWQnZeVAmJMOw3vaiXBsLrybf vUHksoiKpPtzFEgLYWU4zwgoBS1+9ap1WRYrgNpIh+XDDi+1XtSOXGUL321OyBT7 G4RWfrcj4KYRWVnCMp07dNtC4MX7KwDX8wj48ft553uw/Y8Sn7MJy/9X4gqN5dCl 2g49aMEBYysyVoV0X5ObXEA3IuX3rkyBKSCuAdhxnq5k7A2Xm8QqGE0uuciHr6GM SST5XUnQywh3qdTAw2apUFAGC3nV5m03LMGHItZIwJxAzm4lfdXfcEz7T0oQKi81 4f7e46qL2WFReWPJeE1SHHMRfFOsf2ZJKmTdlAQgHqk4bdQI9I8gsG+aF+iUX1BK r38xEbueJuntmAli3GH8TpcWPk4LkrTEv1j+aJqSIsBuOhunnwaSEBo5VzcHSjKa bfrw3i9nlDfLuIUzRqO5OFO91ryF2OvakzvHh0XQ2+kVF9Azs2hQpzNsLDbk9PS7 R+sLZriaURvulE5/mE9jEmBcg428yEfXHgYYJ/HWhQT/Pu+D27E76UbwGcxNwdSJ hXSe3UBOHOMlevZ8CW2ozFWyACZpPM7PPLc3TD3f3iQHtPQkOzQ= =M4vm -----END PGP SIGNATURE----- --=-=-=--