From f5557c3a528fbad3750aaa18595dc3548b600609 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 12 Sep 2007 09:57:53 -0600 Subject: DESTDIR support. --- docs/install.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/install.html') diff --git a/docs/install.html b/docs/install.html index 804dee59b5..0a36143069 100644 --- a/docs/install.html +++ b/docs/install.html @@ -287,7 +287,15 @@ already installed, you'll have to choose different directories, like To install Mesa's headers and libraries, run make install. But first, check the Mesa/configs/default file and examine the values of the INSTALL_DIR and DRI_DRIVER_INSTALL_DIR variables. -Change them if needed, then run make install +Change them if needed, then run make install. +

+ +

+The variable +DESTDIR may also be used to install the contents to a temporary +staging directory. +This can be useful for package management. +For example: make install DESTDIR=/somepath/

-- cgit v1.2.3 From 5bba58ca2215a3c3827e4bbb280eab7ceaa913e9 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 12 Sep 2007 10:11:49 -0600 Subject: updated with pkg-config info --- docs/install.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/install.html') diff --git a/docs/install.html b/docs/install.html index 0a36143069..041e27b833 100644 --- a/docs/install.html +++ b/docs/install.html @@ -306,6 +306,26 @@ This is a handy way to compare multiple OpenGL implementations.

+

1.5 pkg-config support

+ +

+Running make install will install package configuration files +for the pkg-config utility. +

+ +

+When compiling your OpenGL application you can use pkg-config to determine +the proper compiler and linker flags. +

+ +

+For example, compiling and linking a GLUT application can be done with: +

+
+   gcc `pkg-config --cflags --libs glut` mydemo.c -o mydemo
+
+ +

2. Windows Compilation and Installation

-- cgit v1.2.3 From e776e7a95a4fc4fac95048665ab4c981e153b7fb Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 28 Sep 2007 18:39:41 -0600 Subject: update the DRM/DRI instructions --- docs/install.html | 53 +++++++++++++++++------------------------------------ 1 file changed, 17 insertions(+), 36 deletions(-) (limited to 'docs/install.html') diff --git a/docs/install.html b/docs/install.html index 041e27b833..4cd0d4c9dc 100644 --- a/docs/install.html +++ b/docs/install.html @@ -57,50 +57,31 @@ the DRI hardware drivers.
  • -DRM kernel modules and header files from the -DRI project. +For Mesa 7.0.2 +DRM version 2.3 is required.

    -

    -If you don't already have the DRM file, you can get the sources from -CVS by doing: -

    -cvs -z3 -d:pserver:anonymous@anoncvs.freedesktop.org:/cvs/dri co drm
    -
    -

    -See the -DRI Building Instructions for the steps to build the DRM modules. Mesa -6.5 requires at least libdrm 2.0.1 or greater. -

    -

    -You can verify that the DRM files have been properly installed by -running pkg-config --modversion libdrm - -

  • - -
  • -Recent /usr/include/GL/glxproto.h file. -

    You'll need this if you get any errors about _GLXvop_BindTexImageEXT -being undefined. +To check if you already have it, run: +
    +pkg-config --modversion libdrm

    -Download/install the -glproto -module from X.org git, or grab the -glxproto.h file and put it in the -Mesa/include/GL/ directory. +You can download and install a +tarball release or get the code from git with: +
    +git clone git://anongit.freedesktop.org/git/mesa/drm +
    +Then revert to the drm-2.3.0 tag with: +
    +git-reset --hard drm-2.3.0

    -
  • -
  • DRI-enabled X server. -

    Visit -XFree86 -or +

  • +Relatively recent -X.org -for more information. -

    +X.org release. +Mesa depends on a number of X header and library files.
  • -- cgit v1.2.3