mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 17:38:56 +00:00
prune out non library bits
This commit is contained in:
parent
d6dd55171a
commit
335643ee86
5
.vimrc
5
.vimrc
@ -1,5 +0,0 @@
|
||||
set tabstop=8
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
set expandtab
|
||||
set cinoptions=>4,n-2,{2,^-2,:0,=2,g0,h2,t0,+2,(0,u0,w1,m1
|
107
COPYING
107
COPYING
@ -1,107 +0,0 @@
|
||||
Most of Cogl is licensed under the terms of the MIT license.
|
||||
|
||||
A few exceptions are:
|
||||
- We have a copy of the GLU tesselator in cogl-path/tesselator which
|
||||
is licensed under the SGI Free Software License B, version 2.0
|
||||
|
||||
This license is essentially identical to the MIT license with
|
||||
the option to refer to a web address for a copy of the notice
|
||||
in documentation.
|
||||
- cogl-point-in-poly.c is under a 3 clause BSD license
|
||||
- stb_image.c is public domain.
|
||||
|
||||
Please see individual files for details.
|
||||
|
||||
deps/glib is licensed under the LGPL (please see individual files for
|
||||
details and deps/glib/COPYING for a copy of the LGPL license) This
|
||||
code is only referenced when building Cogl with the --standalone
|
||||
configure option.
|
||||
|
||||
--
|
||||
The MIT License
|
||||
|
||||
Copyright (C) 2007,2008 OpenedHand
|
||||
Copyright (C) 2009-2014 Intel Corporation.
|
||||
Copyright (C) 2010,2012 Red Hat, Inc.
|
||||
Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
||||
Copyright (C) 2011,2012 Collabora Ltd.
|
||||
Copyright (c) 2008-2011 Kristian Høgsberg
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
--
|
||||
SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
|
||||
|
||||
Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice including the dates of first publication and
|
||||
either this permission notice or a reference to
|
||||
http://oss.sgi.com/projects/FreeB/
|
||||
shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of Silicon Graphics, Inc.
|
||||
shall not be used in advertising or otherwise to promote the sale, use or
|
||||
other dealings in this Software without prior written authorization from
|
||||
Silicon Graphics, Inc.
|
||||
|
||||
|
||||
--
|
||||
The BSD license used in cogl-point-in-poly.c:
|
||||
|
||||
Copyright (c) 1970-2003 Wm. Randolph Frianklin
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimers.
|
||||
2. Redistributions in binary form must reproduce the above
|
||||
copyright notice in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
3. The name of W. Randolph Franklin may not be used to endorse or
|
||||
promote products derived from this Software without specific
|
||||
prior written permission.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
ChangeLog
20
ChangeLog
@ -1,20 +0,0 @@
|
||||
Cogl does not distribute a static Changelog with releases because we feel that
|
||||
the Git log does a better job of tracking all the detailed source code changes
|
||||
that are made to Cogl.
|
||||
|
||||
If you just want a high level overview of what has changed between Cogl
|
||||
releases then please see the NEWS file that we distribute.
|
||||
|
||||
You can clone Cogl via Git using:
|
||||
|
||||
$ git clone git://git.gnome.org/cogl.git
|
||||
|
||||
You can see the log using:
|
||||
|
||||
$ git log
|
||||
|
||||
Or you can look at the log for a particular release by specifying
|
||||
a release tag name like:
|
||||
|
||||
$ git log 1.7.2
|
||||
|
@ -19,7 +19,6 @@ SUBDIRS += tests
|
||||
ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
|
||||
|
||||
EXTRA_DIST = \
|
||||
README.in \
|
||||
config-custom.h
|
||||
|
||||
# .changelog expects these to be initializes
|
||||
|
177
README.in
177
README.in
@ -1,177 +0,0 @@
|
||||
README for Cogl @COGL_1_VERSION@
|
||||
===============================================================================
|
||||
|
||||
Note: This file is delimited with -- markers so it is possible to split
|
||||
sections out for other purposes, such as for release notes.
|
||||
|
||||
--
|
||||
DESCRIPTION
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Cogl is a small open source library for using 3D graphics hardware for
|
||||
rendering. The API departs from the flat state machine style of OpenGL and is
|
||||
designed to make it easy to write orthogonal components that can render without
|
||||
stepping on each others toes.
|
||||
|
||||
As well as aiming for a nice API, we think having a single library as opposed
|
||||
to an API specification like OpenGL has a few advantages too; like being
|
||||
able to paper over the inconsistencies/bugs of different OpenGL
|
||||
implementations in a centralized place, not to mention the myriad of OpenGL
|
||||
extensions. It also means we are in a better position to provide utility
|
||||
APIs that help software developers since they only need to be implemented
|
||||
once and there is no risk of inconsistency between implementations.
|
||||
|
||||
Having other backends, besides OpenGL, such as drm, Gallium or D3D are
|
||||
options we are interested in for the future.
|
||||
|
||||
--
|
||||
REQUIREMENTS
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Cogl currently only requires:
|
||||
|
||||
• OpenGL ≥ 1.3 (or 1.2 + multitexturing), or OpenGL ES 2.0 (or 1.1)
|
||||
• GLX, AGL, WGL or an EGL implementation
|
||||
|
||||
Cogl also has optional dependencies:
|
||||
|
||||
• GLib ≥ @GLIB_REQ_VERSION@
|
||||
- for gtype integration
|
||||
• GDK-Pixbuf ≥ @GDK_PIXBUF_REQ_VERSION@
|
||||
- for image loading
|
||||
• Cairo ≥ @CAIRO_REQ_VERSION@
|
||||
- for debugging texture atlasing (debug builds only)
|
||||
|
||||
The optional Cogl Pango library requires:
|
||||
• Cairo ≥ @CAIRO_REQ_VERSION@
|
||||
• PangoCairo ≥ @PANGOCAIRO_REQ_VERSION@
|
||||
|
||||
The optional Cogl GStreamer library requires:
|
||||
|
||||
• GStreamer 1.0
|
||||
|
||||
On X11, Cogl depends on the following extensions
|
||||
|
||||
• XComposite ≥ @XCOMPOSITE_REQ_VERSION@
|
||||
• XDamage
|
||||
• XExt
|
||||
• XFixes ≥ @XFIXES_REQ_VERSION@
|
||||
|
||||
For the Wayland backend, Cogl requires:
|
||||
• Wayland ≥ @WAYLAND_REQ_VERSION@
|
||||
|
||||
When running with OpenGL, Cogl requires at least version 1.3
|
||||
or 1.2 with the multitexturing extension. However to build Cogl
|
||||
you will need the latest GL headers which can be obtained from:
|
||||
|
||||
http://www.khronos.org
|
||||
|
||||
If you are building the API reference you will also need:
|
||||
|
||||
• GTK-Doc ≥ @GTK_DOC_REQ_VERSION@
|
||||
|
||||
If you are building the additional documentation you will also need:
|
||||
|
||||
• xsltproc
|
||||
• jw (optional, for generating PDFs)
|
||||
|
||||
If you are building the Introspection data you will also need:
|
||||
|
||||
• GObject-Introspection ≥ @GI_REQ_VERSION@
|
||||
|
||||
GObject-Introspection is available from:
|
||||
|
||||
git://git.gnome.org/gobject-introspection
|
||||
|
||||
If you want support for profiling Cogl you will also need:
|
||||
|
||||
• UProf ≥ @UPROF_REQ_VERSION@
|
||||
|
||||
UProf is available from:
|
||||
|
||||
git://github.com/rib/UProf.git
|
||||
|
||||
--
|
||||
DOCUMENTATION
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
The 1.x stable API is documented here:
|
||||
|
||||
http://developer.gnome.org/cogl/stable/
|
||||
|
||||
The 1.x development API is documented here:
|
||||
|
||||
http://developer.gnome.org/cogl/1.@COGL_1_MINOR_VERSION@
|
||||
|
||||
The experimental 2.0 API is documented here:
|
||||
|
||||
http://cogl3d.org/cogl2-reference/
|
||||
|
||||
--
|
||||
LICENSE
|
||||
-------------------------------------------------------------------------------
|
||||
Most of Cogl is licensed under the terms of the MIT license. There are
|
||||
also some files under the SGI Free Software License B, version 2.0,
|
||||
cogl-point-in-poly.c is under a 3 clause BSD license and stb_image.c
|
||||
is public domain. Please see individual files for details.
|
||||
|
||||
deps/glib is licensed under the LGPL (please see individual files for
|
||||
details and deps/glib/COPYING for a copy of the LGPL license) This
|
||||
code is only referenced when building Cogl with the --enable-standalone
|
||||
configure option.
|
||||
|
||||
--
|
||||
BUILDING AND INSTALLATION
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Please refer to the INSTALL document.
|
||||
|
||||
--
|
||||
BUGS
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Please report bugs here:
|
||||
|
||||
http://bugzilla.gnome.org/enter_bug.cgi?product=cogl
|
||||
|
||||
You will need a Bugzilla account.
|
||||
|
||||
Please include the following in bug reports:
|
||||
|
||||
• what system you're running Cogl on;
|
||||
• which version of Cogl you are using;
|
||||
• which version of GLib and OpenGL (or OpenGL ES) you are using;
|
||||
• which video card and which drivers you are using, including output of
|
||||
glxinfo and xdpyinfo (if applicable);
|
||||
• how to reproduce the bug.
|
||||
|
||||
If you cannot reproduce the bug with one of the tests that come with
|
||||
Cogl's source code, it can help a lot to include a small test case
|
||||
displaying the bad behaviour.
|
||||
|
||||
If the bug exposes a crash, the exact text printed out and a stack trace
|
||||
obtained using gdb are greatly appreciated.
|
||||
|
||||
--
|
||||
CONTRIBUTING
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
The CODING_STYLE file describes the coding style we use throughout Cogl,
|
||||
please try your best to conform to this style because the consistency
|
||||
really helps keep the code maintainable.
|
||||
|
||||
We can accept contributions in several ways:
|
||||
• Either as patches attached to bugs on bugzilla
|
||||
- For this you may be interested in using git-bz.
|
||||
|
||||
See http://git.fishsoup.net/man/git-bz.html for details
|
||||
• You can email us patches
|
||||
- For this we recommend using git-send-email
|
||||
|
||||
• You can create a remote branch and ask us to pull from that for more
|
||||
substantial changes.
|
||||
- For this we recommend using github.
|
||||
|
||||
Ideally standalone patches should be created using git format-patch since
|
||||
that makes it easiest to import the patch with a commit message into a
|
||||
git repository.
|
69
autogen.sh
69
autogen.sh
@ -1,69 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
ORIGDIR=`pwd`
|
||||
|
||||
cd $srcdir
|
||||
PROJECT=Cogl
|
||||
TEST_TYPE=-f
|
||||
FILE=cogl/cogl.h
|
||||
|
||||
test $TEST_TYPE $FILE || {
|
||||
echo "You must run this script in the top-level $PROJECT directory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
AUTOMAKE_VERSIONS="1.15 1.14 1.13 1.12 1.11"
|
||||
for version in $AUTOMAKE_VERSIONS; do
|
||||
if automake-$version --version < /dev/null > /dev/null 2>&1 ; then
|
||||
AUTOMAKE=automake-$version
|
||||
ACLOCAL=aclocal-$version
|
||||
export AUTOMAKE ACLOCAL
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test -z "$AUTOMAKE"; then
|
||||
echo
|
||||
echo "You must have one of automake $AUTOMAKE_VERSIONS to compile $PROJECT."
|
||||
echo "Install the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# NOCONFIGURE is used by gnome-common
|
||||
if test -z "$NOCONFIGURE"; then
|
||||
if test -z "$*"; then
|
||||
echo "I am going to run ./configure with no arguments - if you wish "
|
||||
echo "to pass any to it, please specify them on the $0 command line."
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -z "$ACLOCAL_FLAGS"; then
|
||||
acdir=`$ACLOCAL --print-ac-dir`
|
||||
m4list="glib-2.0.m4"
|
||||
for file in $m4list; do
|
||||
if [ ! -f "$acdir/$file" ]; then
|
||||
echo "WARNING: aclocal's directory is $acdir, but..."
|
||||
echo " no file $acdir/$file"
|
||||
echo " You may see fatal macro warnings below."
|
||||
echo " If these files are installed in /some/dir, set the ACLOCAL_FLAGS "
|
||||
echo " environment variable to \"-I /some/dir\", or install"
|
||||
echo " $acdir/$file."
|
||||
echo ""
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rm -rf autom4te.cache
|
||||
|
||||
autoreconf -vfi || exit $?
|
||||
cd $ORIGDIR || exit $?
|
||||
|
||||
if test -z "$NOCONFIGURE"; then
|
||||
$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
|
||||
echo "Now type 'make' to compile $PROJECT."
|
||||
fi
|
46
cogl.doap
46
cogl.doap
@ -1,46 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
||||
xmlns:gnome="http://api.gnome.org/doap-extensions#"
|
||||
xmlns="http://usefulinc.com/ns/doap#">
|
||||
|
||||
<name>Cogl</name>
|
||||
<shortname>cogl</shortname>
|
||||
|
||||
<shortdesc xml:lang="en">A hardware accelerated 3D graphics API</shortdesc>
|
||||
|
||||
<description xml:lang="en">Cogl is a small open source software library for using 3D graphics hardware to draw pretty pictures. The API departs from the flat state machine style of OpenGL and is designed to make it easy to write orthogonal components that can render without stepping on each others toes. Cogl currently supports OpenGL ES 1.1/2.0 and OpenGL > 1.3 (or 1.2 if you have the GL_ARB_multitexture extension), and having Gallium or D3D backends are options for the future.</description>
|
||||
|
||||
<homepage rdf:resource="http://www.clutter-project.org" />
|
||||
<license rdf:resource="http://usefulinc.com/doap/licenses/lgpl" />
|
||||
<bug-database rdf:resource="http://bugzilla.gnome.org/enter_bug.cgi?product=cogl"/>
|
||||
<download-page rdf:resource="http://source.clutter-project.org/sources/cogl" />
|
||||
<mailing-list rdf:resource="mailto:clutter-devel-list@clutter-project.org" />
|
||||
|
||||
<programming-language>C</programming-language>
|
||||
|
||||
<maintainer>
|
||||
<foaf:Person>
|
||||
<foaf:name>Robert Bragg</foaf:name>
|
||||
<foaf:mbox rdf:resource="mailto:robert@linux.intel.com"/>
|
||||
<gnome:userid>rbragg</gnome:userid>
|
||||
</foaf:Person>
|
||||
</maintainer>
|
||||
|
||||
<maintainer>
|
||||
<foaf:Person>
|
||||
<foaf:name>Neil Roberts</foaf:name>
|
||||
<foaf:mbox rdf:resource="mailto:neil@linux.intel.com"/>
|
||||
<gnome:userid>nroberts</gnome:userid>
|
||||
</foaf:Person>
|
||||
</maintainer>
|
||||
|
||||
<repository>
|
||||
<GitRepository>
|
||||
<browse rdf:resource="http://git.gnome.org/browse/cogl/"/>
|
||||
<location rdf:resource="git://git.gnome.org/cogl"/>
|
||||
</GitRepository>
|
||||
</repository>
|
||||
|
||||
</Project>
|
@ -951,7 +951,6 @@ AC_SUBST(MAINTAINER_CFLAGS)
|
||||
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
README
|
||||
test-fixtures/Makefile
|
||||
cogl/Makefile
|
||||
cogl/cogl-1.0.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user