diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-07 20:50:07 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-07 20:50:07 +0000 |
commit | 9bb8b74ec47f52d5f33f9b931c2de0781f8316f1 (patch) | |
tree | 631915333a09aa834c794a2c1cf32e238ffab6b8 /games-board | |
parent | Fix compilation with Gnome 2.28, bug 293063. (diff) | |
download | gentoo-2-9bb8b74ec47f52d5f33f9b931c2de0781f8316f1.tar.gz gentoo-2-9bb8b74ec47f52d5f33f9b931c2de0781f8316f1.tar.bz2 gentoo-2-9bb8b74ec47f52d5f33f9b931c2de0781f8316f1.zip |
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/scid/files/scid-3.6.24-gentoo.patch | 94 | ||||
-rw-r--r-- | games-board/scid/scid-3.6.1-r2.ebuild | 69 | ||||
-rw-r--r-- | games-board/scid/scid-3.6.24.ebuild | 82 |
3 files changed, 0 insertions, 245 deletions
diff --git a/games-board/scid/files/scid-3.6.24-gentoo.patch b/games-board/scid/files/scid-3.6.24-gentoo.patch deleted file mode 100644 index 76801c78a8c8..000000000000 --- a/games-board/scid/files/scid-3.6.24-gentoo.patch +++ /dev/null @@ -1,94 +0,0 @@ ---- engines/togaII1.2.1a/src/Makefile.old 2008-07-02 16:10:57.000000000 +0200 -+++ engines/togaII1.2.1a/src/Makefile 2008-07-02 16:11:44.000000000 +0200 -@@ -34,7 +34,7 @@ -
- # strip
-
--LDFLAGS += -s
-+# LDFLAGS += -s
-
- # dependencies
-
---- tcl/config.tcl.old 2008-07-02 16:30:12.000000000 +0200 -+++ tcl/config.tcl 2008-07-02 16:30:46.000000000 +0200 -@@ -5,7 +5,7 @@ - if {$windowsOS} { - set scidShareDir $scidExeDir - } else { -- set scidShareDir [file normalize [file join $scidExeDir "../share/scid"]] -+ set scidShareDir "@GENTOO_DATADIR@" - } - - if {![info exists scidBooksDir]} { ---- tcl/utils/sound.tcl.old 2008-07-02 20:53:37.000000000 +0200 -+++ tcl/utils/sound.tcl 2008-07-02 20:53:50.000000000 +0200 -@@ -38,7 +38,7 @@ - variable soundFolder - - ::splash::add "Setting up audio move announcement..." -- if {[catch {package require snack 2.0}]} { -+ if {[catch {package require snack}]} { - set hasSnackPackage 0 - ::splash::add " Move speech disabled - Snack sound package not found" - return ---- tcl/start.tcl.old 2008-07-03 00:06:31.000000000 +0200 -+++ tcl/start.tcl 2008-07-03 00:09:30.000000000 +0200 -@@ -641,7 +641,7 @@ - - ### Audio move announcement options: - --set ::utils::sound::soundFolder [file nativename [file join $::scidExeDir sounds]] -+set ::utils::sound::soundFolder "@GENTOO_DATADIR@/sounds" - set ::utils::sound::announceNew 0 - set ::utils::sound::announceForward 0 - set ::utils::sound::announceBack 0 -@@ -651,7 +651,7 @@ - if {$windowsOS} { - set spellCheckFile [file join $scidDataDir "spelling.ssp"] - } else { -- set spellCheckFile "/usr/local/share/scid/spelling.ssp" -+ set spellCheckFile "@GENTOO_DATADIR@/spelling.ssp" - } - - # Engines list file: -- OLD NAMES, NO LONGER USED ---- tcl/main.tcl.old 2008-07-03 23:11:08.000000000 +0200 -+++ tcl/main.tcl 2008-07-03 23:22:24.000000000 +0200 -@@ -808,6 +808,9 @@ - array set photo {} - - # Read all Scid photo (*.spf) files in the Scid data/user/config directories: -+foreach photofile [glob -nocomplain -directory $scidShareDir "*.spf"] { -+ readPhotoFile $photofile -+} - foreach photofile [glob -nocomplain -directory $scidDataDir "*.spf"] { - readPhotoFile $photofile - } ---- src/scidlet.cpp.old 2008-07-04 07:01:37.000000000 +0200 -+++ src/scidlet.cpp 2008-07-04 07:04:02.000000000 +0200 -@@ -232,7 +232,7 @@ - }; - - const configT defaultConfig = { -- "scidlet.sbk", // bookFileName -+ "@GENTOO_DATADIR@/scidlet.sbk", // bookFileName - "scidlet.log", // logFileName - 16, // hashTableMB - 1, // pawnTableMB ---- tcl/htext.tcl.old 2008-07-04 08:01:49.000000000 +0200 -+++ tcl/htext.tcl 2008-07-04 08:05:56.000000000 +0200 -@@ -519,12 +519,11 @@ - # web browser, so just try starting Mozilla or Netscape. - - # First, check if Mozilla seems to be available: -- if {[file executable /usr/bin/mozilla] || -- [file executable /usr/local/bin/mozilla]} { -+ if {[file executable /usr/bin/firefox]} { - # First, try -remote mode: -- if {[catch {exec /bin/sh -c "mozilla -remote 'openURL($url)'"}]} { -+ if {[catch {exec /bin/sh -c "firefox -remote 'openURL($url)'"}]} { - # Now try a new Mozilla process: -- catch {exec /bin/sh -c "mozilla '$url'" &} -+ catch {exec /bin/sh -c "firefox '$url'" &} - } - } else { - # OK, no Mozilla (poor user) so try Netscape (yuck): diff --git a/games-board/scid/scid-3.6.1-r2.ebuild b/games-board/scid/scid-3.6.1-r2.ebuild deleted file mode 100644 index a7d6f1a0daed..000000000000 --- a/games-board/scid/scid-3.6.1-r2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-3.6.1-r2.ebuild,v 1.2 2008/04/06 00:15:47 nyhm Exp $ - -inherit eutils games - -DESCRIPTION="a free chess database application" -HOMEPAGE="http://scid.sourceforge.net/" -SRC_URI="mirror://sourceforge/scid/${P}.tar.gz - mirror://sourceforge/scid/photos.zip - mirror://sourceforge/scid/ratings.zip - mirror://sourceforge/scid/scidlet40k.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-lang/tk-8.3 - >=sys-libs/zlib-1.1.3" -RDEPEND="${DEPEND} - !games-board/chessdb - x11-libs/libX11 - >=dev-lang/python-2.1" -DEPEND="${DEPEND} - app-arch/unzip" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gentoo.patch - sed -i \ - -e "s:@snack_path@:/lib/snack2.2:" \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - tcl/start.tcl -} - -src_compile() { - ./configure \ - COMPILE=c++ \ - LINK=c++ \ - BINDIR=/usr/bin \ - OPTIMIZE="${CXXFLAGS}" \ - TCL_INCLUDE="" - - # buggy makefiles bug #46110 - emake -j1 || die "emake failed" -} - -src_install() { - dogamesbin pgnfix pgnscid sc_addmove sc_eco sc_epgn sc_import sc_remote \ - sc_spell sc_tree scid scidpgn scmerge spliteco tcscid tkscid scidlet \ - || die "dogamesbin failed" - - dodoc CHANGES README THANKS - dohtml help/*.html - - insinto "${GAMES_DATADIR}/${PN}" - doins -r scid.eco sounds spelling.ssp \ - ../{gm.spf,historic.spf,ratings.ssp,scidlet40k.sbk} \ - || die "doins failed" - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "To enable speech, just emerge dev-tcltk/snack" -} diff --git a/games-board/scid/scid-3.6.24.ebuild b/games-board/scid/scid-3.6.24.ebuild deleted file mode 100644 index 6e0049f1d9b8..000000000000 --- a/games-board/scid/scid-3.6.24.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-3.6.24.ebuild,v 1.2 2008/07/04 15:14:47 mr_bones_ Exp $ - -inherit eutils games - -DESCRIPTION="a free chess database application" -HOMEPAGE="http://scid.sourceforge.net/" -SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2 - mirror://sourceforge/scid/spelling_2008_4.zip - mirror://sourceforge/scid/ratings_2008_4.zip - mirror://sourceforge/scid/photos2007.zip - mirror://sourceforge/scid/scidlet40k.zip" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-lang/tk-8.3 - >=sys-libs/zlib-1.1.3" -RDEPEND="${DEPEND} - !games-board/chessdb - x11-libs/libX11 - >=dev-lang/python-2.1" -DEPEND="${DEPEND} - app-arch/unzip" - -S="${WORKDIR}"/${PN} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gentoo.patch - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - tcl/config.tcl \ - tcl/start.tcl \ - src/scidlet.cpp || die "sed failed" - gzip ../ratings_2008_4.ssp -} - -src_compile() { - ./configure \ - COMPILE=c++ \ - LINK=c++ \ - BINDIR="${D}${GAMES_BINDIR}" \ - OPTIMIZE="${CXXFLAGS}" \ - TCL_INCLUDE="" \ - SHAREDIR="${D}${GAMES_DATADIR}/${PN}" \ - - # buggy makefiles bug #46110 - emake -j1 all_scid || die "emake failed" -} - -src_install() { - emake -j1 install_scid || die "emake install failed" - insinto "${GAMES_DATADIR}"/${PN} - doins -r sounds || die "failed installing sounds" - - dodoc CHANGES ChangeLog README THANKS TODO - dohtml help/*.html - - cd .. - newins spelling_2008_4.ssp spelling.ssp \ - || die "Failed installing spelling.ssp" - newins ratings_2008_4.ssp.gz ratings.ssp.gz \ - || die "Failed installing ratings.ssp" - doins *.spf \ - || die "Failed installing photos" - newins scidlet40k.sbk scidlet.sbk \ - || die "Failed installing scidlet.sbk" - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "To enable speech, emerge dev-tcltk/snack" - elog "To enable some piece sets, emerge dev-tcltk/tkimg" - elog "To enable Xfcc support, emerge dev-tcltk/tdom" -} |