head	1.3;
access;
symbols
	pkgsrc-2013Q2:1.3.0.2
	pkgsrc-2013Q2-base:1.3
	pkgsrc-2013Q1:1.2.0.40
	pkgsrc-2013Q1-base:1.2
	pkgsrc-2012Q4:1.2.0.38
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2012Q3:1.2.0.36
	pkgsrc-2012Q3-base:1.2
	pkgsrc-2012Q2:1.2.0.34
	pkgsrc-2012Q2-base:1.2
	pkgsrc-2012Q1:1.2.0.32
	pkgsrc-2012Q1-base:1.2
	pkgsrc-2011Q4:1.2.0.30
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q3:1.2.0.28
	pkgsrc-2011Q3-base:1.2
	pkgsrc-2011Q2:1.2.0.26
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2011Q1:1.2.0.24
	pkgsrc-2011Q1-base:1.2
	pkgsrc-2010Q4:1.2.0.22
	pkgsrc-2010Q4-base:1.2
	pkgsrc-2010Q3:1.2.0.20
	pkgsrc-2010Q3-base:1.2
	pkgsrc-2010Q2:1.2.0.18
	pkgsrc-2010Q2-base:1.2
	pkgsrc-2010Q1:1.2.0.16
	pkgsrc-2010Q1-base:1.2
	pkgsrc-2009Q4:1.2.0.14
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2009Q3:1.2.0.12
	pkgsrc-2009Q3-base:1.2
	pkgsrc-2009Q2:1.2.0.10
	pkgsrc-2009Q2-base:1.2
	pkgsrc-2009Q1:1.2.0.8
	pkgsrc-2009Q1-base:1.2
	pkgsrc-2008Q4:1.2.0.6
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.4
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.2
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.1.0.4
	pkgsrc-2008Q2-base:1.1
	cwrapper:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2013.05.16.05.22.02;	author richard;	state dead;
branches;
next	1.2;
commitid	zN883Sx1YLZWAOPw;

1.2
date	2008.07.27.00.03.42;	author bjs;	state Exp;
branches;
next	1.1;

1.1
date	2008.04.24.07.40.24;	author bjs;	state Exp;
branches;
next	;


desc
@@


1.3
log
@upgrade to MesaLib-7.11.2
@
text
@# $NetBSD: pkgsrc,v 1.2 2008/07/27 00:03:42 bjs Exp $

include $(TOP)/configs/default

ifeq ($(USE_XCB), yes)
include $(TOP)/configs/xcb-defs
endif

CONFIG_NAME=	pkgsrc

DEFINES=	-DPTHREADS -DUSE_XSHM -DHZ=$(MESA_HZ) $(XCB_DEFS)
X11_INCLUDES=	-I$(X11BASE)/include $(XCB_X11_INCLUDES)

CFLAGS+=	$(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) \
		$(DEFINES) $(X11_INCLUDES)
CXXFLAGS+=	$(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) \
		$(DEFINES) $(X11_INCLUDES)

LIBTOOL?=	libtool

GLUT_CFLAGS=	-fexceptions # XXX gcc
GL_LIB_DEPS=\
	$(EXTRA_LIB_PATH) -lX11 $(XCB_GL_LIB_DEPS) -lXext -lm $(PTHREAD_STUBLIB)
OSMESA_LIB_DEPS=\
	$(TOP)/$(LIB_DIR)/lib$(GL_LIB).la
GLU_LIB_DEPS=\
	-lGL -lm
GLUT_LIB_DEPS=\
	-lGLU -lGL -lX11 -lXmu -lXt -lXi -lm
GLW_LIB_DEPS=\
	$(TOP)/$(LIB_DIR)/lib$(GL_LIB).la -lXt -lX11

APP_LIB_DEPS=	-lGL -lGLU -lglut -lXext -lXmu -lXi -lX11 -lm

SRC_DIRS=	mesa glw glu glut/glx
DRIVER_DIRS=	x11 osmesa
@


1.2
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: pkgsrc,v 1.1 2008/04/24 07:40:24 bjs Exp $
@


1.1
log
@
Welcome to Mesa-7.0.3.

Changes from 6.4.2 are (obviously) far too numerous to mention!  This
package brings with it support for the Direct Rendering Infrastructure
(DRI) on NetBSD-current; the kernel DRM was committed approximately
one year ago.  Patches for NetBSD 4.0 are available in the mailing list
archives (I think), but are _not supported_.

Developers and other interested parties are encouraged to read the TODO
file, as well as my remarks in options.mk.  There is still a significant
amount of work to be done.  Users of NetBSD/i386 (-current) shouldn't
have much trouble getting mainstream cards (Intel i915 and Radeon 9600-
R430 are by far the most tested) to work.

I have taken great pains to ensure that this works properly, but inevitably
there will be problems--especially on heretofore untested (read: non-x86)
hardware.  Your questions, comments, problem reports, and of course
bug fixes are welcome.

NOTE: There are currently problems (on NetBSD, at least) linking some
executables, e.g. compiz, due to unresolved symbols for libpthread
functions.  This is due to libX11's thread stubs, which should not
be enabled on NetBSD >= 2.0; see the TODO For more information
and the URL of an interim patch.
@
text
@d1 1
a1 1
# $NetBSD$
d33 1
a33 5
# XXX this is wrong, revisit when doing MesaDemos
APP_LIB_DEPS=	$(TOP)/$(LIB_DIR)/lib$(GLUT_LIB).la \
		$(TOP)/$(LIB_DIR)/lib$(GLU_LIB).la \
		$(TOP)/$(LIB_DIR)/lib$(GL_LIB).la \
		-lXext -lXmu -lXi -lX11 -lm
@

