GNU bug report logs - #26517
[PATCH] gnu: Add graphene.

Previous Next

Package: guix-patches;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Sat, 15 Apr 2017 12:36:02 UTC

Severity: normal

Tags: patch

Done: Kei Kebreau <kei <at> openmailbox.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26517 in the body.
You can then email your comments to 26517 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26517; Package guix-patches. (Sat, 15 Apr 2017 12:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roel Janssen <roel <at> gnu.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 15 Apr 2017 12:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add graphene.
Date: Sat, 15 Apr 2017 14:35:03 +0200
[0001-gnu-Add-graphene.patch (text/x-patch, attachment)]
[Message part 2 (text/plain, inline)]
Dear Guix,

For the new GTK+ release, we need Graphene.  So here is a patch.

Kind regards,
Roel Janssen

Information forwarded to guix-patches <at> gnu.org:
bug#26517; Package guix-patches. (Sat, 15 Apr 2017 23:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 26517 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Roel Janssen <roel <at> gnu.org>
Cc: 26517 <at> debbugs.gnu.org
Subject: Re: bug#26517: [PATCH] gnu: Add graphene.
Date: Sat, 15 Apr 2017 19:50:10 -0400
[Message part 1 (text/plain, inline)]
Roel Janssen <roel <at> gnu.org> writes:

>>From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel <at> gnu.org>
> 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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26517; Package guix-patches. (Sun, 16 Apr 2017 00:17:02 GMT) Full text and rfc822 format available.

Message #11 received at 26517 <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 26517 <at> debbugs.gnu.org
Subject: Re: bug#26517: [PATCH] gnu: Add graphene.
Date: Sun, 16 Apr 2017 02:16:38 +0200
Dear Kei,

Thanks for your quick response.

Kei Kebreau writes:

> Roel Janssen <roel <at> gnu.org> writes:
>
>>>From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001
>> From: Roel Janssen <roel <at> gnu.org>
>> 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




Reply sent to Kei Kebreau <kei <at> openmailbox.org>:
You have taken responsibility. (Sun, 16 Apr 2017 01:14:02 GMT) Full text and rfc822 format available.

Notification sent to Roel Janssen <roel <at> gnu.org>:
bug acknowledged by developer. (Sun, 16 Apr 2017 01:14:02 GMT) Full text and rfc822 format available.

Message #16 received at 26517-done <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Roel Janssen <roel <at> gnu.org>
Cc: 26517-done <at> debbugs.gnu.org
Subject: Re: bug#26517: [PATCH] gnu: Add graphene.
Date: Sat, 15 Apr 2017 21:13:09 -0400
[Message part 1 (text/plain, inline)]
Roel Janssen <roel <at> gnu.org> writes:

> Dear Kei,
>
> Thanks for your quick response.
>
> Kei Kebreau writes:
>
>> Roel Janssen <roel <at> gnu.org> writes:
>>
>>>>From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001
>>> From: Roel Janssen <roel <at> gnu.org>
>>> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 May 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.