From owner-freebsd-gnome@FreeBSD.ORG Fri Oct 14 14:40:04 2011 Return-Path: Delivered-To: gnome@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AFF31065673 for ; Fri, 14 Oct 2011 14:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA6E8FC17 for ; Fri, 14 Oct 2011 14:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EEe4me015671 for ; Fri, 14 Oct 2011 14:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9EEe4Lh015670; Fri, 14 Oct 2011 14:40:04 GMT (envelope-from gnats) Date: Fri, 14 Oct 2011 14:40:04 GMT Message-Id: <201110141440.p9EEe4Lh015670@freefall.freebsd.org> To: gnome@FreeBSD.org From: John Hein Cc: Subject: Re: ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed forgotten X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Hein List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 14:40:04 -0000 The following reply was made to PR ports/161567; it has been noted by GNATS. From: John Hein To: freebsd-gnats-submit@freebsd.org Cc: takefu@airport.fm, gnome@freebsd.org Subject: Re: ports/161567: [PATCH] audio/pulseaudio: pkg_delete(1) removed forgotten Date: Fri, 14 Oct 2011 08:36:57 -0600 --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--