From owner-svn-ports-all@freebsd.org Tue May 15 14:25:41 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9050EDD527; Tue, 15 May 2018 14:25:40 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 892E7774CB; Tue, 15 May 2018 14:25:40 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 508CD49BF; Tue, 15 May 2018 14:25:40 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4FEPe9m091469; Tue, 15 May 2018 14:25:40 GMT (envelope-from lme@FreeBSD.org) Received: (from lme@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4FEPeIl091468; Tue, 15 May 2018 14:25:40 GMT (envelope-from lme@FreeBSD.org) Message-Id: <201805151425.w4FEPeIl091468@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lme set sender to lme@FreeBSD.org using -f From: Lars Engels Date: Tue, 15 May 2018 14:25:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470020 - head/multimedia/motion X-SVN-Group: ports-head X-SVN-Commit-Author: lme X-SVN-Commit-Paths: head/multimedia/motion X-SVN-Commit-Revision: 470020 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2018 14:25:41 -0000 Author: lme Date: Tue May 15 14:25:39 2018 New Revision: 470020 URL: https://svnweb.freebsd.org/changeset/ports/470020 Log: multimedia/motion: - Add WEBCAMD option and enable by default - Bump PORTREVISION From the initiating PR: The multimedia/pwcbsd port contains an kernel module that appears to no longer work. The multimedia/pwcbsd port distfile has not been updated since 2014 so it is very unlikely to work. The multimedia/pwcbsd port was long ago replaced by the multimedia/webcamd port. The current multimedia/motion port has a PWCBSD option. This sets --with-pwcbsd in the configure step, create a build depend on v4l_compat and creates a run depend on multimedia/pwcbsd, which is then built and installed but not used. The motion application reads from /dev/video* which is now handled by multimedia/webcamd. The patch provided adds an option named WEBCAMD to an existing radio option that contains the PWCBSD option. The WEBCAMD option sets --with-pwcbsd in the configure step, creates the build depend on v4l_compat but does not create a run depend on pwcbsd. It could create a run depend on multimedia/webcamd but I didn't add that. The only affect of --with-pwcbsd in the configure step of the downstream port is to suppress disabling video4linux support and link with v4l_compat library. At some point the downstream should be advised to change the option names in the configure.ac file to reflect the demise of pwcbsd. I left the PWCBSD option in place and unchanged. It may serve no useful purpose so it could be removed. PR: 228102 Submitted by: Curtis Villamizar MFH: yes Modified: head/multimedia/motion/Makefile Modified: head/multimedia/motion/Makefile ============================================================================== --- head/multimedia/motion/Makefile Tue May 15 14:18:36 2018 (r470019) +++ head/multimedia/motion/Makefile Tue May 15 14:25:39 2018 (r470020) @@ -4,7 +4,7 @@ PORTNAME= motion PORTVERSION= 4.0.1 DISTVERSIONPREFIX= release- -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org @@ -41,8 +41,8 @@ PORTEXAMPLES= camera1-dist.conf camera2-dist.conf \ OPTIONS_DEFINE= DOCS EXAMPLES FFMPEG MYSQL PGSQL SQLITE3 OPTIONS_RADIO= VIDEO -OPTIONS_RADIO_VIDEO= BKTR PWCBSD -OPTIONS_DEFAULT= BKTR FFMPEG +OPTIONS_RADIO_VIDEO= BKTR PWCBSD WEBCAMD +OPTIONS_DEFAULT= WEBCAMD FFMPEG VIDEO_DESC= Video capture driver (Netcam support only if none selected) BKTR_DESC= BKTR based TV capture cards @@ -52,6 +52,11 @@ PWCBSD_DESC= PWCBSD based Webcams PWCBSD_BUILD_DEPENDS= v4l_compat>=1.0.20060801:multimedia/v4l_compat PWCBSD_RUN_DEPENDS= ${KMODDIR}/pwc.ko:multimedia/pwcbsd PWCBSD_CONFIGURE_WITH= pwcbsd + +WEBCAMD_DESC= Webcams using webcamd +WEBCAMD_BUILD_DEPENDS= v4l_compat>=1.0.20060801:multimedia/v4l_compat +# note: all configure --with-pwcbsd does is not shut off v4l support +WEBCAMD_CONFIGURE_WITH= pwcbsd FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ON= --with-ffmpeg=${LOCALBASE}