use new text file based database; fix bug #65448; clean out older ebuilds
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 10 Dec 2004 12:22:26 +0000 (12:22 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 10 Dec 2004 12:22:26 +0000 (12:22 +0000)
games-puzzle/mindless/ChangeLog
games-puzzle/mindless/Manifest
games-puzzle/mindless/files/digest-mindless-1.4 [deleted file]
games-puzzle/mindless/files/digest-mindless-1.5-r1 [moved from games-puzzle/mindless/files/digest-mindless-1.5 with 50% similarity]
games-puzzle/mindless/mindless-1.4.ebuild [deleted file]
games-puzzle/mindless/mindless-1.5-r1.ebuild [moved from games-puzzle/mindless/mindless-1.5.ebuild with 50% similarity]

index 6812a72aec5ea5cef069cfa3aaaacb2f894e85b9..bb64096a6a38496417849db582fe43981f0296b0 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-puzzle/mindless
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.5 2004/07/25 03:11:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/ChangeLog,v 1.6 2004/12/10 12:22:26 mr_bones_ Exp $
+
+*mindless-1.5-r1 (10 Dec 2004)
+
+  10 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> -mindless-1.4.ebuild,
+  +mindless-1.5-r1.ebuild, -mindless-1.5.ebuild:
+  use new text file based database; fix bug #65448; clean out older ebuilds
 
 *mindless-1.5 (24 Jul 2004)
 
index c3536a619239eecf1ab157073b1039a32861f0c5..c5ddee77361fa4dd459fa5d1edd1f246216e41a6 100644 (file)
@@ -1,7 +1,5 @@
-MD5 8da5a71e0da09e3eb96a85628a0ae87a ChangeLog 913
+MD5 1a530468e244ac0aec45f8a6680c4e06 ChangeLog 1148
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 5a8fd9349ca2214fe4767842f4359736 mindless-1.4.ebuild 1160
-MD5 fd021f609e3ed0cec6d9783ade790c8d mindless-1.5.ebuild 1323
-MD5 b44c0f42430a239c04610559c130e958 files/digest-mindless-1.4 122
+MD5 77bd308df843dca1e4a99c0f8992eddf mindless-1.5-r1.ebuild 1358
+MD5 e06a3b3f916cc0bffe0452fd34915fca files/digest-mindless-1.5-r1 126
 MD5 68b8ad4c5f179e599b7bc5cdf52af9af files/mindless 379
-MD5 7f1ed8b1e9d94fcfd92775a3484492d7 files/digest-mindless-1.5 117
diff --git a/games-puzzle/mindless/files/digest-mindless-1.4 b/games-puzzle/mindless/files/digest-mindless-1.4
deleted file mode 100644 (file)
index 532a918..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 0b2da26c624428b697b7acd0e3a07c80 mindless-1.4.tar.gz 62106
-MD5 2256f3542094725015c835d017dea3e5 approracle.zip 480278
similarity index 50%
rename from games-puzzle/mindless/files/digest-mindless-1.5
rename to games-puzzle/mindless/files/digest-mindless-1.5-r1
index c3b21e40eaf6666ca454403d0af929a384b20a95..51b5aefb9eedd6d2e5c2b73250e1925470ed3165 100644 (file)
@@ -1,2 +1,2 @@
 MD5 12bf8d05e2721086bd704253cd926a3f mindless-1.5.tar.gz 63201
-MD5 3046b28e9c434ad14ed0e357d7674110 patch.zip 536714
+MD5 fd8ace5bddb8d93a448e822f7396831d ORALL06-01-04.txt 1132312
diff --git a/games-puzzle/mindless/mindless-1.4.ebuild b/games-puzzle/mindless/mindless-1.4.ebuild
deleted file mode 100644 (file)
index 859e167..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.4.ebuild,v 1.4 2004/06/24 23:07:41 agriffis Exp $
-
-inherit games
-
-DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
-HOMEPAGE="http://mindless.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
-       http://www.e-league.com/files/approracle.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~amd64"
-IUSE=""
-
-DEPEND="media-libs/gdk-pixbuf"
-
-src_compile() {
-       emake CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
-src_install() {
-       newgamesbin mindless mindless-bin
-       dogamesbin ${FILESDIR}/mindless
-       dosed "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/mindless
-       insinto ${GAMES_DATADIR}/${PN}
-       doins ${WORKDIR}/*.dat ${WORKDIR}/sets/*.dat
-       dodoc CHANGES README TODO
-       prepgamesdirs
-}
-
-pkg_postinst() {
-       games_pkg_postinst
-       einfo "mindless is now a wrapper that searches"
-       einfo "for cardinfo files and then runs mindless-bin."
-       einfo "If you wish to run mindless yourself, please"
-       einfo "use mindless-bin."
-}
similarity index 50%
rename from games-puzzle/mindless/mindless-1.5.ebuild
rename to games-puzzle/mindless/mindless-1.5-r1.ebuild
index e3ef31dc5659785b9d3606390c346fa29e4e83bc..4ffbb0c2e9850ad32447704c5dce5a603364ee89 100644 (file)
@@ -1,37 +1,40 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.5.ebuild,v 1.1 2004/07/25 03:11:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.5-r1.ebuild,v 1.1 2004/12/10 12:22:26 mr_bones_ Exp $
 
 inherit games
 
+ORANAME="ORALL06-01-04.txt"
 DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
 HOMEPAGE="http://mindless.sourceforge.net/"
 SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
-        http://home.dmv.com/~rast/patch.zip"
+       http://mindless.sourceforge.net/${ORANAME}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="x86 ppc ~amd64"
 IUSE=""
-RESTRICT="nomirror"
+RESTRICT="nomirror" # for the card database.
 
-RDEPEND="media-libs/gdk-pixbuf"
+RDEPEND="media-libs/gdk-pixbuf
+       >=x11-libs/gtk+-2"
 DEPEND="${RDEPEND}
-       app-arch/unzip"
+       dev-util/pkgconfig"
+
+src_unpack() {
+       unpack "${P}.tar.gz"
+       cp "${DISTDIR}/ORALL06-01-04.txt" "${WORKDIR}" || die "cp failed"
+       DATAFILE="${GAMES_DATADIR}/${PN}/${ORANAME}"
+}
 
 src_compile() {
        emake CFLAGS="${CFLAGS}" || die "emake failed"
 }
 
 src_install() {
-       newgamesbin mindless mindless-bin || die "newgamesbin failed"
-       dogamesbin ${FILESDIR}/mindless || die "dogamesbin failed"
-       sed -i \
-               -e "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" \
-               "${D}${GAMES_BINDIR}/mindless" \
-               || die "sed failed"
+       dogamesbin mindless || die "dogamesbin failed"
        insinto "${GAMES_DATADIR}/${PN}"
-       doins "${WORKDIR}/"*.dat || die "doins failed"
+       doins "${WORKDIR}/${ORANAME}" || die "doins failed"
        dodoc CHANGES README TODO
        prepgamesdirs
 }
@@ -39,9 +42,8 @@ src_install() {
 pkg_postinst() {
        games_pkg_postinst
        echo
-       einfo "mindless is now a wrapper that searches"
-       einfo "for cardinfo files and then runs mindless-bin."
-       einfo "If you wish to run mindless yourself, please"
-       einfo "use mindless-bin."
+       einfo "The first time you start ${PN} you need to tell it where to find"
+       einfo "the text database of cards.  This file has been installed at:"
+       einfo "${DATAFILE}"
        echo
 }