From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Fix libgnomeprint Date: Fri, 13 Mar 2015 09:35:16 +0100 Message-ID: <87a8zhjnwb.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWL42-0002WQ-4z for guix-devel@gnu.org; Fri, 13 Mar 2015 04:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWL3y-00087G-Rz for guix-devel@gnu.org; Fri, 13 Mar 2015 04:35:26 -0400 Received: from sender1.zohomail.com ([74.201.84.155]:29028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWL3y-000870-Kd for guix-devel@gnu.org; Fri, 13 Mar 2015 04:35:22 -0400 Content-Disposition: inline; filename=0001-gnu-libgnomeprint-adapt-to-newer-freetype.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From e3f37c56590bbb612afedc250ad9ca95d6ba26f8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus 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