Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76072 - new ebuild for patched generator
Summary: new ebuild for patched generator
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: Highest enhancement (vote)
Assignee: Gentoo Games
URL: http://www.ghostwhitecrab.com/generator/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 13:13 UTC by Machiel Groeneveld
Modified: 2006-04-11 11:18 UTC (History)
2 users (show)

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


Attachments
ebuild for cbiere patched generator-0.35 (generator-0.35.ebuild,1.69 KB, text/plain)
2004-12-29 13:14 UTC, Machiel Groeneveld
Details
My ebuild for 0.35-r1 (generator-0.35-r1.ebuild,1.80 KB, text/plain)
2005-03-28 14:14 UTC, Bernard Cafarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Machiel Groeneveld 2004-12-29 13:13:32 UTC
I've tried to get the path to work on the existing games-emulation/generator-0.35, but failed. So I made an ebuild for the cbiere version which is faster and compiles on my system (generator-0.35 doesn't)
Comment 1 Machiel Groeneveld 2004-12-29 13:14:35 UTC
Created attachment 47153 [details]
ebuild for cbiere patched generator-0.35
Comment 2 Eric Andry 2005-03-09 06:34:11 UTC
This ebuild doesn't work for me.  It contains a syntax error somewhere.  I am not familiar with ebuild syntax.

Error output:

gundam generator # emerge games-emulation/generator
Calculating dependencies  /usr/lib/portage/bin/ebuild.sh: /usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: syntax error near unexpected token `fi'
/usr/lib/portage/bin/ebuild.sh: /usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: `                fi'

!!! ERROR: games-emulation/generator-0.35 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in games-emulation/generator-0.35 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


!!! All ebuilds that could satisfy "games-emulation/generator" have been masked.
!!! One of the following masked packages is required to complete your request:
/usr/lib/portage/bin/ebuild.sh: /usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: syntax error near unexpected token `fi'
/usr/lib/portage/bin/ebuild.sh: /usr/portage/games-emulation/generator/generator-0.35.ebuild: line 62: `                fi'

!!! ERROR: games-emulation/generator-0.35 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in games-emulation/generator-0.35 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)



!!! Problem in games-emulation/generator dependencies.
!!!  exceptions
gundam generator #


Here's the fragment of code where it's having a problem:

    59          for mygui in ${myguis}; do
    60                  if [ -f Makefile ] ; then--without-gcc
    61                          make clean
    62                  fi
    63                  egamesconf \
    64                          ${myconf} \
    65                          --with-${mygui} || die
    66                  emake -j1 || die "building ${mygui}"
    67                  mv main/generator-${mygui} my-bins/
    68          done
Comment 3 carlier laurent 2005-03-20 10:25:32 UTC
The fix :

    59          for mygui in ${myguis}; do
    60                  if [ -f Makefile ] ; then
    61                          make clean
    62                  fi
    63                  egamesconf \
    64                          ${myconf} \
    65                          --with-${mygui} || die
    66                  emake -j1 || die "building ${mygui}"
    67                  mv main/generator-${mygui} my-bins/
    68          done

On line 0, remove the --without-gcc
Comment 4 Bernard Cafarelli gentoo-dev 2005-03-28 14:12:09 UTC
Please confirm this bug report, the old version doesn't compile on recent gcc, and the official maintainer suggests this new version for linux/gtk (check http://www.squish.net/generator/).

It's working quite well on my amd64 laptop, with sdl audio and all the goodies from this patch
Comment 5 Bernard Cafarelli gentoo-dev 2005-03-28 14:14:12 UTC
Created attachment 54720 [details]
My ebuild for 0.35-r1

Not many differences with the first one, but working on my system
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-30 15:00:46 UTC
Fixed in CVS.  There's no point in putting a bug into an UNCONFIRMED state.  Simply filing it is good enough.
Comment 7 trefoil 2006-04-04 15:14:15 UTC
This ebuild works for me, however it points to an older version of the patch. http://www.ghostwhitecrab.com/generator/generator-0.35-cbiere-r2.tar.bz2 is the current release. It fixes compiling w/GCC4, among other useful things. It would be preferable for the ebuild to use it instead of the older version.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-11 07:59:35 UTC
This bug was for having the version added.  Please file a new bug if you think it should be adjusted.

Thanks
Comment 9 trefoil 2006-04-11 11:18:45 UTC
Bug 129616 is the new one.