Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-games/clanlib
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.43 2008/06/20 16:07:24 gentoofan23 Exp $
20 Jun 2008; Thomas Anderson (gentoofan23)
clanlib-0.7.8-r2.ebuild, clanlib-0.8.1.ebuild:
amd64 stable, bug #227355; Fix minor QA warnings in clanlib-0.7.8-r1
29 May 2008; Christian Faulhammer
stable x86, bug 214803
*clanlib-0.8.1 (30 Apr 2008)
30 Apr 2008; Tristan Heaven
+files/clanlib-0.8.1-gcc43.patch, +files/clanlib-0.8.1-ndebug.patch,
+clanlib-0.8.1.ebuild:
Version bump, bug #214860
29 Oct 2007; Michael Sterrett
+files/clanlib-0.7.8-ndebug.patch, +files/clanlib-0.8.0-ndebug.patch,
clanlib-0.7.8-r2.ebuild, clanlib-0.8.0.ebuild:
add patch to build with -DNDEBUG from Guenther Brunthaler (bug #154513)
22 Jul 2007; Hans de Graaff
clanlib-0.7.8-r2.ebuild:
Drop virtual/x11 references.
12 Jun 2007; Tristan Heaven
+files/clanlib-0.8.0-gcc42.patch, clanlib-0.8.0.ebuild:
Patch for gcc-4.2
*clanlib-0.8.0 (23 Sep 2006)
23 Sep 2006; Mike Frysinger
Version bump #130963 by Andrija Prcic / #146376 by Pacho Ramos.
*clanlib-0.6.5-r4 (13 Sep 2006)
13 Sep 2006;
-clanlib-0.6.5-r3.ebuild, +clanlib-0.6.5-r4.ebuild:
Fixing segfaults after few seconds of driving, Bug #100987 by Frank Weinberg
12 Sep 2006;
clanlib-0.6.5-r3.ebuild:
Fix building with amd64. Bug #146114 by Frank Weinberg
using patch given in Bug #146849 by Pacho Ramos
11 Sep 2006;
Removed lua flag. Bug #136587 by Kai.
Removed amd64 as is not actually buildable there.
08 Jun 2006; Mike Frysinger
Add support for USE=lua #135289 by James Le Cuirot.
08 Jun 2006; Mike Frysinger
+files/clanlib-0.6.5-uclibc.patch, clanlib-0.6.5-r3.ebuild:
Add support for building on uClibc systems #135081 by James Le Cuirot.
13 May 2006; Mike Frysinger
files/clanlib-0.6.5-DirectFB-update.patch:
Fix building with newer DirectFB #132945 by ferret.
*clanlib-0.7.8-r2 (26 Mar 2006)
26 Mar 2006;
+clanlib-0.7.8-r2.ebuild:
Fix for wormux segfault, bug #96382 by Radek "rush" Senfeld
26 Feb 2006;
Modular X dependency fix
clanJavaScript & clanVoice are not supported by clanlib-0.7.8
11 Feb 2006; Joshua Baergen
clanlib-0.6.5-r3.ebuild, clanlib-0.7.8-r1.ebuild:
Clean up existing modular X depedencies a bit. Add modular X dependencies for
older version (bug #120897).
14 Jan 2006; Mark Loeser
+files/clanlib-0.6.5-gcc41.patch, +files/clanlib-0.7.8-gcc41.patch,
clanlib-0.6.5-r3.ebuild, clanlib-0.7.8-r1.ebuild:
Add patch by Kristiaan Lenaerts
compilation with gcc-4.1; bug #115847
13 Jan 2006; Stefan Schweizer
clanlib-0.7.8-r1.ebuild:
Add modular depends
*clanlib-0.6.5-r3 (01 Mar 2005)
01 Mar 2005; Mike Frysinger
Touchup config script to not suck.
01 Mar 2005; Mike Frysinger
+files/clanlib-0.6.5-freetype.patch, clanlib-0.6.5-r2.ebuild:
Add patch by Jim Ramsay to fix building with freetype #76533.
01 Mar 2005; Mike Frysinger
+files/clanlib-0.6.5-DirectFB-update.patch, clanlib-0.6.5-r2.ebuild:
Fix building with newer DirectFB #77034 by Andreas Bulling.
02 Jan 2005; Mike Frysinger
+files/0.7.8-install-opengl-wrap.patch, clanlib-0.7.8-r1.ebuild:
Take patch from upstream and install the opengl_wrap.h header file #76371 by
Greg Yasko.
23 Sep 2004; Michael Sterrett
clanlib-0.7.8-r1.ebuild:
update SRC_URI; media-libs/hermes isn't needed for 0.7
*clanlib-0.7.8-r1 (15 Aug 2004)
15 Aug 2004; Mike Frysinger
Install clanlib-0.6.x into a SLOT-ed dir but move 0.7.x back into normal
behavior #52509 / #44258.
*clanlib-0.6.5-r2 (15 Aug 2004)
15 Aug 2004; Mike Frysinger
Install clanlib-0.6.x into a SLOT-ed dir but move 0.7.x back into normal
behavior #52509 / #44258.
15 Aug 2004; Mike Frysinger
Update gcc-3.x patch from ROCKLinux #51997 by Felix Riemann.
29 Jun 2004; Aron Griffis
add sed-4 dep
02 Jun 2004; Aron Griffis
Fix use invocation
*clanlib-0.7.8 (10 May 2004)
10 May 2004; Michael Sterrett
version bump (bug #50686)
29 Apr 2004; Aron Griffis
clanlib-0.7.7.ebuild:
Add ~alpha
*clanlib-0.7.7 (17 Jan 2004)
17 Jan 2004; Mike Frysinger
Version bump + patch #38464.
*clanlib-0.7.6 (11 Nov 2003)
09 Jan 2004; Michael Sterrett
clanlib-0.6.5-r1.ebuild:
call replace-flags in src_compile; more error checking/messages
15 Nov 2003; Mike Frysinger
Add small patch to fix #33453.
11 Nov 2003; Mike Frysinger
Version bump.
*clanlib-0.7.5 (25 Oct 2003)
25 Oct 2003; Mike Frysinger
Version bump.
*clanlib-0.7.4 (06 Oct 2003)
20 Oct 2003; Ian Leitch
clanlib-0.7.2-r1.ebuild, clanlib-0.7.4.ebuild:
Install the INSTALL.linux document. #31594
06 Oct 2003; Mike Frysinger
Version bump to fix #30488.
*clanlib-0.7.3 (07 Sep 2003)
07 Sep 2003; Karl Trygve Kalleberg
clanlib-0.7.3.ebuild:
New upstream version. Reworked clanlib-config slightly. More specific
SLOTing, as upstream is very unstable.
*clanlib-0.7.2-r1 (16 Jul 2003)
02 Sep 2003; Mike Frysinger
Added gcc3 patch #27349.
16 Jul 2003; Mike Frysinger
SLOT-ed version #22594.
*clanlib-0.7.2 (27 Jun 2003)
27 Jun 2003; Mike Frysinger
Version bump #22594.
*clanlib-0.7.1 (29 Apr 2003)
05 May 2003; Paul de Vrieze
Changed to make sure it runs with an uptodate version of automake which it
requires.
29 Apr 2003; Mike Frysinger
Version bump.
*clanlib-0.6.5-r1 (16 Jul 2003)
02 Sep 2003; Mike Frysinger
Added gcc3 patch #27349.
16 Jul 2003; Mike Frysinger
SLOT-ed version #22594.
*clanlib-0.6.5 (17 Apr 2003)
29 Apr 2003; Mike Frysinger
Added support for doc use flag and cleaned up a bit.
17 Apr 2003; Patrick Kursawe
New version
*clanlib-0.6.3 (02 Okt 2002)
02 Okt 2002; Bart Verwilst
New version
*clanlib-0.5.4-r4 (16 Jul 2003)
16 Jul 2003; Mike Frysinger
SLOT-ed version #22594.
*clanlib-0.5.4-r3 (14 Apr 2002)
29 Apr 2003; Mike Frysinger
Added support for doc use flag and cleaned up a bit.
14 Apr 2002; Seemant Kulleen
Updated the dependency for hermes to point to hermes' new location in
media-libs instead of app-games.
*clanlib-0.5.4-r2 (12 Apr 2002)
12 Apr 2002; Seemant Kulleen
Compile against newest libpng
*clanlib-0.5.4-r1 (12 Apr 2002)
12 Apr 2002; Seemant Kulleen
oops, I had a vorbis flag still lying around. Many more things are now
optional, like jpeg support and png and mikmod support (if those flags
get accepted into gentoo usage).
*clanlib-0.5.4 (28 Mar 2002)
28 Mar 2002; Seemant Kulleen
oggvorbis is the new USE flag instead of separate ogg and vorbis flags.
*clanlib-0.5.4 (24 Feb 2002)
24 Feb 2002; Grant Goodyear
New version. Thanks to Seemant Kulleen!!!
*clanlib-0.5.010512 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
AUX clanlib-0.8.1-gcc43.patch 605 RMD160 939a1dd266d570b340e625cc89186fbbedd85773 SHA1 4c21d82abbbecec432db51cfe87315231c5212c4 SHA256 97420cdbef4a3f09b61ddf54881a907616b8c73337928fcdc6e11d783f584320
AUX clanlib-0.8.1-ndebug.patch 866 RMD160 1b6febbcb84230627ba3c0d3f6185fec6d517b72 SHA1 b91bb16b0fdd59dec3aad28ba8f0b7c88ddd6261 SHA256 d48bdb0b6dee6b84b139eb951da657fa4d2c8427b9b4e7eb76b41a98e7aaf8d5
DIST ClanLib-0.8.1.tgz 7629019 RMD160 b4a48861dc5a133052d2acec5172c9291cff2b91 SHA1 5999b9c882efcaf06fd007bb69e659e322b8e155 SHA256 094331dda35b0d263431d1551991eb208d8e969824434925548a9fcd1d34e495
EBUILD clanlib-0.8.1.ebuild 2061 RMD160 4fc1077af248cbf5b4c8052f6778b9bdd07017c5 SHA1 e60f9a0e84d1205d5429eb1ec9905ed1c3924869 SHA256 b1c1f831ef55784876773c7bac3ab8af6dbbd5cbfe09b1c15b7794514a249c89
MISC ChangeLog 9038 RMD160 3f5ac5e0a5c8c827480bbb16b1ac3ac6d679cd89 SHA1 ed251acfee100baba526fe30f51828a37aa384ba SHA256 98a426dc4c7dc40dcfa2611921c334692e5ffa443192fffcccd38ccf61fd6b82
MISC metadata.xml 2920 RMD160 725718878c95be29849b2c3c4f47be9e21e4ea41 SHA1 7b05a6cdc831e23c0679217a14e739acdea504b9 SHA256 390505368337501a27b0d5eb795582bd656627c828d4bb982375fecdfbea8dec
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.8.1.ebuild,v 1.3 2008/06/20 16:07:24 gentoofan23 Exp $
inherit flag-o-matic eutils
DESCRIPTION="multi-platform game development library"
HOMEPAGE="http://www.clanlib.org/"
SRC_URI="http://clanlib.org/download/releases-${PV:0:3}/ClanLib-${PV}.tgz"
LICENSE="ZLIB"
SLOT="0.8"
KEYWORDS="amd64 x86" #not big endian safe #82779
IUSE="opengl sdl vorbis doc mikmod ipv6"
# opengl keyword does not drop the GL/GLU requirement.
# Autoconf files need to be fixed
RDEPEND="media-libs/libpng
media-libs/jpeg
virtual/opengl
virtual/glu
sdl? (
media-libs/libsdl
media-libs/sdl-gfx
)
x11-libs/libXt
x11-libs/libXmu
x11-libs/libXxf86vm
mikmod? ( media-libs/libmikmod )
vorbis? ( media-libs/libvorbis )"
DEPEND="${RDEPEND}
x11-proto/xf86vidmodeproto"
S=${WORKDIR}/ClanLib-${PV}
src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}"/${P}-ndebug.patch \
"${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {
#clanSound only controls mikmod/vorbis so there's
# no need to pass --{en,dis}able-clanSound ...
#clanDisplay only controls X, SDL, OpenGL plugins
# so no need to pass --{en,dis}able-clanDisplay
# also same reason why we don't have to use clanGUI
econf \
--enable-dyn \
--enable-clanNetwork \
--disable-dependency-tracking \
$(use_enable x86 asm386) \
$(use_enable doc docs) \
$(use_enable opengl clanGL) \
$(use_enable sdl clanSDL) \
$(use_enable vorbis clanVorbis) \
$(use_enable mikmod clanMikMod) \
$(use_enable ipv6 getaddr) \
|| die
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
if use doc ; then
dodir /usr/share/doc/${PF}/html
mv "${D}"/usr/share/doc/clanlib/* "${D}"/usr/share/doc/${PF}/html/ || die
rm -rf "${D}"/usr/share/doc/clanlib
cp -r Examples Resources "${D}"/usr/share/doc/${PF}/ || die
fi
dodoc CODING_STYLE CREDITS NEWS PATCHES README* INSTALL.linux
}
Welcome to ClanLib, a multi-platform game development library.
ClanLib is a medium level development kit. At its lowest level, it provides a
platform independent (as much as that is possible in C++) way of dealing with
display, sound, input, networking, files, threadding and such.
On top of that, ClanLib builds a generic game development framework, giving you
easy handling of resources, network object replication, graphical user
interfaces (GUI) with theme support, game scripting and more.
The goal of ClanLib is to allow the game developer to focus on stuff that
matters, avoiding all those nasty (and boring) lowlevel trivials like setting up
a directdraw window, sound mixing, reading image files, etc. All those things
are simplified into object oriented classes and function calls, making it a joy
to write your game.
ClanLib uses a resource system to keep track of images, fonts, samples and
music. It supports Targa, PCX, JPEG, PNG and BMP for images. Wave files for
sample. Ogg Vorbis (open sound format that has same sound quality as mp3) and
MikMod for music. By using a resource system, you cleanly seperate the physical
data formats from your code, and makes it easy to make themes and other plugins
for your game. The resource system is written in a manner that allows you to add
your own custom resources.
All classes in clanlib focus on making simple interfaces that are customizeable
and expandable. This keeps your game code clean and simple; but still allows you
to do advanced stuff. As an example, look at some sound code:
CL_SoundBuffer my_sample("Weapon/Minigun/sound", resources);
my_sample.play();
In this example, we play a simple sound effect, and afterwards forget all about
it. Nice and simple. But if we want to adjust the frequency during its playback
(eg. for a dobbler effect), it could look like this:
CL_SoundBuffer_Session playback = my_sample.play();
playback.set_frequency(1.2f); // increase frequency by 20%
We only need to keep the session handle if we are going to use it. Keep things
simple when they are simple, and make them complex when they are complex. :)
The object oriented nature of ClanLib allows you to operate both at high and low
levels, minimizing redundant code and still allows you to do stuff that isnt
supported by clanlib's high level APIs.
ClanLib currently support Windows 98, Windows 2000, Windows XP and Linux. The
following display targets are supported under linux: X11 and OpenGL. Some parts
of ClanLib still isnt entirely endian clean, so it will currently only work
without problems on the x86 architecture. Work is underway for a MacOS port.
Current compilers supported is VC++ 6.0, VC++ 7.0, GCC, Borland and MingW.