clutter: prune out non library bits

This commit is contained in:
Rui Matos 2016-04-08 14:57:18 +02:00
parent eb959c73ab
commit 5df9d89dec
15 changed files with 0 additions and 24382 deletions

502
COPYING
View File

@ -1,502 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the
Free Software Foundation and other authors who decide to use it. You
can use it too, but we suggest you first think carefully about whether
this license or the ordinary General Public License is the better
strategy to use in any particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use,
not price. Our General Public Licenses are designed to make sure that
you have the freedom to distribute copies of free software (and charge
for this service if you wish); that you receive source code or can get
it if you want it; that you can change the software and use pieces of
it in new free programs; and that you are informed that you can do
these things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link other code with the library, you must provide
complete object files to the recipients, so that they can relink them
with the library after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that
there is no warranty for the free library. Also, if the library is
modified by someone else and passed on, the recipients should know
that what they have is not the original version, so that the original
author's reputation will not be affected by problems that might be
introduced by others.
Finally, software patents pose a constant threat to the existence of
any free program. We wish to make sure that a company cannot
effectively restrict the users of a free program by obtaining a
restrictive license from a patent holder. Therefore, we insist that
any patent license obtained for a version of the library must be
consistent with the full freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the
ordinary GNU General Public License. This license, the GNU Lesser
General Public License, applies to certain designated libraries, and
is quite different from the ordinary General Public License. We use
this license for certain libraries in order to permit linking those
libraries into non-free programs.
When a program is linked with a library, whether statically or using
a shared library, the combination of the two is legally speaking a
combined work, a derivative of the original library. The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. The Lesser General
Public License permits more lax criteria for linking other code with
the library.
We call this license the "Lesser" General Public License because it
does Less to protect the user's freedom than the ordinary General
Public License. It also provides other free software developers Less
of an advantage over competing non-free programs. These disadvantages
are the reason we use the ordinary General Public License for many
libraries. However, the Lesser license provides advantages in certain
special circumstances.
For example, on rare occasions, there may be a special need to
encourage the widest possible use of a certain library, so that it becomes
a de-facto standard. To achieve this, non-free programs must be
allowed to use the library. A more frequent case is that a free
library does the same job as widely used non-free libraries. In this
case, there is little to gain by limiting the free library to free
software only, so we use the Lesser General Public License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free software. For example, permission to use the GNU C Library in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protective of the
users' freedom, it does ensure that the user of a program that is
linked with the Library has the freedom and the wherewithal to run
that program using a modified version of the Library.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
GNU LESSER GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other
program which contains a notice placed by the copyright holder or
other authorized party saying it may be distributed under the terms of
this Lesser General Public License (also called "this License").
Each licensee is addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (1) uses at run time a
copy of the library already present on the user's computer system,
rather than copying library functions into the executable, and (2)
will operate properly with a modified version of the library, if
the user installs one, as long as the modified version is
interface-compatible with the version that the work was made with.
c) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the materials to be distributed need not include anything that is
normally distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties with
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Lesser General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!

File diff suppressed because it is too large Load Diff

View File

@ -13,12 +13,6 @@ DIST_SUBDIRS = clutter tests examples doc po build
# source for m4 macros # source for m4 macros
ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS} ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
EXTRA_DIST = \
ChangeLog.pre-git-import \
README.in \
README \
$(NULL)
CLEANFILES = $(pcfiles) CLEANFILES = $(pcfiles)
DISTCLEANFILES = DISTCLEANFILES =

5442
NEWS

File diff suppressed because it is too large Load Diff

1320
README.in

File diff suppressed because it is too large Load Diff

155
README.md
View File

@ -1,155 +0,0 @@
Clutter
=======
What is Clutter?
----------------
Clutter is an open source software library for creating fast, compelling,
portable, and dynamic graphical user interfaces.
Requirements
------------
Clutter currently requires:
* [GLib](http://git.gnome.org/browse/glib)
* [JSON-GLib](http://git.gnome.org/browse/json-glib)
* [Atk](http://git.gnome.org/browse/atk)
* [Cairo](http://cairographics.org)
* [Pango](http://git.gnome.org/browse/pango)
* [Cogl](http://git.gnome.org/browse/cogl)
On X11, Clutter depends on the following extensions:
* XComposite
* XDamage
* XExt
* XInput 2.x
* XKB
If you are building the API reference you will also need:
* [GTK-Doc](http://git.gnome.org/browse/gtk-doc)
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](http://git.gnome.org/browse/gobject-introspection)
Resources
---------
The official Clutter website is:
http://www.clutter-project.org/
The API references for the latest stable release are available at:
https://developer.gnome.org/clutter/stable/
The Clutter Cookbook is available at:
https://developer.gnome.org/clutter-cookbook/
New releases of Clutter are available at:
https://download.gnome.org/sources/clutter/
To subscribe to the Clutter mailing lists and read the archives, use the
Mailman web interface available at:
https://mail.gnome.org/mailman/listinfo/clutter-list
New bug page on Bugzilla:
https://bugzilla.gnome.org/enter_bug.cgi?product=clutter
Clutter is licensed under the terms of the GNU Lesser General Public
License, version 2.1 or (at your option) later: see the `COPYING` file
for more information.
Building and Installation
-------------------------
To build Clutter from a release tarball, the usual autotool triad should
be followed:
1. ./configure
2. make
3. make install
To build Clutter from a Git clone, run the `autogen.sh` script instead
of the configure one. The `autogen.sh` script will run the configure script
for you, unless the `NOCONFIGURE` environment variable is set to a non-empty
value.
See also the [BuildingClutter][building-clutter] page on the wiki.
Versioning
----------
Clutter uses the common "Linux kernel" versioning system, where
even-numbered minor versions are stable and odd-numbered minor
versions are development snapshots.
Different major versions break both API and ABI but are parallel
installable. The same major version with differing minor version is
expected to be ABI compatible with other minor versions; differing
micro versions are meant just for bug fixing. On odd minor versions
the newly added API might still change.
The micro version indicates the origin of the release: even micro
numbers are only used for released archives; odd micro numbers are
only used on the Git repository.
Contributing
------------
If you want to hack on and improve Clutter check the `HACKING` file for
general implementation guidelines, and the `HACKING.backends` for
backend-specific implementation issues.
The `CODING_STYLE` file contains the rules for writing code conformant to
the style guidelines used throughout Clutter. Remember: the coding style
is mandatory; patches not conforming to it will be rejected by default.
The usual workflow for contributions should be:
1. Fork the repository
2. Create a branch (`git checkout -b my_work`)
3. Commit your changes (`git commit -am "Added my awesome feature"`)
4. Push to the branch (`git push origin my_work`)
5. Create an [Bug][bugzilla-clutter] with a link to your branch
6. Sit back, relax and wait for feedback and eventual merge
Bugs
----
Bugs should be reported to the Clutter Bugzilla at:
https://bugzilla.gnome.org/enter_bug.cgi?product=clutter
You will need a Bugzilla account.
In the report you should include:
* what system you're running Clutter on;
* which version of Clutter 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 Clutter
source code, you should 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.
[building-clutter]: https://wiki.gnome.org/Projects/Clutter/Building
[bugzilla-clutter]: https://bugzilla.gnome.org/enter_bug.cgi?product=clutter

View File

@ -1,49 +0,0 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
PROJECT=Clutter
TEST_TYPE=-f
FILE=clutter/clutter.h
test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}
# GNU gettext automake support doesn't get along with git.
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
touch -t 200001010000 po/clutter-1.0.pot
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No GTK-Doc found, please install it ***"
exit 1
fi
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please install it ***"
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
rm -rf autom4te.cache
gtkdocize || exit $?
autoreconf --force --install --verbose || exit $?
cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

View File

@ -1,173 +0,0 @@
#!/bin/sh
#
# Copyright (C) 2010, Intel Corp.
#
# Modified version of gnome-shell-build-setup.sh for building Clutter
# and its dependencies using jhbuild
#
# Copyright (C) 2008, Red Hat, Inc.
#
# Some ideas and code taken from gtk-osx-build
#
# Copyright (C) 2006, 2007, 2008 Imendio AB
#
# Pre-check on GNOME version
release_file=
if which lsb_release > /dev/null 2>&1; then
system=`lsb_release -is`
version=`lsb_release -rs`
elif [ -f /etc/fedora-release ] ; then
system=Fedora
release_file=/etc/fedora-release
elif [ -f /etc/SuSE-release ] ; then
system=SUSE
release_file=/etc/SuSE-release
elif [ -f /etc/mandriva-release ]; then
system=MandrivaLinux
release_file=/etc/mandriva-release
fi
if [ x$release_file != x ] ; then
version=`sed 's/[^0-9\.]*\([0-9\.]\+\).*/\1/' < $release_file`
fi
if test x$system = xUbuntu -o x$system = xDebian -o x$system = xLinuxMint ; then
reqd=""
if [ ! -x /usr/bin/dpkg-checkbuilddeps ]; then
echo "Please run 'sudo apt-get install dpkg-dev' and try again."
echo
exit 1
fi
for pkg in \
build-essential curl \
automake bison flex gettext git-core gnome-common gtk-doc-tools \
libjasper-dev libjpeg-dev libpng-dev libstartup-notification0-dev libtiff-dev \
libgl1-mesa-dev libxml2-dev mesa-common-dev mesa-utils \
python-dev python-gconf python-gobject \
libgstreamer0.10-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good \
; do
if ! dpkg-checkbuilddeps -d $pkg /dev/null 2> /dev/null; then
reqd="$pkg $reqd"
fi
done
if test ! "x$reqd" = x; then
echo "Please run 'sudo apt-get install $reqd' and try again."
echo
exit 1
fi
fi
if test x$system = xFedora ; then
reqd="
binutils curl gcc gcc-c++ make
automake bison flex gettext git gnome-common gnome-doc-utils intltool
libtool pkgconfig jasper-devel libffi-devel libjpeg-devel
libpng-devel libtiff-devel libwnck-devel mesa-libGL-devel
python-devel pygobject2 libXdamage-devel libxml2-devel
gstreamer-devel gstreamer-plugins-base gstreamer-plugins-good
glx-utils
"
if expr $version \>= 14 > /dev/null ; then
reqd="$reqd gettext-autopoint"
fi
for pkg in $reqd ; do
if ! rpm -q $pkg > /dev/null 2>&1; then
missing="$pkg $missing"
fi
done
if test ! "x$missing" = x; then
gpk-install-package-name $missing
fi
fi
if test x$system = xSUSE ; then
reqd=""
for pkg in \
curl \
bison flex gnome-doc-utils-devel \
xorg-x11-proto-devel xorg-x11-devel xorg-x11 xorg-x11-server-extra \
; do
if ! rpm -q $pkg > /dev/null 2>&1; then
reqd="$pkg $reqd"
fi
done
if test ! "x$reqd" = x; then
echo "Please run 'su --command=\"zypper install $reqd\"' and try again."
echo
exit 1
fi
fi
if test x$system = xMandrivaLinux ; then
reqd=""
for pkg in \
curl \
bison flex gnome-common gnome-doc-utils gtk-doc intltool \
libwnck-1-devel GL-devel \
libxdamage-devel mesa-demos \
; do
if ! rpm -q --whatprovides $pkg > /dev/null 2>&1; then
reqd="$pkg $reqd"
fi
done
if test ! "x$reqd" = x; then
gurpmi --auto $reqd
fi
fi
SOURCE=$HOME/Source
BASEURL=http://git.gnome.org/browse/clutter/plain/build
if [ -d $SOURCE ] ; then : ; else
mkdir $SOURCE
echo "Created $SOURCE"
fi
if [ -d $SOURCE/jhbuild ] ; then
if [ -d $SOURCE/jhbuild/.git ] ; then
echo -n "Updating jhbuild ... "
( cd $SOURCE/jhbuild && git pull --rebase > /dev/null ) || exit 1
echo "done"
else
echo "$SOURCE/jhbuild is not a git repository"
echo "You should remove it and rerun this script"
exit 1
fi
else
echo -n "Checking out jhbuild into $SOURCE/jhbuild ... "
cd $SOURCE
git clone git://git.gnome.org/jhbuild > /dev/null || exit 1
echo "done"
fi
echo "Installing jhbuild..."
(cd $SOURCE/jhbuild && make -f Makefile.plain DISABLE_GETTEXT=1 bindir=$HOME/bin install >/dev/null)
if [ -e $HOME/.jhbuildrc ] ; then
if grep JHBUILDRC_GNOME_SHELL $HOME/.jhbuildrc > /dev/null ; then : ; else
mv $HOME/.jhbuildrc $HOME/.jhbuildrc.bak
echo "Saved ~/.jhbuildrc as ~/.jhbuildrc.bak"
fi
fi
echo -n "Writing ~/.jhbuildrc ... "
curl -L -s -o $HOME/.jhbuildrc $BASEURL/jhbuildrc-clutter
echo "done"
if [ ! -f $HOME/.jhbuildrc-custom ]; then
echo -n "Writing example ~/.jhbuildrc-custom ... "
curl -L -s -o $HOME/.jhbuildrc-custom $BASEURL/jhbuildrc-custom-example
echo "done"
fi
if test "x`echo $PATH | grep $HOME/bin`" = x; then
echo "PATH does not contain $HOME/bin, it is recommended that you add that."
echo
fi
echo "Done."

View File

@ -1,129 +0,0 @@
newlines lf
input_tab_size 8
output_tab_size 8
string_escape_char 92
string_escape_char2 0
# indenting
indent_columns 2
indent_with_tabs 0
indent_align_string True
indent_brace 2
indent_braces false
indent_braces_no_func True
indent_func_call_param false
indent_func_def_param false
indent_func_proto_param false
indent_switch_case 0
indent_case_brace 2
indent_paren_close 1
# spacing
sp_arith Add
sp_assign Add
sp_enum_assign Add
sp_bool Add
sp_compare Add
sp_inside_paren Remove
sp_inside_fparens Remove
sp_func_def_paren Force
sp_func_proto_paren Force
sp_paren_paren Remove
sp_balance_nested_parens False
sp_paren_brace Remove
sp_before_square Remove
sp_before_squares Remove
sp_inside_square Remove
sp_after_comma Add
sp_before_comma Remove
sp_after_cast Add
sp_sizeof_paren Add
sp_not Remove
sp_inv Remove
sp_addr Remove
sp_member Remove
sp_deref Remove
sp_sign Remove
sp_incdec Remove
sp_attribute_paren remove
sp_macro Force
sp_func_call_paren Force
sp_brace_typedef add
sp_cond_colon add
sp_cond_question add
sp_defined_paren remove
# alignment
align_keep_tabs False
align_with_tabs False
align_on_tabstop False
align_number_left True
align_func_params True
align_var_def_span 0
align_var_def_amp_style 1
align_var_def_colon true
align_enum_equ_span 0
align_var_struct_span 2
align_var_def_star_style 2
align_var_def_amp_style 2
align_typedef_span 2
align_typedef_func 0
align_typedef_star_style 2
align_typedef_amp_style 2
# newlines
nl_assign_leave_one_liners True
nl_enum_leave_one_liners False
nl_func_leave_one_liners False
nl_if_leave_one_liners False
nl_end_of_file Add
nl_assign_brace Remove
nl_func_var_def_blk 1
nl_fcall_brace Add
nl_enum_brace Remove
nl_struct_brace Force
nl_union_brace Force
nl_if_brace Force
nl_brace_else Force
nl_elseif_brace Force
nl_else_brace Add
nl_for_brace Force
nl_while_brace Force
nl_do_brace Force
nl_brace_while Force
nl_switch_brace Force
nl_before_case True
nl_after_case False
nl_func_type_name Force
nl_func_proto_type_name Remove
nl_func_paren Remove
nl_func_decl_start Remove
nl_func_decl_args Force
nl_func_decl_end Remove
nl_fdef_brace Force
nl_after_return False
nl_define_macro False
nl_create_if_one_liner False
nl_create_for_one_liner False
nl_create_while_one_liner False
nl_after_semicolon True
nl_multi_line_cond true
# mod
mod_full_brace_for Remove
mod_full_brace_if Remove
mod_full_brace_while Remove
mod_full_brace_do Remove
mod_full_brace_nl 3
mod_paren_on_return Remove
# line splitting
#code_width = 78
ls_for_split_full True
ls_func_split_full True
# positioning
pos_bool Trail
pos_conditional Lead

View File

@ -1,529 +0,0 @@
<?xml version="1.0"?><!--*- mode: nxml; indent-tabs-mode: nil -*-->
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<!-- vim:set ts=2 expandtab: -->
<moduleset>
<repository type="git" name="git.freedesktop.org"
href="git://anongit.freedesktop.org/"/>
<repository type="git" name="git.gnome.org" default="yes"
href="git://git.gnome.org/"/>
<repository type="git" name="git.clutter-project.org"
href="git://git.clutter-project.org/"/>
<repository type="git" name="github.com/rib"
href="git://github.com/rib/"/>
<repository type="git" name="github.com/clutter-project"
href="git://github.com/clutter-project/"/>
<repository type="git" name="gstreamer.freedesktop.org"
href="git://anongit.freedesktop.org/gstreamer/"/>
<repository type="tarball" name="gnome.org"
href="http://download.gnome.org/sources/"/>
<repository type="tarball" name="gnupg.org"
href="ftp://ftp.gnupg.org/gcrypt/"/>
<repository type="tarball" name="xmlsoft.org"
href="ftp://xmlsoft.org/"/>
<repository type="tarball" name="cairo.org"
href="http://cairographics.org/"/>
<repository type="tarball" name="people.freedesktop.org"
href="http://people.freedesktop.org/"/>
<!-- This is a special module: it's needed to build from git, but not
needed to build from tarballs, so it doesn't need to be in our suites
and it doesn't need to be an external dependency -->
<autotools id="gnome-common">
<branch/>
</autotools>
<autotools id="libxml2">
<pkg-config>libxml-2.0.pc</pkg-config>
<branch module="libxml2/libxml2-2.7.8.tar.gz"
repo="xmlsoft.org" version="2.7.8"
hash="sha256:cda23bc9ebd26474ca8f3d67e7d1c4a1f1e7106364b690d822e009fdc3c417ec"
md5sum="8127a65e8c3b08856093099b52599c86" size="4881808"/>
</autotools>
<autotools id="libxslt" check-target="false">
<pkg-config>libxslt.pc</pkg-config>
<branch module="libxml2/libxslt-1.1.26.tar.gz"
repo="xmlsoft.org" version="1.1.26"
hash="sha256:55dd52b42861f8a02989d701ef716d6280bfa02971e967c285016f99c66e3db1"
md5sum="e61d0364a30146aaa3001296f853b2b9" size="3401513"/>
<dependencies>
<dep package="libxml2"/>
<dep package="libgcrypt"/>
</dependencies>
</autotools>
<tarball id="intltool" version="0.41.1">
<source href="http://launchpad.net/intltool/trunk/0.41.1/+download/intltool-0.41.1.tar.gz"
hash="sha256:06d02133a85b9d6f29cd763050dc9267a6d73ef3008993f5b917cafc7ece96c0"
md5sum="d6c91bf06681919ccfdf3624035b75dc" size="139287"/>
<dependencies>
<dep package="gnome-common"/>
</dependencies>
</tarball>
<tarball id="expat" version="2.0.1">
<source href="http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz"
hash="sha256:847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93"
md5sum="ee8b492592568805593f81f8cdf2a04c" size="446456"/>
</tarball>
<tarball id="rarian" version="0.8.1" supports-non-srcdir-builds="no">
<pkg-config>rarian.pc</pkg-config>
<source href="http://download.gnome.org/sources/rarian/0.8/rarian-0.8.1.tar.bz2"
hash="sha256:aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577"
md5sum="75091185e13da67a0ff4279de1757b94" size="324441"/>
<dependencies>
<dep package="libxslt"/>
<dep package="intltool"/>
</dependencies>
</tarball>
<tarball id="shared-mime-info" supports-non-srcdir-builds="no" version="0.71">
<source href="http://people.freedesktop.org/~hadess/shared-mime-info-0.71.tar.bz2"
hash="sha256:1d8f97f17de77ae0d8a3a4ef357280ef444da87f4ce19170392712d0c2f6d04f"
md5sum="0a90508234d415f761a79fbffdff74f4" size="493216"/>
<dependencies>
<dep package="intltool"/>
<dep package="libxml2"/>
<dep package="glib"/>
</dependencies>
</tarball>
<autotools id="libgpg-error" autogen-sh="configure" check-target="false">
<branch module="libgpg-error/libgpg-error-1.8.tar.bz2"
repo="gnupg.org" version="1.8"
hash="sha256:bdfbf2677147239d2d26d4e37f44635d9fd97c133c9ef9fd9793a12a059508c5"
md5sum="1d2005268a2f096db28cf9cf77b3229a" size="435341" />
</autotools>
<autotools id="libgcrypt" autogen-sh="configure" check-target="false">
<branch module="libgcrypt/libgcrypt-1.4.5.tar.bz2"
repo="gnupg.org" version="1.4.5"
hash="sha256:496f907c5324de75367ec61c63bfeed1309ef0bc64845dc20b3597731abd9e40"
md5sum="cc2017ad09b4543f8b3b5e9a53cfd89d" size="1148382">
<patch file="libgcrypt-1.4.5-ImplicitDSOLinking.patch" strip="1"/>
</branch>
<dependencies>
<dep package="libgpg-error" />
</dependencies>
</autotools>
<autotools id="gnome-doc-utils">
<branch/>
<dependencies>
<dep package="gnome-common"/>
<dep package="libxslt"/>
<dep package="libxml2"/>
<dep package="intltool"/>
<dep package="rarian"/>
</dependencies>
</autotools>
<autotools id="gtk-doc">
<branch/>
<dependencies>
<dep package="libxslt"/>
<dep package="gnome-doc-utils"/>
</dependencies>
</autotools>
<autotools id="atk">
<branch/>
<dependencies>
<dep package="glib"/>
<dep package="gobject-introspection"/>
<dep package="gtk-doc"/>
</dependencies>
</autotools>
<tarball id="fontconfig" version="2.8.0">
<pkg-config>fontconfig.pc</pkg-config>
<source href="http://www.fontconfig.org/release/fontconfig-2.8.0.tar.gz"
hash="sha256:fa2a1c6eea654d9fce7a4b1220f10c99cdec848dccaf1625c01f076b31382335"
md5sum="77e15a92006ddc2adbb06f840d591c0e" size="1548409"/>
<dependencies>
<dep package="expat"/>
</dependencies>
</tarball>
<autotools id="pixman"
autogenargs="--disable-gtk">
<pkg-config>pixman-1.pc</pkg-config>
<branch module="releases/pixman-0.20.2.tar.gz" version="0.20.2"
repo="cairo.org"
hash="sha256:27b4e58ae8dcf8787cc309bc2b119ca6b6e353b3283a7821896e454ae8bd9725"
md5sum="a923c20af88e469ac29ba42cfedb88c2" size="542724">
</branch>
</autotools>
<autotools id="cairo" autogenargs="--enable-xlib">
<pkg-config>cairo.pc</pkg-config>
<branch module="releases/cairo-1.10.2.tar.gz" version="1.10.2"
repo="cairo.org"
hash="sha256:32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41"
md5sum="f101a9e88b783337b20b2e26dfd26d5f" size="23558405">
</branch>
<dependencies>
<dep package="fontconfig"/>
<dep package="gtk-doc"/>
<dep package="pixman"/>
</dependencies>
<after>
<dep package="glitz"/>
</after>
</autotools>
<autotools id="cogl">
<pkg-config>cogl-1.0.pc</pkg-config>
<branch revision="cogl-1.10"/>
<dependencies>
<dep package="glib"/>
</dependencies>
<suggests>
<dep package="mesa"/>
<dep package="gobject-introspection"/>
<dep package="UProf"/>
</suggests>
</autotools>
<autotools id="clutter">
<branch/>
<dependencies>
<dep package="cogl"/>
<dep package="atk"/>
<dep package="glib"/>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="gtk-doc"/>
<dep package="json-glib"/>
<dep package="gobject-introspection"/>
</dependencies>
<suggests>
<dep package="gdk-pixbuf"/>
</suggests>
</autotools>
<autotools id="gdk-pixbuf">
<branch/>
<dependencies>
<dep package="glib"/>
<dep package="gobject-introspection"/>
<dep package="gtk-doc"/>
</dependencies>
</autotools>
<autotools id="glib">
<branch/>
<dependencies>
<dep package="gtk-doc"/>
</dependencies>
<after>
<dep package="shared-mime-info"/>
</after>
<suggests>
<!-- these provide gnome implementations of glib
extension points -->
<dep package="gvfs"/>
</suggests>
</autotools>
<autotools id="gtk+">
<branch/>
<dependencies>
<dep package="atk"/>
<dep package="glib"/>
<dep package="cairo"/>
<dep package="pango"/>
<dep package="gdk-pixbuf"/>
<dep package="gtk-doc"/>
<dep package="gobject-introspection"/>
</dependencies>
<suggests>
<dep package="shared-mime-info"/>
</suggests>
</autotools>
<autotools id="pango">
<branch/>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
<dep package="gtk-doc"/>
<dep package="gobject-introspection"/>
</dependencies>
<after>
<dep package="libXft"/>
</after>
</autotools>
<autotools id="clutter-gtk">
<branch/>
<dependencies>
<dep package="gtk+"/>
<dep package="clutter"/>
</dependencies>
</autotools>
<autotools id="clutter-gst">
<branch/>
<dependencies>
<dep package="clutter"/>
<dep package="gstreamer"/>
<dep package="gst-plugins-base"/>
</dependencies>
<suggests>
<dep package="gobject-introspection"/>
</suggests>
</autotools>
<autotools id="mesa">
<branch repo="git.freedesktop.org"
supports-non-srcdir-builds="no"
check-target="false"
skip-autogen="never"
module="mesa/mesa"
checkoutdir="mesa"/>
</autotools>
<autotools id="wayland">
<branch repo="git.freedesktop.org"
module="wayland" checkoutdir="wayland"/>
<dependencies>
<dep package="mesa"/>
</dependencies>
</autotools>
<autotools id="gobject-introspection">
<branch/>
<dependencies>
<dep package="glib"/>
<dep package="cairo"/>
</dependencies>
</autotools>
<autotools id="gjs">
<branch/>
<dependencies>
<dep package="dbus-glib"/>
<dep package="gobject-introspection"/>
<dep package="js185"/>
</dependencies>
</autotools>
<autotools id="UProf">
<branch repo="github.com/rib"
module="UProf"
revision="master"/>
</autotools>
<autotools id="gobject-introspection">
<branch repo="git.gnome.org"
module="gobject-introspection"
revision="master"/>
</autotools>
<autotools id="gtk2">
<branch repo="git.gnome.org"
module="gtk+"
checkoutdir="gtk2"
revision="gtk-2-24"/>
<dependencies>
<dep package="glib"/>
<dep package="gdk-pixbuf"/>
<dep package="atk"/>
<dep package="cairo"/>
<dep package="pango"/>
</dependencies>
</autotools>
<autotools id="json-glib">
<branch repo="git.gnome.org"
module="json-glib"
revision="json-glib-0-14"/>
<dependencies>
<dep package="glib"/>
<dep package="gobject-introspection"/>
</dependencies>
</autotools>
<tarball id="liboil" version="0.3.17">
<pkg-config>liboil-0.3.pc</pkg-config>
<source href="http://liboil.freedesktop.org/download/liboil-0.3.17.tar.gz"
hash="sha256:105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69"
md5sum="47dc734f82faeb2964d97771cfd2e701" size="912563"/>
</tarball>
<!-- Temporary use fedora's server for gudev while kernel.org is down.
When kernel.org restored, revert to:
repo="kernel.org" module="utils/kernel/hotplug/udev-147.tar.bz2"
-->
<repository type="tarball" name="fedoraproject.org"
href="pkgs.fedoraproject.org/repo/pkgs/"/>
<autotools id="gudev" check-target="false" supports-non-srcdir-builds="no"
autogen-sh="autogen.sh">
<pkg-config>gudev-1.0.pc</pkg-config>
<branch checkoutdir="gudev-147" repo="fedoraproject.org"
module="udev/udev-147.tar.bz2/aed0129c5a00e01d1be75ffda7d2e0f1/udev-147.tar.bz2" version="147">
<patch file="gudev-147.patch" strip="1"/>
</branch>
<dependencies>
<dep package="gobject-introspection"/>
</dependencies>
</autotools>
<autotools id="gstreamer" autogenargs="-- --disable-tests" makeargs="GLIB_EXTRA_CFLAGS=-UG_DISABLE_DEPRECATED ERROR_CFLAGS=" supports-non-srcdir-builds="no">
<branch repo="gstreamer.freedesktop.org" module="gstreamer" revision="0.10"/>
<dependencies>
<dep package="glib"/>
<dep package="libxml2"/>
<dep package="gobject-introspection"/>
</dependencies>
</autotools>
<autotools id="gst-plugins-base" autogenargs="--with-gtk=3.0 --disable-tests --disable-gnome_vfs" makeargs="GLIB_EXTRA_CFLAGS=-UG_DISABLE_DEPRECATED ERROR_CFLAGS= ERROR_CXXFLAGS=" supports-non-srcdir-builds="no">
<branch repo="gstreamer.freedesktop.org" module="gst-plugins-base" revision="0.10"/>
<dependencies>
<dep package="gstreamer"/>
<dep package="gtk+"/>
<dep package="liboil"/>
</dependencies>
<suggests>
<dep package="gudev"/>
</suggests>
</autotools>
<autotools id="gst-plugins-good" autogenargs="--with-gtk=3.0 --disable-tests --disable-examples" makeargs="GLIB_EXTRA_CFLAGS=-UG_DISABLE_DEPRECATED ERROR_CFLAGS= ERROR_CXXFLAGS=" supports-non-srcdir-builds="no">
<branch repo="gstreamer.freedesktop.org" module="gst-plugins-good" revision="0.10"/>
<dependencies>
<dep package="gstreamer"/>
<dep package="gst-plugins-base"/>
</dependencies>
<suggests>
<dep package="pulseaudio"/>
<dep package="gdk-pixbuf"/>
<dep package="gudev"/>
</suggests>
</autotools>
<autotools id="clutter-box2d">
<branch repo="git.gnome.org"
module="clutter-box2d"
revision="master"/>
<dependencies>
<dep package="clutter"/>
</dependencies>
</autotools>
<autotools id="clutter-bullet">
<branch repo="github.com/clutter-project"
module="clutter-bullet"
revision="master"/>
<dependencies>
<dep package="clutter"/>
</dependencies>
</autotools>
<autotools id="mx" autogenargs="--without-clutter-imcontext --without-clutter-gesture">
<branch repo="github.com/clutter-project"
module="mx"
revision="master"/>
<dependencies>
<dep package="clutter"/>
<dep package="gtk2"/>
</dependencies>
</autotools>
<autotools id="pygobject">
<branch repo="git.gnome.org"
module="pygobject"
revision="master"/>
<dependencies>
<dep package="glib"/>
</dependencies>
</autotools>
<autotools id="pycairo">
<branch module="releases/pycairo-1.8.2.tar.gz" version="1.8.2"
repo="cairo.org"
hash="sha256:77a8cbe388fd66825056744f2fc5c58b3afc247748bc2c777751cc0c2eb30a2f"
md5sum="bbfc0c2fef08dfb0c5b8baa5f0b67a87" size="519064">
</branch>
<dependencies>
<dep package="cairo"/>
</dependencies>
</autotools>
<autotools id="pygtk">
<branch repo="git.gnome.org"
module="pygtk"
revision="master"/>
<dependencies>
<dep package="pygobject"/>
<dep package="gtk2"/>
<dep package="pycairo"/>
</dependencies>
</autotools>
<autotools id="pyclutter">
<branch repo="git.gnome.org"
module="pyclutter"
revision="master"/>
<dependencies>
<dep package="pygobject"/>
<dep package="pycairo"/>
<dep package="pygtk"/>
<dep package="clutter"/>
</dependencies>
</autotools>
<autotools id="pyclutter-gst">
<branch repo="git.clutter-project.org"
module="bindings/pyclutter-gst"
revision="master"/>
<dependencies>
<dep package="clutter"/>
<dep package="clutter-gst"/>
<dep package="pyclutter"/>
</dependencies>
</autotools>
<autotools id="pyclutter-gtk">
<branch repo="git.clutter-project.org"
module="bindings/pyclutter-gtk"
revision="master"/>
<dependencies>
<dep package="clutter"/>
<dep package="clutter-gtk"/>
<dep package="pyclutter"/>
<dep package="pygtk"/>
</dependencies>
</autotools>
<metamodule id="meta-clutter">
<dependencies>
<dep package="clutter"/>
<dep package="clutter-gst"/>
<dep package="clutter-gtk"/>
</dependencies>
</metamodule>
<metamodule id="meta-clutter-extra">
<dependencies>
<dep package="meta-clutter"/>
<dep package="clutter-box2d"/>
<dep package="mx"/>
</dependencies>
</metamodule>
<metamodule id="meta-pyclutter">
<dependencies>
<dep package="meta-clutter"/>
<dep package="pyclutter"/>
<dep package="pyclutter-gst"/>
<dep package="pyclutter-gtk"/>
</dependencies>
</metamodule>
</moduleset>

View File

@ -1,148 +0,0 @@
#!/usr/bin/perl
use strict;
use warnings;
use Text::Wrap;
use Pod::Usage;
use Getopt::Long;
use POSIX qw( strftime );
$Text::Wrap::columns = 74;
# git commands
our $GIT_LOG = 'git log --pretty=format:"%at|%an|<%ae>|%h|%s"';
our $GIT_DIFF_TREE = 'git diff-tree --name-only -r';
my $help;
my $result = GetOptions(
"h|help" => \$help,
);
pod2usage(1) if $help;
our $revs = $ARGV[0] or undef;
my $log_cmd = $GIT_LOG;
$log_cmd .= ' ' . $revs if defined $revs;
open my $git_log, '-|', $log_cmd
or die("Unable to invoke git-log: $!\n");
while (<$git_log>) {
my $log_line = $_;
chomp($log_line);
my ($timestamp, $committer, $email, $commit_hash, $subject) =
split /\|/, $log_line, 5;
# use a shorter date line
my $date = strftime("%Y-%m-%d", localtime($timestamp));
print STDOUT $date, " ", $committer, " ", $email, "\n\n";
# list the file changes
if ($commit_hash) {
my $diff_cmd = $GIT_DIFF_TREE . " " . $commit_hash;
open my $git_diff, '-|', $diff_cmd
or die("Unable to invoke git-diff-tree: $!\n");
while (<$git_diff>) {
my $diff_line = $_;
chomp($diff_line);
next if $diff_line =~ /^$commit_hash/;
print STDOUT "\t* ", $diff_line, ":\n";
}
close($git_diff);
}
else {
print STDOUT "\t* *:\n";
}
print STDOUT "\n";
# no need to use the full body, the subject will do
if (defined $subject) {
$subject =~ s/\t//g;
print STDOUT wrap("\t", "\t", $subject), "\n";
}
print STDOUT "\n";
}
close($git_log);
0;
__END__
=pod
=head1 NAME
gen-changelog - Creates a ChangeLog from a git log
=head1 SYNOPSIS
gen-changelog <options>
=head1 DESCRIPTION
B<gen-changelog> is a small Perl script that reads the output of git log
and creates a file using the GNU ChangeLog format. It should be used when
creating a tarball of a project, to provide a full log of the changes to
the users.
=head1 OPTIONS
=over 4
=item -h, --help
Prints a brief help message
=item E<lt>sinceE<gt>..E<lt>untilE<gt>
Show only commits between the named two commits. When either E<lt>sinceE<gt>
or E<lt>untilE<gt> is omitted, it defaults to `HEAD`, i.e. the tip of the
current branch. For a more complete list of ways to spell E<lt>sinceE<gt>
and E<lt>untilE<gt>, see "SPECIFYING REVISIONS" section in git rev-parse.
=back
=head1 CAVEATS
B<gen-changelog> is very simple and should be tweaked to fit your use case.
It does fit the author's, but he'll gladly accept patches and requests.
=head1 EXAMPLES
=over 4
=item Print the full log and redirect it to a file
gen-changelog > ChangeLog
=item Print the changelog of the local changes
gen-changelog origin..HEAD
=back
=head1 AUTHOR
Emmanuele Bassi E<lt>ebassi (at) gnome.orgE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2009 Emmanuele Bassi
This program is free software. It can be distributed and/or modified under
the terms of Perl itself. See L<perlartistic> for further details.
=cut

View File

@ -1,73 +0,0 @@
# -*- mode: python -*-
#
# jhbuildrc for building Clutter. Customizations shuld be done in
# ~/.jhbuildrc-custom
#
# Copyright (C) Intel Corp.
#
# Based on the gnome-shell variant
#
# Copyright (C) 2008 Red Hat, Inc.
#
# Some ideas and a bit of code taken from gtk-osx-build
#
# Copyright (C) 2006, 2007, 2008 Imendio AB
#
# Use .jhbuildrc-custom to override the moduleset, modules to build,
# the source checkout location, installation prefix, or svn usernames
# etc.
#
# JHBUILDRC_CLUTTER - Do not edit this line (or anything else)
# Only rebuild modules that have changed
build_policy = 'updated'
moduleset = 'http://git.gnome.org/browse/clutter/plain/build/clutter.modules'
modules = [ 'meta-clutter' ]
# what directory should the source be checked out to?
checkoutroot = os.path.expanduser('~/clutter/source')
# the prefix to configure/install modules to (must have write access)
prefix = os.path.expanduser('~/clutter/install')
# Use system libraries for the builds
#addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'pkgconfig'))
#addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'share', 'pkgconfig'))
# Look in /usr/share for icons, D-BUS service files, etc
addpath('XDG_DATA_DIRS', os.path.join(os.sep, 'usr', 'share'))
# Look in /etc/xdg for system-global autostart files
addpath('XDG_CONFIG_DIRS', os.path.join(os.sep, 'etc', 'xdg'))
#
# For Ubuntu Intrepid, libmozjs lives in /usr/lib/xulrunner-<version>
# However, that path isn't in ld.so.conf, meaning that it's basically
# impossible to use the xulrunner .pc files and libraries. Work around
# this by deriving the path and adding it to LD_LIBRARY_PATH ourself.
#
import re
import subprocess
_pkgconfig = subprocess.Popen(['pkg-config', '--variable=sdkdir', 'mozilla-js'],
stdout=subprocess.PIPE)
_sdkdir = _pkgconfig.communicate()[0].strip()
_pkgconfig.wait()
if _pkgconfig.returncode == 0:
_libdir = re.sub('-(sdk|devel)', '', _sdkdir)
if os.path.exists(_libdir + '/libmozjs.so'):
addpath('LD_LIBRARY_PATH', _libdir)
# Rebuild faster
os.environ['INSTALL'] = os.path.expanduser('~/bin/install-check')
# Use the standard system bus
os.environ['DBUS_SYSTEM_BUS_ADDRESS'] = 'unix:path=/var/run/dbus/system_bus_socket'
# Import optional user RC for further customization. You can override
# the prefix or default build setup for example, or CFLAGS or
# module_autogenargs, etc.
#
_userrc = os.path.join(os.environ['HOME'], '.jhbuildrc-custom')
if os.path.exists(_userrc):
execfile(_userrc)

View File

@ -1,19 +0,0 @@
# -*- mode: python -*-
# The username for repositories can be overridden.
#
#repos["git.gnome.org"] = "ssh://<username>@git.gnome.org/git/"
#repos["git.clutter-project.org"] = "ssh://git@git.clutter-project.org/"
# Directory where to check sources out
#
#checkoutroot = '/opt/clutter/source'
# Directory where to install
#
#prefix = '/opt/clutter/install'
# Work around http://bugzilla.gnome.org/show_bug.cgi?id=571240 if
# your 'install' program is somewhere other than /usr/bin/install
# (affects: Arch Linux)
#installprog = 'bin/install'

View File

@ -1,93 +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>Clutter</name>
<shortname>clutter</shortname>
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
<shortdesc xml:lang="en">A toolkit for creating fast, portable, compelling dynamic UIs</shortdesc>
<description xml:lang="en">Clutter is an open source software library for creating fast, portable, compelling and dynamic graphical user interfaces. Clutter uses OpenGL (and optionally OpenGL|ES for use on Mobile and embedded platforms) for rendering, but with an API which hides the underlying GL complexity from the developer. The Clutter API is intended to be easy to use, efficient and flexible.</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=clutter"/>
<download-page rdf:resource="http://download.gnome.org/sources/clutter" />
<mailing-list rdf:resource="mailto:clutter-devel-list@clutter-project.org" />
<programming-language>C</programming-language>
<maintainer>
<foaf:Person>
<foaf:name>Emmanuele Bassi</foaf:name>
<foaf:mbox rdf:resource="mailto:ebassi@gnome.org"/>
<gnome:userid>ebassi</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>
<maintainer>
<foaf:Person>
<foaf:name>Robert Bragg</foaf:name>
<foaf:mbox rdf:resource="mailto:rob@linux.intel.com"/>
<gnome:userid>rbragg</gnome:userid>
</foaf:Person>
</maintainer>
<author>
<foaf:Person>
<foaf:name>Matthew Allum</foaf:name>
<foaf:mbox rdf:resource="mailto:mallum@o-hand.com"/>
</foaf:Person>
</author>
<author>
<foaf:Person>
<foaf:name>Emmanuele Bassi</foaf:name>
<foaf:mbox rdf:resource="mailto:ebassi@gnome.org"/>
<gnome:userid>ebassi</gnome:userid>
</foaf:Person>
</author>
<author>
<foaf:Person>
<foaf:name>Neil Roberts</foaf:name>
<foaf:mbox rdf:resource="mailto:neil@linux.intel.com"/>
<gnome:userid>nroberts</gnome:userid>
</foaf:Person>
</author>
<author>
<foaf:Person>
<foaf:name>Robert Bragg</foaf:name>
<foaf:mbox rdf:resource="mailto:robert@linux.intel.com"/>
<gnome:userid>rbragg</gnome:userid>
</foaf:Person>
</author>
<author>
<foaf:Person>
<foaf:name>Øyvind Kolås</foaf:name>
<foaf:mbox rdf:resource="mailto:pippin@linux.intel.com"/>
</foaf:Person>
</author>
<repository>
<GitRepository>
<browse rdf:resource="http://git.gnome.org/browse/clutter/"/>
<location rdf:resource="git://git.gnome.org/clutter"/>
</GitRepository>
</repository>
</Project>

View File

@ -821,7 +821,6 @@ dnl ===========================================================================
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile
README
build/Makefile build/Makefile
build/autotools/Makefile build/autotools/Makefile