Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2017 09:46:05 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438683 - in head/devel: . libaravis libaravis/files
Message-ID:  <201704170946.v3H9k5s7026150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Mon Apr 17 09:46:04 2017
New Revision: 438683
URL: https://svnweb.freebsd.org/changeset/ports/438683

Log:
  New port: devel/libaravis: glib/gobject based library for video acquisition using Genicam cameras
  
  Aravis is a glib/gobject based library for video acquisition using
  Genicam cameras.
  
  It currently implements the gigabit ethernet and USB3 (Since Aravis
  0.5.x) protocols used by industrial cameras. It also provides a
  basic ethernet camera simulator and a simple video viewer.
  
  WWW: https://github.com/AravisProject/aravis
  
  PR:		215907
  Submitted by:	rozhuk.im@gmail.com

Added:
  head/devel/libaravis/
  head/devel/libaravis/Makefile   (contents, props changed)
  head/devel/libaravis/distinfo   (contents, props changed)
  head/devel/libaravis/files/
  head/devel/libaravis/files/patch-src_arvgvdevice.c   (contents, props changed)
  head/devel/libaravis/files/patch-src_arvgvinterface.c   (contents, props changed)
  head/devel/libaravis/files/patch-src_arvrealtime.c   (contents, props changed)
  head/devel/libaravis/pkg-descr   (contents, props changed)
  head/devel/libaravis/pkg-message   (contents, props changed)
  head/devel/libaravis/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Apr 17 09:05:02 2017	(r438682)
+++ head/devel/Makefile	Mon Apr 17 09:46:04 2017	(r438683)
@@ -1229,6 +1229,7 @@
     SUBDIR += libafterbase
     SUBDIR += liballium
     SUBDIR += libantlr3c
+    SUBDIR += libaravis
     SUBDIR += libarea
     SUBDIR += libarena
     SUBDIR += libassa

Added: head/devel/libaravis/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/Makefile	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,56 @@
+# Created by: Rozhuk Ivan
+# $FreeBSD$
+
+PORTNAME=		libaravis
+PORTVERSION=		0.5.8
+CATEGORIES=		devel
+
+MAINTAINER=		rozhuk.im@gmail.com
+COMMENT=		Camera control and image acquisition library
+
+LICENSE=		LGPL21+
+
+USE_GITHUB=		yes
+GH_ACCOUNT=		AravisProject
+GH_PROJECT=		aravis
+GH_TAGNAME=		1b67490cf9c18d3ff3aa023054d79302726e5a66
+
+CONFLICTS_INSTALL=	${PORTNAME}*
+DOCSDIR=		${PREFIX}/share/doc/aravis/aravis-0.6
+
+USE_GNOME=		glib20 intltool
+LIB_DEPENDS+=		libxml2.so:textproc/libxml2 \
+			libgirepository-1.0.so:devel/gobject-introspection
+
+USES=			pkgconfig autoreconf libtool gmake
+USE_LDCONFIG=		yes
+GNU_CONFIGURE=		yes
+AUTOMAKE_ARGS=		--add-missing --copy
+MAKE_ARGS=		pkgconfigdir="${PREFIX}/libdata/pkgconfig"
+
+OPTIONS_DEFINE=		DOCS NLS FAST_HEARTBEAT USB
+OPTIONS_DEFAULT=	NLS USB
+OPTIONS_SUB=		yes
+
+CONFIGURE_ARGS=		--enable-packet-socket=no --enable-viewer=no	\
+			--enable-gst-plugin=no --enable-gst-0.10-plugin=no \
+			--enable-cpp-test=no --enable-zlib-pc=yes
+
+NLS_USES=		gettext
+
+FAST_HEARTBEAT_DESC=	build with extremely fast heartbeat
+FAST_HEARTBEAT_CONFIGURE_ENABLE=	fast-heartbeat
+
+USB_DESC=		build with USB support
+USB_CONFIGURE_ENABLE=	usb
+
+.include <bsd.port.options.mk>
+
+pre-configure:
+	${ECHO_CMD} "EXTRA_DIST =" >> ${WRKSRC}/gtk-doc.make
+	@${REINPLACE_CMD} -e 's|GTK_DOC_CHECK(\[1.14\],\[--flavour no-tmpl\])||' \
+		${WRKSRC}/configure.ac
+	@${REINPLACE_CMD} -e 's|SUBDIRS += tests po docs|SUBDIRS += po docs|' \
+		${WRKSRC}/Makefile.am
+
+.include <bsd.port.mk>

Added: head/devel/libaravis/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/distinfo	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1492422334
+SHA256 (AravisProject-aravis-0.5.8-1b67490cf9c18d3ff3aa023054d79302726e5a66_GH0.tar.gz) = 70e5a3544e8802478cac37ad0e7020575951eaa1cc7fd8d4f1bfbf548e06d2c4
+SIZE (AravisProject-aravis-0.5.8-1b67490cf9c18d3ff3aa023054d79302726e5a66_GH0.tar.gz) = 2475392

Added: head/devel/libaravis/files/patch-src_arvgvdevice.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/files/patch-src_arvgvdevice.c	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,27 @@
+--- src/arvgvdevice.c.orig	2017-04-10 13:30:09 UTC
++++ src/arvgvdevice.c
+@@ -20,6 +20,8 @@
+  * @short_description: GigEVision device
+  */
+ 
++#include <sys/param.h>
++
+ #include <arvgvdeviceprivate.h>
+ #include <arvdeviceprivate.h>
+ #include <arvgc.h>
+@@ -36,9 +38,14 @@
+ #include <arvenumtypes.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#ifndef __APPLE__
++#ifdef __linux__
+ #include <linux/ip.h>
+ #endif
++#ifdef BSD
++#include <netinet/in.h>
++#include <netinet/ip.h>
++#define iphdr	ip
++#endif
+ #include <netinet/udp.h>
+ 
+ static GObjectClass *parent_class = NULL;

Added: head/devel/libaravis/files/patch-src_arvgvinterface.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/files/patch-src_arvgvinterface.c	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,10 @@
+--- src/arvgvinterface.c.orig	2017-04-10 13:30:09 UTC
++++ src/arvgvinterface.c
+@@ -38,6 +38,7 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <net/if.h>
++#include <netinet/in.h>
+ #include <netdb.h>
+ #include <ifaddrs.h>
+ #include <stdlib.h>

Added: head/devel/libaravis/files/patch-src_arvrealtime.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/files/patch-src_arvrealtime.c	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,24 @@
+--- src/arvrealtime.c.orig	2017-04-10 13:30:09 UTC
++++ src/arvrealtime.c
+@@ -27,6 +27,8 @@
+ 
+ ***/
+ 
++#include <sys/param.h>
++
+ #include <arvrealtimeprivate.h>
+ #include <arvdebug.h>
+ #include <memory.h>
+@@ -219,7 +221,12 @@ arv_rtkit_make_high_priority (GDBusConne
+ #endif
+ 
+ static pid_t _gettid(void) {
++#ifdef __linux__
+         return (pid_t) syscall(SYS_gettid);
++#endif
++#ifdef BSD
++        return (pid_t) pthread_self();
++#endif
+ }
+ 
+ /**

Added: head/devel/libaravis/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/pkg-descr	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,8 @@
+Aravis is a glib/gobject based library for video acquisition using
+Genicam cameras.
+
+It currently implements the gigabit ethernet and USB3 (Since Aravis
+0.5.x) protocols used by industrial cameras. It also provides a
+basic ethernet camera simulator and a simple video viewer.
+
+WWW: https://github.com/AravisProject/aravis

Added: head/devel/libaravis/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/pkg-message	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,10 @@
+Aravis require broadcast to find devices.
+
+Dont forget run:
+# route add 255.255.255.255 -iface lan0
+
+or add in rc.conf
+static_routes="bcast:lan0"
+route_bcast="255.255.255.255 -iface lan0"
+
+where lan0 - network interface name.

Added: head/devel/libaravis/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libaravis/pkg-plist	Mon Apr 17 09:46:04 2017	(r438683)
@@ -0,0 +1,109 @@
+bin/arv-fake-gv-camera-0.6
+bin/arv-test-0.6
+bin/arv-tool-0.6
+include/aravis-0.6/arv.h
+include/aravis-0.6/arvbuffer.h
+include/aravis-0.6/arvcamera.h
+include/aravis-0.6/arvchunkparser.h
+include/aravis-0.6/arvdebug.h
+include/aravis-0.6/arvdevice.h
+include/aravis-0.6/arvdomcharacterdata.h
+include/aravis-0.6/arvdomdocument.h
+include/aravis-0.6/arvdomdocumentfragment.h
+include/aravis-0.6/arvdomelement.h
+include/aravis-0.6/arvdomimplementation.h
+include/aravis-0.6/arvdomnamednodemap.h
+include/aravis-0.6/arvdomnode.h
+include/aravis-0.6/arvdomnodelist.h
+include/aravis-0.6/arvdomparser.h
+include/aravis-0.6/arvdomtext.h
+include/aravis-0.6/arvenums.h
+include/aravis-0.6/arvenumtypes.h
+include/aravis-0.6/arvevaluator.h
+include/aravis-0.6/arvfakecamera.h
+include/aravis-0.6/arvfakedevice.h
+include/aravis-0.6/arvfakeinterface.h
+include/aravis-0.6/arvfakestream.h
+include/aravis-0.6/arvfeatures.h
+include/aravis-0.6/arvgc.h
+include/aravis-0.6/arvgcboolean.h
+include/aravis-0.6/arvgccategory.h
+include/aravis-0.6/arvgccommand.h
+include/aravis-0.6/arvgcconverter.h
+include/aravis-0.6/arvgcenumentry.h
+include/aravis-0.6/arvgcenumeration.h
+include/aravis-0.6/arvgcfeaturenode.h
+include/aravis-0.6/arvgcfloat.h
+include/aravis-0.6/arvgcfloatnode.h
+include/aravis-0.6/arvgcgroupnode.h
+include/aravis-0.6/arvgcindexnode.h
+include/aravis-0.6/arvgcinteger.h
+include/aravis-0.6/arvgcintegernode.h
+include/aravis-0.6/arvgcinvalidatornode.h
+include/aravis-0.6/arvgcnode.h
+include/aravis-0.6/arvgcport.h
+include/aravis-0.6/arvgcpropertynode.h
+include/aravis-0.6/arvgcregister.h
+include/aravis-0.6/arvgcregisterdescriptionnode.h
+include/aravis-0.6/arvgcregisternode.h
+include/aravis-0.6/arvgcstring.h
+include/aravis-0.6/arvgcstructentrynode.h
+include/aravis-0.6/arvgcswissknife.h
+include/aravis-0.6/arvgvcp.h
+include/aravis-0.6/arvgvdevice.h
+include/aravis-0.6/arvgvfakecamera.h
+include/aravis-0.6/arvgvinterface.h
+include/aravis-0.6/arvgvsp.h
+include/aravis-0.6/arvgvstream.h
+include/aravis-0.6/arvinterface.h
+include/aravis-0.6/arvmisc.h
+include/aravis-0.6/arvrealtime.h
+include/aravis-0.6/arvstr.h
+include/aravis-0.6/arvstream.h
+include/aravis-0.6/arvsystem.h
+include/aravis-0.6/arvtypes.h
+include/aravis-0.6/arvuvcp.h
+include/aravis-0.6/arvuvdevice.h
+include/aravis-0.6/arvuvinterface.h
+include/aravis-0.6/arvuvsp.h
+include/aravis-0.6/arvuvstream.h
+include/aravis-0.6/arvversion.h
+include/aravis-0.6/arvxmlschema.h
+include/aravis-0.6/arvzip.h
+lib/girepository-1.0/Aravis-0.6.typelib
+lib/libaravis-0.6.a
+lib/libaravis-0.6.so
+lib/libaravis-0.6.so.0
+lib/libaravis-0.6.so.0.0.0
+libdata/pkgconfig/aravis-0.6.pc
+share/aravis-0.6/arv-fake-camera.xml
+share/gir-1.0/Aravis-0.6.gir
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README.md
+%%NLS%%share/locale/bs/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/da/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/de/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/el/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/es/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/id/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/sr@latin/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/aravis-0.6.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/aravis-0.6.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704170946.v3H9k5s7026150>