Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121868 - EBUILD for games-board/gnomego
Summary: EBUILD for games-board/gnomego
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://se-linux.inso.tuwien.ac.at/se2...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-02-06 12:59 UTC by Markus Gothe
Modified: 2018-12-03 12:56 UTC (History)
2 users (show)

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


Attachments
ebuild (gnomego-0.3.1.ebuild,929 bytes, text/plain)
2006-02-06 13:00 UTC, Markus Gothe
Details
games-board/gnomego-0.5.ebuild (gnomego-0.5.ebuild,1.64 KB, text/plain)
2007-02-08 16:08 UTC, Le retraité
Details
games-board/gnomego/gnomego-0.5.ebuild (gnomego-0.5.ebuild,2.09 KB, text/plain)
2007-04-22 03:45 UTC, Roman V. Prikhodchenko
Details
games-board/gnomego/gnomego-0.5.ebuild (gnomego-0.5.ebuild,2.09 KB, text/plain)
2007-04-24 15:08 UTC, Roman V. Prikhodchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Gothe 2006-02-06 12:59:26 UTC
This an ebuild for the gnugo GNOME interface called gnomego... You're welcome ;)
Comment 1 Markus Gothe 2006-02-06 13:00:30 UTC
Created attachment 79054 [details]
ebuild
Comment 2 Le retraité 2007-02-08 16:08:50 UTC
Created attachment 109553 [details]
games-board/gnomego-0.5.ebuild

First ebuild for GnomeGo 0.5, still need some work.

Every file seems to be at the right place but the thumbnailer and the screensaver are not working. GnomeGo itself work fine though.

I tried to use the home page's URL to fetch the file but I could't manage to make it works so I decided to (temporaly) host it.
Comment 3 Roman V. Prikhodchenko 2007-04-22 03:45:26 UTC
Created attachment 116961 [details]
games-board/gnomego/gnomego-0.5.ebuild

Updated ebuild:
thumbnailer and the screensaver now work.

I am don`t change distfile URL.
Comment 4 Roman V. Prikhodchenko 2007-04-24 15:08:39 UTC
Created attachment 117148 [details]
games-board/gnomego/gnomego-0.5.ebuild

Updated ebuild:
remove unnecessary "/"



also you can add some visual changes for screensaver (optional remove numeration, add last_move lightred rectangle,  delay 10s)

	# visual changes
	sed -i -e "s/board\ =\ gnomego.board.Board(pixmap,\ game,\ size,\ scale,\ False,\ True,\ False,\ pango_ctx,\ pref.installed_prefix)/board\ =\ gnomego.board.Board(pixmap,\ game,\ size,\ scale,\ False,\ False,\ False,\ pango_ctx,\ pref.installed_prefix)/" sgf-screensaver.py
	sed -i -e "s/gc.set_rgb_fg_color(gtk.gdk.Color(0x8000,0x0000,0x0000))/gc.set_rgb_fg_color(gtk.gdk.Color(0xffff,0x0000,0x0000))/" gnomego/board.py
	sed -i -e "s/import zipfile/import\ zipfile\nimport\ copy/" sgf-screensaver.py
	sed -i -e "s/while\ True:/while\ True:\n\n\t\tnow_hist\ =\ game.get_move_history().copy()\n\t\tboard.clear_marks()\n\t\tfor\ item\ in\ now_hist.keys():\n\t\t\tif\ not\ prev_hist.has_key(item):\n\t\t\t\tboard.mark_stone(item)\n\t\t\telse:\n\t\t\t\tif\ (len(now_hist[item])\ !=\ len(prev_hist[item])):\n\t\t\t\t\tboard.mark_stone(item)\n\t\tprev_hist\ =\ copy.deepcopy(now_hist)\n\n/" sgf-screensaver.py
	sed -i -e "s/time.sleep(1)/time.sleep(10)/" sgf-screensaver.py