View | Details | Raw Unified | Return to bug 215907 | Differences between
and this patch

Collapse All | Expand All

(-)devel/libaravis/Makefile (+55 lines)
Line 0 Link Here
1
# Created by: Rozhuk Ivan
2
# $FreeBSD$
3
4
PORTNAME=		libaravis
5
PORTVERSION=		0.5.6
6
CATEGORIES=		devel
7
8
MAINTAINER=		rozhuk.im@gmail.com
9
COMMENT=		Camera control and image acquisition library
10
11
LICENSE=		LGPL21+
12
13
USE_GITHUB=		yes
14
GH_ACCOUNT=		AravisProject
15
GH_PROJECT=		aravis
16
GH_TAGNAME=		edb3a8ba255c8b7301782a4b9e7e8b9564320999
17
18
CONFLICTS_INSTALL=	${PORTNAME}*
19
DOCSDIR=		${PREFIX}/share/doc/aravis/aravis-0.6
20
21
USE_GNOME=		glib20 intltool
22
LIB_DEPENDS+=		libxml2.so:textproc/libxml2
23
24
USES=			pkgconfig autoreconf libtool gmake
25
USE_LDCONFIG=		yes
26
USE_AUTOTOOLS=		autoconf aclocal autoheader
27
AUTOMAKE_ARGS=		--add-missing --copy
28
MAKE_ARGS=		pkgconfigdir="${PREFIX}/libdata/pkgconfig"
29
30
OPTIONS_DEFINE=		DOCS NLS FAST_HEARTBEAT USB
31
OPTIONS_DEFAULT=	NLS USB
32
OPTIONS_SUB=		yes
33
34
CONFIGURE_ARGS=		--enable-packet-socket=no --enable-viewer=no	\
35
			--enable-gst-plugin=no --enable-gst-0.10-plugin=no \
36
			--enable-cpp-test=no --enable-zlib-pc=yes
37
38
NLS_USES=		gettext
39
40
FAST_HEARTBEAT_DESC=	build with extremely fast heartbeat
41
FAST_HEARTBEAT_CONFIGURE_ENABLE=	fast-heartbeat
42
43
USB_DESC=		build with USB support
44
USB_CONFIGURE_ENABLE=	usb
45
46
.include <bsd.port.options.mk>
47
48
pre-configure:
49
	${ECHO_CMD} "EXTRA_DIST =" >> ${WRKSRC}/gtk-doc.make
50
	@${REINPLACE_CMD} -e 's|GTK_DOC_CHECK(\[1.14\],\[--flavour no-tmpl\])||' \
51
		${WRKSRC}/configure.ac
52
	@${REINPLACE_CMD} -e 's|SUBDIRS += tests po docs|SUBDIRS += po docs|' \
53
		${WRKSRC}/Makefile.am
54
55
.include <bsd.port.mk>
(-)devel/libaravis/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (AravisProject-aravis-0.5.6-edb3a8ba255c8b7301782a4b9e7e8b9564320999_GH0.tar.gz) = d6c75dd2ceabbb2b143d5e4c8dbca8e9be0808bd9febde0ee12c89e6321bf961
2
SIZE (AravisProject-aravis-0.5.6-edb3a8ba255c8b7301782a4b9e7e8b9564320999_GH0.tar.gz) = 2359115
(-)devel/libaravis/files/patch-src_arvgvdevice.c (+26 lines)
Line 0 Link Here
1
--- src/arvgvdevice.c.orig	2016-10-21 08:48:32 UTC
2
+++ src/arvgvdevice.c
3
@@ -20,6 +20,8 @@
4
  * @short_description: GigEVision device
5
  */
6
 
7
+#include <sys/param.h>
8
+
9
 #include <arvgvdeviceprivate.h>
10
 #include <arvdeviceprivate.h>
11
 #include <arvgc.h>
12
@@ -36,7 +38,14 @@
13
 #include <arvenumtypes.h>
14
 #include <string.h>
15
 #include <stdlib.h>
16
+#ifdef __linux__
17
 #include <linux/ip.h>
18
+#endif
19
+#ifdef BSD
20
+#include <netinet/in.h>
21
+#include <netinet/ip.h>
22
+#define iphdr	ip
23
+#endif
24
 #include <netinet/udp.h>
25
 
26
 static GObjectClass *parent_class = NULL;
(-)devel/libaravis/files/patch-src_arvgvinterface.c (+10 lines)
Line 0 Link Here
1
--- src/arvgvinterface.c.orig	2016-10-21 08:48:32 UTC
2
+++ src/arvgvinterface.c
3
@@ -37,6 +37,7 @@
4
 #include <sys/types.h>
5
 #include <sys/socket.h>
6
 #include <net/if.h>
7
+#include <netinet/in.h>
8
 #include <ifaddrs.h>
9
 #include <stdlib.h>
10
 #include <string.h>
(-)devel/libaravis/files/patch-src_arvrealtime.c (+24 lines)
Line 0 Link Here
1
--- src/arvrealtime.c.orig	2016-10-21 08:48:32 UTC
2
+++ src/arvrealtime.c
3
@@ -27,6 +27,8 @@
4
 
5
 ***/
6
 
7
+#include <sys/param.h>
8
+
9
 #include <arvrealtimeprivate.h>
10
 #include <arvdebug.h>
11
 #include <memory.h>
12
@@ -219,7 +221,12 @@ arv_rtkit_make_high_priority (GDBusConne
13
 #endif
14
 
15
 static pid_t _gettid(void) {
16
+#ifdef __linux__
17
         return (pid_t) syscall(SYS_gettid);
18
+#endif
19
+#ifdef BSD
20
+        return (pid_t) pthread_self();
21
+#endif
22
 }
23
 
24
 /**
(-)devel/libaravis/pkg-descr (+10 lines)
Line 0 Link Here
1
Aravis
2
Aravis is a glib/gobject based library for video
3
acquisition using Genicam cameras.
4
It currently implements the gigabit ethernet and
5
USB3 (Since Aravis 0.5.x) protocols used by industrial
6
cameras. It also provides a basic ethernet camera
7
simulator and a simple video viewer.
8
9
10
WWW: https://github.com/AravisProject/aravis
(-)devel/libaravis/pkg-message (+10 lines)
Line 0 Link Here
1
Aravis require broadcast to find devices.
2
3
Dont forget run:
4
# route add 255.255.255.255 -iface lan0
5
6
or add in rc.conf
7
static_routes="bcast:lan0"
8
route_bcast="255.255.255.255 -iface lan0"
9
10
where lan0 - network interface name.
(-)devel/libaravis/pkg-plist (+101 lines)
Line 0 Link Here
1
bin/arv-fake-gv-camera-0.6
2
bin/arv-tool-0.6
3
include/aravis-0.6/arv.h
4
include/aravis-0.6/arvbuffer.h
5
include/aravis-0.6/arvcamera.h
6
include/aravis-0.6/arvchunkparser.h
7
include/aravis-0.6/arvdebug.h
8
include/aravis-0.6/arvdevice.h
9
include/aravis-0.6/arvdomcharacterdata.h
10
include/aravis-0.6/arvdomdocument.h
11
include/aravis-0.6/arvdomdocumentfragment.h
12
include/aravis-0.6/arvdomelement.h
13
include/aravis-0.6/arvdomimplementation.h
14
include/aravis-0.6/arvdomnamednodemap.h
15
include/aravis-0.6/arvdomnode.h
16
include/aravis-0.6/arvdomnodelist.h
17
include/aravis-0.6/arvdomparser.h
18
include/aravis-0.6/arvdomtext.h
19
include/aravis-0.6/arvenums.h
20
include/aravis-0.6/arvenumtypes.h
21
include/aravis-0.6/arvevaluator.h
22
include/aravis-0.6/arvfakecamera.h
23
include/aravis-0.6/arvfakedevice.h
24
include/aravis-0.6/arvfakeinterface.h
25
include/aravis-0.6/arvfakestream.h
26
include/aravis-0.6/arvfeatures.h
27
include/aravis-0.6/arvgc.h
28
include/aravis-0.6/arvgcboolean.h
29
include/aravis-0.6/arvgccategory.h
30
include/aravis-0.6/arvgccommand.h
31
include/aravis-0.6/arvgcconverter.h
32
include/aravis-0.6/arvgcenumentry.h
33
include/aravis-0.6/arvgcenumeration.h
34
include/aravis-0.6/arvgcfeaturenode.h
35
include/aravis-0.6/arvgcfloat.h
36
include/aravis-0.6/arvgcfloatnode.h
37
include/aravis-0.6/arvgcgroupnode.h
38
include/aravis-0.6/arvgcindexnode.h
39
include/aravis-0.6/arvgcinteger.h
40
include/aravis-0.6/arvgcintegernode.h
41
include/aravis-0.6/arvgcinvalidatornode.h
42
include/aravis-0.6/arvgcnode.h
43
include/aravis-0.6/arvgcport.h
44
include/aravis-0.6/arvgcpropertynode.h
45
include/aravis-0.6/arvgcregister.h
46
include/aravis-0.6/arvgcregisterdescriptionnode.h
47
include/aravis-0.6/arvgcregisternode.h
48
include/aravis-0.6/arvgcstring.h
49
include/aravis-0.6/arvgcstructentrynode.h
50
include/aravis-0.6/arvgcswissknife.h
51
include/aravis-0.6/arvgvcp.h
52
include/aravis-0.6/arvgvdevice.h
53
include/aravis-0.6/arvgvinterface.h
54
include/aravis-0.6/arvgvsp.h
55
include/aravis-0.6/arvgvstream.h
56
include/aravis-0.6/arvinterface.h
57
include/aravis-0.6/arvmisc.h
58
include/aravis-0.6/arvrealtime.h
59
include/aravis-0.6/arvstr.h
60
include/aravis-0.6/arvstream.h
61
include/aravis-0.6/arvsystem.h
62
include/aravis-0.6/arvtypes.h
63
include/aravis-0.6/arvversion.h
64
include/aravis-0.6/arvzip.h
65
lib/girepository-1.0/Aravis-0.6.typelib
66
lib/libaravis-0.6.a
67
lib/libaravis-0.6.so
68
lib/libaravis-0.6.so.0
69
lib/libaravis-0.6.so.0.0.0
70
libdata/pkgconfig/aravis-0.6.pc
71
share/aravis-0.6/arv-fake-camera.xml
72
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
73
%%PORTDOCS%%%%DOCSDIR%%/COPYING
74
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
75
%%PORTDOCS%%%%DOCSDIR%%/NEWS
76
%%PORTDOCS%%%%DOCSDIR%%/README.md
77
share/gir-1.0/Aravis-0.6.gir
78
%%NLS%%share/locale/bs/LC_MESSAGES/aravis-0.6.mo
79
%%NLS%%share/locale/ca/LC_MESSAGES/aravis-0.6.mo
80
%%NLS%%share/locale/cs/LC_MESSAGES/aravis-0.6.mo
81
%%NLS%%share/locale/da/LC_MESSAGES/aravis-0.6.mo
82
%%NLS%%share/locale/de/LC_MESSAGES/aravis-0.6.mo
83
%%NLS%%share/locale/el/LC_MESSAGES/aravis-0.6.mo
84
%%NLS%%share/locale/es/LC_MESSAGES/aravis-0.6.mo
85
%%NLS%%share/locale/eu/LC_MESSAGES/aravis-0.6.mo
86
%%NLS%%share/locale/fi/LC_MESSAGES/aravis-0.6.mo
87
%%NLS%%share/locale/fr/LC_MESSAGES/aravis-0.6.mo
88
%%NLS%%share/locale/hu/LC_MESSAGES/aravis-0.6.mo
89
%%NLS%%share/locale/id/LC_MESSAGES/aravis-0.6.mo
90
%%NLS%%share/locale/lv/LC_MESSAGES/aravis-0.6.mo
91
%%NLS%%share/locale/oc/LC_MESSAGES/aravis-0.6.mo
92
%%NLS%%share/locale/pl/LC_MESSAGES/aravis-0.6.mo
93
%%NLS%%share/locale/pt/LC_MESSAGES/aravis-0.6.mo
94
%%NLS%%share/locale/pt_BR/LC_MESSAGES/aravis-0.6.mo
95
%%NLS%%share/locale/ru/LC_MESSAGES/aravis-0.6.mo
96
%%NLS%%share/locale/sl/LC_MESSAGES/aravis-0.6.mo
97
%%NLS%%share/locale/sr/LC_MESSAGES/aravis-0.6.mo
98
%%NLS%%share/locale/sr@latin/LC_MESSAGES/aravis-0.6.mo
99
%%NLS%%share/locale/sv/LC_MESSAGES/aravis-0.6.mo
100
%%NLS%%share/locale/tr/LC_MESSAGES/aravis-0.6.mo
101
%%NLS%%share/locale/zh_CN/LC_MESSAGES/aravis-0.6.mo

Return to bug 215907