unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Fix libgnomeprint
@ 2015-03-13  8:35 Ricardo Wurmus
  2015-03-13  8:50 ` Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-03-13  8:35 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-libgnomeprint-adapt-to-newer-freetype.patch --]
[-- Type: text/x-patch, Size: 1345 bytes --]

From e3f37c56590bbb612afedc250ad9ca95d6ba26f8 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Fri, 13 Mar 2015 09:33:33 +0100
Subject: [PATCH] gnu: libgnomeprint: adapt to newer freetype.

* gnu/packages/gnome.scm (freetype): Change "freetype" to "freetype2" in
  snippet.
---
 gnu/packages/gnome.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 071c29e..4374450 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -1089,7 +1089,14 @@ widgets built in the loading process.")
                                   name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))))
+                "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Adapt to newer freetype. As the package is deprecated, there
+               ;; is no use in creating a patch and reporting it.
+               '(substitute* '("libgnomeprint/gnome-font-face.c"
+                               "libgnomeprint/gnome-rfont.c")
+                  (("freetype/") "freetype2/")))))
     (build-system gnu-build-system)
     (inputs
      `(("popt" ,popt)
-- 
2.1.0

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

* Re: [PATCH] Fix libgnomeprint
  2015-03-13  8:35 [PATCH] Fix libgnomeprint Ricardo Wurmus
@ 2015-03-13  8:50 ` Andreas Enge
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Enge @ 2015-03-13  8:50 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Good, please push!

Andreas

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

end of thread, other threads:[~2015-03-13  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13  8:35 [PATCH] Fix libgnomeprint Ricardo Wurmus
2015-03-13  8:50 ` Andreas Enge

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).