From owner-freebsd-ports Sat Sep 18 13:10: 7 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2EB9314F02 for ; Sat, 18 Sep 1999 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA82784; Sat, 18 Sep 1999 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.15.190]) by hub.freebsd.org (Postfix) with ESMTP id 3A6EC14EE4; Sat, 18 Sep 1999 13:04:02 -0700 (PDT) (envelope-from mi@aldan.algebra.com) Received: from rtfm.newton (rtfm.newton [10.10.0.1]) by kot.ne.mediaone.net (8.9.3/8.9.1) with ESMTP id QAA91439; Sat, 18 Sep 1999 16:04:01 -0400 (EDT) Received: (from root@localhost) by rtfm.newton (8.9.3/8.9.1) id QAA05675; Sat, 18 Sep 1999 16:04:01 -0400 (EDT) Message-Id: <199909182004.QAA05675@rtfm.newton> Date: Sat, 18 Sep 1999 16:04:01 -0400 (EDT) From: root@aldan.algebra.com Reply-To: root@aldan.algebra.com To: FreeBSD-gnats-submit@FreeBSD.org Cc: kris@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: ports/13808: linux-rvplayer port improved a'la netscape port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13808 >Category: ports >Synopsis: linux-rvplayer port improved a'la netscape port >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 18 13:10:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 3.3-RC i386 >Organization: Virtual Estates, Inc. >Environment: >Description: The current port simply puts out the warning, that the user must set LD_LIBRARY_PATH properly for the rvplayer to function. The simple changes below allows to spare the user this work, as inspired by the Netscape port -- the bin/rvplayer is made to be a shell wrapper around lib/rvplayer5.0/rvplayer.bin. Additionally, I think the port does not really need exactly the /compat/linux/usr/i486-linux-libc5/lib/libc.so.5 -- it can use an earlier Linux emulation too, but here I'm not so certain. >How-To-Repeat: >Fix: diff -r -U2 linux-realplayer.old/Makefile linux-realplayer/Makefile --- linux-realplayer.old/Makefile Tue Aug 31 23:32:36 1999 +++ linux-realplayer/Makefile Sat Sep 18 15:48:46 1999 @@ -58,21 +58,11 @@ .endfor - ${INSTALL_PROGRAM} ${WRKSRC}/rvplayer ${PREFIX}/bin/ - /usr/bin/brandelf -t Linux ${PREFIX}/bin/rvplayer + ${INSTALL_PROGRAM} ${WRKSRC}/rvplayer \ + ${PREFIX}/lib/rvplayer5.0/rvplayer.bin + /usr/bin/brandelf -t Linux ${PREFIX}/lib/rvplayer5.0/rvplayer.bin + echo 'exec env LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:${PREFIX}/lib/rvplayer5.0 ${PREFIX}/lib/rvplayer5.0/rvplayer.bin $$@' > ${WRKDIR}/rvplayer + ${INSTALL_SCRIPT} ${WRKDIR}/rvplayer ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/welcome.rm ${PREFIX}/share/rvplayer5.0/ - - @${ECHO_MSG} --------------------------------------------------------------- - @${ECHO_MSG} You must add ${PREFIX}/lib/rvplayer5.0 to your - @${ECHO_MSG} LD_LIBRARY_PATH environment variable to use RealPlayer 5.0. - @${ECHO_MSG} - @${ECHO_MSG} To use the Netscape plugin, you must have a Linux version of - @${ECHO_MSG} netscape \(e.g., ${PORTSDIR}/www/linux-netscape4/\) - see - @${ECHO_MSG} ${PREFIX}/share/doc/rvplayer5.0/plugin.html for instructions. - @${ECHO_MSG} - @${ECHO_MSG} To use rvplayer as an external helper app for Netscape \(any - @${ECHO_MSG} version\), follow the instructions in - @${ECHO_MSG} ${PREFIX}/share/doc/rvplayer5.0/browser.htm. - @${ECHO_MSG} --------------------------------------------------------------- .include diff -r -U2 linux-realplayer.old/pkg/PLIST linux-realplayer/pkg/PLIST --- linux-realplayer.old/pkg/PLIST Fri Feb 12 10:42:21 1999 +++ linux-realplayer/pkg/PLIST Sat Sep 18 15:56:39 1999 @@ -1,3 +1,4 @@ bin/rvplayer +lib/rvplayer5.0/rvplayer.bin lib/rvplayer5.0/License.txt lib/rvplayer5.0/Mailcap Only in linux-realplayer.old/: work >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message