From mi@aldan.algebra.com Sat Sep 18 13:04:05 1999
Return-Path: <mi@aldan.algebra.com>
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
Sender: mi@aldan.algebra.com
Reply-To: root@aldan.algebra.com
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: kris@FreeBSD.org
Subject: linux-rvplayer port improved a'la netscape port
X-Send-Pr-Version: 3.2

>Number:         13808
>Category:       ports
>Synopsis:       linux-rvplayer port improved a'la netscape port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 13:10:00 PDT 1999
>Closed-Date:    Mon Sep 18 12:18:02 PDT 2000
>Last-Modified:  Mon Sep 18 12:19:18 PDT 2000
>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 <bsd.port.post.mk>
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:
Responsible-Changed-From-To: freebsd-ports->kris 
Responsible-Changed-By: mharo 
Responsible-Changed-When: Fri Dec 24 00:21:59 PST 1999 
Responsible-Changed-Why:  
Over to MAINTAINER 
Responsible-Changed-From-To: kris->freebsd-ports 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Aug 12 16:48:32 PDT 2000 
Responsible-Changed-Why:  
I'm no longer the maintainer of this port - sorry for ignoring your suggestion for so long. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=13808 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Mon Sep 18 12:18:02 PDT 2000 
State-Changed-Why:  
The audio/linux-rvplayer port has changed so much since this update 
submission, that the included patch doesn't apply cleanly at all, 
and it seems as though the current port version negates the need 
for this kind of patch in the first place. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=13808 
>Unformatted:
