summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-roguelike/hengband
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-roguelike/hengband')
-rw-r--r--games-roguelike/hengband/Manifest2
-rw-r--r--games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch163
-rw-r--r--games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch11
-rw-r--r--games-roguelike/hengband/hengband-1.6.2-r1.ebuild63
-rw-r--r--games-roguelike/hengband/metadata.xml8
5 files changed, 247 insertions, 0 deletions
diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest
new file mode 100644
index 000000000000..b01c4d65ed63
--- /dev/null
+++ b/games-roguelike/hengband/Manifest
@@ -0,0 +1,2 @@
+DIST hengband-1.6.2-mispellings.patch.gz 11964 SHA256 68139e72091e12614124bee63f5700f36a560573e98a541974836fa61a12f08d SHA512 73838981616e09deca7afc3911386e665ac38fafcdcea42d87bc41e4bc187551278efeaa608a772a444e0c178c3f990e16dd302b6a8dc6dfdd8625d463b9b3b5 WHIRLPOOL 3a9d1136bfd6af7aa310562902a150d47402aa3242dfb1dfe78b16d8925351709e4eabb0aa9c8d48d68cad68ecfd6d858b15fa13a1bce286e1ffd326268ecee6
+DIST hengband-1.6.2.tar.bz2 2029169 SHA256 72f1c8dd9365127ccd155b786d2828a19bbd0311a9d62d07bd16a22600c385b4 SHA512 24c67f00556d7899b4f18f3071c4bd50bc754566c4c4736c18248ced243b1332e6c84381250c1a59358e7a914e5d62db05c47ab0921bcf40fbd6cfe4b6717520 WHIRLPOOL 380f4494acf0038f7d0a22ac0806652ea794a3d9aecad18d23e73a9657675bf94ad55edda7d5fcbcdad022fabdb05425294cdd7fa9a5c8c2269535fcd5d41a1e
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..0e75022145cb
--- /dev/null
+++ b/games-roguelike/hengband/files/hengband-1.6.2-added_faq.patch
@@ -0,0 +1,163 @@
+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 --git a/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch b/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch
new file mode 100644
index 000000000000..47bb53cf771a
--- /dev/null
+++ b/games-roguelike/hengband/files/hengband-1.6.2-ovflfix.patch
@@ -0,0 +1,11 @@
+--- src/effects.c.old 2010-10-28 11:51:31.000000000 +0200
++++ src/effects.c 2010-10-28 11:51:59.000000000 +0200
+@@ -5191,7 +5191,7 @@
+ }
+ else
+ {
+- char buf[10];
++ char buf[15];
+
+ if (p_ptr->inside_arena)
+ #ifdef JP
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..d93f12cc4ed5
--- /dev/null
+++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils autotools 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 )"
+DEPEND="${RDEPEND}
+ X? ( x11-libs/libXt )"
+
+src_prepare() {
+ # Removing Xaw dependency as is not used
+ sed -i \
+ -e '/Xaw/d' src/main-xaw.c \
+ || die
+ sed -i \
+ -e 's|root\.|root:|' lib/*/Makefile.in \
+ || die
+ sed -i \
+ -e 's:/games/:/:g' configure.in \
+ || die
+ epatch \
+ "../${P}"-mispellings.patch \
+ "${FILESDIR}/${P}"-added_faq.patch \
+ "${FILESDIR}"/${P}-ovflfix.patch
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+ use linguas_ja || myconf="--disable-japanese"
+
+ egamesconf \
+ --with-setgid=${GAMES_GROUP} \
+ $(use_with X x) \
+ ${myconf}
+}
+
+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}
+}
diff --git a/games-roguelike/hengband/metadata.xml b/games-roguelike/hengband/metadata.xml
new file mode 100644
index 000000000000..53afe19dbddc
--- /dev/null
+++ b/games-roguelike/hengband/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge-jp">hengband</remote-id>
+ </upstream>
+</pkgmetadata>