head 1.16; access; symbols pkgsrc-2023Q4:1.16.0.36 pkgsrc-2023Q4-base:1.16 pkgsrc-2023Q3:1.16.0.34 pkgsrc-2023Q3-base:1.16 pkgsrc-2023Q2:1.16.0.32 pkgsrc-2023Q2-base:1.16 pkgsrc-2023Q1:1.16.0.30 pkgsrc-2023Q1-base:1.16 pkgsrc-2022Q4:1.16.0.28 pkgsrc-2022Q4-base:1.16 pkgsrc-2022Q3:1.16.0.26 pkgsrc-2022Q3-base:1.16 pkgsrc-2022Q2:1.16.0.24 pkgsrc-2022Q2-base:1.16 pkgsrc-2022Q1:1.16.0.22 pkgsrc-2022Q1-base:1.16 pkgsrc-2021Q4:1.16.0.20 pkgsrc-2021Q4-base:1.16 pkgsrc-2021Q3:1.16.0.18 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.16 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.14 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.12 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.16.0.10 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.16.0.8 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.16.0.4 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.6 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.16.0.2 pkgsrc-2019Q3-base:1.16 pkgsrc-2019Q2:1.15.0.4 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.2 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.14.0.14 pkgsrc-2018Q4-base:1.14 pkgsrc-2018Q3:1.14.0.12 pkgsrc-2018Q3-base:1.14 pkgsrc-2018Q2:1.14.0.10 pkgsrc-2018Q2-base:1.14 pkgsrc-2018Q1:1.14.0.8 pkgsrc-2018Q1-base:1.14 pkgsrc-2017Q4:1.14.0.6 pkgsrc-2017Q4-base:1.14 pkgsrc-2017Q3:1.14.0.4 pkgsrc-2017Q3-base:1.14 pkgsrc-2017Q2:1.13.0.18 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.16 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.14 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.12 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.10 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.8 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.6 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.4 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.2 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.11.0.14 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.12 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.10 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.8 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.11.0.6 pkgsrc-2014Q1-base:1.11 pkgsrc-2013Q4:1.11.0.4 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.2 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.10.0.6 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.4 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.2 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.9.0.8 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.6 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.4 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.2 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.8.0.28 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.26 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.24 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.22 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.20 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.18 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.16 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.14 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.12 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.10 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.8 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.6 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.4 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.2 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.2 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.12 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.10 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.8 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.6 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.4 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.1.1.1.0.2 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.16 date 2019.08.22.09.55.50; author nia; state Exp; branches; next 1.15; commitid srf9y4WvSFA4x0AB; 1.15 date 2019.01.04.01.18.14; author tnn; state Exp; branches; next 1.14; commitid UeQhUeiyb7gQ3p6B; 1.14 date 2017.08.01.14.59.00; author wiz; state Exp; branches; next 1.13; commitid WdGfxAP8wrFJlw1A; 1.13 date 2015.04.25.14.23.12; author tnn; state Exp; branches; next 1.12; commitid fkfRjMEDCPfoNYiy; 1.12 date 2015.04.03.02.05.02; author tnn; state Exp; branches; next 1.11; commitid V31bl85EX1B4q5gy; 1.11 date 2013.08.10.23.02.26; author khorben; state Exp; branches; next 1.10; commitid tW3CLm9uOd3ZGX0x; 1.10 date 2012.10.06.14.10.55; author asau; state Exp; branches 1.10.6.1; next 1.9; 1.9 date 2011.12.14.00.16.13; author marino; state Exp; branches; next 1.8; 1.8 date 2008.08.23.02.31.50; author dsainty; state Exp; branches; next 1.7; 1.7 date 2008.07.27.00.03.42; author bjs; state Exp; branches; next 1.6; 1.6 date 2008.05.29.20.54.14; author tnn; state Exp; branches; next 1.5; 1.5 date 2008.05.29.19.13.24; author tnn; state Exp; branches; next 1.4; 1.4 date 2008.04.24.09.41.38; author tnn; state Exp; branches; next 1.3; 1.3 date 2008.03.04.15.39.10; author jlam; state Exp; branches; next 1.2; 1.2 date 2006.08.01.21.40.20; author jlam; state Exp; branches; next 1.1; 1.1 date 2006.06.13.23.44.09; author reed; state Exp; branches 1.1.1.1; next ; 1.10.6.1 date 2013.08.11.18.29.10; author tron; state Exp; branches; next ; commitid KLGh6aHLTpDB941x; 1.1.1.1 date 2006.06.13.23.44.09; author reed; state Exp; branches; next ; desc @@ 1.16 log @Update MASTER_SITES for mesa-demos. @ text @# $NetBSD: Makefile,v 1.15 2019/01/04 01:18:14 tnn Exp $ DISTNAME= mesa-demos-8.4.0 PKGNAME= ${DISTNAME:S/mesa-demos/glx-utils/} CATEGORIES= x11 graphics MASTER_SITES= https://mesa.freedesktop.org/archive/demos/ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://cgit.freedesktop.org/mesa/demos/ COMMENT= OpenGL glxgears and glxinfo #LICENSE= # Similar to mit but with SGI advertising clause. NO_CONFIGURE= yes USE_LANGUAGES= c INSTALLATION_DIRS= bin LDFLAGS+= -lX11 # ld 2.22 wants each library explicitly do-build: cd ${WRKSRC}/src/xdemos && \ ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ glxgears.c ${LDFLAGS} \ -L../../lib -lGLU -lGL -lm -lXext \ -o glxgears && \ ${SETENV} ${MAKE_ENV} ${CC} -I../../include ${CFLAGS} \ glxinfo.c glinfo_common.c ${LDFLAGS} \ -L../../lib -lGLU -lGL -lm -lXext -o glxinfo do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/xdemos/glxgears \ ${DESTDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/src/xdemos/glxinfo \ ${DESTDIR}${PREFIX}/bin/ .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.15 log @glx-utils: update to 8.4.0 - glxinfo now supports OpenGL 4.6 - glxinfo prints more OpenGL limits (GL 3.0 up to GL 4.6) - glxinfo gained support for GL_ATI_meminfo and GL_NVX_gpu_memory_info @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2017/08/01 14:59:00 wiz Exp $ d6 1 a6 1 MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/ @ 1.14 log @Follow some http -> https redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2015/04/25 14:23:12 tnn Exp $ d3 1 a3 1 DISTNAME= mesa-demos-8.2.0 a4 1 PKGREVISION= 1 d6 1 a6 1 MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/demos/8.2.0/ a19 1 @ 1.13 log @Recursive revbump following MesaLib update, categories g through n. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2015/04/03 02:05:02 tnn Exp $ d11 1 a11 1 HOMEPAGE= http://cgit.freedesktop.org/mesa/demos/ @ 1.12 log @Update to glx-utils-8.2.0: sync w/ MesaDemos @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2013/08/10 23:02:26 khorben Exp $ d5 1 @ 1.11 log @Crude compilation fix for graphics/glx-utils: - MesaDemos 7.11.2 was never released - fall back to MesaDemos 7.4.4 for the time being (as still found in distinfo) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2012/10/06 14:10:55 asau Exp $ d3 2 a4 2 DISTNAME= MesaDemos-${MESA_VERSION} PKGNAME= glx-utils-${MESA_VERSION} d6 5 d12 1 d14 2 a15 4 .include "../../graphics/Mesa/Makefile.common" MESA_VERSION= 7.4.4 MESA_PATCHFILES= # don't track Mesa patchlevels a19 2 .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" d22 1 a22 1 cd ${WRKSRC}/progs/xdemos && \ d28 1 a28 1 glxinfo.c ${LDFLAGS} \ d32 1 a32 1 ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears \ d34 1 a34 1 ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo \ d37 2 @ 1.10 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2011/12/14 00:16:13 marino Exp $ d9 1 @ 1.10.6.1 log @Pullup ticket #4205 - requested by khorben graphics/glx-utils: build fix Revisions pulled up: - graphics/glx-utils/Makefile 1.11 - graphics/glx-utils/hacks.mk 1.1 --- Module Name: pkgsrc Committed By: khorben Date: Sat Aug 10 23:02:26 UTC 2013 Modified Files: pkgsrc/graphics/glx-utils: Makefile Added Files: pkgsrc/graphics/glx-utils: hacks.mk Log Message: Crude compilation fix for graphics/glx-utils: - MesaDemos 7.11.2 was never released - fall back to MesaDemos 7.4.4 for the time being (as still found in distinfo) @ text @d1 1 a1 1 # $NetBSD$ a8 1 MESA_VERSION= 7.4.4 @ 1.9 log @graphics/glx-utils: explicitly list all linked libraries Required for default linking behavior of binutils 2.22 ld @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/08/23 02:31:50 dsainty Exp $ a7 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.8 log @Remove a comment about -lpthread that no longer applies now that libGL.so links with libpthread on platforms that require it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2008/07/27 00:03:42 bjs Exp $ d15 1 @ 1.7 log @ Update to Mesa-7.0.4 (the head of the 7.0 branch in GIT). Basically, lots of bug fixes; the intent of my update was mostly to fix problems with i915 and r300 dri drivers and to provide the best environment possible for the xorg server update to the 1.4 branch. Morever, many of our patches from pkgsrc, i.e. those removed in this commit, are now included upstream. Additionally, MesaDemos now builds. NOTES: - MesaLib now requires xf86driproto 2.0.4, as earlier versions install dri_interface.h, which is not correct. - glu now exports its symbols via libtool's -export-symfile. The symfile is generated pre-build--see glu/Makefile. - glxinfo/glxgears do not seem to need to be linked to libpthread, and this seems to cause problems on NetBSD with the new drm code. If I am wrong about this, please let me know. The only program that seems to need libpthread is glthreads in MesaDemos. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2008/05/29 20:54:14 tnn Exp $ a18 5 ### ### XXX I don't think these are usually built with -lpthread, but ### I'm not sure. ### @ 1.6 log @Revert previous, sharing the distinfo doesn't work because of the MESA_PATCHLEVEL junk. Instead make graphics/glx-utils not track the mesa patchlevel at all. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2008/05/29 19:13:24 tnn Exp $ d19 5 d27 2 a28 2 ${PTHREAD_CFLAGS} glxgears.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} \ d31 2 a32 2 ${PTHREAD_CFLAGS} glxinfo.c ${LDFLAGS} ${PTHREAD_LDFLAGS} \ -L../../lib -lGLU -lGL -lm -lXext ${PTHREAD_LIBS} -o glxinfo @ 1.5 log @Actually let's just reach over for the distinfo now that it works. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2008/04/24 09:41:38 tnn Exp $ d4 1 a4 1 PKGNAME= glx-utils-${MESA_PKGVERSION} d12 1 a12 1 DISTINFO_FILE= ${.CURDIR}/../MesaLib/distinfo @ 1.4 log @Update to glx-utils-7.0.3 (catch up w/ Mesa) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2008/03/04 15:39:10 jlam Exp $ d12 2 @ 1.3 log @Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2006/08/01 21:40:20 jlam Exp $ d4 1 a4 1 PKGNAME= glx-utils-${MESA_VERSION} @ 1.2 log @Split Mesa/Makefile.common into Makefile.common and Makefile.lib. The latter is used by packages that build libraries from the Mesa sources, while the former is only if the package builds from the Mesa sources. Modify the various Mesa packages to include the proper Makefile, and add some documentation to the Makefiles. As a side effect, this suppresses the "duplicate target" warning in graphics/glx-utils that was caused by having the same distfile listed in DISTFILES more than once. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2006/06/13 23:44:09 reed Exp $ d8 2 d28 4 a31 2 ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxgears ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/progs/xdemos/glxinfo ${PREFIX}/bin/ @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2006/02/09 12:27:42 adam Exp $ d3 1 a7 3 PATCHDIR= ${.CURDIR}/patches DISTINFO_FILE= ${.CURDIR}/distinfo a8 2 DISTNAME= MesaDemos-${MESA_VERSION} WRKSRC= ${WRKDIR}/Mesa-${MESA_VERSION} a9 1 USE_LANGUAGES= c c++ d12 3 a28 3 .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" @ 1.1.1.1 log @Import glx-utils. I chose the graphics category since that's where the rest of its family is. The glxinfo program can be used to learn about your OpenGL library. It can identify the OpenGL implementation in use and the detected hardware. The glxgears program is a GLX implementation of the "gears" demo. These tools are from the MesaDemos source code. @ text @@