Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 1999 16:04:01 -0400 (EDT)
From:      root@aldan.algebra.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kris@FreeBSD.org
Subject:   ports/13808: linux-rvplayer port improved a'la netscape port
Message-ID:  <199909182004.QAA05675@rtfm.newton>

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

>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 <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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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