1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

devel/libsigrok: Update to version 0.5.0.

This commit is contained in:
Boris Samorodov 2017-10-11 21:18:39 +00:00
parent e75e52dc41
commit 9f4550392d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451800
5 changed files with 25 additions and 22 deletions

View File

@ -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 library
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

View File

@ -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

View File

@ -1,12 +0,0 @@
--- ./hardware/victor-dmm/api.c.orig 2013-06-22 17:57:10.000000000 +0200
+++ ./hardware/victor-dmm/api.c 2013-06-22 17:57:36.000000000 +0200
@@ -379,8 +379,7 @@
}
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;
}

View File

@ -1,6 +1,6 @@
--- ./hardware/lascar-el-usb/protocol.c.orig 2013-06-22 17:57:14.000000000 +0200
+++ ./hardware/lascar-el-usb/protocol.c 2013-06-22 17:57:56.000000000 +0200
@@ -512,8 +512,7 @@
--- 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));

View File

@ -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