Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230131 - games-action/chromium - new version available
Summary: games-action/chromium - new version available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://chromium-bsu.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 05:21 UTC by Jared B.
Modified: 2008-11-30 22:14 UTC (History)
2 users (show)

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


Attachments
glpng-1.ebuild (glpng-1.ebuild,801 bytes, text/plain)
2008-08-15 12:44 UTC, Tomáš Chvátal (RETIRED)
Details
ftgl-2.1.4_rc5.ebuild (ftgl-2.1.3_rc5.ebuild,1.29 KB, text/plain)
2008-08-15 13:22 UTC, Tomáš Chvátal (RETIRED)
Details
glpng-1.45.ebuild (glpng-1.45.ebuild,701 bytes, text/plain)
2008-08-15 14:00 UTC, Tomáš Chvátal (RETIRED)
Details
Makefile for glpng-1.45.ebuild (Makefile,972 bytes, text/plain)
2008-08-15 14:01 UTC, Tomáš Chvátal (RETIRED)
Details
Makefile for glpng-1.45.ebuild (Manifest,566 bytes, text/plain)
2008-08-15 14:54 UTC, Tomáš Chvátal (RETIRED)
Details
glpng-1.45.ebuild (glpng-1.45.ebuild,839 bytes, text/plain)
2008-08-15 14:55 UTC, Tomáš Chvátal (RETIRED)
Details
chromium-0.9.13.2.ebuild (chromium-0.9.13.2.ebuild,1.09 KB, text/plain)
2008-08-15 14:57 UTC, Tomáš Chvátal (RETIRED)
Details
Makefile for glpng-1.45.ebuild (Makefile,565 bytes, text/plain)
2008-08-15 15:05 UTC, Tomáš Chvátal (RETIRED)
Details
chromium-0.9.13.2.ebuild (chromium-0.9.13.2.ebuild,1.32 KB, text/plain)
2008-08-15 17:09 UTC, Tomáš Chvátal (RETIRED)
Details
Makefile for glpng-1.45 (Makefile,993 bytes, text/plain)
2008-11-27 21:16 UTC, Tomáš Chvátal (RETIRED)
Details
glpng-1.45.ebuild (glpng-1.45.ebuild,728 bytes, text/plain)
2008-11-27 21:17 UTC, Tomáš Chvátal (RETIRED)
Details
chromium-0.9.13.3.ebuild (chromium-0.9.13.3.ebuild,1.22 KB, text/plain)
2008-11-30 18:37 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared B. 2008-06-30 05:21:53 UTC
A new version of Chromium B.S.U. has been released after nearly 7 years.  0.9.13.1 is currently the latest version.  Requesting a version bump in portage - it looks like a lot of previous patches were rolled into the 0.9.13 release, so it'll probably take a bit more work than simply renumbering the ebuild.

Also, the project has a new home page:
http://chromium-bsu.sourceforge.net/

Reproducible: Always

Steps to Reproduce:
Comment 1 Paul Wise (Debian) 2008-07-03 03:16:42 UTC
I'm part of upstream (took it over because it was neglected and had license issues Debian cared about), I believe that all of the Gentoo patches are probably no longer necessary. If any patches or changes are needed, please forward them to the sf.net patch/bug tracker.

Also, gentoo will need to package FTGL for font rendering and the bold Gothic Uralic font for text (ttf-uralic package in Debian).

If the gentoo Chromium maintainer wants to get commit access to the upstream SVN repository, I'd be happy to add them too.
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2008-07-03 03:52:05 UTC
We don't have glpng either.
Comment 3 Paul Wise (Debian) 2008-07-03 09:39:44 UTC
You don't? I guess you just used the embedded copy of the glpng code before?
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 12:44:31 UTC
Created attachment 162955 [details]
glpng-1.ebuild

ebuild for glpng required for chromium-bsu
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 13:22:49 UTC
Created attachment 162957 [details]
ftgl-2.1.4_rc5.ebuild

this is newsest ftgl lib which is also required for chromium
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 14:00:23 UTC
Created attachment 162960 [details]
glpng-1.45.ebuild

reworked and based on freebsd port
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 14:01:19 UTC
Created attachment 162961 [details]
Makefile for glpng-1.45.ebuild

Makefile for glpng from freebsd. add to ${FILESDIR} :]
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 14:54:39 UTC
Created attachment 162966 [details]
Makefile for glpng-1.45.ebuild

Removed some unused stuff
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 14:55:24 UTC
Created attachment 162968 [details]
glpng-1.45.ebuild

* fixed including of correct png.h
* fixed library placement
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 14:57:34 UTC
Created attachment 162970 [details]
chromium-0.9.13.2.ebuild

* compiles + runs fine
* problems: Game add prefix Game to everything
so it install data to /usr/share/games/chromium/games and binary to /usr/games/games, this is not good... could by fixed by mainstream, i will work on it later and fix it for gentoo (if not fixed by them)
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 15:05:23 UTC
Created attachment 162973 [details]
Makefile for glpng-1.45.ebuild

Ups... i posted Manifest instead of makefile... My bad *shamed*
Comment 12 Paul Wise (Debian) 2008-08-15 15:07:01 UTC
With ./configure --prefix=/usr it installs the binary as 
/usr/games/chromium and the data to /usr/share/games/chromium (at least in
Debian).

(I'm upstream and subscribed to this bug, will answer questions here)
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 15:11:49 UTC
we really need to specify binary dir as /usr/games/bin/ where in code i should look for it so i can sed it?
Comment 14 Paul Wise (Debian) 2008-08-15 15:13:41 UTC
It uses autotools, so you should just be able to do ./configure --prefix=/usr --bindir=/usr/games/bin
Comment 15 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 15:20:13 UTC
i get:


No package files given... Grabbing a set.
--- replaced obj /usr/share/pixmaps/chromium.png
--- replaced dir /usr/share/pixmaps
--- replaced obj /usr/share/man/man6/chromium.6.bz2
--- replaced dir /usr/share/man/man6
--- replaced dir /usr/share/man
--- replaced obj /usr/share/doc/chromium-0.9.13.2/README.bz2
--- replaced obj /usr/share/doc/chromium-0.9.13.2/NEWS.bz2
--- replaced obj /usr/share/doc/chromium-0.9.13.2/AUTHORS.bz2
--- replaced dir /usr/share/doc/chromium-0.9.13.2
--- replaced dir /usr/share/doc
--- replaced obj /usr/share/applications/chromium-chromium.desktop
--- replaced dir /usr/share/applications
--- replaced dir /usr/share
<<<          obj /usr/games/share/pixmaps/chromium.png
<<<          obj /usr/games/share/games/chromium/wav/power.wav
<<<          obj /usr/games/share/games/chromium/wav/music_menu.wav
<<<          obj /usr/games/share/games/chromium/wav/music_game.wav
<<<          obj /usr/games/share/games/chromium/wav/life_lose.wav
<<<          obj /usr/games/share/games/chromium/wav/life_add.wav
<<<          obj /usr/games/share/games/chromium/wav/exploStd.wav
<<<          obj /usr/games/share/games/chromium/wav/exploPop.wav
<<<          obj /usr/games/share/games/chromium/wav/exploBig.wav
<<<          obj /usr/games/share/games/chromium/wav/boom.wav
<<<          obj /usr/games/share/games/chromium/png/useItem01.png
<<<          obj /usr/games/share/games/chromium/png/useItem00.png
<<<          obj /usr/games/share/games/chromium/png/useFocus.png
<<<          obj /usr/games/share/games/chromium/png/superBomb.png
<<<          obj /usr/games/share/games/chromium/png/statBar.png
<<<          obj /usr/games/share/games/chromium/png/stat-top.png
<<<          obj /usr/games/share/games/chromium/png/shields.png
<<<          obj /usr/games/share/games/chromium/png/reflect.png
<<<          obj /usr/games/share/games/chromium/png/reflect-gnd.png
<<<          obj /usr/games/share/games/chromium/png/reflect-blend.png
<<<          obj /usr/games/share/games/chromium/png/powerUpTex.png
<<<          obj /usr/games/share/games/chromium/png/powerUpShield.png
<<<          obj /usr/games/share/games/chromium/png/powerUpAmmo.png
<<<          obj /usr/games/share/games/chromium/png/menu_updown.png
<<<          obj /usr/games/share/games/chromium/png/menu_back.png
<<<          obj /usr/games/share/games/chromium/png/life.png
<<<          obj /usr/games/share/games/chromium/png/heroSuper.png
<<<          obj /usr/games/share/games/chromium/png/heroShields.png
<<<          obj /usr/games/share/games/chromium/png/heroExplo02.png
<<<          obj /usr/games/share/games/chromium/png/heroExplo01.png
<<<          obj /usr/games/share/games/chromium/png/heroExplo00.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoFlash02.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoFlash01.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoFlash00.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoExplo02.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoExplo01.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmoExplo00.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmo02.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmo01.png
<<<          obj /usr/games/share/games/chromium/png/heroAmmo00.png
<<<          obj /usr/games/share/games/chromium/png/hero.png
<<<          obj /usr/games/share/games/chromium/png/gndMetalBlip.png
<<<          obj /usr/games/share/games/chromium/png/gndMetalBase02.png
<<<          obj /usr/games/share/games/chromium/png/gndMetalBase01.png
<<<          obj /usr/games/share/games/chromium/png/gndMetalBase00.png
<<<          obj /usr/games/share/games/chromium/png/gndBaseSea.png
<<<          obj /usr/games/share/games/chromium/png/glitter.png
<<<          obj /usr/games/share/games/chromium/png/explo.png
<<<          obj /usr/games/share/games/chromium/png/enemyExplo.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmoExplo04.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmoExplo03.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmoExplo02.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmoExplo01.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmoExplo00.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmo04.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmo03.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmo02.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmo01.png
<<<          obj /usr/games/share/games/chromium/png/enemyAmmo00.png
<<<          obj /usr/games/share/games/chromium/png/enemy06.png
<<<          obj /usr/games/share/games/chromium/png/enemy05.png
<<<          obj /usr/games/share/games/chromium/png/enemy04.png
<<<          obj /usr/games/share/games/chromium/png/enemy03.png
<<<          obj /usr/games/share/games/chromium/png/enemy03-extra.png
<<<          obj /usr/games/share/games/chromium/png/enemy02.png
<<<          obj /usr/games/share/games/chromium/png/enemy01.png
<<<          obj /usr/games/share/games/chromium/png/enemy01-rot.png
<<<          obj /usr/games/share/games/chromium/png/enemy01-extra.png
<<<          obj /usr/games/share/games/chromium/png/enemy00.png
<<<          obj /usr/games/share/games/chromium/png/electric.png
<<<          obj /usr/games/share/games/chromium/png/elect.png
<<<          obj /usr/games/share/games/chromium/png/darken.png
<<<          obj /usr/games/share/games/chromium/png/cursor.png
<<<          obj /usr/games/share/games/chromium/png/chrome.jpg
<<<          obj /usr/games/share/games/chromium/png/check.png
<<<          obj /usr/games/share/doc/chromium/info.htm
<<<          obj /usr/games/share/doc/chromium/images/useItem00.jpg
<<<          obj /usr/games/share/doc/chromium/images/powerUp02.jpg
<<<          obj /usr/games/share/doc/chromium/images/powerUp01.jpg
<<<          obj /usr/games/share/doc/chromium/images/powerUp00.jpg
<<<          obj /usr/games/share/doc/chromium/images/heroAmmo02.jpg
<<<          obj /usr/games/share/doc/chromium/images/heroAmmo01.jpg
<<<          obj /usr/games/share/doc/chromium/images/heroAmmo00.jpg
<<<          obj /usr/games/share/doc/chromium/faq.htm
<<<          obj /usr/games/share/applications/chromium.desktop
<<<          obj /usr/games/games/chromium
--- replaced dir /usr/games
--- replaced dir /usr
--- !empty   dir /usr/games/share/pixmaps
<<<          dir /usr/games/share/games/chromium/wav
<<<          dir /usr/games/share/games/chromium/png
<<<          dir /usr/games/share/games/chromium
<<<          dir /usr/games/share/games
<<<          dir /usr/games/share/doc/chromium/images
<<<          dir /usr/games/share/doc/chromium
<<<          dir /usr/games/share/doc
--- !empty   dir /usr/games/share/applications
--- !empty   dir /usr/games/share
<<<          dir /usr/games/games



this is when i use:
...
    econf \
        --prefix=/usr \
        --bindir=/usr/games/bin \
...


What i need is that bin would be in /usr/games/bin and data not in /usr/games/share/games/chromium/ but /usr/share/games/chromium/ ...
Comment 16 Paul Wise (Debian) 2008-08-15 15:34:34 UTC
I don't understand why you are getting those directories, perhaps gentoo is adding some configure flags automatically? The --foodir configure flags usually just work.

Please try configuring outside portage/econf with --prefix --bindir and --datadir to see what it does. You can use DESTDIR=/home/foo/opt in the make install invocation to see where things are installed without needing root.
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 15:49:49 UTC
Ok fixed almost everything but this:

--- replaced obj /usr/games/chromium
--- replaced dir /usr/games
--- replaced dir /usr

why it does not obey i do not know...
this is configure:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --bindir=/usr/games/bin --disable-dependency-tracking --with-font-path=/usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf --with-X --enable-glut --enable-sdlmixer --enable-openal --enable-sdl --build=i686-pc-linux-gnu
Comment 18 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 17:09:56 UTC
Created attachment 162984 [details]
chromium-0.9.13.2.ebuild

fixed directory placement, gameplay works well, try various useflags
Comment 19 Paul Wise (Debian) 2008-08-15 17:13:29 UTC
Was talking to a Gentoo developer at DebConf8 and he suggested this link:

http://www.gentoo.org/proj/en/desktop/games/games-ebuild-howto.xml
Comment 20 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 17:17:02 UTC
hehe it would not be much helpful, cause there is nothing informative about path usage, i know i have to sed it, but i was not sure which value, now it is done :]
Comment 21 Paul Wise (Debian) 2008-08-15 17:20:38 UTC
I think you missed that you should just use egamesconf instead of econf. Also, there should be no need to use sed, autotools covers every way you could need to install.
Comment 22 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-15 17:26:47 UTC
I used egamesconf, if you looked at least once on that ebuild...
...
src_compile() {
	egamesconf \
...

see that old one
in new one i use sed and econf only and it is finally working
Comment 23 Paul Wise (Debian) 2008-08-15 18:38:39 UTC
Looks like the issue is due to me overriding bindir and datadir without also checking for the relevant command-line options, apologies for that. I'll fix it and release a new upstream after DebConf8 is over.
Comment 24 Paul Wise (Debian) 2008-10-03 10:17:39 UTC
Released 0.9.13.3 upstream, dropped the bindir/datadir customisation.
Comment 25 Tupone Alfredo gentoo-dev 2008-11-27 20:07:34 UTC
(In reply to comment #11)
> Created an attachment (id=162973) [edit]
> Makefile for glpng-1.45.ebuild
> 
> Ups... i posted Manifest instead of makefile... My bad *shamed*
> 

Some comments on the ebuild:

HOMEPAGE is missing http://
src_compile is not needed as is the default

What is the soname of glpng library?
Comment 26 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-27 21:16:21 UTC
Created attachment 173610 [details]
Makefile for glpng-1.45

Updated makefile so we make everybody happy.
Comment 27 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-27 21:17:51 UTC
Created attachment 173611 [details]
glpng-1.45.ebuild

Updated ebuild for above makefile :]
Comment 28 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-30 18:37:47 UTC
Created attachment 173885 [details]
chromium-0.9.13.3.ebuild

Crhomium ebuild for newest availible version.

Rest of the deps already in the tree.

autotools needed for correct installation of desktop file and icon.
Mixer is local useflag enabling sound via sdlmixer instead of openal..
Comment 29 Tomáš Chvátal (RETIRED) gentoo-dev 2008-11-30 22:14:31 UTC
chromium 0.9.13.3 in the tree.
Enjoy your play :]