FreeBSD Bugzilla – Attachment 181773 Details for
Bug 215907
[NEW PORT] devel/libaravis: glib/gobject based library for video acquisition using Genicam cameras
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update to 0.5.8
libaravis.patch (text/plain), 9.12 KB, created by
Ivan Rozhuk
on 2017-04-14 01:51:16 UTC
(
hide
)
Description:
update to 0.5.8
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-04-14 01:51:16 UTC
Size:
9.12 KB
patch
obsolete
>Index: devel/libaravis/Makefile >=================================================================== >--- devel/libaravis/Makefile (nonexistent) >+++ devel/libaravis/Makefile (working copy) >@@ -0,0 +1,55 @@ >+# Created by: Rozhuk Ivan >+# $FreeBSD$ >+ >+PORTNAME= libaravis >+PORTVERSION= 0.5.6 >+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= edb3a8ba255c8b7301782a4b9e7e8b9564320999 >+ >+CONFLICTS_INSTALL= ${PORTNAME}* >+DOCSDIR= ${PREFIX}/share/doc/aravis/aravis-0.6 >+ >+USE_GNOME= glib20 intltool >+LIB_DEPENDS+= libxml2.so:textproc/libxml2 >+ >+USES= pkgconfig autoreconf libtool gmake >+USE_LDCONFIG= yes >+USE_AUTOTOOLS= autoconf aclocal autoheader >+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> >Index: devel/libaravis/distinfo >=================================================================== >--- devel/libaravis/distinfo (nonexistent) >+++ devel/libaravis/distinfo (working copy) >@@ -0,0 +1,2 @@ >+SHA256 (AravisProject-aravis-0.5.6-edb3a8ba255c8b7301782a4b9e7e8b9564320999_GH0.tar.gz) = d6c75dd2ceabbb2b143d5e4c8dbca8e9be0808bd9febde0ee12c89e6321bf961 >+SIZE (AravisProject-aravis-0.5.6-edb3a8ba255c8b7301782a4b9e7e8b9564320999_GH0.tar.gz) = 2359115 >Index: devel/libaravis/files/patch-src_arvgvdevice.c >=================================================================== >--- devel/libaravis/files/patch-src_arvgvdevice.c (nonexistent) >+++ devel/libaravis/files/patch-src_arvgvdevice.c (working copy) >@@ -0,0 +1,26 @@ >+--- src/arvgvdevice.c.orig 2016-10-21 08:48:32 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,7 +38,14 @@ >+ #include <arvenumtypes.h> >+ #include <string.h> >+ #include <stdlib.h> >++#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; >Index: devel/libaravis/files/patch-src_arvgvinterface.c >=================================================================== >--- devel/libaravis/files/patch-src_arvgvinterface.c (nonexistent) >+++ devel/libaravis/files/patch-src_arvgvinterface.c (working copy) >@@ -0,0 +1,10 @@ >+--- src/arvgvinterface.c.orig 2016-10-21 08:48:32 UTC >++++ src/arvgvinterface.c >+@@ -37,6 +37,7 @@ >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <net/if.h> >++#include <netinet/in.h> >+ #include <ifaddrs.h> >+ #include <stdlib.h> >+ #include <string.h> >Index: devel/libaravis/files/patch-src_arvrealtime.c >=================================================================== >--- devel/libaravis/files/patch-src_arvrealtime.c (nonexistent) >+++ devel/libaravis/files/patch-src_arvrealtime.c (working copy) >@@ -0,0 +1,24 @@ >+--- src/arvrealtime.c.orig 2016-10-21 08:48:32 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 >+ } >+ >+ /** >Index: devel/libaravis/pkg-descr >=================================================================== >--- devel/libaravis/pkg-descr (nonexistent) >+++ devel/libaravis/pkg-descr (working copy) >@@ -0,0 +1,10 @@ >+Aravis >+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 >Index: devel/libaravis/pkg-message >=================================================================== >--- devel/libaravis/pkg-message (nonexistent) >+++ devel/libaravis/pkg-message (working copy) >@@ -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. >Index: devel/libaravis/pkg-plist >=================================================================== >--- devel/libaravis/pkg-plist (nonexistent) >+++ devel/libaravis/pkg-plist (working copy) >@@ -0,0 +1,101 @@ >+bin/arv-fake-gv-camera-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/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/arvversion.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 >+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >+%%PORTDOCS%%%%DOCSDIR%%/COPYING >+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >+%%PORTDOCS%%%%DOCSDIR%%/NEWS >+%%PORTDOCS%%%%DOCSDIR%%/README.md >+share/gir-1.0/Aravis-0.6.gir >+%%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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215907
:
178666
|
181773
|
181775
|
181800