Hello, hello !
Can you take a look to this FrugalBuild, please ? I made the patch alone :-)
I will send you the rest which is the data. Here is it only the executable.
Thank you by advance :-)
jedifox
# Compiling Time: 0.01 SBU
# Maintainer: none
# Contributor: jedifox <[EMAIL PROTECTED]>
pkgname=egoboo
pkgver=2.6.3b
pkgrel=1
pkgdesc="Egoboo is a working cool 3D dungeon crawling game in the spirit of
nethack"
_F_sourceforge_broken_up2date="1"
_F_sourceforge_dirname="$pkgname"
_F_sourceforge_name="$pkgname-source"
Finclude sourceforge
_F_cd_path="source/game"
rodepends=('egoboo-data=2.6.3b')
depends=('sdl_mixer' 'sdl_ttf' 'sdlimage' 'sdl')
groups=('games-extra')
archs=('i686')
source=($source optimization.diff)
sha1sums=('61a409c01109aa7d1561083d0c30a4f4208f93b9' \
'3976c861bd624deb58440f5416874b06512af304')
build()
{
Fcd
Fpatchall
Fsed "/usr" "$Fdestdir/usr" Makefile.unix
mv Makefile.unix Makefile
Fmake
Fmakeinstall
}
# optimization OK
--- Makefile.unix 2008-06-01 22:46:05.000000000 +0200
+++ Makefile1.unix 2008-07-03 14:20:01.000000000 +0200
@@ -19,7 +19,8 @@
CC := gcc
OPT := -Os
INC := -I. -I../enet/include -I.. ${SDLCONF_I}
-CFLAGS := ${OPT} ${INC}
+CFLAGS ?= ${OPT}
+CFLAGS += ${INC}
LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU
EGO_BIN := egoboo
==> WARNING: fblint says some needed variables are missing or incomplete.
Abort the build unless you know what you are doing.
==> Entering fakeroot environment
==> WARNING: fblint says some needed variables are missing or incomplete.
Abort the build unless you know what you are doing.
==> Making package: egoboo 2.6.3b-1 (Thu Jul 3 14:25:37 CEST 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Checking for newer version...
Passed
==> Estimated build time: 3 seconds
==> Retrieving Sources...
-> Using local copy of egoboo-source-2.6.3b.tar.gz
-> Found optimization.diff in build dir
==> Validating source files with SHA1sums
egoboo-source-2.6.3b.tar.gz ... Passed
optimization.diff ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf egoboo-source-2.6.3b.tar.gz
==> Removing existing pkg and pkg.* directories...
==> Starting build()...
==> Going to the source directory...
==> Using patch: optimization.diff
patching file Makefile.unix
==> Using sed with file: Makefile.unix
==> Configuring...
==> Compiling...
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o camera.o camera.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o char.o char.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Client.o Client.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Clock.o Clock.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o common-file.o
common-file.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o configfile.o
configfile.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o egoboostrutil.o
egoboostrutil.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o enchant.o enchant.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Font.o Font.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o game.o game.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gltexture.o gltexture.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicfan.o
graphicfan.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicmad.o
graphicmad.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphic.o graphic.c
graphic.c:28:1: warning: "min" redefined
In file included from graphic.c:23:
egoboo.h:2341:1: warning: this is the location of the previous definition
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicprt.o
graphicprt.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o id_normals.o
id_normals.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o input.o input.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o linux-file.o
linux-file.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Log.o Log.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o MainLoop.o MainLoop.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mathstuff.o mathstuff.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Md2.o Md2.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o menu.o menu.c
menu.c:32:1: warning: "max" redefined
In file included from menu.c:22:
egoboo.h:2342:1: warning: this is the location of the previous definition
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o module.o module.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o network.o network.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o particle.o particle.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o passage.o passage.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o script.o script.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Server.o Server.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sound.o sound.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sys_linux.o sys_linux.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Task.o Task.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Ticker.o Ticker.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Timer.o Timer.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Ui.o Ui.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/host.o
../enet/host.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/list.o
../enet/list.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/memory.o
../enet/memory.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/packet.o
../enet/packet.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/peer.o
../enet/peer.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/protocol.o
../enet/protocol.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/unix.o
../enet/unix.c
gcc -o egoboo camera.o char.o Client.o Clock.o common-file.o configfile.o
egoboostrutil.o enchant.o Font.o game.o gltexture.o graphicfan.o graphicmad.o
graphic.o graphicprt.o id_normals.o input.o linux-file.o Log.o MainLoop.o
mathstuff.o Md2.o menu.o module.o network.o particle.o passage.o script.o
Server.o sound.o sys_linux.o Task.o Ticker.o Timer.o Ui.o ../enet/host.o
../enet/list.o ../enet/memory.o ../enet/packet.o ../enet/peer.o
../enet/protocol.o ../enet/unix.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -lSDL_ttf -lSDL_mixer -lGL -lGLU
==> Installing to the package directory...
mkdir -p /var/tmp/fst/pkg/usr/bin
mkdir -p /var/tmp/fst/pkg/usr/libexec
install -m 755 egoboo /var/tmp/fst/pkg/usr/libexec
install -p -m 755 egoboo.sh /var/tmp/fst/pkg/usr/bin/egoboo
==> Elapsed Time: 0 SBU
==> Removing unwanted files...
==> Preparing package documentation...
==> Compressing info and manual pages...
==> Checking symbolic links...
==> Stripping debugging symbols from libraries from egoboo...
==> Stripping symbols from binaries from egoboo...
==> Generating files for egoboo:
-> .PKGINFO file...
-> .FILELIST file...
-> Compressing egoboo-2.6.3b-1-i686.fpm
==> Finished making: egoboo (Thu Jul 3 14:25:42 CEST 2008)
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel