[Bug 228102] Patch multimedia/motion Makefile to use webcamd without building multimedia/pwcbsd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 9 16:57:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228102

            Bug ID: 228102
           Summary: Patch multimedia/motion Makefile to use webcamd
                    without building multimedia/pwcbsd
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: curtis at ipv6.occnc.com
                CC: lme at FreeBSD.org
                CC: lme at FreeBSD.org

Created attachment 193216
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193216&action=edit
patch multimedia/motion/Makefile to add WEBCAMD option

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list