Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136357 - dev-games/ode-0.6 - new ebuild for new ODE release
Summary: dev-games/ode-0.6 - new ebuild for new ODE release
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 135040
  Show dependency tree
 
Reported: 2006-06-10 21:23 UTC by Terry L. Triplett
Modified: 2006-06-21 00:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for ODE 0.6 (ode-0.6.ebuild,2.73 KB, application/octet-stream)
2006-06-10 21:25 UTC, Terry L. Triplett
Details
ode-0.6.ebuild (ode-0.6.ebuild,2.73 KB, text/plain)
2006-06-17 03:56 UTC, Tupone Alfredo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terry L. Triplett 2006-06-10 21:23:50 UTC
I've been working with the ODE (Open Dynamics Engine) folks to get the new ODE release finished (mainly by testing on Gentoo).  ODE 0.6 is now officially released, so I'm submitting my ebuild for the new version.

Note that despite its use in computer games, use of ODE is not limited to games - ODE is also used in many other contexts, such as scientific similations.  I recommend that ODE be moved from dev/games into another area of portage such as dev/libs that better reflects it general nature as a rigid-body physics simulator.

ODE 0.6 offers many improvements over the 0.5 release.  Most notable is the autotools support, making building and installing under Gentoo much, much easier.  Also notable is out-of-the-box support for building both shared and static libraries (the old release only offered a static library by default). Most of the other changes are improvements to stability and lots of bug fixes.  

The new ebuild takes advantage of the new autotools support, making it much more straightforward than the existing ebuild.  Several new USE flags have been added to reflect the new build options available.  Examining the ebuild and the output of 'configure' should be enough to explain the various use flags available.

The ebuild builds and installs successfully on x86 architecture, and all the demos run without incident.  Much of the work leading up to the release of ODE 0.6 was making sure the library could be built on the various architectures and platforms it supports, so in theory this ebuild should work on other architectures supported by Gentoo as well.  This needs to be verified by the dev team however.
Comment 1 Terry L. Triplett 2006-06-10 21:25:15 UTC
Created attachment 88879 [details]
Ebuild for ODE 0.6
Comment 2 Tupone Alfredo gentoo-dev 2006-06-17 03:56:38 UTC
Created attachment 89381 [details]
ode-0.6.ebuild

ebuild should be uploaded with the text/plain content type
Comment 3 Bernard Cafarelli gentoo-dev 2006-06-17 08:59:52 UTC
It works fine here on amd64 (tested at least with xmoto), a platform where older ODE does not compile with gcc 4.1 (see bug #135040).

Portage 2.1.1_pre1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck11 x86_64)
=================================================================
System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.93
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/grass60/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mir.zyrianes.net/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-hashvals -Wl,-Bdirect -Wl,-zdynsort"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/nxsty-glibc"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cddb cdr cli crypt cscope cups curl dbus dga dio dlloader dri dts dvb dvd dvdr dvdread emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd gdbm gif gimp glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv idn imagemagick imap imlib ipv6 isdnlog jabber java jikes joystick jpeg kdehiddenvisibility lcms libcaca live lzw lzw-tiff mad matroska mbox mikmod mime mng mono mozilla mp3 mpeg msn musicbrainz nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl php pic png posix ppds pppd python qt quicktime readline recode reflection ruby samba scanner sdl session slang speex spell spl sqlite ssl startup-notification svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis wifi wmf wxwindows x264 xcomposite xface xine xinerama xml xml2 xmms xorg xosd xpm xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_none video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Tupone Alfredo gentoo-dev 2006-06-18 12:06:03 UTC
C*FLAGS from /etc/make.conf are ignored during build. configure.in needs some patch. I'm trying to work on that
Comment 5 Tupone Alfredo gentoo-dev 2006-06-19 14:31:33 UTC
Added, with some change
Comment 6 Terry L. Triplett 2006-06-19 21:54:27 UTC
Thanks - good work.  Was the debug USE flag left out on purpose, or did it slip through the cracks?  A debug build comes in handy during development ... 5635 other Gentoo packages seem to agree.  :-)
Comment 7 Tupone Alfredo gentoo-dev 2006-06-20 00:02:32 UTC
Not knowing very well the working function of the debug facility for ode and having removed the setting of C*FLAGS on configure.in I removed the debug things. If you can work on fixing the upstream build system, following the directive dictated on the doc of automake I will reput back.
Mainly, CFLAGS and similar are user flag, and so they are to be left-out from configure.in. Better use AM_CFLAGS, or libode_a_CFLAGS, or an intermediate variable set in configure and used in Makefile.am to add to the previous.

Another things that should be fixed is the build of shared library. Seems to me that it is not using the libtool facility completely, and so is not generating all the libode.so.x.x.x files. I guess if that library work on all different environment.

Thanks for the ebuild, a good starting place.
Comment 8 SpanKY gentoo-dev 2006-06-21 00:14:36 UTC
ive already noted these issues upstream

the reason i didnt add the package yet is because upstream hasnt replied