libfm: fix configure error if native vala is absent

(From OE-Core rev: 654e5468493d46d5529098ab5d78164a7545281e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2016-12-16 16:57:28 +02:00 committed by Richard Purdie
parent de43650c29
commit f032e229a3
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From 23c6e9df611c86a5e97079e1b88c7a18474bf0bc Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 16 Dec 2016 16:52:04 +0200
Subject: [PATCH] Correctly check the stamp file that indicates if we need to
re-build vala code
Upstream-Status: Pending
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index d043b3d..0e85590 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ AM_COND_IF(EXTRALIB_ONLY,
[enable_actions=no])
if test x"$enable_actions" = xyes; then
dnl no vala compiler required when sources are from dist tarball
- if test -f src/actions/libfmactions_la_vala.stamp; then
+ if test -f $srcdir/src/actions/libfmactions_la_vala.stamp; then
AM_PROG_VALAC
else
AM_PROG_VALAC([0.13.0])
--
2.10.2

View File

@ -11,7 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \
SECTION = "x11/libs"
DEPENDS = "glib-2.0 pango gtk+3 menu-cache intltool-native libexif libfm-extra gettext-native"
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \
file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch"
SRC_URI[md5sum] = "a1ba9ae5e920f38b647dd511edd6c807"
SRC_URI[sha256sum] = "c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a"