Bug 179853 - New port: devel/libsigrok
Summary: New port: devel/libsigrok
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-22 23:20 UTC by Uffe Jakobsen
Modified: 2013-12-30 23:50 UTC (History)
0 users

See Also:


Attachments
file.shar (12.57 KB, text/plain)
2013-06-22 23:20 UTC, Uffe Jakobsen
no flags Details
freebsd-port-libsigrok.shar.txt (3.68 KB, text/plain; charset=UTF-8)
2013-06-23 22:37 UTC, Uffe Jakobsen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2013-06-22 23:20:00 UTC
New port: devel/libsigrok

The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that supports
various device types, such as logic analyzers, MSOs, oscilloscopes,
multimeters, LCR meters, sound level meters, thermometers, 
hygrometers, anemometers, light meters, DAQs, dataloggers, 
function generators, spectrum analyzers, power supplies,
GPIB interfaces, and more. 

WWW: http://sigrok.org/

Fix: Patch attached with submission follows:
Comment 1 Uffe Jakobsen 2013-06-23 22:37:32 UTC
Doh - wrong pkg-plist - New shar attached to this email

/Uffe
Comment 2 Uffe Jakobsen 2013-07-08 15:17:06 UTC
ping ?
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2013-07-14 15:28:52 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

I'll take it.
Comment 4 Uffe Jakobsen 2013-08-12 20:50:28 UTC
Any news on this one ?

If there is something wrong with this port - then please let me know.
Comment 5 Uffe Jakobsen 2013-08-25 21:15:52 UTC
This port have now passed two months in ports-limbo...

If there is something wrong with this port I would really like to know.
Comment 6 Max Brazhnikov freebsd_committer freebsd_triage 2013-08-26 10:05:37 UTC
Responsible Changed
From-To: makc->freebsd-ports-bugs

Return all PR assigned to me to the pool.
Comment 7 Uffe Jakobsen 2013-09-24 21:52:40 UTC
This port have now passed 3 months in ports-limbo...   :-(

If there is something wrong with this port I would really like to know.
Comment 8 Uffe Jakobsen 2013-10-16 12:48:30 UTC
ping ???
Comment 9 Jason Helfman freebsd_committer freebsd_triage 2013-12-30 18:53:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 10 dfilter service freebsd_committer freebsd_triage 2013-12-30 23:46:40 UTC
Author: jgh
Date: Mon Dec 30 23:46:31 2013
New Revision: 338197
URL: http://svnweb.freebsd.org/changeset/ports/338197

Log:
  The sigrok project aims at creating a portable, cross-platform,
  Free/Libre/Open-Source signal analysis software suite that supports
  various device types, such as logic analyzers, MSOs, oscilloscopes,
  multimeters, LCR meters, sound level meters, thermometers,
  hygrometers, anemometers, light meters, DAQs, dataloggers,
  function generators, spectrum analyzers, power supplies,
  GPIB interfaces, and more.
  
  WWW: http://sigrok.org/
  
  PR:		ports/179853
  Submitted by:	Uffe Jakobsen <uffe@uffe.org>

Added:
  head/devel/libsigrok/
  head/devel/libsigrok/Makefile   (contents, props changed)
  head/devel/libsigrok/distinfo   (contents, props changed)
  head/devel/libsigrok/files/
  head/devel/libsigrok/files/patch-hardware-lascar-el-usb-protocol.c   (contents, props changed)
  head/devel/libsigrok/files/patch-hardware-victor-dmm-api.c   (contents, props changed)
  head/devel/libsigrok/pkg-descr   (contents, props changed)
  head/devel/libsigrok/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Dec 30 23:37:14 2013	(r338196)
+++ head/devel/Makefile	Mon Dec 30 23:46:31 2013	(r338197)
@@ -1091,6 +1091,7 @@
     SUBDIR += libsigc++12
     SUBDIR += libsigc++20
     SUBDIR += libsigcx
+    SUBDIR += libsigrok
     SUBDIR += libsigsegv
     SUBDIR += libslang2
     SUBDIR += libslave

Added: head/devel/libsigrok/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/Makefile	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,28 @@
+# Created by: Uffe Jakobsen <uffe@uffe.org>
+# $FreeBSD$
+
+PORTNAME=	libsigrok
+PORTVERSION=	0.2.0
+CATEGORIES=	devel
+MASTER_SITES=	http://sigrok.org/download/source/libsigrok/
+
+MAINTAINER=	uffe@uffe.org
+COMMENT=	Framework for hardware logic analyzers, core library
+
+LICENSE=	GPLv3
+
+LIB_DEPENDS=	libzip.so:${PORTSDIR}/archivers/libzip
+
+GNU_CONFIGURE=	yes
+USES=	gmake pkgconfig pathfix
+USE_GNOME=	gtk20
+MAKE_JOBS_UNSAFE=	yes
+USE_LDCONFIG=	yes
+
+# Workaround for libusb not knowing LIBUSB_CLASS_APPLICATION
+CFLAGS+=	-DLIBUSB_CLASS_APPLICATION=0xfe
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsigrok.so
+
+.include <bsd.port.mk>

Added: head/devel/libsigrok/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/distinfo	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,2 @@
+SHA256 (libsigrok-0.2.0.tar.gz) = 25b7930b7f5f0c3f8a8151e511cbffb97985f365fce338bb66f7bf111243b1de
+SIZE (libsigrok-0.2.0.tar.gz) = 852744

Added: head/devel/libsigrok/files/patch-hardware-lascar-el-usb-protocol.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/files/patch-hardware-lascar-el-usb-protocol.c	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,12 @@
+--- ./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 @@
+ 	}
+ 
+ 	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;
+ }

Added: head/devel/libsigrok/files/patch-hardware-victor-dmm-api.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/files/patch-hardware-victor-dmm-api.c	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,12 @@
+--- ./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;
+ }

Added: head/devel/libsigrok/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/pkg-descr	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,9 @@
+The sigrok project aims at creating a portable, cross-platform,
+Free/Libre/Open-Source signal analysis software suite that supports
+various device types, such as logic analyzers, MSOs, oscilloscopes,
+multimeters, LCR meters, sound level meters, thermometers, 
+hygrometers, anemometers, light meters, DAQs, dataloggers, 
+function generators, spectrum analyzers, power supplies,
+GPIB interfaces, and more. 
+
+WWW: http://sigrok.org/

Added: head/devel/libsigrok/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libsigrok/pkg-plist	Mon Dec 30 23:46:31 2013	(r338197)
@@ -0,0 +1,9 @@
+include/libsigrok/libsigrok.h
+include/libsigrok/proto.h
+include/libsigrok/version.h
+lib/libsigrok.a
+lib/libsigrok.la
+lib/libsigrok.so
+lib/libsigrok.so.1
+libdata/pkgconfig/libsigrok.pc
+@dirrm include/libsigrok
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 11 Jason Helfman freebsd_committer freebsd_triage 2013-12-30 23:46:50 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!