public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-base/librsvg/files: librsvg-2.40.2-vala-out-of-source.patch
@ 2014-06-18  8:05 Michal Gorny (mgorny)
  0 siblings, 0 replies; only message in thread
From: Michal Gorny (mgorny) @ 2014-06-18  8:05 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/06/18 08:05:25

  Added:                librsvg-2.40.2-vala-out-of-source.patch
  Log:
  Fix vala sources out-of-source build, bug #513652.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.1                  gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/librsvg/files/librsvg-2.40.2-vala-out-of-source.patch?rev=1.1&content-type=text/plain

Index: librsvg-2.40.2-vala-out-of-source.patch
===================================================================
From bf4da5524d50e1068f851bcbe50c8f8ae1948d73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 18 Jun 2014 09:44:51 +0200
Subject: [PATCH] build: Fix building .vapi out-of-source.

Rsvg-2.0-custom.vala file resides in $(srcdir), and therefore full path
needs to be given to vapigen. Otherwise, the build fails when build is
performed out-of-source.
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index e881100..dc6b0c9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -257,7 +257,7 @@ VAPIGEN_VAPIS = librsvg-$(RSVG_API_VERSION).vapi
 
 librsvg_@RSVG_API_VERSION_U@_vapi_DEPS = gio-2.0 cairo
 librsvg_@RSVG_API_VERSION_U@_vapi_METADATADIRS = $(srcdir)
-librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir Rsvg-$(RSVG_API_VERSION)-custom.vala
+librsvg_@RSVG_API_VERSION_U@_vapi_FILES = Rsvg-$(RSVG_API_VERSION).gir $(srcdir)/Rsvg-$(RSVG_API_VERSION)-custom.vala
 
 vapidir = $(datadir)/vala/vapi
 vapi_DATA = $(VAPIGEN_VAPIS)
-- 
2.0.0






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-18  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18  8:05 [gentoo-commits] gentoo-x86 commit in gnome-base/librsvg/files: librsvg-2.40.2-vala-out-of-source.patch Michal Gorny (mgorny)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox