It’s a wrapper between Bullet Physics and EFL to add physics effects in a simple way. More details on README, TODO, and edevelop mail list =) SVN revision: 72896devs/devilhorns/wayland_egl
@ -0,0 +1,41 @@ |
||||
*~ |
||||
*.o |
||||
*.lo |
||||
*.la |
||||
.libs |
||||
.deps |
||||
*.pc |
||||
Makefile |
||||
Makefile.in |
||||
*.so |
||||
/aclocal.m4 |
||||
/autom4te.cache/ |
||||
/compile |
||||
/config.cache |
||||
/config.guess |
||||
/config.h |
||||
/config.h.in |
||||
/config.log |
||||
/config.status |
||||
/config.sub |
||||
/configure |
||||
/depcomp |
||||
/install-sh |
||||
/libtool |
||||
/ltmain.sh |
||||
/missing |
||||
/stamp-h1 |
||||
/ABOUT-NLS |
||||
/config.cache-env |
||||
doc/Doxyfile |
||||
m4/libtool.m4 |
||||
m4/ltoptions.m4 |
||||
m4/ltsugar.m4 |
||||
m4/ltversion.m4 |
||||
m4/lt~obsolete.m4 |
||||
data/themes/ephysics_test.edj |
||||
src/bin/ephysics_test |
||||
src/bin/ephysics_logo |
||||
doc/html/ |
||||
doc/latex/ |
||||
doc/man/ |
@ -0,0 +1,2 @@ |
||||
Bruno Dilly <bdilly@profusion.mobi> |
||||
Leandro Dorileo <dorileo@profusion.mobi> |
@ -0,0 +1,26 @@ |
||||
Copyright notice for EPhysics: |
||||
|
||||
Copyright (C) 2012 ProFUSION Embedded Systems and various contributors |
||||
(see AUTHORS). |
||||
|
||||
All rights reserved. |
||||
|
||||
Redistribution and use in source and binary forms, with or without |
||||
modification, are permitted provided that the following conditions are met: |
||||
|
||||
1. Redistributions of source code must retain the above copyright |
||||
notice, this list of conditions and the following disclaimer. |
||||
2. Redistributions in binary form must reproduce the above copyright |
||||
notice, this list of conditions and the following disclaimer in the |
||||
documentation and/or other materials provided with the distribution. |
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
||||
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, |
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, |
||||
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
@ -0,0 +1,94 @@ |
||||
The follwing images were drawn by Marina Proni <marina.proni@profusion.mobi> |
||||
and are licensed under Creative Commons Attribution-ShareAlike 3.0 |
||||
Unported License: |
||||
|
||||
arrows.png |
||||
background.jpg |
||||
ball-blue70.png |
||||
ball-blue.png |
||||
ball-green70.png |
||||
ball-green.png |
||||
ball-red70.png |
||||
ball-red.png |
||||
bt_jump.png |
||||
bt_jump_pressed.png |
||||
bt_restart.png |
||||
bt_restart_pressed.png |
||||
collisionL.png |
||||
cube-blue.png |
||||
cube-purple.png |
||||
impact.png |
||||
list-item-corner.png |
||||
list-item-corner-pressed.png |
||||
list-item.png |
||||
list-item-pressed.png |
||||
list.png |
||||
shadow-ball.png |
||||
shadow-cube.png |
||||
|
||||
=== |
||||
|
||||
Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) |
||||
|
||||
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. |
||||
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. |
||||
|
||||
1. Definitions |
||||
|
||||
a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. |
||||
b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. |
||||
c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. |
||||
d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. |
||||
e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. |
||||
f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. |
||||
g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. |
||||
h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. |
||||
i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. |
||||
j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. |
||||
k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. |
||||
|
||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. |
||||
|
||||
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: |
||||
|
||||
a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; |
||||
b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; |
||||
c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, |
||||
d. to Distribute and Publicly Perform Adaptations. |
||||
|
||||
e. For the avoidance of doubt: |
||||
i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; |
||||
ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, |
||||
iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. |
||||
|
||||
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. |
||||
|
||||
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: |
||||
|
||||
a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. |
||||
b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. |
||||
c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. |
||||
d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. |
||||
|
||||
5. Representations, Warranties and Disclaimer |
||||
|
||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. |
||||
|
||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
||||
|
||||
7. Termination |
||||
|
||||
a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. |
||||
b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. |
||||
|
||||
8. Miscellaneous |
||||
|
||||
a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. |
||||
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. |
||||
c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. |
||||
d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. |
||||
e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. |
||||
f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. |
||||
|
@ -0,0 +1,3 @@ |
||||
2012-05-15 Bruno Dilly |
||||
|
||||
Initial version |
@ -0,0 +1,365 @@ |
||||
Installation Instructions |
||||
************************* |
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
||||
2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
||||
|
||||
Copying and distribution of this file, with or without modification, |
||||
are permitted in any medium without royalty provided the copyright |
||||
notice and this notice are preserved. This file is offered as-is, |
||||
without warranty of any kind. |
||||
|
||||
Basic Installation |
||||
================== |
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should |
||||
configure, build, and install this package. The following |
||||
more-detailed instructions are generic; see the `README' file for |
||||
instructions specific to this package. Some packages provide this |
||||
`INSTALL' file but do not implement all of the features documented |
||||
below. The lack of an optional feature in a given package is not |
||||
necessarily a bug. More recommendations for GNU packages can be found |
||||
in *note Makefile Conventions: (standards)Makefile Conventions. |
||||
|
||||
The `configure' shell script attempts to guess correct values for |
||||
various system-dependent variables used during compilation. It uses |
||||
those values to create a `Makefile' in each directory of the package. |
||||
It may also create one or more `.h' files containing system-dependent |
||||
definitions. Finally, it creates a shell script `config.status' that |
||||
you can run in the future to recreate the current configuration, and a |
||||
file `config.log' containing compiler output (useful mainly for |
||||
debugging `configure'). |
||||
|
||||
It can also use an optional file (typically called `config.cache' |
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves |
||||
the results of its tests to speed up reconfiguring. Caching is |
||||
disabled by default to prevent problems with accidental use of stale |
||||
cache files. |
||||
|
||||
If you need to do unusual things to compile the package, please try |
||||
to figure out how `configure' could check whether to do them, and mail |
||||
diffs or instructions to the address given in the `README' so they can |
||||
be considered for the next release. If you are using the cache, and at |
||||
some point `config.cache' contains results you don't want to keep, you |
||||
may remove or edit it. |
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create |
||||
`configure' by a program called `autoconf'. You need `configure.ac' if |
||||
you want to change it or regenerate `configure' using a newer version |
||||
of `autoconf'. |
||||
|
||||
The simplest way to compile this package is: |
||||
|
||||
1. `cd' to the directory containing the package's source code and type |
||||
`./configure' to configure the package for your system. |
||||
|
||||
Running `configure' might take a while. While running, it prints |
||||
some messages telling which features it is checking for. |
||||
|
||||
2. Type `make' to compile the package. |
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with |
||||
the package, generally using the just-built uninstalled binaries. |
||||
|
||||
4. Type `make install' to install the programs and any data files and |
||||
documentation. When installing into a prefix owned by root, it is |
||||
recommended that the package be configured and built as a regular |
||||
user, and only the `make install' phase executed with root |
||||
privileges. |
||||
|
||||
5. Optionally, type `make installcheck' to repeat any self-tests, but |
||||
this time using the binaries in their final installed location. |
||||
This target does not install anything. Running this target as a |
||||
regular user, particularly if the prior `make install' required |
||||
root privileges, verifies that the installation completed |
||||
correctly. |
||||
|
||||
6. You can remove the program binaries and object files from the |
||||
source code directory by typing `make clean'. To also remove the |
||||
files that `configure' created (so you can compile the package for |
||||
a different kind of computer), type `make distclean'. There is |
||||
also a `make maintainer-clean' target, but that is intended mainly |
||||
for the package's developers. If you use it, you may have to get |
||||
all sorts of other programs in order to regenerate files that came |
||||
with the distribution. |
||||
|
||||
7. Often, you can also type `make uninstall' to remove the installed |
||||
files again. In practice, not all packages have tested that |
||||
uninstallation works correctly, even though it is required by the |
||||
GNU Coding Standards. |
||||
|
||||
8. Some packages, particularly those that use Automake, provide `make |
||||
distcheck', which can by used by developers to test that all other |
||||
targets like `make install' and `make uninstall' work correctly. |
||||
This target is generally not run by end users. |
||||
|
||||
Compilers and Options |
||||
===================== |
||||
|
||||
Some systems require unusual options for compilation or linking that |
||||
the `configure' script does not know about. Run `./configure --help' |
||||
for details on some of the pertinent environment variables. |
||||
|
||||
You can give `configure' initial values for configuration parameters |
||||
by setting variables in the command line or in the environment. Here |
||||
is an example: |
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix |
||||
|
||||
*Note Defining Variables::, for more details. |
||||
|
||||
Compiling For Multiple Architectures |
||||
==================================== |
||||
|
||||
You can compile the package for more than one kind of computer at the |
||||
same time, by placing the object files for each architecture in their |
||||
own directory. To do this, you can use GNU `make'. `cd' to the |
||||
directory where you want the object files and executables to go and run |
||||
the `configure' script. `configure' automatically checks for the |
||||
source code in the directory that `configure' is in and in `..'. This |
||||
is known as a "VPATH" build. |
||||
|
||||
With a non-GNU `make', it is safer to compile the package for one |
||||
architecture at a time in the source code directory. After you have |
||||
installed the package for one architecture, use `make distclean' before |
||||
reconfiguring for another architecture. |
||||
|
||||
On MacOS X 10.5 and later systems, you can create libraries and |
||||
executables that work on multiple system types--known as "fat" or |
||||
"universal" binaries--by specifying multiple `-arch' options to the |
||||
compiler but only a single `-arch' option to the preprocessor. Like |
||||
this: |
||||
|
||||
./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
||||
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ |
||||
CPP="gcc -E" CXXCPP="g++ -E" |
||||
|
||||
This is not guaranteed to produce working output in all cases, you |
||||
may have to build one architecture at a time and combine the results |
||||
using the `lipo' tool if you have problems. |
||||
|
||||
Installation Names |
||||
================== |
||||
|
||||
By default, `make install' installs the package's commands under |
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You |
||||
can specify an installation prefix other than `/usr/local' by giving |
||||
`configure' the option `--prefix=PREFIX', where PREFIX must be an |
||||
absolute file name. |
||||
|
||||
You can specify separate installation prefixes for |
||||
architecture-specific files and architecture-independent files. If you |
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses |
||||
PREFIX as the prefix for installing programs and libraries. |
||||
Documentation and other data files still use the regular prefix. |
||||
|
||||
In addition, if you use an unusual directory layout you can give |
||||
options like `--bindir=DIR' to specify different values for particular |
||||
kinds of files. Run `configure --help' for a list of the directories |
||||
you can set and what kinds of files go in them. In general, the |
||||
default for these options is expressed in terms of `${prefix}', so that |
||||
specifying just `--prefix' will affect all of the other directory |
||||
specifications that were not explicitly provided. |
||||
|
||||
The most portable way to affect installation locations is to pass the |
||||
correct locations to `configure'; however, many packages provide one or |
||||
both of the following shortcuts of passing variable assignments to the |
||||
`make install' command line to change installation locations without |
||||
having to reconfigure or recompile. |
||||
|
||||
The first method involves providing an override variable for each |
||||
affected directory. For example, `make install |
||||
prefix=/alternate/directory' will choose an alternate location for all |
||||
directory configuration variables that were expressed in terms of |
||||
`${prefix}'. Any directories that were specified during `configure', |
||||
but not in terms of `${prefix}', must each be overridden at install |
||||
time for the entire installation to be relocated. The approach of |
||||
makefile variable overrides for each directory variable is required by |
||||
the GNU Coding Standards, and ideally causes no recompilation. |
||||
However, some platforms have known limitations with the semantics of |
||||
shared libraries that end up requiring recompilation when using this |
||||
method, particularly noticeable in packages that use GNU Libtool. |
||||
|
||||
The second method involves providing the `DESTDIR' variable. For |
||||
example, `make install DESTDIR=/alternate/directory' will prepend |
||||
`/alternate/directory' before all installation names. The approach of |
||||
`DESTDIR' overrides is not required by the GNU Coding Standards, and |
||||
does not work on platforms that have drive letters. On the other hand, |
||||
it does better at avoiding recompilation issues, and works well even |
||||
when some directory options were not specified in terms of `${prefix}' |
||||
at `configure' time. |
||||
|
||||
Optional Features |
||||
================= |
||||
|
||||
If the package supports it, you can cause programs to be installed |
||||
with an extra prefix or suffix on their names by giving `configure' the |
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. |
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to |
||||
`configure', where FEATURE indicates an optional part of the package. |
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE |
||||
is something like `gnu-as' or `x' (for the X Window System). The |
||||
`README' should mention any `--enable-' and `--with-' options that the |
||||
package recognizes. |
||||
|
||||
For packages that use the X Window System, `configure' can usually |
||||
find the X include and library files automatically, but if it doesn't, |
||||
you can use the `configure' options `--x-includes=DIR' and |
||||
`--x-libraries=DIR' to specify their locations. |
||||
|
||||
Some packages offer the ability to configure how verbose the |
||||
execution of `make' will be. For these packages, running `./configure |
||||
--enable-silent-rules' sets the default to minimal output, which can be |
||||
overridden with `make V=1'; while running `./configure |
||||
--disable-silent-rules' sets the default to verbose, which can be |
||||
overridden with `make V=0'. |
||||
|
||||
Particular systems |
||||
================== |
||||
|
||||
On HP-UX, the default C compiler is not ANSI C compatible. If GNU |
||||
CC is not installed, it is recommended to use the following options in |
||||
order to use an ANSI C compiler: |
||||
|
||||
./configure CC="cc -Ae -D_XOPEN_SOURCE=500" |
||||
|
||||
and if that doesn't work, install pre-built binaries of GCC for HP-UX. |
||||
|
||||
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot |
||||
parse its `<wchar.h>' header file. The option `-nodtk' can be used as |
||||
a workaround. If GNU CC is not installed, it is therefore recommended |
||||
to try |
||||
|
||||
./configure CC="cc" |
||||
|
||||
and if that doesn't work, try |
||||
|
||||
./configure CC="cc -nodtk" |
||||
|
||||
On Solaris, don't put `/usr/ucb' early in your `PATH'. This |
||||
directory contains several dysfunctional programs; working variants of |
||||
these programs are available in `/usr/bin'. So, if you need `/usr/ucb' |
||||
in your `PATH', put it _after_ `/usr/bin'. |
||||
|
||||
On Haiku, software installed for all users goes in `/boot/common', |
||||
not `/usr/local'. It is recommended to use the following options: |
||||
|
||||
./configure --prefix=/boot/common |
||||
|
||||
Specifying the System Type |
||||
========================== |
||||
|
||||
There may be some features `configure' cannot figure out |
||||
automatically, but needs to determine by the type of machine the package |
||||
will run on. Usually, assuming the package is built to be run on the |
||||
_same_ architectures, `configure' can figure that out, but if it prints |
||||
a message saying it cannot guess the machine type, give it the |
||||
`--build=TYPE' option. TYPE can either be a short name for the system |
||||
type, such as `sun4', or a canonical name which has the form: |
||||
|
||||
CPU-COMPANY-SYSTEM |
||||
|
||||
where SYSTEM can have one of these forms: |
||||
|
||||
OS |
||||
KERNEL-OS |
||||
|
||||
See the file `config.sub' for the possible values of each field. If |
||||
`config.sub' isn't included in this package, then this package doesn't |
||||
need to know the machine type. |
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should |
||||
use the option `--target=TYPE' to select the type of system they will |
||||
produce code for. |
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a |
||||
platform different from the build platform, you should specify the |
||||
"host" platform (i.e., that on which the generated programs will |
||||
eventually be run) with `--host=TYPE'. |
||||
|
||||
Sharing Defaults |
||||
================ |
||||
|
||||
If you want to set default values for `configure' scripts to share, |
||||
you can create a site shell script called `config.site' that gives |
||||
default values for variables like `CC', `cache_file', and `prefix'. |
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then |
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the |
||||
`CONFIG_SITE' environment variable to the location of the site script. |
||||
A warning: not all `configure' scripts look for a site script. |
||||
|
||||
Defining Variables |
||||
================== |
||||
|
||||
Variables not defined in a site shell script can be set in the |
||||
environment passed to `configure'. However, some packages may run |
||||
configure again during the build, and the customized values of these |
||||
variables may be lost. In order to avoid this problem, you should set |
||||
them in the `configure' command line, using `VAR=value'. For example: |
||||
|
||||
./configure CC=/usr/local2/bin/gcc |
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is |
||||
overridden in the site shell script). |
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to |
||||
an Autoconf bug. Until the bug is fixed you can use this workaround: |
||||
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash |
||||
|
||||
`configure' Invocation |
||||
====================== |
||||
|
||||
`configure' recognizes the following options to control how it |
||||
operates. |
||||
|
||||
`--help' |
||||
`-h' |
||||
Print a summary of all of the options to `configure', and exit. |
||||
|
||||
`--help=short' |
||||
`--help=recursive' |
||||
Print a summary of the options unique to this package's |
||||
`configure', and exit. The `short' variant lists options used |
||||
only in the top level, while the `recursive' variant lists options |
||||
also present in any nested packages. |
||||
|
||||
`--version' |
||||
`-V' |
||||
Print the version of Autoconf used to generate the `configure' |
||||
script, and exit. |
||||
|
||||
`--cache-file=FILE' |
||||
Enable the cache: use and save the results of the tests in FILE, |
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to |
||||
disable caching. |
||||
|
||||
`--config-cache' |
||||
`-C' |
||||
Alias for `--cache-file=config.cache'. |
||||
|
||||
`--quiet' |
||||
`--silent' |
||||
`-q' |
||||
Do not print messages saying which checks are being made. To |
||||
suppress all normal output, redirect it to `/dev/null' (any error |
||||
messages will still be shown). |
||||
|
||||
`--srcdir=DIR' |
||||
Look for the package's source code in directory DIR. Usually |
||||
`configure' can determine that directory automatically. |
||||
|
||||
`--prefix=DIR' |
||||
Use DIR as the installation prefix. *note Installation Names:: |
||||
for more details, including other options available for fine-tuning |
||||
the installation locations. |
||||
|
||||
`--no-create' |
||||
`-n' |
||||
Run the configure checks, but stop before creating any output |
||||
files. |
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run |
||||
`configure --help' for more details. |
||||
|
@ -0,0 +1,48 @@ |
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = src doc data
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in \ |
||||
aclocal.m4 \ |
||||
compile \ |
||||
config.guess \ |
||||
config.h.in \ |
||||
config.h.in~ \ |
||||
config.sub \ |
||||
configure \ |
||||
depcomp \ |
||||
install-sh \ |
||||
ltmain.sh \ |
||||
missing \ |
||||
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \ |
||||
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \ |
||||
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \ |
||||
m4/libtool.m4 \ |
||||
m4/lt~obsolete.m4 \ |
||||
m4/ltoptions.m4 \ |
||||
m4/ltsugar.m4 \ |
||||
m4/ltversion.m4 |
||||
|
||||
bin_SCRIPTS =
|
||||
|
||||
EXTRA_DIST = \
|
||||
AUTHORS \ |
||||
COPYING \ |
||||
COPYING_ARTS \ |
||||
autogen.sh \ |
||||
ephysics.pc.in \ |
||||
ephysics.spec \ |
||||
ephysics.spec.in \ |
||||
README |
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = ephysics.pc
|
||||
|
||||
.PHONY: doc |
||||
|
||||
# Documentation
|
||||
|
||||
doc: |
||||
@echo "entering doc/"
|
||||
make -C doc doc
|
@ -0,0 +1,3 @@ |
||||
Ephysics 0.1.0 |
||||
|
||||
* Very initial implementation |
@ -0,0 +1,50 @@ |
||||
EPhysics 0.1.0 |
||||
|
||||
****************************************************************************** |
||||
|
||||
FOR ANY ISSUES PLEASE EMAIL: |
||||
enlightenment-devel@lists.sourceforge.net |
||||
|
||||
****************************************************************************** |
||||
|
||||
Requirements: |
||||
------------- |
||||
|
||||
Must: |
||||
libc |
||||
ecore (at least 1.1.0) |
||||
ecore-evas (at least 1.1.0) |
||||
evas (at least 1.1.0) |
||||
bullet (at least 2.80) |
||||
Optional: |
||||
elementary (at least 1.0.0, required to build ephysics_test) |
||||
|
||||
EPhysics is a library that manages Ecore, Evas and Bullet Physics into |
||||
an easy to use way. It's a kind of wrapper, a glue, between these libraries. |
||||
It's not intended to be a physics library (we already have many out there). |
||||
|
||||
------------------------------------------------------------------------------ |
||||
|
||||
COMPILING AND INSTALLING: |
||||
|
||||
$ ./configure |
||||
$ make |
||||
(as root unless you are installing in your users directories): |
||||
$ make install |
||||
|
||||
If elementary is installed, it will build and install a test application as |
||||
well, that showcases EPhysics capabilites. Run |
||||
|
||||
$ ephysics_test |
||||
|
||||
to see these examples. |
||||
---- |
||||
|
||||
DOCS |
||||
|
||||
To generate documentation, doxygen is required. |
||||
|
||||
$ make doc |
||||
|
||||
will create a ephysics/doc/html directory. You could start looking at |
||||
index.html. |
@ -0,0 +1,17 @@ |
||||
* collision filters |
||||
* receive collision point on collision cb |
||||
* valgrind supp |
||||
* EPhysics_Constants |
||||
* Sandbox tools to try different materials / properties |
||||
* camera |
||||
* create shape from image |
||||
* simple game using ephysics |
||||
* set best shape based on evas object |
||||
* optimize collision shapes usage |
||||
* deform objects |
||||
* improve docs |
||||
* run simulation on other thread |
||||
|
||||
FAR FAR FUTURE: |
||||
* support Box2d backend |
||||
* support Chipmunk backend |
@ -0,0 +1,39 @@ |
||||
#!/bin/sh |
||||
|
||||
rm -rf autom4te.cache |
||||
rm -f aclocal.m4 ltmain.sh |
||||
|
||||
touch README |
||||
touch ABOUT-NLS |
||||
|
||||
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 |
||||
echo "Running autoheader..." ; autoheader || exit 1 |
||||
echo "Running autoconf..." ; autoconf || exit 1 |
||||
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 |
||||
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 |
||||
|
||||
W=0 |
||||
|
||||
rm -f config.cache-env.tmp |
||||
echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp |
||||
echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp |
||||
echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp |
||||
echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp |
||||
echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp |
||||
|
||||
cmp config.cache-env.tmp config.cache-env >> /dev/null |
||||
if [ $? -ne 0 ]; then |
||||
W=1; |
||||
fi |
||||
|
||||
if [ $W -ne 0 ]; then |
||||
echo "Cleaning configure cache..."; |
||||
rm -f config.cache config.cache-env |
||||
mv config.cache-env.tmp config.cache-env |
||||
else |
||||
rm -f config.cache-env.tmp |
||||
fi |
||||
|
||||
if [ -z "$NOCONFIGURE" ]; then |
||||
./configure -C "$@" |
||||
fi |
@ -0,0 +1,244 @@ |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
m4_define([v_maj], [0]) |
||||
m4_define([v_min], [1]) |
||||
m4_define([v_mic], [0]) |
||||
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n'])) |
||||
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))]) |
||||
##-- When released, remove the dnl on the below line |
||||
dnl m4_undefine([v_rev]) |
||||
##-- When doing snapshots - change soname. remove dnl on below line |
||||
dnl m4_define([relname], [ver-pre-svn-07]) |
||||
dnl m4_define([v_rel], [-release relname]) |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])]) |
||||
m4_define([lt_cur], m4_eval(v_maj + v_min)) |
||||
m4_define([lt_rev], v_mic) |
||||
m4_define([lt_age], v_min) |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
|
||||
AC_INIT([ephysics], [v_ver], [enlightenment-devel@lists.sourceforge.net]) |
||||
AC_PREREQ([2.52]) |
||||
AC_CONFIG_SRCDIR([configure.ac]) |
||||
AC_CONFIG_MACRO_DIR([m4]) |
||||
|
||||
AC_CONFIG_HEADERS([config.h]) |
||||
AH_TOP([ |
||||
#ifndef EFL_CONFIG_H__ |
||||
#define EFL_CONFIG_H__ |
||||
]) |
||||
AH_BOTTOM([ |
||||
#endif /* EFL_CONFIG_H__ */ |
||||
]) |
||||
|
||||
AM_INIT_AUTOMAKE([1.6 dist-bzip2]) |
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
||||
|
||||
AC_LIBTOOL_WIN32_DLL |
||||
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl |
||||
AC_PROG_LIBTOOL |
||||
|
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
m4_ifdef([v_rev], , [m4_define([v_rev], [0])]) |
||||
m4_ifdef([v_rel], , [m4_define([v_rel], [])]) |
||||
AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version]) |
||||
AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version]) |
||||
AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version]) |
||||
AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison]) |
||||
version_info="lt_cur:lt_rev:lt_age" |
||||
release_info="v_rel" |
||||
AC_SUBST(version_info) |
||||
AC_SUBST(release_info) |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## |
||||
VMAJ=v_maj |
||||
AC_SUBST(VMAJ) |
||||
|
||||
AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["$shrext_cmds"], [Suffix for shared objects]) |
||||
|
||||
### Default options with respect to host |
||||
AC_CANONICAL_BUILD |
||||
AC_CANONICAL_HOST |
||||
|
||||
|
||||
case "$host_os" in |
||||
mingw32ce*) |
||||
MODULE_ARCH="$host_os-$host_cpu" |
||||
install_vim="no" |
||||
have_ephysics_cc="no" |
||||
;; |
||||
*) |
||||
MODULE_ARCH="$host_os-$host_cpu-v_maj.0.0" |
||||
install_vim="yes" |
||||
have_ephysics_cc="yes" |
||||
;; |
||||
esac |
||||
|
||||
requirement_ephysics="" |
||||
|
||||
AC_SUBST(MODULE_ARCH) |
||||
AC_DEFINE_UNQUOTED(MODULE_ARCH, "${MODULE_ARCH}", "Module architecture") |
||||
|
||||
m4_ifdef([v_mic], |
||||
[ |
||||
EFL_COMPILER_FLAG([-Wshadow]) |
||||
EFL_COMPILER_FLAG([-Wall]) |
||||
EFL_COMPILER_FLAG([-Wextra]) |
||||
EFL_COMPILER_FLAG([-W]) |
||||
]) |
||||
|
||||
### Checks for programs |
||||
AC_PROG_CC |
||||
AC_PROG_CXX |
||||
|
||||
# doxygen program for documentation building |
||||
|
||||
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"]) |
||||
|
||||
# python |
||||
|
||||
AM_PATH_PYTHON([2.5], , [:]) |
||||
AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != : ]) |
||||
|
||||
# pkg-config |
||||
|
||||
PKG_PROG_PKG_CONFIG |
||||
|
||||
# Check whether pkg-config supports Requires.private |
||||
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then |
||||
pkgconfig_requires_private="Requires.private" |
||||
else |
||||
pkgconfig_requires_private="Requires" |
||||
fi |
||||
AC_SUBST(pkgconfig_requires_private) |
||||
|
||||
|
||||
### Checks for libraries |
||||
|
||||
# Evil library for compilation on Windows |
||||
|
||||
EFL_EPHYSICS_BUILD="" |
||||
case "$host_os" in |
||||
mingw*) |
||||
PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0]) |
||||
AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil library is installed]) |
||||
requirement_ephysics="evil ${requirement_ephysics}" |
||||
EFL_EPHYSICS_BUILD="-DEFL_EPHYSICS_BUILD" |
||||
;; |
||||
esac |
||||
AC_SUBST(EFL_EPHYSICS_BUILD) |
||||
|
||||
# Dependencies for the library |
||||
|
||||
PKG_CHECK_MODULES([EPHYSICS], |
||||
[ |
||||
eina >= 1.2.0 |
||||
evas >= 1.2.0 |
||||
ecore >= 1.2.0 |
||||
ecore-evas >= 1.2.0 |
||||
bullet >= 2.80 |
||||
]) |
||||
|
||||
requirement_ephysics="bullet >= 2.80 ecore-evas >= 1.2.0 ecore >= 1.2.0 evas >= 1.2.0 eina >= 1.2.0 ${requirement_ephysics}" |
||||
|
||||
### Checks for header files |
||||
AC_CHECK_HEADERS([locale.h sys/resource.h]) |
||||
|
||||
EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) |
||||
|
||||
EFL_CHECK_PATH_MAX |
||||
|
||||
### Checks for compiler characteristics |
||||
AM_PROG_CC_C_O |
||||
AC_C_CONST |
||||
AC_PROG_CC_STDC |
||||
AC_HEADER_STDC |
||||
AC_C___ATTRIBUTE__ |
||||
|
||||
case "$host_os" in |
||||
mingw32ce*) |
||||
EPHYSICS_CFLAGS="${EPHYSICS_CFLAGS} -D_WIN32_WCE=0x0420" |
||||
;; |
||||
esac |
||||
|
||||
|
||||
### Checks for linker characteristics |
||||
|
||||
lt_enable_auto_import="" |
||||
case "$host_os" in |
||||
mingw*) |
||||
lt_enable_auto_import="-Wl,--enable-auto-import" |
||||
;; |
||||
esac |
||||
AC_SUBST(lt_enable_auto_import) |
||||
|
||||
## Tests |
||||
PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.0.0], [build_tests="yes"], [build_tests="no"]) |
||||
AC_ARG_ENABLE([build-tests], |
||||
AC_HELP_STRING([--disable-build-tests], |
||||
[Disable building tests. It is enabled by default unless |
||||
required dependencies are not present. @<:@default==enabled@:>@]), |
||||
[ |
||||
if test "x${enableval}" = "xno" ; then |
||||
build_tests="no" |
||||
else |
||||
requirement_ephysics="elementary >= 1.0.0 ${requirement_ephysics}" |
||||
fi |
||||
], |
||||
[]) |
||||
AM_CONDITIONAL([BUILD_TESTS], [test "x${build_tests}" = "xyes"]) |
||||
|
||||
if test "${build_tests}" = "yes" ; then |
||||
PKG_CHECK_MODULES([EPHYSICS_TEST], |
||||
[ |
||||
eina >= 1.2.0 |
||||
evas >= 1.2.0 |
||||
ecore >= 1.2.0 |
||||
ecore-evas >= 1.2.0 |
||||
elementary >= 1.0.0 |
||||
bullet >= 2.80 |
||||
]) |
||||
fi |
||||
|
||||
AC_SUBST(requirement_ephysics) |
||||
|
||||
AC_OUTPUT([ |
||||
ephysics.pc |
||||
Makefile |
||||
data/Makefile |
||||
data/logo_images/Makefile |
||||
data/themes/Makefile |
||||
doc/Makefile |
||||
doc/Doxyfile |
||||
src/Makefile |
||||
src/lib/Makefile |
||||
src/bin/Makefile |
||||
]) |
||||
|
||||
|
||||
##################################################################### |
||||
## Info |
||||
|
||||
echo |
||||
echo |
||||
echo |
||||
echo "------------------------------------------------------------------------" |
||||
echo "$PACKAGE $VERSION" |
||||
echo "------------------------------------------------------------------------" |
||||
echo |
||||
echo "Configuration Options Summary:" |
||||
echo |
||||
echo " Documentation........: ${build_doc}" |
||||
echo " Tests................: ${build_tests}" |
||||
echo |
||||
echo "Compilation............: make (or gmake)" |
||||
echo " CPPFLAGS.............: $CPPFLAGS" |
||||
echo " CFLAGS...............: $CFLAGS" |
||||
echo " LDFLAGS..............: $LDFLAGS" |
||||
echo |
||||
echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')" |
||||
echo " prefix...............: $prefix" |
||||
echo |
@ -0,0 +1,3 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = logo_images themes
|
@ -0,0 +1,30 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
filesdir = $(datadir)/ephysics/
|
||||
|
||||
files_DATA = \
|
||||
logo_background.png \
|
||||
logo_letter-C.png \
|
||||
logo_letter-E.png \
|
||||
logo_letter-H.png \
|
||||
logo_letter-I.png \
|
||||
logo_letter-P.png \
|
||||
logo_letter-S1.png \
|
||||
logo_letter-S2.png \
|
||||
logo_letter-Y.png \
|
||||
logo_light-C.png \
|
||||
logo_light-E.png \
|
||||
logo_light-H.png \
|
||||
logo_light-I.png \
|
||||
logo_light-P.png \
|
||||
logo_light-S1.png \
|
||||
logo_light-S2.png \
|
||||
logo_light-Y.png \
|
||||
logo_shadow-C.png \
|
||||
logo_shadow-E.png \
|
||||
logo_shadow-H.png \
|
||||
logo_shadow-I.png \
|
||||
logo_shadow-P.png \
|
||||
logo_shadow-S1.png \
|
||||
logo_shadow-S2.png \
|
||||
logo_shadow-Y.png
|
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1022 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
@ -0,0 +1,51 @@ |
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EDJE_CC = @edje_cc@
|
||||
EDJE_FLAGS_VERBOSE_ =
|
||||
EDJE_FLAGS_VERBOSE_0 =
|
||||
EDJE_FLAGS_VERBOSE_1 = -v
|
||||
EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_srcdir)/data/themes/fonts
|
||||
|
||||
filesdir = $(datadir)/ephysics/
|
||||
|
||||
files_DATA = ephysics_test.edj
|
||||
|
||||
EXTRA_DIST = \
|
||||
ephysics_test.edc \
|
||||
balls.edc \
|
||||
buttons.edc \
|
||||
cubes.edc \
|
||||
effects.edc \
|
||||
ephysics_test.edc \
|
||||
frame.edc \
|
||||
list.edc \
|
||||
shadows.edc \
|
||||
images/arrows.png \
|
||||
images/background.jpg \
|
||||
images/ball-blue.png \
|
||||
images/ball-blue70.png \
|
||||
images/ball-green.png \
|
||||
images/ball-green70.png \
|
||||
images/ball-red.png \
|
||||
images/ball-red70.png \
|
||||
images/bt_jump.png \
|
||||
images/bt_jump_pressed.png \
|
||||
images/bt_restart.png \
|
||||
images/bt_restart_pressed.png \
|
||||
images/collisionL.png \
|
||||
images/cube-blue.png \
|
||||
images/cube-purple.png \
|
||||
images/list-item.png \
|
||||
images/list-item-corner.png \
|
||||
images/list-item-corner-pressed.png \
|
||||
images/list-item-pressed.png \
|
||||
images/shadow-ball.png \
|
||||
images/shadow-cube.png
|
||||
|
||||
ephysics_test.edj: Makefile $(EXTRA_DIST) |
||||
$(EDJE_CC) $(EDJE_FLAGS) \
|
||||
$(top_srcdir)/data/themes/ephysics_test.edc \
|
||||
$(top_builddir)/data/themes/ephysics_test.edj
|
||||
|
||||
clean-local: |
||||
rm -f *.edj
|
@ -0,0 +1,124 @@ |
||||
images { |
||||
image: "ball-blue.png" COMP; |
||||
image: "ball-blue70.png" COMP; |
||||
image: "ball-green.png" COMP; |
||||
image: "ball-green70.png" COMP; |
||||
image: "ball-red.png" COMP; |
||||
image: "ball-red70.png" COMP; |
||||
} |
||||
|
||||
group { |
||||
name: "blue-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-blue.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "big-blue-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-blue70.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "red-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-red.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "big-red-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-red70.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "green-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-green.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "big-green-ball"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "ball"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "ball-green70.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
|
@ -0,0 +1,133 @@ |
||||
images { |
||||
image: "bt_jump.png" COMP; |
||||
image: "bt_jump_pressed.png" COMP; |
||||
image: "bt_restart.png" COMP; |
||||
image: "bt_restart_pressed.png" COMP; |
||||
} |
||||
|
||||
#define BUTTON_GROUP(_name) \ |
||||
group { \ |
||||
name: "elm/button/base/ephysics-test-"#_name; \ |
||||
\ |
||||
parts { \ |
||||
\ |
||||
part { \ |
||||
name: "blocker"; \ |
||||
type: RECT; \ |
||||
mouse_events: 1; \ |
||||
description { \ |
||||
state: "default" 0.0; \ |
||||
color: 255 255 255 0; \ |
||||
} \ |
||||
} \ |
||||
\ |
||||
part { \ |
||||
name: "base"; \ |
||||
type: IMAGE; \ |
||||
mouse_events: 0; \ |
||||
description { \ |
||||
state: "default" 0.0; \ |
||||
min: 80 28; \ |
||||
max: 80 28; \ |
||||
aspect: 1 1; \ |
||||
image.normal: "bt_"##_name##".png"; \ |
||||
} \ |
||||
description { \ |
||||
state: "pressed" 0.0; \ |
||||
inherit: "default" 0.0; \ |
||||
image.normal: "bt_"##_name##"_pressed.png"; \ |
||||
} \ |
||||
description { \ |
||||
state: "disabled" 0.0; \ |
||||
inherit: "default" 0.0; \ |
||||
color: 255 255 255 80; \ |
||||
} \ |
||||
} \ |
||||
\ |
||||
part { \ |
||||
name: "over"; \ |
||||
type: RECT; \ |
||||
mouse_events: 1; \ |
||||
ignore_flags: ON_HOLD; \ |
||||
description { \ |
||||
state: "default" 0.0; \ |
||||
color: 255 255 255 0; \ |
||||
} \ |
||||
description { \ |
||||
state: "disabled" 0.0; \ |
||||
inherit: "default" 0.0; \ |
||||
visible: 0; \ |
||||
} \ |
||||
} \ |
||||
\ |
||||
} \ |
||||
\ |
||||
programs { \ |
||||
\ |
||||
program { \ |
||||
name: "bt_click"; \ |
||||
source: "ephysics_test"; \ |
||||
signal: "click"; \ |
||||
in: 0.2 0; \ |
||||
action: STATE_SET "pressed" 0.0; \ |
||||
target: "base"; \ |
||||
after: "bt_click2"; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "bt_click2"; \ |
||||
in: 0.4 0; \ |
||||
action: STATE_SET "default" 0.0; \ |
||||
target: "base"; \ |
||||
after: "bt_clicked"; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "bt_clicked"; \ |
||||
source: "over"; \ |
||||
signal: "mouse,clicked,1"; \ |
||||
action: SIGNAL_EMIT "elm,action,click" ""; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "bt_pressed"; \ |
||||
source: "over"; \ |
||||
signal: "mouse,down,1"; \ |
||||
action: STATE_SET "pressed" 0.0; \ |
||||
target: "base"; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "bt_unpressed"; \ |
||||
source: "over"; \ |
||||
signal: "mouse,up,1"; \ |
||||
action: STATE_SET "default" 0.0; \ |
||||
target: "base"; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "disable"; \ |
||||
source: "elm"; \ |
||||
signal: "elm,state,disabled"; \ |
||||
action: STATE_SET "disabled" 0.0; \ |
||||
target: "base"; \ |
||||
target: "over"; \ |
||||
} \ |
||||
\ |
||||
program { \ |
||||
name: "enable"; \ |
||||
source: "elm"; \ |
||||
signal: "elm,state,enabled"; \ |
||||
action: STATE_SET "default" 0.0; \ |
||||
target: "base"; \ |
||||
target: "over"; \ |
||||
} \ |
||||
\ |
||||
} \ |
||||
\ |
||||
} |
||||
|
||||
BUTTON_GROUP(restart) |
||||
BUTTON_GROUP(jump) |
||||
|
||||
#undef BUTTON_GROUP |
@ -0,0 +1,42 @@ |
||||
images { |
||||
image: "cube-blue.png" COMP; |
||||
image: "cube-purple.png" COMP; |
||||
} |
||||
|
||||
group { |
||||
name: "blue-cube"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "cube"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "cube-blue.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
|
||||
group { |
||||
name: "purple-cube"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "cube"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "cube-purple.png"; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,49 @@ |
||||
images { |
||||
image: "collisionL.png" COMP; |
||||
} |
||||
|
||||
group { |
||||
name: "impact"; |
||||
|
||||
parts { |
||||
|
||||
part { |
||||
name: "impact"; |
||||
mouse_events: 0; |
||||
type: IMAGE; |
||||
description { |
||||
state: "default" 0.0; |
||||
image.normal: "collisionL.png"; |
||||
color: 255 255 255 0; |
||||
} |
||||
description { |
||||
state: "visible" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 255; |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
programs { |
||||