From owner-freebsd-ports@FreeBSD.ORG Fri Jun 20 00:38:08 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B8837B401; Fri, 20 Jun 2003 00:38:08 -0700 (PDT) Received: from mail.halplant.com (ip68-98-167-210.nv.nv.cox.net [68.98.167.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE9643F75; Fri, 20 Jun 2003 00:38:07 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id 3E3D646; Fri, 20 Jun 2003 03:38:06 -0400 (EDT) Date: Fri, 20 Jun 2003 03:38:06 -0400 From: Andrew J Caines To: FreeBSD ports , FreeBSD Multimedia Message-ID: <20030620073806.GB401@hal9000.halplant.com> Mail-Followup-To: FreeBSD ports , FreeBSD Multimedia , taoka@FreeBSD.org, vns@delta.odessa.ua Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.8-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 Importance: Normal User-Agent: Mutt/1.5.4i cc: taoka@FreeBSD.org cc: vns@delta.odessa.ua Subject: Linux Realplayer esound support and dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 07:38:08 -0000 Having recently started to use the native esound daemon (esound-0.2.29) on my up-to-date -STABLE x86 box, attempting to start realplayer (linux-realplayer-8.cs2_3) gives an unsurprising error about the audio device being in use. Digging through the realplayer config I noticed the esound support and turned it to see what it would do and found it did nothing, though it was trying to find libesd. After catching and killing a few wild geese, I installed the linux version of esound (linux-esound-0.2.22_2) and its missing libaudiofile dependency (linux-libaudiofile-0.1.11_2) and everything works automagically. Would it be a good idea to make linux-esound a dependency of linux-realplayer, perhaps optionally? Could someone fix the linux-libaudiofile dependency? Patches below. Let me know if you want me to file PRs. ----8<---- diff -ruN linux-esound.nolibaudiofile/Makefile linux-esound/Makefile --- linux-esound.nolibaudiofile/Makefile Thu Feb 27 04:20:18 2003 +++ linux-esound/Makefile Fri Jun 20 03:23:02 2003 @@ -12,6 +12,8 @@ MAINTAINER= taoka@FreeBSD.org COMMENT= RPM of esound +RUN_DEPENDS= /compat/linux/usr/lib/libaudiofile.so.0:${PORTSDIR}/audio/linux-libaudiofile + RPM_SET= esound-${PORTVERSION}-1.${MACHINE_ARCH}.rpm .include "../../x11-toolkits/linux-gtk/Makefile" ----8<---- ----8<---- diff -ruN linux-realplayer.noesound/Makefile linux-realplayer/Makefile --- linux-realplayer.noesound/Makefile Thu Jun 19 05:14:45 2003 +++ linux-realplayer/Makefile Fri Jun 20 03:32:15 2003 @@ -17,7 +17,8 @@ COMMENT= Linux RealPlayer 8.0 from RealNetworks EXTRACT_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio -RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base +RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ + /compat/linux/usr/lib/libesd.so.0:${PORTSDIR}/audio/linux-esound MAINDIST= rp${PORTVERSION:R}_linux20_libc6_i386_${PORTVERSION:E}_rpm UPDATEDIST= rv9_libc6_i386_cs2.tgz ----8<---- -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |