From unknown Fri Jun 20 07:19:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26517: [PATCH] gnu: Add graphene. Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Apr 2017 12:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 26517@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149225972921056 (code B ref -1); Sat, 15 Apr 2017 12:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2017 12:35:29 +0000 Received: from localhost ([127.0.0.1]:47987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czMvF-0005TV-Fm for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czMvD-0005TG-Dh for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czMv7-0006N7-3l for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czMv7-0006N0-12 for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czMv5-0001A8-I4 for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czMv2-0006Jl-Dm for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czMv2-0006Jg-9J for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:12 -0400 Received: from 541e9304.cm-5-7c.dynamic.ziggo.nl ([84.30.147.4]:48880 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czMv1-0003H5-Ln for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:12 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen Date: Sat, 15 Apr 2017 14:35:03 +0200 Message-ID: <8737d9u9vs.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-graphene.patch >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.") + (license license:expat))) -- 2.12.1 --=-=-= Content-Type: text/plain Dear Guix, For the new GTK+ release, we need Graphene. So here is a patch. Kind regards, Roel Janssen --=-=-=-- From unknown Fri Jun 20 07:19:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26517: [PATCH] gnu: Add graphene. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Apr 2017 23:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Roel Janssen Cc: 26517@debbugs.gnu.org Received: via spool by 26517-submit@debbugs.gnu.org id=B26517.149230022414452 (code B ref 26517); Sat, 15 Apr 2017 23:51:02 +0000 Received: (at 26517) by debbugs.gnu.org; 15 Apr 2017 23:50:24 +0000 Received: from localhost ([127.0.0.1]:49517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czXSR-0003l1-QB for submit@debbugs.gnu.org; Sat, 15 Apr 2017 19:50:24 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:45021 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czXSQ-0003ku-9C for 26517@debbugs.gnu.org; Sat, 15 Apr 2017 19:50:22 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 7CDC5548372; Sun, 16 Apr 2017 01:50:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1492300221; bh=jgYKFrHDMYJ74eQL0FgX7/QmE3D4Ue3e8oKHIAMJSnc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XPgEPKzSTbZx9rpYMcLZvHk4/eehvUDbbmnSmeWW4fTtmbJpSBcaL8VH0uLzlaY1l P4wemw+qyaT8ZLWJtkozmV3eEpGOqrST/QwD5aPEX7spD5aJQgxETrEitvE30bQpVx iZZMLgAUhmLwEXuLzXw7hcex9QbTRf5xoL1ZId5E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1492300220; bh=jgYKFrHDMYJ74eQL0FgX7/QmE3D4Ue3e8oKHIAMJSnc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QQyddcO7ThJaVcVVYCiHMIxmuOR1UJioVzjGiHLBvSE0erQMZzZoJZnLb9oLdnIfj nHWtqrUohoWPwHleVpPYmczq1KqD5InNfXuiWJ5zQjUGS8kqgWtX9gjz2kQDVoIWxy fas1+NS5ohwU5ZzIxVZ3LlERQq55k25odYuR0pSM= References: <8737d9u9vs.fsf@gnu.org> Date: Sat, 15 Apr 2017 19:50:10 -0400 In-Reply-To: <8737d9u9vs.fsf@gnu.org> (Roel Janssen's message of "Sat, 15 Apr 2017 14:35:03 +0200") Message-ID: <87a87hmdsd.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain 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. > + (license license:expat))) Everything else LGTM. P.S.: Where can I find GTK+ documentation about the new Graphene library requirement? Thanks in advance. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljysbIACgkQ5qXuPBlG eg34TQ//dxg2ZKgspgQirRzNWx1WOj9mlJuU1wHHsOlbFLuVyoiBXXkhXlmqzYcp BX8buZUk7Wu1EftvBdwbmYDJI8X4QiAdOa8ND5sJ5+yd3u2ToBirFRBvNxOoylfQ FLKNlukAZZUDGEbSzeUEQXU4FknGSOek8HJial3Ul2ccbsH6otdR/+u7O+NKfnpE TF2QUDaHROyb8/Vj1gmf16e629gA6rOX9Ve8HtVpQAjUFcgB/fhy+VGTt/1Zvbqp GzTNuJGwJe4exb3p+nX/J6Ev5h6k1LL9Bp0XgX3dl2t8a020RwRoVq0pSUFoXfXF jOO4PJEF+qM7JTyNa23TKejqXhLQVP3hEhnMECOxPVJ6maI9LJix5WrwFQLBqmxG fjvp3rB8m/laVWWYbu2nOohow6TWHuklv6VDTfGYi7UTHNfFsL6MOQ93zgF/GKq8 Gc0hj2eAW5NCnhPIRUScIK9U7LRxkZLVdhXy/nZV2tasmCD43ns9UWgB87sFKt2P z4+zz+aGZ+uMp763ym+8Mfh+k4O9iSdKjfeYS/mDQfzbYJIgdPgH3rrNCOONQfPX 6WMR8M9aprNK/J7QSAj9lTiKaQ018/IV/WGh5fr82XBPLacGnxXlIzlhHUlihar7 Hh+0YbW5MfcKAe2nk1ikc2DJ/tvsS+kRHAC4eyfDLK/lAcXj+lg= =d1cJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:19:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26517: [PATCH] gnu: Add graphene. Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Apr 2017 00:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Kei Kebreau Cc: 26517@debbugs.gnu.org Received: via spool by 26517-submit@debbugs.gnu.org id=B26517.149230181816781 (code B ref 26517); Sun, 16 Apr 2017 00:17:02 +0000 Received: (at 26517) by debbugs.gnu.org; 16 Apr 2017 00:16:58 +0000 Received: from localhost ([127.0.0.1]:49537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czXs4-0004MU-Sq for submit@debbugs.gnu.org; Sat, 15 Apr 2017 20:16:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czXs3-0004MH-M6 for 26517@debbugs.gnu.org; Sat, 15 Apr 2017 20:16:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czXrv-0002Q9-Cu for 26517@debbugs.gnu.org; Sat, 15 Apr 2017 20:16:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51485) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czXrv-0002Q0-9T; Sat, 15 Apr 2017 20:16:43 -0400 Received: from 541e9304.cm-5-7c.dynamic.ziggo.nl ([84.30.147.4]:48634 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czXru-0005RA-M2; Sat, 15 Apr 2017 20:16:43 -0400 References: <8737d9u9vs.fsf@gnu.org> <87a87hmdsd.fsf@openmailbox.org> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen In-reply-to: <87a87hmdsd.fsf@openmailbox.org> Date: Sun, 16 Apr 2017 02:16:38 +0200 Message-ID: <87pogdfbq1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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."? > >> + (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! Kind regards, Roel Janssen From unknown Fri Jun 20 07:19:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Roel Janssen Subject: bug#26517: closed (Re: bug#26517: [PATCH] gnu: Add graphene.) Message-ID: References: <87vaq5kvdm.fsf@openmailbox.org> <8737d9u9vs.fsf@gnu.org> X-Gnu-PR-Message: they-closed 26517 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 26517@debbugs.gnu.org Date: Sun, 16 Apr 2017 01:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1492305242-21732-1" This is a multi-part message in MIME format... ------------=_1492305242-21732-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26517: [PATCH] gnu: Add graphene. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26517@debbugs.gnu.org. --=20 26517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26517 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1492305242-21732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26517-done) by debbugs.gnu.org; 16 Apr 2017 01:13:22 +0000 Received: from localhost ([127.0.0.1]:49553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czYkh-0005dV-Gx for submit@debbugs.gnu.org; Sat, 15 Apr 2017 21:13:22 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:49221 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czYkc-0005dK-Lk for 26517-done@debbugs.gnu.org; Sat, 15 Apr 2017 21:13:18 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id E8FD95473F7; Sun, 16 Apr 2017 03:13:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1492305193; bh=orbdxjFe05eZSDGzKCJeqtJWBzJZ5nckA913ng5oDg0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=0iylZd6I+EZKU6V+YzKaFuKC3iZQHYsNahKK6jgatg0QAXXRaN6aRTMNLfXMfa0iI Rq5A8imWuV0ndSNy9T1I0S1mFFP7Fy5lFjwYYwsLtP9oy0rtbPP+ImyBgwkxZQYQ42 a7VDcFmnAo1zzfVbxlfKXBR4dkxbWWL8aMTzBziE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1492305193; bh=orbdxjFe05eZSDGzKCJeqtJWBzJZ5nckA913ng5oDg0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=0iylZd6I+EZKU6V+YzKaFuKC3iZQHYsNahKK6jgatg0QAXXRaN6aRTMNLfXMfa0iI Rq5A8imWuV0ndSNy9T1I0S1mFFP7Fy5lFjwYYwsLtP9oy0rtbPP+ImyBgwkxZQYQ42 a7VDcFmnAo1zzfVbxlfKXBR4dkxbWWL8aMTzBziE= To: Roel Janssen Subject: Re: bug#26517: [PATCH] gnu: Add graphene. 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26517-done Cc: 26517-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= 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----- --=-=-=-- ------------=_1492305242-21732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Apr 2017 12:35:29 +0000 Received: from localhost ([127.0.0.1]:47987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czMvF-0005TV-Fm for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czMvD-0005TG-Dh for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czMv7-0006N7-3l for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czMv7-0006N0-12 for submit@debbugs.gnu.org; Sat, 15 Apr 2017 08:35:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czMv5-0001A8-I4 for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czMv2-0006Jl-Dm for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czMv2-0006Jg-9J for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:12 -0400 Received: from 541e9304.cm-5-7c.dynamic.ziggo.nl ([84.30.147.4]:48880 helo=antelope) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czMv1-0003H5-Ln for guix-patches@gnu.org; Sat, 15 Apr 2017 08:35:12 -0400 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Roel Janssen To: guix-patches@gnu.org Subject: [PATCH] gnu: Add graphene. Date: Sat, 15 Apr 2017 14:35:03 +0200 Message-ID: <8737d9u9vs.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-graphene.patch >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.") + (license license:expat))) -- 2.12.1 --=-=-= Content-Type: text/plain Dear Guix, For the new GTK+ release, we need Graphene. So here is a patch. Kind regards, Roel Janssen --=-=-=-- ------------=_1492305242-21732-1--