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:
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.
We don't have glpng either.
You don't? I guess you just used the embedded copy of the glpng code before?
Created attachment 162955 [details] glpng-1.ebuild ebuild for glpng required for chromium-bsu
Created attachment 162957 [details] ftgl-2.1.4_rc5.ebuild this is newsest ftgl lib which is also required for chromium
Created attachment 162960 [details] glpng-1.45.ebuild reworked and based on freebsd port
Created attachment 162961 [details] Makefile for glpng-1.45.ebuild Makefile for glpng from freebsd. add to ${FILESDIR} :]
Created attachment 162966 [details] Makefile for glpng-1.45.ebuild Removed some unused stuff
Created attachment 162968 [details] glpng-1.45.ebuild * fixed including of correct png.h * fixed library placement
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)
Created attachment 162973 [details] Makefile for glpng-1.45.ebuild Ups... i posted Manifest instead of makefile... My bad *shamed*
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)
we really need to specify binary dir as /usr/games/bin/ where in code i should look for it so i can sed it?
It uses autotools, so you should just be able to do ./configure --prefix=/usr --bindir=/usr/games/bin
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/ ...
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.
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
Created attachment 162984 [details] chromium-0.9.13.2.ebuild fixed directory placement, gameplay works well, try various useflags
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
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 :]
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.
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
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.
Released 0.9.13.3 upstream, dropped the bindir/datadir customisation.
(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?
Created attachment 173610 [details] Makefile for glpng-1.45 Updated makefile so we make everybody happy.
Created attachment 173611 [details] glpng-1.45.ebuild Updated ebuild for above makefile :]
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..
chromium 0.9.13.3 in the tree. Enjoy your play :]