View | Details | Raw Unified | Return to bug 205460 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/glfw/Makefile (-8 / +11 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	glfw
4
PORTNAME=	glfw
5
PORTVERSION=	3.0.4
5
PORTVERSION=	3.1.2
6
PORTREVISION=	2
7
CATEGORIES=	graphics
6
CATEGORIES=	graphics
8
MASTER_SITES=	SF
7
MASTER_SITES=	SF
9
8
Lines 12-23 Link Here
12
11
13
LICENSE=	ZLIB
12
LICENSE=	ZLIB
14
13
15
USES=		cmake
14
USES=		cmake zip
16
USE_XORG=	xi xrandr
15
USE_XORG=	xi xrandr
17
USE_GL=		glu
16
USE_GL=		glu
18
USE_GCC=	yes
17
USE_GCC=	yes
19
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
20
19
20
LIB_DEPENDS=	libXinerama.so:${PORTSDIR}/x11/libXinerama \
21
		libXcursor.so:${PORTSDIR}/x11/libXcursor
22
21
CPPFLAGS+=	-I${LOCALBASE}/include
23
CPPFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib
24
LDFLAGS+=	-L${LOCALBASE}/lib
23
25
Lines 37-49 Link Here
37
PORTEXAMPLES=	*
39
PORTEXAMPLES=	*
38
40
39
EXAMPLESSRCDIR1=	${WRKSRC}/examples
41
EXAMPLESSRCDIR1=	${WRKSRC}/examples
40
EXAMPLES_FILES1=	boing gears heightmap simple splitview wave
42
EXAMPLES_FILES1=	boing gears heightmap particles simple splitview wave
41
43
42
EXAMPLESSRCDIR2=	${WRKSRC}/tests
44
EXAMPLESSRCDIR2=	${WRKSRC}/tests
43
EXAMPLESDIR2=		${EXAMPLESDIR}/tests
45
EXAMPLESDIR2=		${EXAMPLESDIR}/tests
44
EXAMPLES_FILES2=	accuracy clipboard defaults events fsaa  gamma glfwinfo \
46
EXAMPLES_FILES2=	clipboard cursor empty events gamma glfwinfo iconify \
45
			iconify joysticks modes peter reopen sharing tearing \
47
			joysticks monitors msaa reopen sharing tearing threads \
46
			threads title windows
48
			title windows
47
49
48
OPTIONS_DEFINE=	DOCS EXAMPLES
50
OPTIONS_DEFINE=	DOCS EXAMPLES
49
51
Lines 51-57 Link Here
51
	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \
53
	@${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \
52
		${WRKSRC}/CMakeLists.txt
54
		${WRKSRC}/CMakeLists.txt
53
55
54
post-install:
56
do-install-DOCS-on:
55
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
56
	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
58
	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
59
	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
Lines 58-63 Link Here
58
	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
60
	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
59
	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
61
	${INSTALL_DATA} ${DOC_FILES3:S|^|${DOCSRCDIR3}/|} ${STAGEDIR}${DOCSDIR3}
60
62
63
do-install-EXAMPLES-on:
61
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
64
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
62
	${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \
65
	${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR1}/|} \
63
		${STAGEDIR}${EXAMPLESDIR}
66
		${STAGEDIR}${EXAMPLESDIR}
(-)graphics/glfw/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (glfw-3.0.4.tar.gz) = c8bea730b1e3a6ec690370dfa0ec06716e3c4e454736c58bef584dff13cdb784
1
SHA256 (glfw-3.1.2.zip) = 2a38f4a32d2e1fcdffbe8c70052cd27020f9fef6e769afc8ccf8c7f9a1df635d
2
SIZE (glfw-3.0.4.tar.gz) = 592216
2
SIZE (glfw-3.1.2.zip) = 1096151
(-)graphics/glfw/files/patch-tests_empty.c (+10 lines)
Line 0 Link Here
1
--- tests/empty.c.orig	2015-01-20 03:12:31 UTC
2
+++ tests/empty.c
3
@@ -34,6 +34,7 @@
4
 #include <math.h>
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <sys/time.h> /* CLOCK_REALTIME */
8
 
9
 static volatile GLboolean running = GL_TRUE;
10
 
(-)graphics/glfw/pkg-descr (-5 / +4 lines)
Lines 1-10 Link Here
1
GLFW is a free, Open Source, portable library for OpenGL and OpenGL ES
1
GLFW is a free, Open Source, multi-platform library for OpenGL and OpenGL ES
2
application development.  It provides a simple, platform-independent API for
2
application development.  It provides a simple, platform-independent API for
3
creating windows and contexts, reading input, handling events, etc.
3
creating windows and contexts, reading input, handling events, etc.
4
4
5
Version 3.0 brings a new API with many new features such as multiple windows
5
Version 3.1.2 adds fixes for a large number of bugs that together affect all
6
and contexts, multi-monitor support, EGL and OpenGL ES support, clipboard text
6
supported platforms, as well as dynamic loading work that simplifies compilation
7
support, an error description callback, gamma ramp control, layout-independent
7
and linking.
8
keyboard input and UTF-8 for all strings.
9
8
10
WWW: http://www.glfw.org/
9
WWW: http://www.glfw.org/
(-)graphics/glfw/pkg-plist (-2 / +2 lines)
Lines 1-7 Link Here
1
include/GLFW/glfw3.h
1
include/GLFW/glfw3.h
2
include/GLFW/glfw3native.h
2
include/GLFW/glfw3native.h
3
lib/cmake/glfw/glfwConfig.cmake
3
lib/cmake/glfw/glfw3Config.cmake
4
lib/cmake/glfw/glfwConfigVersion.cmake
4
lib/cmake/glfw/glfw3ConfigVersion.cmake
5
lib/cmake/glfw/glfwTargets-%%CMAKE_BUILD_TYPE%%.cmake
5
lib/cmake/glfw/glfwTargets-%%CMAKE_BUILD_TYPE%%.cmake
6
lib/cmake/glfw/glfwTargets.cmake
6
lib/cmake/glfw/glfwTargets.cmake
7
lib/libglfw3.a
7
lib/libglfw3.a

Return to bug 205460