ports/171480: Update port multimedia/cx88 to 1.4.4
Jason Harmening
jason.harmening at gmail.com
Sat Sep 8 23:40:08 UTC 2012
>Number: 171480
>Category: ports
>Synopsis: Update port multimedia/cx88 to 1.4.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 08 23:40:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jason Harmening
>Release: 9.1-PRERELEASE
>Organization:
>Environment:
FreeBSD corona.austin.rr.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r239715M: Sun Aug 26 12:41:03 CDT 2012 root at corona.austin.rr.com:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
--enable MSIs by default for PCIe devices
--add dynamic port and timer configuration to capture app
--add cx88d rc script to automatically create DVB interfaces
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN cx88.orig/Makefile cx88/Makefile
--- cx88.orig/Makefile 2012-06-17 18:38:12.000000000 -0500
+++ cx88/Makefile 2012-09-08 18:31:15.000000000 -0500
@@ -2,11 +2,11 @@
# Date created: 7 September 2008
# Whom: jah
#
-# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.20 2012/06/17 23:38:12 sylvio Exp $
+# $FreeBSD$
#
PORTNAME= cx88
-PORTVERSION= 1.4.3
+PORTVERSION= 1.4.4
CATEGORIES= multimedia kld
MASTER_SITES= ftp://corona.homeunix.net/ports/cx88/
@@ -24,40 +24,42 @@
MAKE_ARGS+= LIBTUNER_LIB=${LOCALBASE}/lib/libtuner LIBTUNER_HEADER=${LOCALBASE}/include/libtuner KMODDIR=${KMODDIR}
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= DEBUG LINUX_COMPAT HAL
+OPTIONS_DEFINE= DEBUG LINUX_COMPAT HAL
-DEBUG_DESC= Build with debugging and verbose output enabled
-LINUX_COMPAT_DESC= Support for Linux DVB and radio devices (requires FreeBSD 8.1+)
-HAL_DESC= Register Linux DVB devices with HAL
+DEBUG_DESC= Build with debugging and verbose output enabled
+LINUX_COMPAT_DESC= Support for Linux DVB and radio devices (requires FreeBSD 8.1+)
+HAL_DESC= Register Linux DVB devices with HAL
-OPTIONS_DEFAULT= LINUX_COMPAT
+OPTIONS_DEFAULT= LINUX_COMPAT
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+= DIAGNOSTIC=0x7f
+MAKE_ARGS+= DIAGNOSTIC=0x7f
.endif
.if (${OSVERSION} >= 801000)
.if ${PORT_OPTIONS:MLINUX_COMPAT}
-LIB_DEPENDS+= cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod
-BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
- cuse4bsd-kmod>=0.1.12:${PORTSDIR}/multimedia/cuse4bsd-kmod
-MAKE_ARGS+= -D WITH_LINUX_COMPAT
+LIB_DEPENDS+= cuse4bsd.1:${PORTSDIR}/multimedia/cuse4bsd-kmod
+BUILD_DEPENDS+= v4l_compat>=1.0.20100321:${PORTSDIR}/multimedia/v4l_compat \
+ cuse4bsd-kmod>=0.1.12:${PORTSDIR}/multimedia/cuse4bsd-kmod
+MAKE_ARGS+= -D WITH_LINUX_COMPAT
.if ${PORT_OPTIONS:MHAL}
-LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal \
- dbus-1:${PORTSDIR}/devel/dbus
-BUILD_DEPENDS+= hal>=0.5.14:${PORTSDIR}/sysutils/hal \
- dbus>=1.4.0:${PORTSDIR}/devel/dbus
-MAKE_ARGS+= -D WITH_HAL
+LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal \
+ dbus-1:${PORTSDIR}/devel/dbus
+BUILD_DEPENDS+= hal>=0.5.14:${PORTSDIR}/sysutils/hal \
+ dbus>=1.4.0:${PORTSDIR}/devel/dbus
+MAKE_ARGS+= -D WITH_HAL
.endif
.endif
.endif
+MAKE_ARGS+= DEFAULT_XML_CONFIG="${EXAMPLESDIR}/cx88.xml.sample"
+
.if (${OSVERSION} < 704000) || ((${OSVERSION} >= 800000) && (${OSVERSION} < 801000))
-IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
+IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
.endif
.if !exists(${SRC_BASE}/sys/Makefile)
diff -ruN cx88.orig/distinfo cx88/distinfo
--- cx88.orig/distinfo 2012-06-17 18:38:12.000000000 -0500
+++ cx88/distinfo 2012-09-08 18:31:15.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (cx88-1.4.3.tar.gz) = 5955ea85157faa049ac1977c11815f967b6006ebe7e9b4602b71452087834411
-SIZE (cx88-1.4.3.tar.gz) = 186964
+SHA256 (cx88-1.4.4.tar.gz) = 57a04ab9639ed8b09d00859c69ca0eafe1ab62f668fc93b236f1d28533aed995
+SIZE (cx88-1.4.4.tar.gz) = 189060
diff -ruN cx88.orig/pkg-plist cx88/pkg-plist
--- cx88.orig/pkg-plist 2010-11-21 08:24:16.000000000 -0600
+++ cx88/pkg-plist 2012-09-08 18:31:15.000000000 -0500
@@ -8,6 +8,7 @@
%%EXAMPLESDIR%%/cx88_audio_client.cpp
%%EXAMPLESDIR%%/hd3k_analog_ubuf.cpp
%%EXAMPLESDIR%%/hd5k_analog_ubuf.cpp
+etc/rc.d/cx88d
include/iicdev/iicdev_ioctl.h
include/cx88/cx88_common_ioctl.h
include/cx88/cx88_mpeg_ioctl.h
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list