unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
@ 2016-11-18  6:01 rennes
  2016-11-18  8:10 ` Danny Milosavljevic
  2016-11-18 20:19 ` Leo Famulari
  0 siblings, 2 replies; 5+ messages in thread
From: rennes @ 2016-11-18  6:01 UTC (permalink / raw)
  To: guix-devel

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

Hello,
this patch allow to gnome-control-center to load images in SVG format.
E.G. GNOME logo and Mouse & Touchpad settings image.

Thanks

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-gnome-control-center-Add-gdk-pixbuf-input.patch --]
[-- Type: text/x-diff; name=0001-gnu-gnome-control-center-Add-gdk-pixbuf-input.patch, Size: 877 bytes --]

From 6aa42f1298bbd7b1582fb6894f9ebd1029b203a8 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <rennes@openmailbox.org>
Date: Thu, 17 Nov 2016 23:48:11 -0600
Subject: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.

* gnu/packages/gnome.scm (gnome-control-center): Add gdk-pixbuf input.
---
 gnu/packages/gnome.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8c422c5..b7e6d4d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4747,6 +4747,7 @@ devices using the GNOME desktop.")
        ("cups" ,cups)
        ("dconf" ,dconf)
        ("docbook-xsl" ,docbook-xsl)
+       ("gdk-pixbuf" ,gdk-pixbuf) ; for load files with SVG extension.
        ("gnome-bluetooth" ,gnome-bluetooth)
        ("gnome-desktop" ,gnome-desktop)
        ("gnome-online-accounts" ,gnome-online-accounts)
-- 
2.10.1


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

* Re: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
  2016-11-18  6:01 [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input rennes
@ 2016-11-18  8:10 ` Danny Milosavljevic
  2016-11-18 20:19 ` Leo Famulari
  1 sibling, 0 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2016-11-18  8:10 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

Hi,

On Fri, 18 Nov 2016 00:01:40 -0600
rennes@openmailbox.org wrote:

> this patch allow to gnome-control-center to load images in SVG format.
> E.G. GNOME logo and Mouse & Touchpad settings image.

>+       ("gdk-pixbuf" ,gdk-pixbuf) ; for load files with SVG extension.

; to load SVG files

or

; for loading SVG files

.

Gdk-pixbuf doesn't care whether they have a "SVG" filename extension or not (if you meant that).

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

* Re: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
  2016-11-18  6:01 [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input rennes
  2016-11-18  8:10 ` Danny Milosavljevic
@ 2016-11-18 20:19 ` Leo Famulari
  2016-11-19  3:10   ` rennes
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-11-18 20:19 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

On Fri, Nov 18, 2016 at 12:01:40AM -0600, rennes@openmailbox.org wrote:
> Hello,
> this patch allow to gnome-control-center to load images in SVG format.
> E.G. GNOME logo and Mouse & Touchpad settings image.
> 
> Thanks

> From 6aa42f1298bbd7b1582fb6894f9ebd1029b203a8 Mon Sep 17 00:00:00 2001
> From: Rene Saavedra <rennes@openmailbox.org>
> Date: Thu, 17 Nov 2016 23:48:11 -0600
> Subject: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
> 
> * gnu/packages/gnome.scm (gnome-control-center): Add gdk-pixbuf input.

I'm not a GNOME user. The issue is that the control center has missing
icons / logos because they are SVG files? I'm just trying to understand
the reason for the change.

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

* Re: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
  2016-11-18 20:19 ` Leo Famulari
@ 2016-11-19  3:10   ` rennes
  2016-11-19 15:38     ` Leo Famulari
  0 siblings, 1 reply; 5+ messages in thread
From: rennes @ 2016-11-19  3:10 UTC (permalink / raw)
  To: Leo Famulari, dannym; +Cc: guix-devel

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

Hello Leo, Danny.

On 2016-11-18 14:19, Leo Famulari wrote:
> 
> I'm not a GNOME user. The issue is that the control center has missing
> icons / logos because they are SVG files? I'm just trying to understand
> the reason for the change.

To find the issue with some pictures in control center, I debugging:

$ gnome-control-center -v
(gnome-control-center:4956): Gtk-WARNING **: Could not load a pixbuf 
from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be 
found.

After adding gdk-pixbuf to input, the pictures are displayed.
I attach pictures.

Thank you

[-- Attachment #2: with-gdk-pixbuf-01.png --]
[-- Type: image/png, Size: 45995 bytes --]

[-- Attachment #3: with-gdk-pixbuf-02.png --]
[-- Type: image/png, Size: 98126 bytes --]

[-- Attachment #4: without-gdk-pixbuf-01.png --]
[-- Type: image/png, Size: 32001 bytes --]

[-- Attachment #5: without-gdk-pixbuf-02.png --]
[-- Type: image/png, Size: 51695 bytes --]

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

* Re: [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input.
  2016-11-19  3:10   ` rennes
@ 2016-11-19 15:38     ` Leo Famulari
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Famulari @ 2016-11-19 15:38 UTC (permalink / raw)
  To: rennes; +Cc: guix-devel

On Fri, Nov 18, 2016 at 09:10:11PM -0600, rennes@openmailbox.org wrote:
> Hello Leo, Danny.
> 
> On 2016-11-18 14:19, Leo Famulari wrote:
> > 
> > I'm not a GNOME user. The issue is that the control center has missing
> > icons / logos because they are SVG files? I'm just trying to understand
> > the reason for the change.
> 
> To find the issue with some pictures in control center, I debugging:
> 
> $ gnome-control-center -v
> (gnome-control-center:4956): Gtk-WARNING **: Could not load a pixbuf from
> /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
> This may indicate that pixbuf loaders or the mime database could not be
> found.
> 
> After adding gdk-pixbuf to input, the pictures are displayed.
> I attach pictures.

Thanks for explaining! Pushed as 3446ffb57c229

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

end of thread, other threads:[~2016-11-19 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-18  6:01 [PATCH] gnu: gnome-control-center: Add gdk-pixbuf input rennes
2016-11-18  8:10 ` Danny Milosavljevic
2016-11-18 20:19 ` Leo Famulari
2016-11-19  3:10   ` rennes
2016-11-19 15:38     ` Leo Famulari

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).