First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 121937
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Benoît Giraudou <bgiraudou@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pouetchess-0.1.1.ebuild ebuild for version 0.11 text/plain Benoît Giraudou 2006-02-07 00:16 0000 748 bytes Details
pouetchess-0.11.ebuild pouetchess-0.11.ebuild text/plain Adrian Frühwirth (bonki) 2006-02-07 13:09 0000 1.24 KB Details
pouetchess-0.2.0.ebuild 0.2.0 ebuild text/plain Bernard Cafarelli 2006-05-31 08:53 0000 1.17 KB Details
pouetchess-0.2.0.ebuild 0.2.0 ebuild text/plain Bernard Cafarelli 2006-05-31 23:54 0000 1.20 KB Details
pouetchess-0.2.0.ebuild new iteration of the pouetchess ebuild text/plain Gorch 2006-06-01 10:08 0000 1.59 KB Details
sconstruct-sandbox.patch patch for the SConstruct file patch Gorch 2006-06-01 10:11 0000 307 bytes Details | Diff
pouetchess-0.2.0.ebuild pouetchess-0.2.0.ebuild text/plain Gorch 2006-06-05 12:59 0000 1.58 KB Details
pouetchess-0.2.0.ebuild Ebuild with libsdl detection fix text/plain Bernard Cafarelli 2006-06-06 12:31 0000 1.93 KB Details
pouetchess-0.2.0-nvidia_glext.patch Fix for nvidia opengl headers patch Bernard Cafarelli 2006-06-12 12:03 0000 373 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 121937 depends on: Show dependency tree
Bug 121937 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-07 00:15 0000
pouetChess is a 3D and open source chess game
(http://pouetchess.sourceforge.net). Here's an ebuild for it

------- Comment #1 From Benoît Giraudou 2006-02-07 00:16:26 0000 -------
Created an attachment (id=79090) [details]
ebuild for version 0.11

------- Comment #2 From Stefan Schweizer 2006-02-07 02:49:18 0000 -------
I prepared another ebuild for this independantly:

http://genstef.homelinux.org/local/games-board/pouetchess/pouetchess-0.11.ebuild

------- Comment #3 From Mr. Bones. 2006-02-07 08:17:43 0000 -------
Neither ebuild is of portage-quality as is.

------- Comment #4 From Adrian Frühwirth (bonki) 2006-02-07 13:09:54 0000 -------
Created an attachment (id=79159) [details]
pouetchess-0.11.ebuild

Not sure about the opengl/glu stuff, this always confuses the hell out of me.
Might also want to patch for homedir-configfile-fun. Your turn :)
(untested btw due to lack of a proper gfx card)

------- Comment #5 From Bernard Cafarelli 2006-05-31 08:52:49 0000 -------
pouetchess-0.2 is out and includes:
- a scons-based build system
- config files in home directory
- an embedded AI!

I'll attach my current ebuild for it, issues remaining:
- CFLAGS and friends are not respected...
- I get 2 sandbox violations (a scons trademark), in spite of adding a prefix
parameter...

open_wr:   /usr/include/SDL/.scons21369
open_wr:   /usr/include/SDL/.sconsign

- scons install does not respect DESTDIR, so I install files by hand

------- Comment #6 From Bernard Cafarelli 2006-05-31 08:53:15 0000 -------
Created an attachment (id=87992) [details]
0.2.0 ebuild

------- Comment #7 From Bernard Cafarelli 2006-05-31 23:54:30 0000 -------
Created an attachment (id=88066) [details]
0.2.0 ebuild

The correct version this time (the first one did not install the data in the
right place), sorry

------- Comment #8 From Gorch 2006-06-01 10:08:48 0000 -------
Created an attachment (id=88111) [details]
new iteration of the pouetchess ebuild

new iteration of the pouetchess ebuild

additions:

- keyword ~x86 (works on my installation)
- keyword ~ppc (not testet)
- patch for sandbox violations due to scons
- desktop entry

------- Comment #9 From Gorch 2006-06-01 10:11:42 0000 -------
Created an attachment (id=88112) [details]
patch for the SConstruct file

this adds two lines to the SConstruct file, as seen on

http://permalink.gmane.org/gmane.comp.audio.csound.devel/6646

------- Comment #10 From Mr. Bones. 2006-06-01 10:41:17 0000 -------
some comments:

make the variables at the top in the same format as the other games ebuilds:
blank line after SRC_URI, MY_PN at the top, sort KEYWORDS, RDEPEND first and
mentioned in DEPEND

patch in src_unpack, not src_compile

don't install COPYING

------- Comment #11 From Gorch 2006-06-05 12:59:15 0000 -------
Created an attachment (id=88468) [details]
pouetchess-0.2.0.ebuild

cleaned up as mr.bones advised

------- Comment #12 From Chris Gianelloni (RETIRED) 2006-06-06 09:27:46 0000 -------
# emerge -v pouetchess
Calculating dependencies... done!
>>> Emerging (1 of 1) games-board/pouetchess-0.2.0 to /
>>> Creating Manifest for /usr/local/portage/games-board/pouetchess
>>> Unpacking source...
>>> Unpacking pouetchess_src_0.2.0.tar.gz to /var/tmp/portage/pouetchess-0.2.0/work
 * Applying sconstruct-sandbox.patch ...                                  [ ok
]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pouetchess-0.2.0/work/pouetchess_src_0.2.0 ...
scons: Reading SConscript files ...

Now configuring.  If something fails, consult `config.log' for details.

Detected platform : linux
Checking gcc version... 4.1.1
profiling NOT enabled, debugging NOT enabled, level 1 optimizing enabled
Detecting processor...
Couldn't detect your CPU, guessing i686 compatible..
Checking for SDL...
  Checking for sdl-config... /usr/bin/sdl-config
  Checking for LibSDL >= 1.2.8... 1.2.10
You need LibSDL version 1.2.8 or greater for this program

!!! ERROR: games-board/pouetchess-0.2.0 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  pouetchess-0.2.0.ebuild, line 46:   Called die

!!! scons configure failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.




It looks like it could use some work.  Feel free to REOPEN this if there's a
newer upstream release or a patch for this.

------- Comment #13 From Bernard Cafarelli 2006-06-06 12:29:15 0000 -------
I had a fix for this one in the first 0.2.0 ebuild. I'll attach a merged one

Also, does somebody compile with nvidia opengl? I encountered problems until i
switched to xorg-x11 (like suggested for celestia), so I put a pkg_setup
function with some einfos on it (same as celestia). If you do not have the
problem, please disregard it from the ebuild

EDIT: hum, cannot reopen, I'll just attach the ebuild then ;)

------- Comment #14 From Bernard Cafarelli 2006-06-06 12:31:16 0000 -------
Created an attachment (id=88554) [details]
Ebuild with libsdl detection fix

------- Comment #15 From Chris Gianelloni (RETIRED) 2006-06-06 15:14:15 0000 -------
Cool.

I'll look into it.  Thanks for the update.  =]

------- Comment #16 From Chris Gianelloni (RETIRED) 2006-06-12 09:01:20 0000 -------
OK.  It compiles on my box fine, but only if I do the eselect junk.  We really
should be patching the problem rather than masking it.  Asking users to change
their opengl provider to compile something isn't acceptable for us anymore.

------- Comment #17 From Bernard Cafarelli 2006-06-12 12:01:44 0000 -------
(In reply to comment #16)
After digging around a little bit, other projects got this problem with nvidia
OpenGL headers ( Wine for example at
http://www.winehq.org/pipermail/wine-patches/2005-September/021035.html ). 
The often used fix is to manually #define GL_GLEXT_PROTOTYPES *before*
including gl.h (or SDL_opengl.h in this case).

The attached patch fixes the problem for pouetchess

------- Comment #18 From Bernard Cafarelli 2006-06-12 12:03:21 0000 -------
Created an attachment (id=88989) [details]
Fix for nvidia opengl headers

------- Comment #19 From Chris Gianelloni (RETIRED) 2006-06-14 11:19:10 0000 -------
Added to CVS... thanks to all of you for the work on this.

First Last Prev Next    No search results available      Search page      Enter new bug