From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 8 05:20:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52E36559 for ; Thu, 8 Nov 2012 05:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 184C58FC1C for ; Thu, 8 Nov 2012 05:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA85K0Gb005488 for ; Thu, 8 Nov 2012 05:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA85K0AE005487; Thu, 8 Nov 2012 05:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 8 Nov 2012 05:20:00 GMT Resent-Message-Id: <201211080520.qA85K0AE005487@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Naram Qashat Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8074C1 for ; Thu, 8 Nov 2012 05:10:15 +0000 (UTC) (envelope-from root@cyberbotx.com) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:56]) by mx1.freebsd.org (Postfix) with ESMTP id AC2368FC0C for ; Thu, 8 Nov 2012 05:10:15 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta06.emeryville.ca.mail.comcast.net with comcast id Lt8U1k0030lTkoCA6tAFSG; Thu, 08 Nov 2012 05:10:15 +0000 Received: from kirby.cyberbotx.com ([69.244.146.119]) by omta04.emeryville.ca.mail.comcast.net with comcast id LtAD1k00F2anbQt8QtAE8F; Thu, 08 Nov 2012 05:10:14 +0000 Received: by kirby.cyberbotx.com (Postfix, from userid 0) id 313272845D; Thu, 8 Nov 2012 00:10:13 -0500 (EST) Message-Id: <20121108051013.313272845D@kirby.cyberbotx.com> Date: Thu, 8 Nov 2012 00:10:13 -0500 (EST) From: Naram Qashat To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173462: [PATCH] emulators/linux-pete-xgl2gpu: update to 2.9, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 05:20:01 -0000 >Number: 173462 >Category: ports >Synopsis: [PATCH] emulators/linux-pete-xgl2gpu: update to 2.9, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Nov 08 05:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Naram Qashat >Release: FreeBSD 8.3-RELEASE-p4 amd64 >Organization: >Environment: System: FreeBSD kirby.cyberbotx.com 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #4: Mon Oct 1 19:56:21 EDT >Description: - Update to 2.9 - Take maintainership The reason for the added Makefile.inc is because 3 ports, this one, emulators/linux-pete-mesagpu, and emulators/linux-peops-softgpu share a common tarball for their configuration binaries. Note: This PR superceeds PR ports/173459, that one should be closed. Added file(s): - Makefile.inc Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- linux-pete-xgl2gpu-2.9.patch begins here --- diff -ruN --exclude=CVS /usr/ports/emulators/linux-pete-xgl2gpu/Makefile ./Makefile --- /usr/ports/emulators/linux-pete-xgl2gpu/Makefile 2012-10-07 17:07:38.000000000 -0400 +++ ./Makefile 2012-11-07 23:55:46.000000000 -0500 @@ -1,32 +1,28 @@ -# New ports collection makefile for: linux-pete-xgl2gpu -# Date created: 16 Jul 2005 -# Whom: Jean-Yves Lefort -# +# Created by: Jean-Yves Lefort # $FreeBSD: head/emulators/linux-pete-xgl2gpu/Makefile 300896 2012-07-14 13:54:48Z beat $ -# -PORTNAME= linux-pete-xgl2gpu -PORTVERSION= 2.8 +PORTNAME= pete-xgl2gpu +PORTVERSION= ${XGL2GPU_VERSION} CATEGORIES= emulators linux MASTER_SITES= http://www.pbernert.com/ -DISTNAME= gpupetexgl${MAJOR}0${MINOR} +PKGNAMEPREFIX= linux- +DISTFILES= gpupetexgl${MAJOR}0${MINOR}${EXTRACT_SUFX} \ + ${CFG_DISTFILE} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cyberbotx@cyberbotx.com COMMENT= A PSEmu Pro GPU plugin using a modern OpenGL renderer (Linux version) -.if defined(WITH_NVIDIA_GL) -RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver -.else -USE_LINUX_APPS+=dri -.endif - NO_WRKSUBDIR= yes NO_BUILD= yes USE_LINUX= yes USE_LINUX_APPS= gtk xorglibs +PORTDOCS= * ONLY_FOR_ARCHS= i386 amd64 +OPTIONS_DEFINE= NVIDIA_GL +NVIDIA_GL_DESC= Use nVidia OpenGL driver + MAJOR= ${PORTVERSION:R} MINOR= ${PORTVERSION:E} PLIST_SUB+= MAJOR=${MAJOR} MINOR=${MINOR} @@ -35,6 +31,16 @@ PSEMUPRO_CFGBINS_DIR= ${PREFIX}/libexec/psemupro/cfg PSEMUPRO_CFGFILES_DIR= ${PREFIX}/share/psemupro/cfg +.include + +.include "${.CURDIR}/../linux-pete-xgl2gpu/Makefile.inc" + +.if ${PORT_OPTIONS:MNVIDIA_GL} +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver +.else +USE_LINUX_APPS+=dri +.endif + # by default, disable options which may crash the plugin post-patch: @${REINPLACE_CMD} -e '/^TWinShader/ s|= 1|= 0|' \ @@ -45,12 +51,12 @@ ${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteXGL2.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR} ${MKDIR} ${PSEMUPRO_CFGBINS_DIR} - ${INSTALL_PROGRAM} ${WRKSRC}/cfgPeteXGL2 ${PSEMUPRO_CFGBINS_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/cfg/cfgPeteXGL2 ${PSEMUPRO_CFGBINS_DIR} ${MKDIR} ${PSEMUPRO_CFGFILES_DIR} ${INSTALL_DATA} ${WRKSRC}/gpuPeteXGL2.cfg ${PSEMUPRO_CFGFILES_DIR} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} .endif diff -ruN --exclude=CVS /usr/ports/emulators/linux-pete-xgl2gpu/Makefile.inc ./Makefile.inc --- /usr/ports/emulators/linux-pete-xgl2gpu/Makefile.inc 1969-12-31 19:00:00.000000000 -0500 +++ ./Makefile.inc 2012-11-07 23:50:22.000000000 -0500 @@ -0,0 +1,7 @@ +# $FreeBSD$ + +XGL2GPU_VERSION= 2.9 +MESAGPU_VERSION= 1.77 +SOFTGPU_VERSION= 1.18 + +CFG_DISTFILE= petegpucfg_V${XGL2GPU_VERSION:C/\./-/}_V${MESAGPU_VERSION:C/\./-/}_V${SOFTGPU_VERSION:C/\./-/}${EXTRACT_SUFX} diff -ruN --exclude=CVS /usr/ports/emulators/linux-pete-xgl2gpu/distinfo ./distinfo --- /usr/ports/emulators/linux-pete-xgl2gpu/distinfo 2012-10-07 17:07:38.000000000 -0400 +++ ./distinfo 2012-11-08 00:04:35.000000000 -0500 @@ -1,2 +1,4 @@ -SHA256 (gpupetexgl208.tar.gz) = 01486fd9c644e44abd7aa303cbdccd4139d2a133b75f53436b6b8e5fb14dc9d0 -SIZE (gpupetexgl208.tar.gz) = 189449 +SHA256 (gpupetexgl209.tar.gz) = 83427665c31bbae16c1fbd7c695d0bc9acc4cfcf911302c031f852c850c9cc5d +SIZE (gpupetexgl209.tar.gz) = 173744 +SHA256 (petegpucfg_V2-9_V1-77_V1-18.tar.gz) = 1488750fb2f158b68ef11b693fc1f45948ec41e84b1329315703adc91679fd91 +SIZE (petegpucfg_V2-9_V1-77_V1-18.tar.gz) = 59589 diff -ruN --exclude=CVS /usr/ports/emulators/linux-pete-xgl2gpu/pkg-plist ./pkg-plist --- /usr/ports/emulators/linux-pete-xgl2gpu/pkg-plist 2012-10-07 17:07:38.000000000 -0400 +++ ./pkg-plist 2012-11-07 22:34:22.000000000 -0500 @@ -7,6 +7,3 @@ @dirrmtry libexec/psemupro @dirrmtry share/psemupro/cfg @dirrmtry share/psemupro -%%PORTDOCS%%%%DOCSDIR%%/readme.txt -%%PORTDOCS%%%%DOCSDIR%%/version.txt -%%PORTDOCS%%@dirrm %%DOCSDIR%% --- linux-pete-xgl2gpu-2.9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: