all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26517: [PATCH] gnu: Add graphene.
@ 2017-04-15 12:35 Roel Janssen
  2017-04-15 23:50 ` Kei Kebreau
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2017-04-15 12:35 UTC (permalink / raw)
  To: 26517

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-graphene.patch --]
[-- Type: text/x-patch, Size: 2504 bytes --]

From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@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.")
+    (license license:expat)))
-- 
2.12.1


[-- Attachment #2: Type: text/plain, Size: 105 bytes --]

Dear Guix,

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

Kind regards,
Roel Janssen

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#26517: [PATCH] gnu: Add graphene.
  2017-04-15 12:35 bug#26517: [PATCH] gnu: Add graphene Roel Janssen
@ 2017-04-15 23:50 ` Kei Kebreau
  2017-04-16  0:16   ` Roel Janssen
  0 siblings, 1 reply; 4+ messages in thread
From: Kei Kebreau @ 2017-04-15 23:50 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 26517

[-- Attachment #1: Type: text/plain, Size: 2986 bytes --]

Roel Janssen <roel@gnu.org> writes:

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26517: [PATCH] gnu: Add graphene.
  2017-04-15 23:50 ` Kei Kebreau
@ 2017-04-16  0:16   ` Roel Janssen
  2017-04-16  1:13     ` Kei Kebreau
  0 siblings, 1 reply; 4+ messages in thread
From: Roel Janssen @ 2017-04-16  0:16 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 26517

Dear Kei,

Thanks for your quick response.

Kei Kebreau writes:

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#26517: [PATCH] gnu: Add graphene.
  2017-04-16  0:16   ` Roel Janssen
@ 2017-04-16  1:13     ` Kei Kebreau
  0 siblings, 0 replies; 4+ messages in thread
From: Kei Kebreau @ 2017-04-16  1:13 UTC (permalink / raw)
  To: Roel Janssen; +Cc: 26517-done

[-- Attachment #1: Type: text/plain, Size: 3692 bytes --]

Roel Janssen <roel@gnu.org> writes:

> Dear Kei,
>
> Thanks for your quick response.
>
> Kei Kebreau writes:
>
>> Roel Janssen <roel@gnu.org> writes:
>>
>>>>From 547a9892aa98b65c37e8692f797bd7fbdae6ccc2 Mon Sep 17 00:00:00 2001
>>> From: Roel Janssen <roel@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-16  1:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-15 12:35 bug#26517: [PATCH] gnu: Add graphene Roel Janssen
2017-04-15 23:50 ` Kei Kebreau
2017-04-16  0:16   ` Roel Janssen
2017-04-16  1:13     ` Kei Kebreau

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.