Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300328

Summary: New ebuilds for OpenGFX & deps
Product: Gentoo Linux Reporter: Ai Locke Shinseiko (Wizzleby) <Wizzleby>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: bugzie
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 298516, 300330, 312993    
Attachments: games-util/grfcodec
games-util/nforenum
games-misc/opengfx
new version for grfcodec
games-util/grfcodec
games-util/nforenum
games-misc/opengfx-0.2.1.ebuild
games-util/grfcodec
games-util/nforenum
games-util/grfcodec
games-util/nforenum
opengfx-0.2.3.ebuild
grfcodec-0_pre2306.ebuild
files/grfcodec-0_pre2306-build.patch
files/grfcodec-0_pre2306-build.patch
files/grfcodec-0_pre2306-build.patch
grfcodec-0_pre2306.ebuild
files/grfcodec-0_pre2306-build.patch
files/nforenum-0_pre2309-build.patch
nforenum-0_pre2309.ebuild

Description Ai Locke Shinseiko (Wizzleby) 2010-01-09 20:14:25 UTC
Attached are ebuilds for OpenGFX (Open Source graphics library for OpenTTD >=0.7.0), catcodec, and grfcodec (build deps)
Comment 1 Ai Locke Shinseiko (Wizzleby) 2010-01-09 20:17:50 UTC
Created attachment 215860 [details]
games-util/grfcodec

grfcodec and nforenum must not be installed to GAMESDIR, or building opengfx will fail
Comment 2 Ai Locke Shinseiko (Wizzleby) 2010-01-09 20:19:16 UTC
Created attachment 215862 [details]
games-util/nforenum
Comment 3 Ai Locke Shinseiko (Wizzleby) 2010-01-09 20:20:12 UTC
Created attachment 215863 [details]
games-misc/opengfx
Comment 4 Ai Locke Shinseiko (Wizzleby) 2010-03-07 18:05:10 UTC
Created attachment 222513 [details]
new version for grfcodec
Comment 5 Ai Locke Shinseiko (Wizzleby) 2010-03-07 18:05:46 UTC
Created attachment 222515 [details]
games-util/grfcodec
Comment 6 Ai Locke Shinseiko (Wizzleby) 2010-03-07 18:06:20 UTC
Created attachment 222517 [details]
games-util/nforenum
Comment 7 Piotr Szymaniak 2010-03-07 19:57:38 UTC
Created attachment 222555 [details]
games-misc/opengfx-0.2.1.ebuild

Ebuild tested on both keyworded archs. Depends made with Patric suggestions (bug #298516, comment #4). Thanks Locke for your great work. (:
Comment 8 Piotr Szymaniak 2010-03-07 19:58:39 UTC
Created attachment 222557 [details]
games-util/grfcodec

Bumped to new realease.
Comment 9 Piotr Szymaniak 2010-03-07 19:59:40 UTC
Created attachment 222559 [details]
games-util/nforenum

Bumped to new release, added missing boost depend.
Comment 10 Piotr Szymaniak 2010-03-07 20:01:12 UTC
Whooops, I see Locke made the boost depend already. Sorry for the noise.
Comment 11 Ai Locke Shinseiko (Wizzleby) 2010-03-07 20:55:57 UTC
Created attachment 222577 [details]
games-util/grfcodec

Removed commented gcc-4.4 patch as this was finally fixed upstream, it's not coming back.
removed V=1 from emake (this was a testing measure while I was making sure none of the ebuilds ignored user CFLAGS). verbose build can be done for testing with V=1 emerge -av1 package
Comment 12 Ai Locke Shinseiko (Wizzleby) 2010-03-07 20:59:16 UTC
Created attachment 222579 [details]
games-util/nforenum

likewise to grfcodec, removed V=1 from emake.
Comment 13 Ai Locke Shinseiko (Wizzleby) 2010-03-16 01:04:51 UTC
These ebuilds are now available in the gamerlay overlay, in the global layman list.
Comment 14 Ai Locke Shinseiko (Wizzleby) 2010-04-01 07:47:29 UTC
Created attachment 226067 [details]
opengfx-0.2.3.ebuild
Comment 15 Mr. Bones. (RETIRED) gentoo-dev 2010-04-07 21:46:16 UTC
No way am I committing that grfcodec ebuild.

upx seems like a pointless addition to the build process.  It's missing deps on at least perl and boost as well.  The sed work just needs to be a patch to the source.  There's no point in inheriting games, but toolchain-funcs needs to be on the inherit line.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2010-04-07 21:49:59 UTC
The nforenum build also seems to be overly complicated.  Before committing that one, it needs to be fixed to not pass CFLAGS to CXX.
Comment 17 Ai Locke Shinseiko (Wizzleby) 2010-04-08 02:33:34 UTC
Created attachment 226953 [details]
grfcodec-0_pre2306.ebuild

patch instead of sed, inherit eutils, toolchain-funcs, not games. punt UPX as un-needed with patch
Comment 18 Ai Locke Shinseiko (Wizzleby) 2010-04-08 02:34:39 UTC
Created attachment 226957 [details, diff]
files/grfcodec-0_pre2306-build.patch

fix C{,XX}FLAGS, punt UPX
Comment 19 Ai Locke Shinseiko (Wizzleby) 2010-04-08 03:33:36 UTC
Created attachment 226959 [details, diff]
files/grfcodec-0_pre2306-build.patch

don't pass CFLAGS to CXX, pass CXXFLAGS
Comment 20 Ai Locke Shinseiko (Wizzleby) 2010-04-08 06:11:45 UTC
Created attachment 226961 [details, diff]
files/grfcodec-0_pre2306-build.patch

And furthermore, don't use CC to compile c and c++ in the same line, all the while passing CFLAGS.
Comment 21 Ai Locke Shinseiko (Wizzleby) 2010-04-08 06:12:31 UTC
Created attachment 226963 [details]
grfcodec-0_pre2306.ebuild

general cleanup to ebuild
Comment 22 Ai Locke Shinseiko (Wizzleby) 2010-04-08 07:05:01 UTC
Created attachment 226969 [details, diff]
files/grfcodec-0_pre2306-build.patch

attached wrong patch last time
Comment 23 Ai Locke Shinseiko (Wizzleby) 2010-04-08 07:48:29 UTC
Created attachment 226971 [details, diff]
files/nforenum-0_pre2309-build.patch

Don't mix C and C++ in the same compile line, strip UPX
Comment 24 Ai Locke Shinseiko (Wizzleby) 2010-04-08 07:51:56 UTC
Created attachment 226973 [details]
nforenum-0_pre2309.ebuild

depend on boost, perl
Comment 25 Mr. Bones. (RETIRED) gentoo-dev 2010-04-08 23:21:16 UTC
in portage.

thanks for the bug report and ebuilds