Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146849 - dev-games/clanlib-0.6.5-r4 ebuild (compiles and works fine against gcc4.1)
Summary: dev-games/clanlib-0.6.5-r4 ebuild (compiles and works fine against gcc4.1)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 10:21 UTC by Pacho Ramos
Modified: 2009-01-29 02:37 UTC (History)
0 users

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


Attachments
clanlib-0.6.5-r4.ebuild (clanlib-0.6.5-r4.ebuild,3.13 KB, text/plain)
2006-09-08 10:22 UTC, Pacho Ramos
Details
ClanLib-0.6.5-64bit-fixes.patch (ClanLib-0.6.5-64bit-fixes.patch,1.68 KB, text/plain)
2006-09-08 10:22 UTC, Pacho Ramos
Details
ClanLib-0.6.5-64bit-fixes.patch (ClanLib-0.6.5-64bit-fixes.patch,1.68 KB, patch)
2006-09-08 10:25 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-bounds.patch (ClanLib-0.6.5-bounds.patch,471 bytes, patch)
2006-09-08 10:29 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-directfb-fixes.patch (ClanLib-0.6.5-directfb-fixes.patch,1.71 KB, patch)
2006-09-08 10:30 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-directfb-ttf-fix.patch (ClanLib-0.6.5-directfb-ttf-fix.patch,1.37 KB, patch)
2006-09-08 10:31 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-display-compilation.patch (ClanLib-0.6.5-display-compilation.patch,1.86 KB, patch)
2006-09-08 10:32 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-64bit-fixes.patch (ClanLib-0.6.5-64bit-fixes.patch,1.68 KB, patch)
2006-09-08 12:17 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-bounds.patch (ClanLib-0.6.5-bounds.patch,471 bytes, patch)
2006-09-08 12:18 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-directfb-fixes.patch (ClanLib-0.6.5-directfb-fixes.patch,1.71 KB, patch)
2006-09-08 12:18 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-directfb-ttf-fix.patch (ClanLib-0.6.5-directfb-ttf-fix.patch,1.37 KB, patch)
2006-09-08 12:19 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-display-compilation.patch (ClanLib-0.6.5-display-compilation.patch,1.86 KB, patch)
2006-09-08 12:19 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-doc-fix.patch (ClanLib-0.6.5-doc-fix.patch,306 bytes, patch)
2006-09-08 12:19 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-extraqualif.patch (ClanLib-0.6.5-extraqualif.patch,2.35 KB, patch)
2006-09-08 12:20 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-fix-png-detection.patch (ClanLib-0.6.5-fix-png-detection.patch,697 bytes, patch)
2006-09-08 12:21 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-freetype.patch (ClanLib-0.6.5-freetype.patch,373 bytes, patch)
2006-09-08 12:22 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-gcc33.patch (ClanLib-0.6.5-gcc33.patch,391 bytes, patch)
2006-09-08 12:22 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-gcc34.patch (ClanLib-0.6.5-gcc34.patch,2.38 KB, patch)
2006-09-08 12:23 UTC, Pacho Ramos
Details | Diff
ClanLib-0.6.5-glXGetProcAddressARB.patch (ClanLib-0.6.5-glXGetProcAddressARB.patch,391 bytes, patch)
2006-09-08 12:24 UTC, Pacho Ramos
Details | Diff
clanlib-0.6.5-r4.ebuild (clanlib-0.6.5-r4.ebuild,3.13 KB, text/plain)
2006-09-08 12:58 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2006-09-08 10:21:43 UTC
I have used patches provided with src.rpm from Mandriva Cooker (aka 2007 RC1) and they works fine :-). All these patches are licensed under GPL, then, I think that there is no "legal" problem for using it here ;-)

In the other hand, "lua" support has been dropped because building with this support enabled still fails :-(. But games like pingus or trophy compile and work fine using this "new" clanlib ;-)

I attatch the ebuild and its patches.

In the ebuild, I have commented lines about applying the old patches and I have removed "lua" USE flag.

Thanks a lot for adding this ebuild to portage tree and unmasking clanlib 0.6 :-)


Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r4 i686)
=================================================================
System uname: 2.6.17-suspend2-r4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
LINGUAS="es en_US"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi apache2 arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread eds encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms ldap lesstif libg++ libnotify logrotate lua mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 ssl svg syslog tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wxwindows x86 xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_es linguas_en_US userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2006-09-08 10:22:28 UTC
Created attachment 96403 [details]
clanlib-0.6.5-r4.ebuild
Comment 2 Pacho Ramos gentoo-dev 2006-09-08 10:22:59 UTC
Created attachment 96404 [details]
ClanLib-0.6.5-64bit-fixes.patch
Comment 3 Pacho Ramos gentoo-dev 2006-09-08 10:25:18 UTC
Created attachment 96405 [details, diff]
ClanLib-0.6.5-64bit-fixes.patch
Comment 4 Pacho Ramos gentoo-dev 2006-09-08 10:29:49 UTC
Created attachment 96406 [details, diff]
ClanLib-0.6.5-bounds.patch
Comment 5 Pacho Ramos gentoo-dev 2006-09-08 10:30:27 UTC
Created attachment 96407 [details, diff]
ClanLib-0.6.5-directfb-fixes.patch
Comment 6 Pacho Ramos gentoo-dev 2006-09-08 10:31:11 UTC
Created attachment 96408 [details, diff]
ClanLib-0.6.5-directfb-ttf-fix.patch
Comment 7 Pacho Ramos gentoo-dev 2006-09-08 10:32:28 UTC
Created attachment 96409 [details, diff]
ClanLib-0.6.5-display-compilation.patch
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 10:45:03 UTC
This version is package.masked pending removal.

*** This bug has been marked as a duplicate of 146114 ***
Comment 9 Pacho Ramos gentoo-dev 2006-09-08 12:17:53 UTC
Created attachment 96419 [details, diff]
ClanLib-0.6.5-64bit-fixes.patch
Comment 10 Pacho Ramos gentoo-dev 2006-09-08 12:18:39 UTC
Created attachment 96420 [details, diff]
ClanLib-0.6.5-bounds.patch
Comment 11 Pacho Ramos gentoo-dev 2006-09-08 12:18:54 UTC
Created attachment 96421 [details, diff]
ClanLib-0.6.5-directfb-fixes.patch
Comment 12 Pacho Ramos gentoo-dev 2006-09-08 12:19:10 UTC
Created attachment 96422 [details, diff]
ClanLib-0.6.5-directfb-ttf-fix.patch
Comment 13 Pacho Ramos gentoo-dev 2006-09-08 12:19:30 UTC
Created attachment 96423 [details, diff]
ClanLib-0.6.5-display-compilation.patch
Comment 14 Pacho Ramos gentoo-dev 2006-09-08 12:19:52 UTC
Created attachment 96424 [details, diff]
ClanLib-0.6.5-doc-fix.patch
Comment 15 Pacho Ramos gentoo-dev 2006-09-08 12:20:10 UTC
Created attachment 96425 [details, diff]
ClanLib-0.6.5-extraqualif.patch
Comment 16 Pacho Ramos gentoo-dev 2006-09-08 12:21:40 UTC
Created attachment 96426 [details, diff]
ClanLib-0.6.5-fix-png-detection.patch
Comment 17 Pacho Ramos gentoo-dev 2006-09-08 12:22:04 UTC
Created attachment 96427 [details, diff]
ClanLib-0.6.5-freetype.patch
Comment 18 Pacho Ramos gentoo-dev 2006-09-08 12:22:25 UTC
Created attachment 96428 [details, diff]
ClanLib-0.6.5-gcc33.patch
Comment 19 Pacho Ramos gentoo-dev 2006-09-08 12:23:29 UTC
Created attachment 96429 [details, diff]
ClanLib-0.6.5-gcc34.patch
Comment 20 Pacho Ramos gentoo-dev 2006-09-08 12:24:01 UTC
Created attachment 96430 [details, diff]
ClanLib-0.6.5-glXGetProcAddressARB.patch
Comment 21 Pacho Ramos gentoo-dev 2006-09-08 12:28:22 UTC
Now, I have uploaded all patches and ebuild properly and it should work.

Next, I am going to test it on amd64 arch.

Comment 22 Pacho Ramos gentoo-dev 2006-09-08 12:29:58 UTC
I think that it is not a duplicate bug.

Now, clanlib 0.6.5 compiles and WORKS fine, and games like trophy or pingus, that use this library version, also work with that.

Thanks
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2006-09-08 12:34:13 UTC
Already told you above that this version has been package.masked for removal, the other bug tells you as well. I really can't see why are you patching it... just plain doesn't make any sense.
Comment 24 Pacho Ramos gentoo-dev 2006-09-08 12:46:04 UTC
It also compiles on amd64

My emerge --info:
Portage 2.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7v2 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7v2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo "
LC_ALL="es_ES@euro"
LINGUAS="es en_US"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 arts asf audiofile bash-completion beagle bindist bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cross crypt cscope css cups curl curlwrappers dbus dga dio divx4linux dlloader dri dts dvd dvdr dvdread eds encode erandom escreen esd evo exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitx glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog ithreads jabber jack java joystick jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libg++ libnotify lirc mad madwifi mcal mikmod mime mng mono motif mp3 mpeg mpi musepack mysql nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl oss pam pcre pda pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection ruby scanner sdl seamonkey session slang slp sockets spell spl ssl svg sysvipc tcltk tcpd tetex theora threads tiff timidity totem truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xcomposite xine xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_es linguas_en_US userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 25 Pacho Ramos gentoo-dev 2006-09-08 12:48:53 UTC
(In reply to comment #23)
> Already told you above that this version has been package.masked for removal,
> the other bug tells you as well. I really can't see why are you patching it...
> just plain doesn't make any sense.
> 

I try to patch it because there are some games that need this version, and they don't need lua support.

If clanlib 0.6 is in other slot than 0.7 version What is the problem?

It was marked for removal because there were many problems for making it to compile using gcc4, but, clanlib 0.6, now compiles :-)

Thanks a lot
Comment 26 Pacho Ramos gentoo-dev 2006-09-08 12:55:39 UTC
I have re-emerged "trophy" game against this "new" clanlib 0.6.5 version and the following bugs are fixed:
http://bugs.gentoo.org/show_bug.cgi?id=100987
http://bugs.gentoo.org/show_bug.cgi?id=117637

Please, reconsider the clanlib0.6 (and all games that depend on it) removal. From my point of view, is not needed to remove clanlib 0.6.5

Thanks a lot
Comment 27 Pacho Ramos gentoo-dev 2006-09-08 12:58:58 UTC
Created attachment 96432 [details]
clanlib-0.6.5-r4.ebuild

tar.gz instead of tar.bz2
Comment 28 Marek Wróbel 2006-09-10 07:11:42 UTC
Works for me (x86).

Jakub Moc: SpanKY in bug #136587 wrote: "post a patch to the ebuild for this issue and i'll merge it". So why do you have objections when Pacho Ramos submits patches?

I think this patch should be comitted to portage and clanlib & packages using it should be unmasked.

Regards,
Marek Wr
Comment 29 Marek Wróbel 2006-09-10 07:11:42 UTC
Works for me (x86).

Jakub Moc: SpanKY in bug #136587 wrote: "post a patch to the ebuild for this issue and i'll merge it". So why do you have objections when Pacho Ramos submits patches?

I think this patch should be comitted to portage and clanlib & packages using it should be unmasked.

Regards,
Marek Wróbel
Comment 30 Tupone Alfredo gentoo-dev 2006-09-11 15:21:38 UTC
hmm, I don't have any errors building this with gcc-4.1. I mean, without any of your patches.

Could you confirm that your patches are for building it, and not for fixing other things. In case, can you post part of yours errors?

Thanks
Comment 31 Mr. Bones. (RETIRED) gentoo-dev 2009-01-29 02:37:15 UTC
bugzilla.
Comment 32 Mr. Bones. (RETIRED) gentoo-dev 2009-01-29 02:37:30 UTC
clanlib-0.6 is long gone.