Hi,

The librevisa release (0.0.20130812) that libsigrok checks for - it only exists for debian. There is no official release on the librevisa website with that version. The latest official release on the website is 0.0.20130412

I'd like to purpose this patch - it changes the librevisa minimum version to 0.0.20130412 - that will enable the rest of the world to play along with librevisa - and not just debian.

Kind regards Uffe
>From 78c4c7ef5e5cdfee8df7726a6e724df8b5eafd2d Mon Sep 17 00:00:00 2001
From: Uffe Jakobsen <u...@uffe.org>
Date: Fri, 23 Jan 2015 23:55:14 +0100
Subject: [PATCH] Check for librevisa >= 0.0.20130412 - the latest official
 release

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index d2340be..b0db86f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -302,7 +302,7 @@ fi
 AM_CONDITIONAL(NEED_SERIAL, test "x$have_libserialport" != xno)
 
 # The VISA SCPI backend is only compiled in if librevisa was found.
-PKG_CHECK_MODULES([librevisa], [librevisa >= 0.0.20130812],
+PKG_CHECK_MODULES([librevisa], [librevisa >= 0.0.20130412],
 	[have_librevisa="yes"; LIB_CFLAGS="$LIB_CFLAGS $librevisa_CFLAGS";
 	LIBS="$LIBS $librevisa_LIBS";
 	SR_PKGLIBS="$SR_PKGLIBS librevisa"],
@@ -555,7 +555,7 @@ echo
 
 # Note: This only works for libs with pkg-config integration.
 for lib in "glib-2.0 >= 2.34.0" "libzip >= 0.10" "libserialport >= 0.2.0" \
-	"librevisa >= 0.0.20130812" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" \
+	"librevisa >= 0.0.20130412" "libusb-1.0 >= 1.0.16" "libftdi >= 0.16" \
 	"libftdi1 >= 1.0" "libgpib" "glibmm-2.4 >= 2.32.0" \
 	"pygobject-3.0 >= 3.0.0" "check >= 0.9.4"
 do
-- 
2.2.2

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to