From riggs@mugiri-in-au.dyndns.tv  Mon Apr 14 05:00:37 2003
Return-Path: <riggs@mugiri-in-au.dyndns.tv>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9172D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 05:00:37 -0700 (PDT)
Received: from mail.iinet.net.au (mail-07.iinet.net.au [203.59.3.39])
	by mx1.FreeBSD.org (Postfix) with SMTP id 08EA443F93
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 05:00:36 -0700 (PDT)
	(envelope-from riggs@mugiri-in-au.dyndns.tv)
Received: (qmail 1686 invoked from network); 14 Apr 2003 12:00:24 -0000
Received: from unknown (HELO theDude.MuGiRi.au) (203.59.215.76)
  by mail.iinet.net.au with SMTP; 14 Apr 2003 12:00:24 -0000
Received: from trillian.mugiri.au (trillian.MuGiRi.au [10.0.0.101])
	by theDude.MuGiRi.au (8.12.6/8.12.6) with ESMTP id h3EC0WsQ020761
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 20:00:33 +0800 (WST)
	(envelope-from riggs@mugiri-in-au.dyndns.tv)
Received: from trillian.mugiri.au (localhost [127.0.0.1])
	by trillian.mugiri.au (8.12.6/8.12.6) with ESMTP id h3EC0VhN013428
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 20:00:31 +0800 (WST)
	(envelope-from riggs@trillian.mugiri.au)
Received: (from riggs@localhost)
	by trillian.mugiri.au (8.12.6/8.12.6/Submit) id h3EC0Vl1013427;
	Mon, 14 Apr 2003 20:00:31 +0800 (WST)
	(envelope-from riggs)
Message-Id: <200304141200.h3EC0Vl1013427@trillian.mugiri.au>
Date: Mon, 14 Apr 2003 20:00:31 +0800 (WST)
From: "Thomas E. Zander" <riggs@rrr.de>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bug workaround multimedia/mplayer-skins
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50935
>Category:       ports
>Synopsis:       bug workaround multimedia/mplayer-skins
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 05:10:06 PDT 2003
>Closed-Date:    Mon Apr 14 05:27:34 PDT 2003
>Last-Modified:  Mon Apr 14 05:27:34 PDT 2003
>Originator:     Thomas E. Zander
>Release:        FreeBSD 5.0-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD trillian.mugiri.au 5.0-RELEASE-p6 FreeBSD 5.0-RELEASE-p6 #0: Tue Mar 25 20:30:02 WST 2003 root@trillian.mugiri.au:/usr/obj/usr/src/sys/TRILLIAN i386


	
>Description:
	On some machines the mplayer mini skin plugin for mozilla
	seems to crash outputting something like:
	[ws] Error in display.
	[ws]  Error code: 2 (BadValue (integer parameter out of range for operation))
	[ws]  Request code: 1
	[ws]  Minor code: 0
	[ws]  Modules: (NULL)
>How-To-Repeat:
	Just try using mplayer-plugin for mozilla. For some installations it
	works, for others it doesn't :-)
>Fix:

There is a small bug workaround according to

http://sourceforge.net/mailarchive/forum.php?thread_id=1941313&forum_id=21800

This patch uses the skin tarball with this patch, further it introduces
version numbering to satisfy our distfiles problem.

diff -ruN mplayer-skins-old/Makefile mplayer-skins/Makefile
--- mplayer-skins-old/Makefile	Tue Mar 25 03:26:57 2003
+++ mplayer-skins/Makefile	Mon Apr 14 19:37:33 2003
@@ -7,12 +7,13 @@
 
 PORTNAME=	mplayer
 PORTVERSION=	1.0.5
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.mplayerhq.hu/MPlayer/Skin/:Skin \
 		http://ftp.lug.udel.edu/MPlayer/Skin/:Skin \
 		ftp://ftp.mplayerhq.hu/MPlayer/Skin/:Skin \
 		ftp://ftp.lug.udel.edu/MPlayer/Skin/:Skin \
-		${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%\/$/mplayerplug-in\/:mini/}
+		http://www.stud.uni-karlsruhe.de/~uedc/mplayer/:mini
 PKGNAMESUFFIX=	-skins
 DISTFILES=
 EXTRACT_ONLY=
@@ -196,11 +197,9 @@
 EXTRACT_ONLY+=	xine-lcd-1.0.tar.bz2
 .endif
 
-DISTFILES+=	mini.tar.bz2:mini
+DISTFILES+=	mini-0.1.tar.bz2:mini
 .ifdef(WITH_SKIN_MINI)
-EXTRACT_ONLY+=	mini.tar.bz2
-post-extract::
-	@${RM} -fr ${WRKDIR}/mini/.xvpics
+EXTRACT_ONLY+=	mini-0.1.tar.bz2
 .endif
 
 # Automatically create PLIST
diff -ruN mplayer-skins-old/distinfo mplayer-skins/distinfo
--- mplayer-skins-old/distinfo	Tue Mar 25 03:26:57 2003
+++ mplayer-skins/distinfo	Mon Apr 14 19:49:39 2003
@@ -19,4 +19,4 @@
 MD5 (mplayer/WindowsMediaPlayer6-1.2.tar.bz2) = 6717e3f57e9c808777ce8cfc370d194e
 MD5 (mplayer/xanim-1.5.tar.bz2) = 11c50f9eb970f08b4955bed6e3159d39
 MD5 (mplayer/xine-lcd-1.0.tar.bz2) = 9e8a8ba86e46e714d1ef2e19d9a7e0cf
-MD5 (mplayer/mini.tar.bz2) = 88ffb4b41928f5b063800bab46be1545
+MD5 (mplayer/mini-0.1.tar.bz2) = 2bd00a1202298e2b12021f5362649c7c
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Mon Apr 14 05:27:24 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

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