diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-24 18:12:29 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-03-24 18:12:29 +0000 |
commit | 3ba01c4ac94dc5521a7a47db9d2e29944d14a51e (patch) | |
tree | e80ccffc7f8510c0d9e7a45b04e71686e24f0531 /games-puzzle | |
parent | ppc/ppc64 stable wrt #356229 (diff) | |
download | gentoo-2-3ba01c4ac94dc5521a7a47db9d2e29944d14a51e.tar.gz gentoo-2-3ba01c4ac94dc5521a7a47db9d2e29944d14a51e.tar.bz2 gentoo-2-3ba01c4ac94dc5521a7a47db9d2e29944d14a51e.zip |
punt
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/xphotohunter/ChangeLog | 31 | ||||
-rw-r--r-- | games-puzzle/xphotohunter/Manifest | 18 | ||||
-rw-r--r-- | games-puzzle/xphotohunter/files/xphotohunter-1.4-gentoo.patch | 47 | ||||
-rw-r--r-- | games-puzzle/xphotohunter/metadata.xml | 10 | ||||
-rw-r--r-- | games-puzzle/xphotohunter/xphotohunter-1.4-r1.ebuild | 53 |
5 files changed, 0 insertions, 159 deletions
diff --git a/games-puzzle/xphotohunter/ChangeLog b/games-puzzle/xphotohunter/ChangeLog deleted file mode 100644 index 065cf909e55d..000000000000 --- a/games-puzzle/xphotohunter/ChangeLog +++ /dev/null @@ -1,31 +0,0 @@ -# ChangeLog for games-puzzle/xphotohunter -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xphotohunter/ChangeLog,v 1.6 2009/11/24 17:58:40 halcy0n Exp $ - - 24 Nov 2009; Mark Loeser <halcy0n@gentoo.org> xphotohunter-1.4-r1.ebuild: - imlib gtk use flag was renamed to deprecated - - 03 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> - xphotohunter-1.4-r1.ebuild: - add use-based dep for media-libs/imlib (bug #229477) - - 16 Dec 2008; <ssuominen@gentoo.org> xphotohunter-1.4-r1.ebuild: - Respect CC. - - 27 Aug 2008; Thomas Anderson <gentoofan23@gentoo.org> - xphotohunter-1.4-r1.ebuild: - stable amd64, bug 229477 - -*xphotohunter-1.4-r1 (09 May 2007) - - 09 May 2007; Tupone Alfredo <tupone@gentoo.org> -xphotohunter-1.4.ebuild, - +xphotohunter-1.4-r1.ebuild: - Adding extra pictures. Bug #132953 by Greg Watson - -*xphotohunter-1.4 (08 May 2007) - - 08 May 2007; Tupone Alfredo <tupone@gentoo.org> - +files/xphotohunter-1.4-gentoo.patch, +metadata.xml, - +xphotohunter-1.4.ebuild: - New package requested with bug #132951 by Greg Watson - diff --git a/games-puzzle/xphotohunter/Manifest b/games-puzzle/xphotohunter/Manifest deleted file mode 100644 index fabb3618dec1..000000000000 --- a/games-puzzle/xphotohunter/Manifest +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX xphotohunter-1.4-gentoo.patch 1493 RMD160 1973be9614097ec38d553d9d0b6d72b0b84d59e6 SHA1 a3b1f0833de85744d0d2a969ac0bb73157830201 SHA256 31f950f48e6deedecdb48313e9932e6ec3c12a7ffa45005aad5136380f97f3ee -DIST xphotohunter-1.4.tar.gz 1011382 RMD160 263fe0d5159d7f35d4da4303f7ac64308af00fed SHA1 44792d4553aece9e317137971fb030cf1add7c31 SHA256 87864d4b72665f92892f2a6029399193167e3f7d7b4a75b1d26bc2885b81ef2c -DIST xphotohunter_pictures1-1.4.tar.gz 1276569 RMD160 72d5c8b4614cd4ed9865670e0d5546d409e41c4a SHA1 bbd3fc11bf2c4bc041bc4216585dd32431af55c8 SHA256 e8c0a38af14b12bb0bc9bb62cbec13d1245e057c33e58d0d35059298760e31c9 -DIST xphotohunter_pictures2-1.4.tar.gz 1147792 RMD160 fe34add348f0109c1482b5308c94e53dbf25be2e SHA1 af32b2fdcfb3f4bf6ebcf44cb3f064e3a25e25f1 SHA256 1f906b19ab5bb9b113f6eb346410b41814cafa39d0f2c09175ddd02bd5e0d354 -DIST xphotohunter_pictures3-1.4.tar.gz 961121 RMD160 3bee3fd7af57b94c289d4a37358deac590d31cd5 SHA1 6128c2a4b59508469be1b68e95f0c350df2789ac SHA256 fb51dcc1b440e7d44d4d7e3fc40a09e9c1b92b14ae56f45dd1e9950ca667efcb -EBUILD xphotohunter-1.4-r1.ebuild 1639 RMD160 b506226b7dcd4d809b426a90c634b286ae8b3d4f SHA1 6797890430a051ce936c89bd8fcfd29ecd1e5e38 SHA256 ae2a7c418b704ce2c9371003fe9b6a095bb6212da3687dbcb13bd8cc012c4233 -MISC ChangeLog 1103 RMD160 9885594080de88e1367bfee4984a92c1b3583ecc SHA1 f7821ebc4c422d2f87c8b3cc905a4f5243cbf5d1 SHA256 117f9d89ad6a5e2cb0477bdfbbe5618992ee41d2242a84eafc933e7bb93929e4 -MISC metadata.xml 381 RMD160 aa4e45aca96960303e4abf5841607c39e2ed3bf2 SHA1 1d52fabd1706c8fd48926cddb59926b872517287 SHA256 7c06498113d3ec1a52aec3e5784a48408f6c8f6e037c8618633e9f0fe93459db ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) - -iEYEARECAAYFAksMHtUACgkQCRZPokWLroQKjACfZiUIGJOOvCQep9R3d89fhDKl -pvsAniXsdm5UutKfzRWjoCPHzaq/MiXX -=vBaH ------END PGP SIGNATURE----- diff --git a/games-puzzle/xphotohunter/files/xphotohunter-1.4-gentoo.patch b/games-puzzle/xphotohunter/files/xphotohunter-1.4-gentoo.patch deleted file mode 100644 index 09044eca23e6..000000000000 --- a/games-puzzle/xphotohunter/files/xphotohunter-1.4-gentoo.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- handler.c.old 2007-05-08 22:24:43.000000000 +0200 -+++ handler.c 2007-05-08 22:29:15.000000000 +0200 -@@ -19,6 +19,7 @@ - - #include "main.h" - #include "handler.h" -+static char state_dir[] = "@GENTOO_STATEDIR@/"; - - /* This is an internally used function to set notebook tab widgets. */ - /* -@@ -1483,7 +1484,7 @@ - strcpy(rank_record[insert_num-1].word, gtk_entry_get_text(GTK_ENTRY(dialog_word_t)) ); - rank_record[insert_num-1].grade = grade; - -- strcpy(string, data_dir); -+ strcpy(string, state_dir); - strcat(string, RANK_FILE); - fp = fopen(string, "w"); - fd = fileno(fp); -@@ -1527,7 +1528,7 @@ - gint i; - gchar string[100]; - -- strcpy(string, data_dir); -+ strcpy(string, state_dir); - strcat(string, RANK_FILE); - fp = fopen(string, "r"); - if (fp==NULL) -@@ -1561,7 +1561,7 @@ - - for (i=0;i<RANK_NUM*sizeof(struct rank_struct);i++) - buf[i] = 0; -- strcpy(string, data_dir); -+ strcpy(string, state_dir); - strcat(string, RANK_FILE); - fp = fopen(string, "w"); - fwrite(buf, 1, RANK_NUM*sizeof(struct rank_struct), fp); ---- Makefile.old 2007-05-08 22:59:55.000000000 +0200 -+++ Makefile 2007-05-08 23:17:45.000000000 +0200 -@@ -18,7 +18,6 @@ - # -lz -lgif -lXi -lXext -lX11 -lm - #LIBS=-L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib `gtk-config --libs` - LIBS=-lgdk_imlib -ljpeg -ltiff -lpng -lz -lgif `gtk-config --libs` -lXi -lXext -lX11 -lm --CFLAGS= -g -O2 -Wall - - INSTALL = /usr/bin/install -c - INSTALL_DIR= $(INSTALL) -d -m 755 diff --git a/games-puzzle/xphotohunter/metadata.xml b/games-puzzle/xphotohunter/metadata.xml deleted file mode 100644 index a4fc0f10975a..000000000000 --- a/games-puzzle/xphotohunter/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> -<longdescription lang="en"> -This is a game under Unix X-window. The contents of the game is the same with -the Windows95 version "Photohunter". The player has to find out differences -between two pictures. -</longdescription> -</pkgmetadata> diff --git a/games-puzzle/xphotohunter/xphotohunter-1.4-r1.ebuild b/games-puzzle/xphotohunter/xphotohunter-1.4-r1.ebuild deleted file mode 100644 index c6aa2e0fe13d..000000000000 --- a/games-puzzle/xphotohunter/xphotohunter-1.4-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xphotohunter/xphotohunter-1.4-r1.ebuild,v 1.10 2009/11/24 17:58:40 halcy0n Exp $ - -EAPI=2 -inherit eutils toolchain-funcs games - -DESCRIPTION="Find the differences between two pictures." -HOMEPAGE="http://micro.ee.nthu.edu.tw/~tomcat/Xphotohunter/main-english.html" -SRC_URI="http://micro.ee.nthu.edu.tw/~tomcat/Xphotohunter/${P}.tar.gz - http://micro.ee.nthu.edu.tw/~tomcat/Xphotohunter/${PN}_pictures1-${PV}.tar.gz - http://micro.ee.nthu.edu.tw/~tomcat/Xphotohunter/${PN}_pictures2-${PV}.tar.gz - http://micro.ee.nthu.edu.tw/~tomcat/Xphotohunter/${PN}_pictures3-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="media-libs/imlib[deprecated]" -RDEPEND="${DEPEND} - media-sound/esound" - -src_prepare() { - epatch "${FILESDIR}/${P}"-gentoo.patch - sed -i \ - -e "s:@GENTOO_STATEDIR@:${GAMES_STATEDIR}/${PN}:" \ - handler.c \ - || die "Patching state dir failed" -} - -src_compile() { - emake CC="$(tc-getCC)" \ - DATADIR="${GAMES_DATADIR}/${PN}" || die "emake failed" -} - -src_install() { - dogamesbin xphotohunter || die "Installing binary failed" - insinto "${GAMES_DATADIR}/${PN}" - doins -r *.jpg *.xpm *.bmp *.wav \ - || die "Installing data files failed" - insinto "${GAMES_DATADIR}/${PN}/Picture" - doins Picture/* ../${PN}_pictures*-${PV}/* \ - || die "Installing picture files failed" - insinto "${GAMES_STATEDIR}/${PN}" - insopts -m0660 - doins ${PN}.dat \ - || die "Installing data files failed" - - dodoc License.txt README.chinese README.english Rule.txt - - prepgamesdirs -} |