summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-06 06:12:03 +0100
committerSven Gothel <[email protected]>2010-11-06 06:12:03 +0100
commitb0845ac49e7717c88b1714766518ac553751fa97 (patch)
tree370df336d6b0fc54e82b687d93a51c930647fcca
parent5eceb08e10660c9f01de1a21abf816978454a486 (diff)
Complete switching over to std X11 Xinerama started with f47e8be170731d75a8b6002621a1541f90160465
-rw-r--r--doc/HowToBuild.html9
-rw-r--r--make/build-nativewindow.xml15
-rw-r--r--make/config/nativewindow/x11-lib.cfg2
3 files changed, 15 insertions, 11 deletions
diff --git a/doc/HowToBuild.html b/doc/HowToBuild.html
index 52d094906..6097c5785 100644
--- a/doc/HowToBuild.html
+++ b/doc/HowToBuild.html
@@ -82,14 +82,14 @@
<li>gcc</li>
<li>libgl1-mesa-dev</li>
<li>libglu1-mesa-dev</li>
+ <li>xorg-dev</li>
<li>libice-dev</li>
<li>libsm-dev</li>
<li>libx11-dev</li>
<li>libxext-dev</li>
<li>libxxf86vm-dev</li>
+ <li>libxinerama-dev</li>
<li>libxrandr-dev</li>
- <li>libxext-dev</li>
- <li>xorg-dev</li>
<li>Optional: Your card vendor's proprietary driver</li>
</ul>
</li>
@@ -106,16 +106,17 @@
<li>git</li>
<li>gcc</li>
<li>mesa-libGL-devel</li>
+ <li>xorg-x11-proto-devel</li>
<li>libICE-devel</li>
<li>libSM-devel</li>
<li>libX11-devel</li>
+ <li>libXext-devel</li>
<li>libXau-devel</li>
<li>libXdmcp-devel</li>
<li>libXt-devel</li>
<li>libXxf86vm-devel</li>
+ <li>libXinerama-devel</li>
<li>libXrandr-devel</li>
- <li>libXext-devel</li>
- <li>xorg-x11-proto-devel</li>
<li>Optional: Your card vendor's proprietary driver</li>
</ul>
</li>
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 4c78cc9da..ede1f0f2d 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -127,7 +127,8 @@
<include name="${stub.includes}/macosx/**" />
<include name="${stub.includes}/win32/**" />
<include name="${stub.includes}/x11/**" />
- <include name="${stub.includes}/common/**" />
+ <include name="${stub.includes}/gluegen/**" />
+ <include name="${stub.includes}/khr/**" />
<include name="${stub.includes}/jni/**" />
</dirset>
<fileset id="stub.includes.dependencies.fileset.1" dir="${stub.includes}">
@@ -256,7 +257,7 @@
<target name="java.generate.platforms" >
<echo message="Generating platform-specifics: os: ${window.os.system}, cfgs: ${windowlib.os.cfg}, ${jawt.cfg}" />
- <dirset id="stub.includes.fileset.platform" dir="." includes="${stub.includes}/${window.os.system}/** ${stub.includes}/common/**" />
+ <dirset id="stub.includes.fileset.platform" dir="." includes="${stub.includes}/${window.os.system}/** ${stub.includes}/gluegen/** ${stub.includes}/khr/**" />
<antcall target="java.generate.windowlib" inheritRefs="true" />
<antcall target="java.generate.jawt" inheritRefs="true" />
</target>
@@ -266,7 +267,7 @@
- from the C GL headers. This involves setting the taskdef and creating
- the classpath reference id then running the task on each header.
-->
- <target name="java.generate" depends="common.gluegen.build, java.generate.check" unless="java.generate.skip">
+ <target name="java.generate" depends="init, common.gluegen.build, java.generate.check" unless="java.generate.skip">
<!-- Add the GlueGen and BuildStaticGLInfo tasks to ANT -->
<taskdef name="gluegen" classname="com.sun.gluegen.ant.GlueGenTask"
@@ -362,21 +363,25 @@
<linker id="linker.cfg.freebsd.nativewindow.x11" extends="linker.cfg.freebsd">
<syslibset dir="/usr/local/lib" libs="X11"/>
<syslibset dir="/usr/local/lib" libs="Xxf86vm" />
+ <syslibset dir="/usr/local/lib" libs="Xinerama"/>
</linker>
<linker id="linker.cfg.freebsd.amd64.nativewindow.x11" extends="linker.cfg.freebsd.amd64">
<syslibset dir="/usr/local/lib" libs="X11" />
<syslibset dir="/usr/local/lib" libs="Xxf86vm" />
+ <syslibset dir="/usr/local/lib" libs="Xinerama"/>
</linker>
<linker id="linker.cfg.linux.nativewindow.x11" extends="linker.cfg.linux">
<syslibset libs="X11"/>
<syslibset libs="Xxf86vm" />
+ <syslibset libs="Xinerama"/>
</linker>
<linker id="linker.cfg.linux.amd64.nativewindow.x11" extends="linker.cfg.linux.amd64">
<syslibset libs="X11"/>
<syslibset libs="Xxf86vm" />
+ <syslibset libs="Xinerama"/>
</linker>
<linker id="linker.cfg.solaris.nativewindow.x11" extends="linker.cfg.solaris">
@@ -412,6 +417,7 @@
<linker id="linker.cfg.hpux.nativewindow" extends="linker.cfg.hpux">
<syslibset dir="/usr/lib" libs="X11"/>
+ <syslibset dir="/usr/lib" libs="Xinerama"/>
</linker>
</target>
@@ -556,9 +562,6 @@
<include name="${rootrel.generated.c}/X11/X11*.c" if="isX11"/>
<include name="${rootrel.src.c}/x11/Xmisc.c" if="isX11"/>
<include name="${rootrel.src.c}/x11/XineramaHelper.c" if="isX11"/>
- <!-- Xinerama supporting functions for Linux only (for now) -->
- <!-- Also supported on Solaris, but works differently -->
- <include name="${rootrel.src.c}/x11/Xinerama.c" if="isLinux"/>
</patternset>
<echo message="Compiling @{output.lib.name}" />
diff --git a/make/config/nativewindow/x11-lib.cfg b/make/config/nativewindow/x11-lib.cfg
index 2380f07ad..e554259b8 100644
--- a/make/config/nativewindow/x11-lib.cfg
+++ b/make/config/nativewindow/x11-lib.cfg
@@ -2,7 +2,7 @@
# used internally by the X11GLContext implementation.
Package com.jogamp.nativewindow.impl.x11
JavaClass X11Lib
-Style allstatic
+Style AllStatic
HierarchicalNativeOutput false