svn commit: r451800 - in head/devel/libsigrok: . files
Boris Samorodov
bsam at FreeBSD.org
Wed Oct 11 21:18:40 UTC 2017
Author: bsam
Date: Wed Oct 11 21:18:39 2017
New Revision: 451800
URL: https://svnweb.freebsd.org/changeset/ports/451800
Log:
devel/libsigrok: Update to version 0.5.0.
Added:
head/devel/libsigrok/files/patch-src_hardware_lascar-el-usb_protocol.c (contents, props changed)
Deleted:
head/devel/libsigrok/files/patch-hardware-lascar-el-usb-protocol.c
head/devel/libsigrok/files/patch-hardware-victor-dmm-api.c
Modified:
head/devel/libsigrok/Makefile
head/devel/libsigrok/distinfo
head/devel/libsigrok/pkg-plist
Modified: head/devel/libsigrok/Makefile
==============================================================================
--- head/devel/libsigrok/Makefile Wed Oct 11 21:01:34 2017 (r451799)
+++ head/devel/libsigrok/Makefile Wed Oct 11 21:18:39 2017 (r451800)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libsigrok
-PORTVERSION= 0.3.0
-PORTREVISION= 2
+PORTVERSION= 0.5.0
CATEGORIES= devel
MASTER_SITES= http://sigrok.org/download/source/libsigrok/
@@ -12,7 +11,10 @@ COMMENT= Framework for hardware logic analyzers, core
LICENSE= GPLv3
-LIB_DEPENDS= libserialport.so:devel/libserialport \
+BUILD_DEPENDS= doxygen:devel/doxygen
+LIB_DEPENDS= libftdi1.so:devel/libftdi1 \
+ libserialport.so:devel/libserialport \
+ libvisa.so:devel/librevisa \
libzip.so:archivers/libzip
GNU_CONFIGURE= yes
@@ -21,6 +23,8 @@ USE_GNOME= glib20
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
+USE_GNOME= glibmm
+INSTALLS_ICONS= yes
post-patch:
# libusb can be disabled via src.conf(5), so detect via pkg-config
Modified: head/devel/libsigrok/distinfo
==============================================================================
--- head/devel/libsigrok/distinfo Wed Oct 11 21:01:34 2017 (r451799)
+++ head/devel/libsigrok/distinfo Wed Oct 11 21:18:39 2017 (r451800)
@@ -1,2 +1,3 @@
-SHA256 (libsigrok-0.3.0.tar.gz) = 43926907a06f1d7aa73c68ae379d66412ac2728483eed7d20a8cf061f73f7050
-SIZE (libsigrok-0.3.0.tar.gz) = 924503
+TIMESTAMP = 1507555128
+SHA256 (libsigrok-0.5.0.tar.gz) = 4c8c86779b880a5c419f6c77a08b1147021e5a19fa83b0f3b19da27463c9f3a4
+SIZE (libsigrok-0.5.0.tar.gz) = 1560400
Added: head/devel/libsigrok/files/patch-src_hardware_lascar-el-usb_protocol.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libsigrok/files/patch-src_hardware_lascar-el-usb_protocol.c Wed Oct 11 21:18:39 2017 (r451800)
@@ -0,0 +1,12 @@
+--- src/hardware/lascar-el-usb/protocol.c.orig 2017-06-12 01:07:28 UTC
++++ src/hardware/lascar-el-usb/protocol.c
+@@ -508,8 +508,7 @@ SR_PRIV int lascar_el_usb_handle_events(int fd, int re
+ }
+
+ memset(&tv, 0, sizeof(struct timeval));
+- libusb_handle_events_timeout_completed(drvc->sr_ctx->libusb_ctx, &tv,
+- NULL);
++ libusb_handle_events_timeout(drvc->sr_ctx->libusb_ctx, &tv);
+
+ return TRUE;
+ }
Modified: head/devel/libsigrok/pkg-plist
==============================================================================
--- head/devel/libsigrok/pkg-plist Wed Oct 11 21:01:34 2017 (r451799)
+++ head/devel/libsigrok/pkg-plist Wed Oct 11 21:18:39 2017 (r451800)
@@ -1,8 +1,18 @@
include/libsigrok/libsigrok.h
include/libsigrok/proto.h
include/libsigrok/version.h
+include/libsigrokcxx/enums.hpp
+include/libsigrokcxx/libsigrokcxx.hpp
lib/libsigrok.a
lib/libsigrok.so
-lib/libsigrok.so.2
-lib/libsigrok.so.2.0.0
+lib/libsigrok.so.4
+lib/libsigrok.so.4.0.0
+lib/libsigrokcxx.a
+lib/libsigrokcxx.so
+lib/libsigrokcxx.so.4
+lib/libsigrokcxx.so.4.0.0
libdata/pkgconfig/libsigrok.pc
+libdata/pkgconfig/libsigrokcxx.pc
+share/icons/hicolor/48x48/mimetypes/libsigrok.png
+share/icons/hicolor/scalable/mimetypes/libsigrok.svg
+share/mime/application/vnd.sigrok.session.xml
More information about the svn-ports-head
mailing list