From 6606458d0c02eeb50f529be9866d28623bd09c56 Mon Sep 17 00:00:00 2001
From: Steven
Date: Thu, 26 Dec 2013 21:16:44 +0000
Subject: [PATCH] Move the sgml stuff to Linux/sgml, and update doco re gamma
known-bugs.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@882 af15c1b1-3010-417e-b628-4374ebc0bcbd
---
Linux/sgml/Makefile.sgml | 6 ++++
README.sgml => Linux/sgml/README.sgml | 9 +++--
Linux/sgml/sgml2rawtxt | 4 +++
README.html | 7 ++--
README.txt | 51 +++++++++++++--------------
5 files changed, 46 insertions(+), 31 deletions(-)
create mode 100644 Linux/sgml/Makefile.sgml
rename README.sgml => Linux/sgml/README.sgml (97%)
create mode 100755 Linux/sgml/sgml2rawtxt
diff --git a/Linux/sgml/Makefile.sgml b/Linux/sgml/Makefile.sgml
new file mode 100644
index 00000000..375a50e2
--- /dev/null
+++ b/Linux/sgml/Makefile.sgml
@@ -0,0 +1,6 @@
+# sgml tools are from linuxdoc-tools
+default: README.sgml
+ sgml2html -s 0 -T 2 README.sgml 2>/dev/null
+all: default text
+text txt: README.sgml
+ sgml2rawtxt README
diff --git a/README.sgml b/Linux/sgml/README.sgml
similarity index 97%
rename from README.sgml
rename to Linux/sgml/README.sgml
index ba9fe802..b439bdc7 100644
--- a/README.sgml
+++ b/Linux/sgml/README.sgml
@@ -4,7 +4,7 @@
-Page last edited Oct. 12, 2013
+Page last edited Dec. 27, 2013
About
@@ -85,7 +85,9 @@ Alternatively, have a look at Makefile.darwin for more instructions on
Known Bugs
-Some versions of Xorg and SDL have brightness issues. If you have Xorg >= 7.5 and broken brightness,
+Some versions of Xorg and SDL have brightness issues.
+
+Try setting "export SDL_VIDEO_X11_NODIRECTCOLOR=1", or if you have Xorg >= 7.5 and broken brightness,
these patched libSDL binaries may help.
-
+
+OS X has a well known gamma issue where the screen turns dark, but we currently have no fix.
+
Changes
diff --git a/Linux/sgml/sgml2rawtxt b/Linux/sgml/sgml2rawtxt
new file mode 100755
index 00000000..d87d2d36
--- /dev/null
+++ b/Linux/sgml/sgml2rawtxt
@@ -0,0 +1,4 @@
+#!/bin/bash
+sgml2txt -b 2 "$1"
+cat "$1.txt" | sed -e 's/[^m]*m//g' -e 's/.//g' >tmp$$
+mv tmp$$ "$1.txt"
diff --git a/README.html b/README.html
index d4c24b08..0a020daa 100644
--- a/README.html
+++ b/README.html
@@ -12,7 +12,7 @@
-Page last edited Oct. 12, 2013
+Page last edited Dec. 27, 2013
@@ -158,7 +158,8 @@ Compile time options include
Alternatively, have a look at Makefile.darwin for more instructions on building from a console.
-Some versions of Xorg and SDL have brightness issues. If you have Xorg >= 7.5 and broken brightness,
+
Some versions of Xorg and SDL have brightness issues.
+Try setting "export SDL_VIDEO_X11_NODIRECTCOLOR=1", or if you have Xorg >= 7.5 and broken brightness,
these patched libSDL binaries may help.
+OS X has a well known gamma issue where the screen turns dark, but we currently have no fix.
@@ -416,4 +418,3 @@ these patched libSDL binaries may help.