diff options
-rw-r--r-- | games-roguelike/hengband/ChangeLog | 8 | ||||
-rw-r--r-- | games-roguelike/hengband/files/digest-hengband-1.6.2-r1 | 6 | ||||
-rw-r--r-- | games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch | 175 | ||||
-rw-r--r-- | games-roguelike/hengband/hengband-1.6.2-r1.ebuild | 63 |
4 files changed, 251 insertions, 1 deletions
diff --git a/games-roguelike/hengband/ChangeLog b/games-roguelike/hengband/ChangeLog index b235786aa081..765de5e0f04f 100644 --- a/games-roguelike/hengband/ChangeLog +++ b/games-roguelike/hengband/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-roguelike/hengband # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.9 2006/07/27 07:24:12 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/ChangeLog,v 1.10 2006/07/30 21:17:25 tupone Exp $ + +*hengband-1.6.2-r1 (30 Jul 2006) + + 30 Jul 2006; <tupone@gentoo.org> +files/hengband-1.6.2-added_faq.patch, + -hengband-1.6.2.ebuild, +hengband-1.6.2-r1.ebuild: + Typos, mispellings and missing faq.txt. Bug #113295 by Serge Koksharov 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> hengband-1.6.2.ebuild: Export CC to use the correct compiler name. Closes bug #140876. diff --git a/games-roguelike/hengband/files/digest-hengband-1.6.2-r1 b/games-roguelike/hengband/files/digest-hengband-1.6.2-r1 new file mode 100644 index 000000000000..46a92e3e9766 --- /dev/null +++ b/games-roguelike/hengband/files/digest-hengband-1.6.2-r1 @@ -0,0 +1,6 @@ +MD5 c94cc9f01f8ea7d3d0c8d32f597e36ba hengband-1.6.2-mispellings.patch.gz 11964 +RMD160 b20a9106b9823de38cf411cca7fd31d7d1f52915 hengband-1.6.2-mispellings.patch.gz 11964 +SHA256 68139e72091e12614124bee63f5700f36a560573e98a541974836fa61a12f08d hengband-1.6.2-mispellings.patch.gz 11964 +MD5 471048e9f7bf510553f13e23a69c5fef hengband-1.6.2.tar.bz2 2029169 +RMD160 59f41666dd1724f03739d5fa078e537467dbf36e hengband-1.6.2.tar.bz2 2029169 +SHA256 72f1c8dd9365127ccd155b786d2828a19bbd0311a9d62d07bd16a22600c385b4 hengband-1.6.2.tar.bz2 2029169 diff --git a/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch b/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch new file mode 100644 index 000000000000..f036e4550266 --- /dev/null +++ b/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch @@ -0,0 +1,175 @@ +diff -Naur hengband-1.6.2-orig/lib/help/faq.txt hengband-1.6.2-fixed/lib/help/faq.txt +--- hengband-1.6.2-orig/lib/help/faq.txt 1970-01-01 03:00:00.000000000 +0300 ++++ hengband-1.6.2-fixed/lib/help/faq.txt 2004-12-07 08:12:53.000000000 +0300 +@@ -0,0 +1,147 @@ ++ ++========= Hengband FAQ ========== ++ ++ ++Q. I want to play as an Android, Balrog, Golem, Skeleton, Zombie, ++ Spectre, or Ent. But I can't find any scroll of satisfy hunger. ++ And Berserkers no longer have racial ability of satisfy hunger. ++ How do I avoid starvation? ++ ++A. Scroll of Satisfy Hunger and Berserker's ability of Satisfy Hunger ++ are obsoleted. And races which previously relyed on Satisfy Hunger ++ have new sources of nutrition now; Android can quaff oil. Balrogs ++ can sacrifice human corpse using the 'E'at command. Golems, ++ Skeletons, Zombies, and Spectres can absorb mana from staves and ++ wands using the 'E'at command. Ents can gain enough nutrition from ++ potions. ++ ++ ++Q. I got through the Yeek cave and I headed into the wilderness....and ++ I'm still there searching endlessly down one road after another ++ looking for a town. Where are other towns and dungeons? ++ ++A. You need to use the global wilderness map (press the < key on the ++ ground level). This gives you a larger map of the world, where you ++ can travel to other towns and dungeons. By the way, you should ++ read the readme_eng.txt and the on-line help. ++ ++ ++Q. I'm playing as a berserker, and cannot read scrolls. How do I ++ remove curse? ++ ++A. You can simply 't'ake off cursed equipments. Since cursed ++ equipments are strongly sticking, you need to try 't'ake off ++ command many times. ++ ++ ++Q. I know Berserkers cannot use scrolls, and rods. How do I recall ++ from dungeon? Maybe I need to travel completely on foot?!! ++ ++A. Berserkers gain a class power 'Recall' at level 10. Press the ++ 'U'(original keyset) or 'O'(Roguelike keyset) to use class power. ++ ++ ++Q. Why Ninja have Iron Spikes at the start? ++ ++A. Ninja can use Iron Spikes as shuriken; they can throw it as good ++ missile weapon. Simply use 'v' command. ++ ++ ++Q. I'm at normal speed (+0). But normal speed monsters sometimes do ++ double or even triple move! ++ ++A. On Hengband, amount of energy needed for a move is somewhat ++ randomized. This method of speed system is an important feature of ++ Hengband, and is simulating real fighting. So always expect that ++ your enemy can get two or three move. Don't fight when your HP is ++ low, if you don't want to get instakill! ++ ++ ++Q. I tried to dual wield two weapons. But I couldn't hit anything! ++ ++A. You need to practice your dual wielding skill(proficiency level) ++ and your weapon skills. Hitting high level monsters many times ++ will improve your skills. Note that the information command '~' ++ reveals your proficiency levels. ++ ++ ++Q. How do skills(proficiency levels) work? ++ ++A. Weapon proficiency levels and dual wielding proficiency levels ++ increase your to-hit bonus. Spell proficiency levels decrease fail ++ rate and mana consumption rate of spells. Riding proficiency level ++ gives you more speed when you are riding on a high speed monster, ++ and decreases risk of falling from your mount. ++ ++ ++Q. How do I increase proficiency level? ++ ++A. Proficiency level of a weapon will increase when you hit a monster ++ whose level is high enough compared with your character level. ++ Proficiency level of a spell will increase when you cast the spell ++ at the dungeon level deep enough compared with the spell level. ++ Needed condition to increase riding proficiency level is rather ++ complex; Generally, you need to hit a monster whose level is high ++ enough compared with current riding proficiency level or to shoot a ++ monster when ride on high level mount. ++ ++ ++Q. How do I ride on a monster? ++ ++A. At first, summon, charm or capture some suitable monster. Then use ++ pet menu command 'p'. ++ ++ ++Q. How to use Capture Ball? ++ ++A. Just equip it and activate 'A' to a dying monster. ++ ++ ++Q. I cannot hold a weapon and a shield without losing control of my ++ horse. My horse runs aimlessly! ++ ++A. You cannot directly control your mount unless you use one hand to ++ control your mount. But you can command your mount. Just use 'p' ++ command, and give your mount a target. The horse which was given a ++ target will no longer run around aimlessly. ++ ++ ++Q. Where is the score server? And how do I register my character ++ dumps? ++ ++A. Here;'http://hengband.sourceforge.jp/en/score.html'. ++ When you die, Hengband will ask you as 'Do you send score to the ++ world score sever?'. And if you answer 'y', Hengband will ++ automatically register your character dump and screen shot. ++ ++ ++Q. Are there spoiler for more details? ++ ++A. Yes. Henkma is writing spoiler page for Hengband; ++ 'http://www.kmc.gr.jp/~henkma/heng-e/index.html' ++ ++ ++Q. Who wrote Hengband? ++ ++A. Hengband is mainly based on ZAngband 2.2.8 Japanese version. ++ ZAngband 2.2.8 Japanese version was developed by Mitsuhiro Itakura, ++ based on both ZAngband 2.2.8 and Angband 2.8.3 Japanese version, ++ and has some original features, for example, Auto-picker, in ++ addition to simple translation. ++ ++ Hengband also includes codes from many other variants including ++ ToME, OAngband, etc... Mr.Hoge wrote the first original part of ++ Hengband. And currently, it is maintained by Hengband Development ++ Team including Mr.Hoge, Habu, Henkma, iks, Kuwa, Mogami and nsk. ++ ++ ++Q. Where is Hengband? ++ ++A. Here: http://hengband.sourceforge.jp/en/ ++ ++ ++ ++ Hengband FAQ written by Mogami ++ ++-- ++Updated : Hengband 1.5.4 +diff -Naur hengband-1.6.2-orig/lib/help/Makefile.am hengband-1.6.2-fixed/lib/help/Makefile.am +--- hengband-1.6.2-orig/lib/help/Makefile.am 2002-10-31 17:12:08.000000000 +0300 ++++ hengband-1.6.2-fixed/lib/help/Makefile.am 2005-11-22 11:59:58.000000000 +0300 +@@ -4,7 +4,7 @@ + attack.hlp attack.txt birth.hlp birth.txt \ + bldg.txt raceclas.hlp raceclas.txt command.hlp \ + command.txt commdesc.hlp commdesc.txt defend.hlp \ +- defend.txt dungeon.hlp dungeon.txt gambling.txt \ ++ defend.txt dungeon.hlp dungeon.txt faq.txt gambling.txt \ + general.hlp general.txt help.hlp helpinfo.txt \ + j_general.txt j_item1.txt j_item2.txt j_trans.txt \ + jattack.hlp jattack.txt jbirth.hlp jbirth.txt \ +diff -Naur hengband-1.6.2-orig/lib/help/Makefile.in hengband-1.6.2-fixed/lib/help/Makefile.in +--- hengband-1.6.2-orig/lib/help/Makefile.in 2004-07-12 10:54:14.000000000 +0400 ++++ hengband-1.6.2-fixed/lib/help/Makefile.in 2005-11-22 12:01:06.000000000 +0300 +@@ -64,7 +64,7 @@ + PACKAGE = @PACKAGE@ + VERSION = @VERSION@ + +-angband_files = attack.hlp attack.txt birth.hlp birth.txt bldg.txt raceclas.hlp raceclas.txt command.hlp command.txt commdesc.hlp commdesc.txt defend.hlp defend.txt dungeon.hlp dungeon.txt gambling.txt general.hlp general.txt help.hlp helpinfo.txt j_general.txt j_item1.txt j_item2.txt j_trans.txt jattack.hlp jattack.txt jbirth.hlp jbirth.txt jbldg.txt jraceclas.hlp jraceclas.txt jcommand.hlp jcommand.txt jcommdesc.hlp jcommdesc.txt jdefend.hlp jdefend.txt jdungeon.hlp jdungeon.txt jgambling.txt jgeneral.hlp jgeneral.txt jhelp.hlp jhelpinfo.txt jlicense.txt jmagic.hlp jmagic.txt jmonster.hlp jmonster.txt jobjects.hlp jobjects.txt joption.hlp joption.txt jpref.hlp jpref.txt jspecial.hlp jtang.txt jtown.hlp jtown.txt jversion.txt magic.hlp magic.txt monster.hlp monster.txt objects.hlp objects.txt option.hlp option.txt pref.hlp pref.txt tang.txt town.hlp town.txt version.txt ++angband_files = attack.hlp attack.txt birth.hlp birth.txt bldg.txt raceclas.hlp raceclas.txt command.hlp command.txt commdesc.hlp commdesc.txt defend.hlp defend.txt dungeon.hlp dungeon.txt faq.txt gambling.txt general.hlp general.txt help.hlp helpinfo.txt j_general.txt j_item1.txt j_item2.txt j_trans.txt jattack.hlp jattack.txt jbirth.hlp jbirth.txt jbldg.txt jraceclas.hlp jraceclas.txt jcommand.hlp jcommand.txt jcommdesc.hlp jcommdesc.txt jdefend.hlp jdefend.txt jdungeon.hlp jdungeon.txt jgambling.txt jgeneral.hlp jgeneral.txt jhelp.hlp jhelpinfo.txt jlicense.txt jmagic.hlp jmagic.txt jmonster.hlp jmonster.txt jobjects.hlp jobjects.txt joption.hlp joption.txt jpref.hlp jpref.txt jspecial.hlp jtang.txt jtown.hlp jtown.txt jversion.txt magic.hlp magic.txt monster.hlp monster.txt objects.hlp objects.txt option.hlp option.txt pref.hlp pref.txt tang.txt town.hlp town.txt version.txt + + + EXTRA_DIST = $(angband_files) diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild new file mode 100644 index 000000000000..f68297ab863a --- /dev/null +++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/hengband/hengband-1.6.2-r1.ebuild,v 1.1 2006/07/30 21:17:25 tupone Exp $ + +inherit toolchain-funcs eutils games + +DESCRIPTION="An Angband variant, with a Japanese/fantasy theme" +HOMEPAGE="http://hengband.sourceforge.jp/en/" +SRC_URI="mirror://sourceforge.jp/hengband/10331/${P}.tar.bz2 + mirror://gentoo/${P}-mispellings.patch.gz" + +KEYWORDS="ppc x86 ~x86-fbsd" +LICENSE="Moria" +SLOT="0" +IUSE="X linguas_ja" + +RDEPEND=">=sys-libs/ncurses-5 + X? ( || ( x11-libs/libX11 virtual/x11 ) )" +DEPEND="${RDEPEND} + X? ( || ( x11-libs/libXt virtual/x11 ) )" + +src_unpack() { + unpack ${A} + cd "${S}" + # Removing Xaw dependency as is not used + sed -i \ + -e '/Xaw/d' src/main-xaw.c \ + || die "sed main-xaw failed" + sed -i \ + -e 's|root\.|root:|' lib/*/Makefile.in \ + || die "sed Makefile.in failed" + sed -i \ + -e 's:/games/:/:g' configure \ + || die "sed configure failed" + epatch "../${P}"-mispellings.patch \ + "${FILESDIR}/${P}"-added_faq.patch +} + +src_compile() { + local myconf + use linguas_ja || myconf="--disable-japanese" + + tc-export CC + egamesconf \ + --with-setgid=${GAMES_GROUP} \ + `use_with X x` \ + ${myconf} \ + || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + if use linguas_ja ; then + dodoc readme.txt autopick.txt readme_eng.txt autopick_eng.txt + else + newdoc readme_eng.txt readme.txt + newdoc autopick_eng.txt autopick.txt + fi + prepgamesdirs + # FIXME: we need to patch around this BS + fperms g+w ${GAMES_DATADIR}/${PN}/lib/{apex,data,save,user} +} |