Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2011 08:36:57 -0600
From:      John Hein <jhein@symmetricom.com>
To:        freebsd-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org, takefu@airport.fm
Subject:   Re: ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed forgotten
Message-ID:  <20120.18697.998395.424314@gromit.timing.com>
In-Reply-To: <201110140210.p9E2Adqt088408@freefall.freebsd.org>
References:  <201110140210.p9E2Adqt088408@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zopAT37rvS
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

gnats wrote:
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=161567

To save someone the trouble of hunting this down, the evdev module
gets built/installed if multimedia/v4l_compat is installed.
pulseaudio's looks for linux/input.h to decide whether to build the
evdev module.

As such, the existence of linux/input.h is not really a good
indication of a working evdev.

In any case, the patch to hard-code evdev in pkg-plist is not
appropriate at this time since installations that don't have
multimedia/v4l_compat will have a broken plist as well (the evdev
module won't be installed but the plist will say it is).

An alternate workaround would be to add the attached hunk to
files/patch-configure to forcibly tell it there is no evdev on
freebsd...


--zopAT37rvS
Content-Type: text/plain;
	 name="p"
Content-Description: force pulseaudio's configure to turn off evdev support
Content-Disposition: inline;
	 filename="p"
Content-Transfer-Encoding: 7bit

--- configure.orig	2010-11-25 17:59:05.000000000 -0700
+++ configure	2011-10-14 08:11:20.000000000 -0600
@@ -12854,6 +12854,7 @@
 # Linux
 for ac_header in linux/input.h
 do :
+  break  # [***]
   ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
 if test "x$ac_cv_header_linux_input_h" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
@@ -12865,6 +12866,9 @@
 fi
 
 done
+# [***] FreeBSD has no evdev driver at this point, but multimedia/compat_v4l
+# installs linux/input.h
+HAVE_EVDEV=0
 
 
  if test "x$HAVE_EVDEV" = "x1"; then

--zopAT37rvS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120.18697.998395.424314>