diff options
-rw-r--r-- | debian/NEWS.Debian | 99 | ||||
-rw-r--r-- | debian/changelog | 11 | ||||
-rw-r--r-- | debian/patches/0001-debcherry-fixup-patch.patch | 6 | ||||
-rw-r--r-- | debian/patches/0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch | 4 | ||||
-rw-r--r-- | debian/patches/0003-debian-cmake-fixes-Change-install-paths-to-FHS-compl.patch | 63 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/postinst | 10 | ||||
-rwxr-xr-x | debian/rules | 8 | ||||
-rw-r--r-- | debian/tome.manpages | 1 |
9 files changed, 189 insertions, 14 deletions
diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian index 1310a36f..756269a0 100644 --- a/debian/NEWS.Debian +++ b/debian/NEWS.Debian @@ -1,3 +1,101 @@ +tome (2.3.11-ah-2) unstable; urgency=low + + T.o.M.E 2.3.10 (ah) + + User Interface: + + - Always display list of selectable objects, i.e. remove the option of + pressing '*' to hide list. + - GTK2: Allow running with Shift + arrow keys. (Thanks to Lord + Estraven.) + - SDL fixes. (Thanks to Lord Estraven.) + - System-wide character scores were removed. Use the ladder at + http://angband.oook.cz instead. + - Panic saves are no longer created. Saving state when memory is + likely corrupted seems like a bad idea. + - Remove long-obsolete front-ends. + - Unix: Removed pointless and error-prone signal handling aimed at + preventing cheating. + - Removed gamma correction. + + Game: + + - Killerbunnies: Character dump now lists companions. + - Killerbunnies: Fix dodge messages. + - Imported Theme 1.2.0 since this excellent module by Furiosity seems + to not be downloadable any more. + - Further Thaumaturgy tweaks by Lord Estraven + + T.o.M.E 2.3.9 (ah) + + User Interface: + + - Always display list of selectable objects immediately + instead of requiring user to press '*'. + - Fix display issues with extremely wide terminals. + - Automatizer: Fix memory corruption issues. + - Remove obsolete and pointless options. + + Game: + + - Items are now immediately pseudo-identified upon pickup. + - Psycometry now always Identifies regardless of level. + - Remove the need to instantly leave for a certain quest. Lots + of players would get caught out by this. + - A few Mindcraft powers now scale with skill level. (Credit + for these goes to Lord Estraven.) + - "Far reaching attack" now works for *all* polearms. + - Fixes and tweaks for Thaumaturgy to make view/area spells less + overpowered and to make bolt/ball spells more useful. (Credit + goes to Lord Estraven.) + + T.o.M.E 2.3.8 (ah) + + Game: + + - Fix duration display for the Shapeshift Mimicry power. Thanks + to morchant for the fix. + - Fix for creating "inventory" and "equipment" rules from the + Automatizer UI. Thanks to morchant for the fix. + - Fix for Lua code which should hopefully get things working better + for OpenBSD users. Thanks to Kernigh for the patch. + - Change "molten glass wall" to use a different internal code to + hopefully avoid clashes with modules such as Theme. + - Removed the check on low fuel on your light source when traveling. + It doesn't make sense since you can already travel without any light + equipped. + + T.o.M.E 2.3.7 (ah) + + - Remove item pval from antimagic field strength calculation since it + may be both non-zero and invisible (to the player). + - Miscellaneous 64 bit fixes. + - Fix Lua errors when hitting <ESC> while choosing spell. + - Killerbunnies: Automatizer: Add patch which adds new <inventory/> + and <equipment/> rules. + - Killerbunnies: Add "you do not know all your fate" to Fate menu + if you haven't been discovered all your fates. + - Killerbunnies: Display a message if trying to activate Piercing Shots + without the necessary skill levels. + + T.o.M.E 2.3.6 (ah) + + - Don't generate impassable glass walls. + - Mark *all* quest monsters properly. + - Avoid generating up staircases in selected dungeons. + - Mimicry cloaks of Abomination now aggravate properly. + - Properly handle item set effects with certain traps. + - Fix crash bug during character dumps. + - Misc. Mimicry fixes. + - Prevent immunities from Balrog Form persisting too long. + - Fix for loading/saving on Linux distribution using Fortify. + - Fix for module directory paths. + - Fix miscellaneous problems on 64-bit platforms. + - Princess room should now always be generated. + - Extra Blows applies to barehand combat too. + + -- Manoj Srivastava <srivasta@debian.org> Wed, 14 May 2014 23:56:28 -0700 + tome (2.3.1-1) unstable; urgency=low * Yet again, the save file format has changed incompatibly, requiring @@ -11,4 +109,3 @@ tome (2.3.0-1) unstable; urgency=low read by this version. -- Manoj Srivastava <srivasta@debian.org> Sun, 23 Jan 2005 10:56:42 -0600 - diff --git a/debian/changelog b/debian/changelog index 75376e20..22735270 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +tome (2.3.11-ah-2) unstable; urgency=low + + * Modified the install paths to deploy to the FHS compliant + /usr/games/tome and /var/games/tome, as we have always done + * This is a major change, and includes theming. Some of the options have + changed. Because of this, the manual page has been removed; there is a + command line help option and in game help until the manual page is + rewritten. + + -- Manoj Srivastava <srivasta@debian.org> Wed, 14 May 2014 23:54:09 -0700 + tome (2.3.11-ah-1) unstable; urgency=low * New upstream release, with minor bug fixes. diff --git a/debian/patches/0001-debcherry-fixup-patch.patch b/debian/patches/0001-debcherry-fixup-patch.patch index c60358be..28c45ba4 100644 --- a/debian/patches/0001-debcherry-fixup-patch.patch +++ b/debian/patches/0001-debcherry-fixup-patch.patch @@ -1,7 +1,7 @@ -From f15bddade628289039f9033e69004be33ad3d8ef Mon Sep 17 00:00:00 2001 +From c1f79e5b7f2dc335983ba7df981b5d45170295fb Mon Sep 17 00:00:00 2001 From: Manoj Srivastava <srivasta@golden-gryphon.com> -Date: Wed, 14 May 2014 20:41:42 -0700 -Subject: [PATCH 1/2] debcherry fixup patch +Date: Wed, 14 May 2014 23:48:09 -0700 +Subject: [PATCH 1/3] debcherry fixup patch 32318ec [master]: New upstream release - no changes against upstream or conflicts diff --git a/debian/patches/0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch b/debian/patches/0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch index e9a73c19..3cc54503 100644 --- a/debian/patches/0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch +++ b/debian/patches/0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch @@ -1,7 +1,7 @@ -From 011bb9dac928ca046774592955599bc004cb8019 Mon Sep 17 00:00:00 2001 +From 448e655d55608b18ed6e8e387d5f9c86356900c8 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava <srivasta@debian.org> Date: Tue, 21 Oct 2008 08:25:47 -0500 -Subject: [PATCH 2/2] Fix code which needed a 32 bit int to not use int/long +Subject: [PATCH 2/3] Fix code which needed a 32 bit int to not use int/long On amd64, but not on i386, tome produces LUA errors at various times. The errors occur at savefile load, when wileding a weapon, diff --git a/debian/patches/0003-debian-cmake-fixes-Change-install-paths-to-FHS-compl.patch b/debian/patches/0003-debian-cmake-fixes-Change-install-paths-to-FHS-compl.patch new file mode 100644 index 00000000..ab1799f1 --- /dev/null +++ b/debian/patches/0003-debian-cmake-fixes-Change-install-paths-to-FHS-compl.patch @@ -0,0 +1,63 @@ +From 1212be6727cfaa14760f0130cdea635c38fb523b Mon Sep 17 00:00:00 2001 +From: Manoj Srivastava <srivasta@golden-gryphon.com> +Date: Wed, 14 May 2014 23:46:05 -0700 +Subject: [PATCH 3/3] [debian-cmake-fixes]: Change install paths to FHS + compliant games + +So the binary lives in /usr/games/tome, instead of /usr/bin/tome + +Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com> +--- + CMakeLists.txt | 2 +- + src/CMakeLists.txt | 10 +++++----- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 91512a6..72cd53e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -94,7 +94,7 @@ endif(WIN32) + # Set the path for loading the library bits. + # + IF(SYSTEM_INSTALL) +- SET(DEFAULT_PATH "${CMAKE_INSTALL_PREFIX}/lib/tome") ++ SET(DEFAULT_PATH "/var/games/tome") + ELSE() + SET(DEFAULT_PATH "./lib") + ENDIF() +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index e2e6264..932fef4 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -4,9 +4,9 @@ ADD_SUBDIRECTORY(lua) + SET(SRCS + main-gcu.c main-x11.c main-xaw.c main-sdl.c main-gtk2.c + z-rand.c z-util.c z-form.c z-virt.c z-term.c +- variable.c tables.c plots.c util.c cave.c dungeon.c +- melee1.c melee2.c modules.c +- object1.c object2.c randart.c squeltch.c traps.c ++ variable.c tables.c plots.c util.c cave.c dungeon.c ++ melee1.c melee2.c modules.c ++ object1.c object2.c randart.c squeltch.c traps.c + monster1.c monster2.c monster3.c + xtra1.c xtra2.c skills.c powers.c gods.c + spells1.c spells2.c +@@ -15,7 +15,7 @@ SET(SRCS + help.c + generate.c gen_maze.c gen_evol.c wild.c levels.c store.c bldg.c + cmovie.c +- wizard2.c init2.c birth.c wizard1.c init1.c main.c ++ wizard2.c init2.c birth.c wizard1.c init1.c main.c + # Lua bits: + lua_bind.c script.c w_mnster.c w_player.c w_play_c.c w_z_pack.c + w_obj.c w_util.c w_spells.c w_quest.c w_dun.c +@@ -68,5 +68,5 @@ TARGET_LINK_LIBRARIES(tome lua ${LIBS}) + + # Installation + INSTALL(TARGETS tome +- RUNTIME DESTINATION bin ++ RUNTIME DESTINATION games + ) +-- +2.0.0.rc2 + diff --git a/debian/patches/series b/debian/patches/series index 109cd659..bb1818e2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ # exported from git by git-debcherry 0001-debcherry-fixup-patch.patch 0002-Fix-code-which-needed-a-32-bit-int-to-not-use-int-lo.patch +0003-debian-cmake-fixes-Change-install-paths-to-FHS-compl.patch diff --git a/debian/postinst b/debian/postinst index 9aba1d59..50a53dec 100755 --- a/debian/postinst +++ b/debian/postinst @@ -122,16 +122,16 @@ case "$1" in fi # create a scores file if none exists - touch /var/games/${package_name}/apex/scores.raw + test ! -d /var/games/${package_name}/apex || touch /var/games/${package_name}/apex/scores.raw # Clean up ownership chown -R root:games /var/games/${package_name}/ # Make sure the game can write the files it needs to write to - chmod -R g+w /var/games/${package_name}/user - chmod -R g+w /var/games/${package_name}/bone - chmod -R g+w /var/games/${package_name}/save - chmod -R g+w /var/games/${package_name}/apex + test ! -d /var/games/${package_name}/user || chmod -R g+w /var/games/${package_name}/user + test ! -d /var/games/${package_name}/bone || chmod -R g+w /var/games/${package_name}/bone + test ! -d /var/games/${package_name}/save || chmod -R g+w /var/games/${package_name}/save + test ! -d /var/games/${package_name}/apex || chmod -R g+w /var/games/${package_name}/apex # Activate menu-methods script ##: chmod a+x /etc/menu-methods/${package_name} diff --git a/debian/rules b/debian/rules index 92102a40..7e771906 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,10 @@ export DEB_HOST_MULTIARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_MULTIARCH) %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DSYSTEM_INSTALL:BOOL=true + override_dh_auto_build: bash -n debian/postinst bash -n debian/postrm @@ -56,11 +60,11 @@ override_dh_install: ln -s /etc/$(package)/pref . ; ) (cd $(PKG_LIBDIR); mv help $(PKG_STATLIB); \ ln -s $(PREFIX)/lib/$(package)/help . ; ) - for i in save/delete.me ; do \ + for i in save/delete.me ; do \ + mkdir -p $(PKG_LIBDIR)/save \ chmod 0644 $(PKG_LIBDIR)/$$i; \ done rm -f $(PKG_LIBDIR)/apex/scores.raw - rm -f $(PKG_LIBDIR)/apex/scores.raw find $(PKG_LIBDIR) -type f -name .cvsignore -exec rm {} \; override_dh_fixperms: diff --git a/debian/tome.manpages b/debian/tome.manpages deleted file mode 100644 index 9982ee50..00000000 --- a/debian/tome.manpages +++ /dev/null @@ -1 +0,0 @@ -src/tome.man |