Initial import of the web page -- Release of 2.2.0

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@403 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
puggles 2003-12-13 18:56:30 +00:00
parent 3212d13152
commit ae6a201f0e
12 changed files with 221 additions and 53 deletions

8
.gitattributes vendored
View File

@ -85,6 +85,14 @@ freeglut/freeglut/src/templates/cpp_template svn_keywords=Author+Date+Id+Revisio
freeglut/freeglut/src/templates/header_template svn_keywords=Author+Date+Id+Revision freeglut/freeglut/src/templates/header_template svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/stamp-h svn_keywords=Author+Date+Id+Revision freeglut/freeglut/stamp-h svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/stamp-h.in svn_keywords=Author+Date+Id+Revision freeglut/freeglut/stamp-h.in svn_keywords=Author+Date+Id+Revision
freeglut/web-src/docs/api.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/docs/install.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/freeglut-style.css svn_keywords=Author+Date+Id+Revision freeglut/web-src/freeglut-style.css svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/OGL.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/chessdemo.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/freeglut_logo.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/freeglut_logo.xcf svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/freeglut_text.xcf svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/images/tuxcake.png svneol=native#unset svn_keywords=Author+Date+Id+Revision
freeglut/web-src/index.php svn_keywords=Author+Date+Id+Revision freeglut/web-src/index.php svn_keywords=Author+Date+Id+Revision
freeglut/web-src/template.php svn_keywords=Author+Date+Id+Revision freeglut/web-src/template.php svn_keywords=Author+Date+Id+Revision

View File

@ -0,0 +1,22 @@
<?PHP
# Freeglut Web Page
# This block ensures that template.php is always hit, no matter what subdirectory
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
$require_target .= "template.php";
require($require_target);
# Now set the title of the page:
setPageTitle("API Documentation");
# Make the header.
generateHeader($_SERVER['PHP_SELF']);
?>
<div class="textheader">Notes on usage</div>
<p>freeglut is platform independent, but specific examples here will assume the use of the GNU C compiler and the GNU C library.</p>
<?PHP
generateFooter();
?>

View File

@ -0,0 +1,50 @@
<?PHP
# Freeglut Web Page
# This block ensures that template.php is always hit, no matter what subdirectory
$slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
$require_target .= "template.php";
require($require_target);
# Now set the title of the page:
setPageTitle("Installation Instructions");
# Make the header.
generateHeader($_SERVER['PHP_SELF']);
?>
<div class="textheader">How to install freeglut...</div>
<p>It's not *that* hard...</p>
<div class="textheader">Download freeglut</div>
<p>First, you need to download a freeglut release. Newer is generally better, but unless you know what you're doing, you should use a release marked "Stable." So download the newest Stable release that you can.</p>
<div class="textheader">Untar and configure the packages</div>
<p>Copy the tarball you downloaded into a temporary directory. Untar it as follows:</p>
<blockquote>tar -jvxf freeglut-2.X.X.tar.bz2</blockquote>
<div class="textheader">Change to the resulting directory:</div>
<blockquote>cd freeglut-2.X.X</blockquote>
<div class="textheader">Now, configure the packages:</div>
<blockquote>./configure</blockquote>
<div class="textheader">Build and install freeglut</div>
<p>Once that completes, it's time to build and install freeglut (Note that you will have to be the superuser to make install).</p>
<p>This is as simple as:</p>
<blockquote>make all
make install</blockquote>
<div class="textheader">(Optional) Making symlinks to replace GLUT</div>
<p>Make a symlink from libfreeglut.so.0.2.0 to libglut.so.3, libglut.so.3.7 and libglut.so.3.7.0</p>
<blockquote>ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3<br>
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7<br>
ln -s /usr/lib/libfreeglut.so.0.2.0 /usr/lib/libglut.so.3.7.0</blockquote>
<?PHP
generateFooter();
?>

View File

@ -1,12 +1,13 @@
BODY { BODY {
margin-top: 0px ; margin-top: 0px ;
margin-left: 140px ;
background-color: #FFFFFF; background-color: #FFFFFF;
color: #000000; color: #000000;
} }
A { A {
text-decoration: none; text-decoration: none;
color: #DDAADD; color: #DD3322;
} }
A.hover { A.hover {
@ -14,9 +15,9 @@ A.hover {
} }
BLOCKQUOTE { BLOCKQUOTE {
color: #FFFFFF ; color: #000000 ;
border: 2px #222222 solid ; border: 1px #0000CC solid ;
background-color: #333333 ; background-color: #C0C0FF ;
padding: 3px; padding: 3px;
} }
@ -26,64 +27,70 @@ BLOCKQUOTE {
width: 100%; width: 100%;
} }
.indent {
margin-left: 20px;
}
.navbar-left { .navbar-left {
font-size: 0.8em
color: #000000 ; color: #000000 ;
background-color: #333333 ; background-color: #EDEDFF ;
position: absolute ; position: absolute ;
float: left;
left: 0px ; left: 0px ;
width: 100px ; width: 130px ;
float: left ; border: 1px #A0A0A0 solid ;
border: 2px #222222 solid ; }
.navbar-smalltext {
font-size: 0.7em;
text-align: center;
font-style: italic;
} }
.navbar-header { .navbar-header {
font-size: 1.2em; font-size: 1.0em;
color: #AAAAAA; color: #151111;
background-color: transparent; background-color: transparent;
text-align: center; text-align: center;
} }
.navbar-item { .navbar-item {
font-size: 1.0em ; font-size: 1.0em ;
color: #FFFF00 ; color: #303010 ;
background-color: transparent ; background-color: #FFFFFF ;
border: 1px #111111 solid ; border: 1px #EDEDFF solid ;
margin-top: 0px; margin-top: 0px;
padding: 3px; padding: 1px;
text-align: center; text-align: center;
} }
.smallblock { .img-right {
font-size: 1.0em; padding: 1px;
color: #FFFFFF; float: right;
background-color: #221A22; color: #209040;
border: 1px #111111 solid ;
padding: 2px;
}
.main-side {
margin-left: 110px;
margin-right: 10px;
}
.title {
font-size: 1.8em;
color: #FFFFFF;
background-color: transparent;
padding: 5px;
text-align: center; text-align: center;
} }
.block { .news-item {
font-size: 1.0em; border: 1px #000000 solid ;
border: 2px #333333 solid ; margin-bottom: 5px;
padding: 3px; padding: 8px;
background-color: #111111; background-color: #EFEFFF;
color: #000000;
} }
.block-title { .news-header {
font-size: 1.4em; font-size: 1.4em;
border: 2px #665533 solid ; border: 1px #111166 solid ;
padding: 3px; background-color: #FEFEFF;
background-color: #333333; color: #000000;
padding: 5px;
width: 90%;
}
.news-subheader {
font-size: 1.1em;
border-bottom: 1px #111166 solid ;
width: 100%;
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +1,23 @@
<?PHP <?PHP
require("template.php"); # Freeglut Web Page
setPageTitle("Front Page"); # This block ensures that template.php is always hit, no matter what subdirectory
generateHeader(); $slashes=substr_count ( $_SERVER['PHP_SELF'], "/");
for (;$slashes>1; $slashes--) { $require_target .= "../"; }
$require_target .= "template.php";
require($require_target);
# Now set the title of the page:
setPageTitle("About");
# Make the header.
generateHeader($_SERVER['PHP_SELF']);
?> ?>
<div class="img-right"><img src="/images/chessdemo.png"><BR>
GLUT's "Chess" demo<BR>
running with freeglut.</div>
<div class="textheader">What?</div> <div class="textheader">What?</div>
<p>freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to support the sample programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical applications because it is simple, universally available and highly portable.</p> <p>freeglut is a completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to support the sample programs in the second edition OpenGL 'RedBook'. Since then, GLUT has been used in a wide variety of practical applications because it is simple, universally available and highly portable.</p>
<p>GLUT (and hence freeglut) allows the user to create and manage windows containing OpenGL contexts on a wide range of platforms and also read the mouse, keyboard and joystick functions.</p> <p>GLUT (and hence freeglut) allows the user to create and manage windows containing OpenGL contexts on a wide range of platforms and also read the mouse, keyboard and joystick functions.</p>
@ -18,22 +32,38 @@ generateHeader();
<div class="textheader">When?</div> <div class="textheader">When?</div>
<p>Pawel started freeglut development on December 1st, 1999. The project is now a virtually 100% replacement for the original GLUT with only a few departures (such as the abandonment of SGI-specific features such as the Dials&Buttons box and Dynamic Video Resolution).</p> <p>Pawel started freeglut development on December 1st, 1999. The project is now a virtually 100% replacement for the original GLUT with only a few departures (such as the abandonment of SGI-specific features such as the Dials&Buttons box and Dynamic Video Resolution).</p>
<a name="download"></a>
<div class="textheader">Downloads...</div> <div class="textheader">Downloads...</div>
<p>Below are file links for the freeglut project. README files are included, or you can check the install documentation. Have fun!</p> <p>Below are file links for the freeglut project. README files are included, or you can check the install documentation. Have fun!</p>
<div class="indent">
<div class="textheader">Stable Releases</div>
<p>
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.2.0.tar.gz?download">Freeglut 2.2.0</a> [<i>Released: 12 December 2003</i>]<br>
<a href="http://prdownloads.sourceforge.net/freeglut/freeglut-2.0.1.tar.gz?download">Freeglut 2.0.1</a> [<i>Released: 23 October 2003</i>]
</p>
<div class="textheader">Prepackaged Releases</div> <div class="textheader">Prepackaged Releases</div>
<p>The freeglut project does not support packaged versions of freeglut excepting, of course, the tarballs distributed here. However, various members of the community have put time and effort into providing source or binary rollups, and we thank them for their efforts. Here's a list which is likely incomplete:</p> <p>The freeglut project does not support packaged versions of freeglut excepting, of course, the tarballs distributed here. However, various members of the community have put time and effort into providing source or binary rollups, and we thank them for their efforts. Here's a list which is likely incomplete:</p>
<p>Andy Piper's RedHat Fedora RPMs</p> <p>
<a href="http://jumpgate.homelinux.net/random/freeglut-fedora/">Andy Piper's RedHat Fedora RPMs</a>
</p>
<p>If you have problems with these packages, please contact their maintainers - we of the freeglut team probably can't help.</p> <p>If you have problems with these packages, please contact their maintainers - we of the freeglut team probably can't help.</p>
<div class="textheader">Development Releases</div>
<p>
<a href="http://freeglut.sourceforge.net/dist/current.tgz">Nightly CVS Tarball</a><br>
<a href="/dinfo.php#cvs">Anonymous CVS Instructions</a>
</p>
</div>
<div class="textheader">Questions?</div> <div class="textheader">Questions?</div>
<p>Don't be afraid to ask for help. We don't bite. Much.</p> <p>Don't be afraid to ask for help. We don't bite. Much.</p>
<p>Send freeglut related questions to the appropriate freeglut mailing list:</p> <p>Send freeglut related questions to the appropriate freeglut mailing list:</p>
<ul> <ul>
<li>freeglut-developer [Subscribe],</li> <li><a href="freeglut-developer@lists.sourceforge.net">freeglut-developer</a> [<a href="http://lists.sourceforge.net/lists/listinfo/freeglut-developer">Subscribe</a>],</li>
<li>freeglut-announce [Subscribe], and</li> <li><a href="freeglut-announce@lists.sourceforge.net">freeglut-announce</a> [<a href="http://lists.sourceforge.net/lists/listinfo/freeglut-announce">Subscribe</a>], and</li>
<li>freeglut-bugs [Subscribe]</li> <li><a href="freeglut-bugs@lists.sourceforge.net">freeglut-bugs</a> [<a href="http://lists.sourceforge.net/lists/listinfo/freeglut-bugs">Subscribe</a>]</li>
</ul> </ul>

View File

@ -1,17 +1,41 @@
<?PHP <?PHP
global($site_title, $title); global $site_title, $title, $sidebarentries;
$site_title = "The freeglut Project"; $site_title = "The freeglut Project";
$title = $site_title . " :: The Next Generation of GLUT"; $title = $site_title . " :: The Next Generation of GLUT";
function generateHeader() { # 1's designate spaces in the sidebar
# Format for an entry:
# array(name=>"Name of Page", page=>"Filename/URL"),
#
$sidebarentries = array(0, # We skip this entry anyway...
array(name=>"About freeglut", page=>"/index.php"),
array(name=>"Latest News", page=>"/news.php"),
array(name=>"Info for Users", page=>"/uinfo.php"),
array(name=>"Info for Developers", page=>"/dinfo.php"),
1,
array(name=>"Download", page=>"/index.php#download"),
1,
array(name=>"How You Can Help", page=>"/help.php"),
array(name=>"Look at Progress", page=>"/progress.php"),
1,
array(name=>"Report a Bug", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=101032"),
array(name=>"Request a Feature", page=>"http://sourceforge.net/tracker/?func=add&group_id=1032&atid=351032"),
1,
array(name=>"Go to SourceForge", page=>"http://freeglut.sourceforge.net/fg/index.php?id=408")
);
function generateHeader($self) {
global $title;
?> ?>
<HTML> <HTML>
<HEAD> <HEAD>
<title><? echo $title ?></title> <title><? echo $title ?></title>
<link rel="stylesheet" type="text/css" href="freeglut-style.css"> <link rel="stylesheet" type="text/css" href="/freeglut-style.css">
</HEAD> </HEAD>
<BODY> <BODY>
<? <?
generateSideBar($self);
} }
function generateFooter() { function generateFooter() {
@ -21,8 +45,35 @@ function generateFooter() {
<? <?
} }
function setPageTitle($title_inc) { function printMenuItem($item, $current_page) {
global($site_title, $title); if ($item == 1)
echo "<br>";
else if ($current_page == $item[page])
echo "<div class=\"navbar-item\"><i>$item[name]</i></div>";
else
echo "<a href=\"$item[page]\"><div class=\"navbar-item\">$item[name]</div></a>";
}
function generateSideBar($current_page) {
global $sidebarentries;
echo "<div class=\"navbar-left\">";
echo "<div class=\"navbar-header\"><a href=\"/\"><img src=\"/images/freeglut_logo.png\" border=\"0\"></a></div>
<div class=\"navbar-smalltext\">The Free OpenGL Utility Toolkit</div><br>";
reset($sidebarentries);
while (next($sidebarentries)) {
printMenuItem(current($sidebarentries), $current_page);
}
echo "<br>
<div class=\"navbar-header\"><a href=\"http://sourceforge.net/\"><img src=\"http://sourceforge.net/sflogo.php?group_id=1032&type=4\" border=\"0\"></a></div>";
echo "</div>";
}
function setPageTitle($title_inc) {
global $site_title, $title;
$title = $site_title . " :: " . $title_inc; $title = $site_title . " :: " . $title_inc;
} }