From 36ca5157098e3ff79144543388c4b1c2867fa2cf Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Fri, 4 Jan 2013 18:22:29 +0000 Subject: [PATCH] EPhysics: add BulletPhysics instructions Add BulletPhysics build and install instructions and re-enable ephysics. SVN revision: 82221 --- README | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/README b/README index b56febcef3..225eb2a740 100644 --- a/README +++ b/README @@ -11,6 +11,43 @@ EFL is a collection of libraries for handling many common tasks a developer man have such as data structures, communication, rendering, widgets and more. +BULLET PHYSICS DEPENDENCY: +------------------------------------------------------------------------------ +EFL comes with EPhysics(a physics wrapper library) enabled by default, to +build it the user must have BulletPhysics engine installed. + +More informations about BulletPhysics can be obtained in the upstream project +web site at: http://bulletphysics.org. + +We have received many reports about BulletPhysics installation and distros +packages in bad shape, some without even a package. If your distro doesn't +ship a BulletPhysics package or you want to build it from source code follow the +instructions below: + +* Required Packages: +You should have cmake installed. Bullet comes with autotools and cmake build +systems, do not use the autotools alternative, it's unstable, bogus and hasn't +been maintained for quite some time. + +* Download the tarball from: +http://code.google.com/p/bullet/downloads/list + +NOTE: the current supported version is 2.80 or greater. + +* Compiling and Installing: +Uncompress it to(say) ~/bullet and: + +$ cd ~/bullet/build +$ cmake .. -DBUILD_CPU_DEMOS=OFF -DBUILD_DEMOS=OFF -DBUILD_SHARED_LIBS=ON +$ make +$ sudo make install + +* Ubuntu Users: +Alternatively ubuntu users have the option to install the BulletPhysics from +our oficial EFL PPA: + +https://launchpad.net/~efl/+archive/trunk + ------------------------------------------------------------------------------ COMPILING AND INSTALLING: diff --git a/configure.ac b/configure.ac index 99fc0452dd..fc02a30a9b 100644 --- a/configure.ac +++ b/configure.ac @@ -3229,7 +3229,7 @@ AC_ARG_ENABLE([physics], want_physics="no" fi ], - [want_physics="no"]) + [want_physics="yes"]) EFL_LIB_START_OPTIONAL([EPhysics], [test "${want_physics}" = "yes"])