Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  7 Nov 2012 22:25:38 -0500 (EST)
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173459: [PATCH] emulators/linux-pete-xgl2gpu: update to 2.9, take maintainership
Message-ID:  <20121108032538.217B12845D@kirby.cyberbotx.com>
Resent-Message-ID: <201211080330.qA83U0g9098566@freefall.freebsd.org>

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

>Number:         173459
>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 03:30: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

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 22:22:32.000000000 -0500
@@ -1,40 +1,41 @@
-# New ports collection makefile for:	linux-pete-xgl2gpu
-# Date created:			16 Jul 2005
-# Whom:				Jean-Yves Lefort <jylefort@FreeBSD.org>
-#
+# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
 # $FreeBSD: head/emulators/linux-pete-xgl2gpu/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	linux-pete-xgl2gpu
-PORTVERSION=	2.8
+PORTVERSION=	2.9
 CATEGORIES=	emulators linux
 MASTER_SITES=	http://www.pbernert.com/
 DISTNAME=	gpupetexgl${MAJOR}0${MINOR}
 
-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}
 
 PSEMUPRO_PLUGINS_DIR=	${PREFIX}/lib/psemupro/plugins
-PSEMUPRO_CFGBINS_DIR=	${PREFIX}/libexec/psemupro/cfg
 PSEMUPRO_CFGFILES_DIR=	${PREFIX}/share/psemupro/cfg
 
+.include <bsd.port.options.mk>
+
+.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|' \
@@ -44,13 +45,10 @@
 	${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteXGL2.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
 
-	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/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/distinfo ./distinfo
--- /usr/ports/emulators/linux-pete-xgl2gpu/distinfo	2012-10-07 17:07:38.000000000 -0400
+++ ./distinfo	2012-11-07 22:22:06.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (gpupetexgl208.tar.gz) = 01486fd9c644e44abd7aa303cbdccd4139d2a133b75f53436b6b8e5fb14dc9d0
-SIZE (gpupetexgl208.tar.gz) = 189449
+SHA256 (gpupetexgl209.tar.gz) = 83427665c31bbae16c1fbd7c695d0bc9acc4cfcf911302c031f852c850c9cc5d
+SIZE (gpupetexgl209.tar.gz) = 173744
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:22:32.000000000 -0500
@@ -1,12 +1,6 @@
 lib/psemupro/plugins/libgpuPeteXGL2.so.%%MAJOR%%.0.%%MINOR%%
-libexec/psemupro/cfg/cfgPeteXGL2
 share/psemupro/cfg/gpuPeteXGL2.cfg
 @dirrmtry lib/psemupro/plugins
 @dirrmtry lib/psemupro
-@dirrmtry libexec/psemupro/cfg
-@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:



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