summaryrefslogtreecommitdiff
path: root/games-roguelike/hengband
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-roguelike/hengband
reinit the tree, so we can have metadata
Diffstat (limited to 'games-roguelike/hengband')
-rw-r--r--games-roguelike/hengband/Manifest8
-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.ebuild62
-rw-r--r--games-roguelike/hengband/metadata.xml11
5 files changed, 255 insertions, 0 deletions
diff --git a/games-roguelike/hengband/Manifest b/games-roguelike/hengband/Manifest
new file mode 100644
index 000000000000..255e00cbe3ef
--- /dev/null
+++ b/games-roguelike/hengband/Manifest
@@ -0,0 +1,8 @@
+AUX hengband-1.6.2-added_faq.patch 6371 SHA256 0c8c47e686575791f02432267d9d96d8d4a6d2869cb7cd3a2b49a53cc97b6150 SHA512 254283e117f6bf7d050ec152d7bb04cdcbd23235f56da8ed8aa587e23ef21de0a556cac4027e8a3b0fa32d66448c96ac18e9e76d242b9d1a921befcaf78195a1 WHIRLPOOL ac34a2959827ddfd9c69708c90dd5b5140518d3aa30dae8509528dd2800620e1c7e29a64bc407501f340bddfb40710bbc5347e704bbca69ee389f63739af5f90
+AUX hengband-1.6.2-ovflfix.patch 236 SHA256 789b6b89811fefc68b39ed111e43d576aeaf09439ff47c83f4060102e1f609a4 SHA512 0e51671bce72cd0ab1109111556bfda71ef043475c033548ffd5873d9329597e705b9e6459d5e95369df5f5501e2553f9109622d522534ea43f787087160e3cf WHIRLPOOL 13e72c1378421d6972275fd72643bef4c63efd3ea8eaadf5387a26f8c41bb1a9fdde72b0c258bd8ea8697b09d084f04055cc11f4ea9e869410183a6ab3060d9d
+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
+EBUILD hengband-1.6.2-r1.ebuild 1452 SHA256 790a92499b482ac524a85e2ddbcc9e550c7fd873a94c38f14fe51cbc6066f97b SHA512 0671050282de91422332060f115e41d7c2fcf87069224a20b19ef540bdcee846dd9778bd932d5ab57a467c229e57d277ee42d76daa3b362e8af145579090067c WHIRLPOOL 8838710669af2717449ff442a3cc98fd05bd58688862c3257b0e573699357dff284e84a5b124f82516d4d96a1740c76c26b6fa406da138e6752d5a6a7dc29e0a
+MISC ChangeLog 2816 SHA256 21f391c66fd2b39334c00900c5f7c23b7f07d9ca445715f26dd43e4b89a28f58 SHA512 5ba99fe98cb9a75fa542d93cfb030e3740b5a584b7bdcbb371e2fc6543c91391385a9b0282323ed3d0f96188c72dced6b3ab072e881b484998793176aa73877c WHIRLPOOL 4df34e440fe6bb18a997022d976c8c10e97fe4bdeead25c19730c9a7958a0cb2aaa105f1a9035570e2119e4b36f0c55ce81c2b61040df354b8c062579ebf71df
+MISC ChangeLog-2015 2094 SHA256 a84113d255d080ab467bde5a7fc805bbd2aa3ce5341304a4fb4bf69e2d3cf08a SHA512 4345b4c3411cede006d61f184d664282f3456783d085ad8b0a10fab2d6cb060ddc204f7cafb81faf1dc9b6391998225abbb4d02a8ccc7ce9a75a4bfb1df4a3cc WHIRLPOOL f92cac2e45752352d6b74bc8f0455e35ab7f13b2beab9d01cbb1484d63c48523cf3a0ed86adf78481fcd41eb798c33963e03578a1b6e00a2c9297da8efa4472c
+MISC metadata.xml 334 SHA256 de318498c0b82670adf2f6cb35500676eb5ce6f0e06adce445f78a71c4425551 SHA512 ec8a4116d1ad2f15b2dad0148f912da9123d937cd724eaac00ff20541d64b7ac37190f617b8e82376c571a47cb6b886fc269a477c2c6b4aaa0859204f716add9 WHIRLPOOL fec66c37d3ff917475c70c3b2c99a2e9269c2058c6eebb15c65f2c53a5fec770b57e86dcabf44d77a519af8674e2dd078353434b77a93bfb2af081adc898626b
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..8a4ef4846c0e
--- /dev/null
+++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="x86 ~x86-fbsd"
+LICENSE="Moria"
+SLOT="0"
+IUSE="X l10n_ja"
+
+RDEPEND=">=sys-libs/ncurses-5:0
+ 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 l10n_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 l10n_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..4ced683a10c0
--- /dev/null
+++ b/games-roguelike/hengband/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge-jp">hengband</remote-id>
+ </upstream>
+</pkgmetadata>