all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add gtk-engines and murrine.
@ 2016-02-04 21:26 Fabian Harfert
  2016-02-04 21:28 ` Thompson, David
  0 siblings, 1 reply; 7+ messages in thread
From: Fabian Harfert @ 2016-02-04 21:26 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gtk.scm (gtk-engines): New variable.
* gnu/packages/gtk.scm (murrine): New variable.
---
 gnu/packages/gtk.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3f92d0a..cf13294 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1130,3 +1130,61 @@ information.")
 typically used to document the public API of GTK+ and GNOME libraries, but it
 can also be used to document application code.")
     (license license:gpl2+)))
+
+(define-public gtk-engines
+  (package
+    (name "gtk-engines")
+    (version "2.20.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1db65pb0j0mijmswrvpgkdabilqd23x22d95hp5kwxvcramq1dhm"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       `("--enable-animation")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "http://live.gnome.org/GnomeArt")
+    (synopsis "Various theming engines for Gtk+ 2")
+    (description
+     "This package contains the standard Gtk+ 2 theming engines including
+Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,
+Redmond95 and ThinIce.")
+    (license (list license:gpl2+ license:lgpl2.0+))))
+
+(define-public murrine
+  (package
+    (name "murrine")
+    (version "0.98.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       `("--enable-animation"
+         "--enable-animationrtl")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "http://live.gnome.org/GnomeArt")
+    (synopsis "Cairo-based Gtk+ 2 theming engine")
+    (description
+     "The murrine Gtk+ 2 engine is a cairo-based theming engine. It is named
+after the glass artworks done by Venicians glass blowers.")
+    (license license:gpl2+)))
-- 
2.7.0

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

* Re: [PATCH] gnu: Add gtk-engines and murrine.
  2016-02-04 21:26 [PATCH] gnu: Add gtk-engines and murrine Fabian Harfert
@ 2016-02-04 21:28 ` Thompson, David
  2016-02-04 22:11   ` [PATCH] gnu: Add gtk-engines Fabian Harfert
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thompson, David @ 2016-02-04 21:28 UTC (permalink / raw)
  To: Fabian Harfert; +Cc: guix-devel

Hi Fabian,

These look good!  Could you split them up into 2 patches so that only
1 package is added in each patch?  Thanks!

- Dave

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

* [PATCH] gnu: Add gtk-engines.
  2016-02-04 21:28 ` Thompson, David
@ 2016-02-04 22:11   ` Fabian Harfert
  2016-02-04 22:13   ` [PATCH] gnu: Add murrine Fabian Harfert
  2016-02-05  7:08   ` [PATCH] gnu: Add gtk-engines and murrine Ricardo Wurmus
  2 siblings, 0 replies; 7+ messages in thread
From: Fabian Harfert @ 2016-02-04 22:11 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gtk.scm (gtk-engines): New variable.
---
 gnu/packages/gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3f92d0a..3d8a652 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1130,3 +1130,32 @@ information.")
 typically used to document the public API of GTK+ and GNOME libraries, but it
 can also be used to document application code.")
     (license license:gpl2+)))
+
+(define-public gtk-engines
+  (package
+    (name "gtk-engines")
+    (version "2.20.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1db65pb0j0mijmswrvpgkdabilqd23x22d95hp5kwxvcramq1dhm"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       `("--enable-animation")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "http://live.gnome.org/GnomeArt")
+    (synopsis "Various theming engines for Gtk+ 2")
+    (description
+     "This package contains the standard Gtk+ 2 theming engines including
+Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,
+Redmond95 and ThinIce.")
+    (license (list license:gpl2+ license:lgpl2.0+))))
-- 
2.7.0

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

* [PATCH] gnu: Add murrine.
  2016-02-04 21:28 ` Thompson, David
  2016-02-04 22:11   ` [PATCH] gnu: Add gtk-engines Fabian Harfert
@ 2016-02-04 22:13   ` Fabian Harfert
  2016-02-05  7:08   ` [PATCH] gnu: Add gtk-engines and murrine Ricardo Wurmus
  2 siblings, 0 replies; 7+ messages in thread
From: Fabian Harfert @ 2016-02-04 22:13 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gtk.scm (murrine): New variable.
---
 gnu/packages/gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 3d8a652..cf13294 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1159,3 +1159,32 @@ can also be used to document application code.")
 Clearlooks, Crux, High Contrast, Industrial, LighthouseBlue, Metal, Mist,
 Redmond95 and ThinIce.")
     (license (list license:gpl2+ license:lgpl2.0+))))
+
+(define-public murrine
+  (package
+    (name "murrine")
+    (version "0.98.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "129cs5bqw23i76h3nmc29c9mqkm9460iwc8vkl7hs4xr07h8mip9"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       `("--enable-animation"
+         "--enable-animationrtl")))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("intltool" ,intltool)))
+    (propagated-inputs
+     `(("gtk+" ,gtk+-2)))
+    (home-page "http://live.gnome.org/GnomeArt")
+    (synopsis "Cairo-based Gtk+ 2 theming engine")
+    (description
+     "The murrine Gtk+ 2 engine is a cairo-based theming engine. It is named
+after the glass artworks done by Venicians glass blowers.")
+    (license license:gpl2+)))
-- 
2.7.0

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

* Re: [PATCH] gnu: Add gtk-engines and murrine.
  2016-02-04 21:28 ` Thompson, David
  2016-02-04 22:11   ` [PATCH] gnu: Add gtk-engines Fabian Harfert
  2016-02-04 22:13   ` [PATCH] gnu: Add murrine Fabian Harfert
@ 2016-02-05  7:08   ` Ricardo Wurmus
  2016-02-05  8:11     ` Fabian Harfert
  2 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2016-02-05  7:08 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

Hi Fabian,

I wonder if this will work out of the box.  Where does GTK+ look for
engines?  Was the patch enough to GTK+ to make it respect GUIX_GTK2_PATH
and GUIX_GTK3_PATH?

Or will we need to add some additional procedure to building profiles to
generate a cache or a list of engines expected by GTK+?  (I know that at
least for input method modules something like that will be needed.)

~~ Ricardo

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

* Re: [PATCH] gnu: Add gtk-engines and murrine.
  2016-02-05  7:08   ` [PATCH] gnu: Add gtk-engines and murrine Ricardo Wurmus
@ 2016-02-05  8:11     ` Fabian Harfert
  2016-02-06  5:42       ` 宋文武
  0 siblings, 1 reply; 7+ messages in thread
From: Fabian Harfert @ 2016-02-05  8:11 UTC (permalink / raw)
  To: guix-devel

On Fri, 05 Feb 2016 08:08:21 +0100
Ricardo Wurmus <rekado@elephly.net> wrote:

> Hi Fabian,
> 
> I wonder if this will work out of the box.  Where does GTK+ look for
> engines?  Was the patch enough to GTK+ to make it respect
> GUIX_GTK2_PATH and GUIX_GTK3_PATH?
> 
> Or will we need to add some additional procedure to building profiles
> to generate a cache or a list of engines expected by GTK+?  (I know
> that at least for input method modules something like that will be
> needed.)
> 
> ~~ Ricardo
> 

Hi!

Because the gtk-xfce-engine from xfce.scm doesn't need this I thought
that this is the case for these engines, too. But really, I don't know
how this is handled. If I install the package to my profile, which is
included in the GUIX_GTK2_PATH, they are found by Gtk+.

And, as I'm still not familiar with git send-email, the gtk-engines
patch needs to be applied first (if it's okay so).

Fabian

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

* Re: [PATCH] gnu: Add gtk-engines and murrine.
  2016-02-05  8:11     ` Fabian Harfert
@ 2016-02-06  5:42       ` 宋文武
  0 siblings, 0 replies; 7+ messages in thread
From: 宋文武 @ 2016-02-06  5:42 UTC (permalink / raw)
  To: Fabian Harfert; +Cc: guix-devel

Fabian Harfert <fhmgufs@web.de> writes:

> On Fri, 05 Feb 2016 08:08:21 +0100
> Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> Hi Fabian,
>> 
>> I wonder if this will work out of the box.  Where does GTK+ look for
>> engines?  Was the patch enough to GTK+ to make it respect
>> GUIX_GTK2_PATH and GUIX_GTK3_PATH?
>> 
>> Or will we need to add some additional procedure to building profiles
>> to generate a cache or a list of engines expected by GTK+?  (I know
>> that at least for input method modules something like that will be
>> needed.)
>> 
>> ~~ Ricardo
>> 
>
> Hi!
>
> Because the gtk-xfce-engine from xfce.scm doesn't need this I thought
> that this is the case for these engines, too. But really, I don't know
> how this is handled. If I install the package to my profile, which is
> included in the GUIX_GTK2_PATH, they are found by Gtk+.
Yes, the engines can be found by GUIX_GTK2_PATH, but I think the themes
need manually link to ~/.themes.

I replace 'Gtk+ 2' with 'GTK+ 2.x', and add a copyright header for you.
Patches pushed, thanks!

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

end of thread, other threads:[~2016-02-06  5:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 21:26 [PATCH] gnu: Add gtk-engines and murrine Fabian Harfert
2016-02-04 21:28 ` Thompson, David
2016-02-04 22:11   ` [PATCH] gnu: Add gtk-engines Fabian Harfert
2016-02-04 22:13   ` [PATCH] gnu: Add murrine Fabian Harfert
2016-02-05  7:08   ` [PATCH] gnu: Add gtk-engines and murrine Ricardo Wurmus
2016-02-05  8:11     ` Fabian Harfert
2016-02-06  5:42       ` 宋文武

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.