Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 09:07:34 +0000 (UTC)
From:      Johannes Jost Meixner <xmj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370278 - in head: Mk emulators/linux-c6 graphics graphics/linux-c6-libGLU
Message-ID:  <201410070907.s9797Ykx057422@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: xmj
Date: Tue Oct  7 09:07:33 2014
New Revision: 370278
URL: https://svnweb.freebsd.org/changeset/ports/370278
QAT: https://qat.redports.org/buildarchive/r370278/

Log:
  graphics/linux-c6-libGLU: Port of CentOS 6.5's Mesa libGLU
  
  Add port of CentOS 6.5's libGLU library. This allows several games to be used
  with the new CentOS ports.
  
  While here:
   - Add c6 libglu to Mk/bsd.linux-apps.mk
   - Add to emulators/linux-c6 as dependency, bump PORTREVISION
  
  Differential Revision:	https://reviews.freebsd.org/D841
  Approved by: swills (mentor)
  Approved by: portmgr (bapt)

Added:
  head/graphics/linux-c6-libGLU/
  head/graphics/linux-c6-libGLU/Makefile   (contents, props changed)
  head/graphics/linux-c6-libGLU/distinfo.i686   (contents, props changed)
Modified:
  head/Mk/bsd.linux-apps.mk
  head/emulators/linux-c6/Makefile
  head/graphics/Makefile

Modified: head/Mk/bsd.linux-apps.mk
==============================================================================
--- head/Mk/bsd.linux-apps.mk	Tue Oct  7 08:01:52 2014	(r370277)
+++ head/Mk/bsd.linux-apps.mk	Tue Oct  7 09:07:33 2014	(r370278)
@@ -256,6 +256,7 @@ libglade2_DETECT=	${libglade2${LINUX_DIS
 libglade2_PORT=		${PORTSDIR}/devel/linux${LINUX_DIST_SUFFIX}-libglade2
 
 libglu_f10_FILE=	${LINUXBASE}/usr/lib/libGLU.so.1
+libglu_c6_FILE=		${LINUXBASE}/usr/lib/libGLU.so.1
 libglu_DETECT=		${libglu${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
 libglu_PORT=		${PORTSDIR}/graphics/linux${LINUX_DIST_SUFFIX}-libGLU
 

Modified: head/emulators/linux-c6/Makefile
==============================================================================
--- head/emulators/linux-c6/Makefile	Tue Oct  7 08:01:52 2014	(r370277)
+++ head/emulators/linux-c6/Makefile	Tue Oct  7 09:07:33 2014	(r370278)
@@ -3,6 +3,7 @@
 
 PORTNAME=	linux-c6
 PORTVERSION=	0.1
+PORTREVISION=	1
 CATEGORIES=	emulators linux
 MASTER_SITES=	# none
 DISTFILES=	# none
@@ -90,7 +91,8 @@ RUN_DEPENDS+=	linux-c6-libasyncns>0:${PO
 OPTIONS_DEFINE=	NVIDIA_GL
 NVIDIA_GL_DESC=	Use GL driver from nvidia-driver
 
-NVIDIA_GL_RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+NVIDIA_GL_RUN_DEPENDS=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
+			linux-c6-libGLU>0:${PORTSDIR}/graphics/linux-c6-libGLU
 NVIDIA_GL_RUN_DEPENDS_OFF=	linux-c6-dri>0:${PORTSDIR}/graphics/linux-c6-dri
 
 .include <bsd.port.mk>

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Tue Oct  7 08:01:52 2014	(r370277)
+++ head/graphics/Makefile	Tue Oct  7 09:07:33 2014	(r370278)
@@ -552,6 +552,7 @@
     SUBDIR += linux-c6-dri
     SUBDIR += linux-c6-dri-compat
     SUBDIR += linux-c6-jpeg
+    SUBDIR += linux-c6-libGLU
     SUBDIR += linux-c6-tiff
     SUBDIR += linux-c6-cairo
     SUBDIR += linux-c6-png

Added: head/graphics/linux-c6-libGLU/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/linux-c6-libGLU/Makefile	Tue Oct  7 09:07:33 2014	(r370278)
@@ -0,0 +1,28 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME=	libGLU
+PORTVERSION=	9.2
+CATEGORIES=	graphics linux
+DISTNAME=	mesa-libGLU-9.2-0.5.el6
+
+MAINTAINER=	emulation@FreeBSD.org
+COMMENT=	Mesa libGLU runtime libraries (Linux CentOS ${LINUX_DIST_VER})
+
+ALWAYS_KEEP_DISTFILES=	YES
+
+CONFLICTS=	linux-f10-dri-[0-9]* linux-f10-libGLU-[0-9]* linux-c6-dri-[0-9]*
+
+ONLY_FOR_ARCHS=	i386 amd64
+.if defined(PACKAGE_BUILDING)
+SRC_DISTFILES=	mesa-9.2-0.5.el6.src.rpm
+.endif
+
+USE_LINUX=	c6
+USE_LINUX_RPM=	yes
+USE_LDCONFIG=	yes
+DESCR=		${.CURDIR}/../${PORTNAME}/pkg-descr
+PLIST_FILES=	usr/lib/libGLU.so.1 \
+		usr/lib/libGLU.so.1.3.1
+
+.include <bsd.port.mk>

Added: head/graphics/linux-c6-libGLU/distinfo.i686
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/linux-c6-libGLU/distinfo.i686	Tue Oct  7 09:07:33 2014	(r370278)
@@ -0,0 +1,4 @@
+SHA256 (rpm/i686/centos/6.5/mesa-libGLU-9.2-0.5.el6.i686.rpm) = ded5d3f58c8fbe89e9c710d90d578f3fc76cc7b44090ff9c3c87276004f23175
+SIZE (rpm/i686/centos/6.5/mesa-libGLU-9.2-0.5.el6.i686.rpm) = 197372
+SHA256 (rpm/i686/centos/6.5/mesa-9.2-0.5.el6.src.rpm) = 235ebab32077e6658c8785b310c40907bfc0e9bcfec4affabdfd00e28b67f54c
+SIZE (rpm/i686/centos/6.5/mesa-9.2-0.5.el6.src.rpm) = 23336483



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