debian/0000755000000000000000000000000011765342216007175 5ustar debian/patches/0000755000000000000000000000000011765341406010624 5ustar debian/patches/series0000644000000000000000000000002111765336314012034 0ustar buildsystem.diff debian/patches/buildsystem.diff0000644000000000000000000000641311765341406014026 0ustar frotz has a slightly odd buyild system, these changes allow using it with debhelper --- a/Makefile +++ b/Makefile @@ -1,30 +1,31 @@ # Define your C compiler. I recommend gcc if you have it. # MacOS users should use "cc" even though it's really "gcc". # -CC = gcc +#CC = gcc #CC = cc # Define your optimization flags. Most compilers understand -O and -O2, # Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.) # -OPTS = -O2 +OPTS = -O2 $(shell dpkg-buildflags --get CFLAGS) # Pentium with gcc 2.7.0 or better #OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \ #-malign-jumps=2 # Define where you want Frotz installed. Usually this is /usr/local -PREFIX = /usr/local +PREFIX ?= /usr/local -MAN_PREFIX = $(PREFIX) -#MAN_PREFIX = /usr/local/share +#BINDIR = $(PREFIX)/bin +BINDIR ?= $(PREFIX)/games -CONFIG_DIR = $(PREFIX)/etc -#CONFIG_DIR = /etc +MAN_PREFIX ?= $(PREFIX)/share +#MAN_PREFIX = /usr/local/share # Define where you want Frotz to look for frotz.conf. # -CONFIG_DIR = /usr/local/etc +CONFIG_DIR ?= $(PREFIX)/etc +#CONFIG_DIR = /usr/local/etc #CONFIG_DIR = /etc #CONFIG_DIR = /usr/pkg/etc #CONFIG_DIR = @@ -32,7 +33,7 @@ # Uncomment this if you want color support. Most, but not all curses # libraries that work with Frotz will support color. # -COLOR_DEFS = -DCOLOR_SUPPORT +COLOR_DEFS ?= -DCOLOR_SUPPORT # Uncomment this if you have an OSS soundcard driver and want classical # Infocom sound support. @@ -47,7 +48,7 @@ # Define your sound device # This should probably be a command-line/config-file option. # -#SOUND_DEV = /dev/dsp +SOUND_DEV = /dev/dsp #SOUND_DEV = /dev/sound #SOUND_DEV = /dev/audio @@ -164,7 +165,7 @@ $(NAME)-curses: soundcard.h $(COMMON_TARGET) $(CURSES_TARGET) $(CC) -o $(BINNAME)$(EXTENSION) $(TARGETS) $(LIB) $(CURSES) \ - $(SOUND_LIB) + $(SOUND_LIB) $(shell dpkg-buildflags --get LDFLAGS) all: $(NAME) d$(NAME) @@ -172,7 +173,7 @@ d$(NAME): $(NAME)-dumb $(NAME)-dumb: $(COMMON_TARGET) $(DUMB_TARGET) $(CC) -o d$(BINNAME)$(EXTENSION) $(COMMON_TARGET) \ - $(DUMB_TARGET) $(LIB) + $(DUMB_TARGET) $(LIB) $(shell dpkg-buildflags --get LDFLAGS) .SUFFIXES: .SUFFIXES: .c .o .h @@ -213,27 +214,29 @@ fi install: $(NAME) - strip $(BINNAME)$(EXTENSION) - install -d $(PREFIX)/bin + # in the debian build stripping is done at a later stage + #strip $(BINNAME)$(EXTENSION) + install -d $(BINDIR) install -d $(MAN_PREFIX)/man/man6 - install -c -m 755 $(BINNAME)$(EXTENSION) $(PREFIX)/bin + install -c -m 755 $(BINNAME)$(EXTENSION) $(BINDIR) install -c -m 644 doc/$(NAME).6 $(MAN_PREFIX)/man/man6 uninstall: - rm -f $(PREFIX)/bin/$(NAME) + rm -f $(BINDIR)/$(NAME) rm -f $(MAN_PREFIX)/man/man6/$(NAME).6 deinstall: uninstall install_dumb: d$(NAME) - strip d$(BINNAME)$(EXTENSION) - install -d $(PREFIX)/bin + # in the debian build stripping is done at a later stage + #strip d$(BINNAME)$(EXTENSION) + install -d $(BINDIR) install -d $(MAN_PREFIX)/man/man6 - install -c -m 755 d$(BINNAME)$(EXTENSION) $(PREFIX)/bin + install -c -m 755 d$(BINNAME)$(EXTENSION) $(BINDIR) install -c -m 644 doc/d$(NAME).6 $(MAN_PREFIX)/man/man6 uninstall_dumb: - rm -f $(PREFIX)/bin/d$(NAME) + rm -f $(BINDIR)/d$(NAME) rm -f $(MAN_PREFIX)/man/man6/d$(NAME).6 deinstall_dumb: uninstall_dumb debian/docs0000644000000000000000000000016011765335603010047 0ustar AUTHORS BUGS DUMB HOW_TO_PLAY debian/INSTALLING_GAMES PACKAGING PORTING README README.1st SPEECH TODO frotz.lsm debian/control0000644000000000000000000000162111765340004010571 0ustar Source: frotz Section: games Priority: optional Maintainer: Robert Lemmen Build-Depends: debhelper (>= 8), libncurses5-dev Standards-Version: 3.9.3 Package: frotz Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Provides: zcode-interpreter Conflicts: zcode-support Replaces: zcode-support Homepage: http://frotz.sourceforge.net/ Description: interpreter of Z-code story-files Frotz interprets Z-code story-files, which are usually text adventure games (although a few arcade-style Z-code games have been written). Examples of such story files include the adventure games published by Infocom, as well as any games produced by compilers to this format, such as Inform. You can find a number of Inform-compiled games up for anonymous FTP at ftp://ftp.ifarchive.org/ or HTTP at http://www.ifarchive.org/ . Frotz complies with the Z Machine specification version 1.0. debian/compat0000644000000000000000000000000211765335446010402 0ustar 8 debian/changelog0000644000000000000000000001426011765342216011052 0ustar frotz (2.43-4) unstable; urgency=low * Update upstream homepage (closes: #650257) * Converted to quilt source format and new policy -- Robert Lemmen Mon, 11 Jun 2012 10:07:24 +0100 frotz (2.43-3) unstable; urgency=low * Updated debhelper, standards-version and watch file -- Robert Lemmen Thu, 12 Mar 2009 19:31:39 +0000 frotz (2.43-2) unstable; urgency=low * Taking over package (closes: #483582) * Changed watch file to use current homepage (closes: #449905) * Added homepage field to control file * Removed suggests and references to int-fiction-installer (closes: #461594) * Fixed and cleaned up debian/rules * Support nostrip build option (closes: #436874) * Included actual copyright statement in debian/copyright * Bumped standards-version -- Robert Lemmen Mon, 16 Jun 2008 20:22:30 +0100 frotz (2.43-1) unstable; urgency=low * New upstream release. (closes: #184758) * New release fixes the ctrl-space bug. (closes: #90854) * Adopted. (closes: #201407) * Updated links to if-archive. (closes: #115809) * Repackaged using debhelper * Set default zcode_path in system-wide config file * Suggest int-fiction-installer -- Hans Fugal Wed, 16 Jul 2003 07:28:17 -0600 frotz (2.40-3) unstable; urgency=low * Don't compile in sound support on the Hurd. Closes: bug 99790. -- Charles Briscoe-Smith Mon, 4 Jun 2001 15:18:32 +0100 frotz (2.40-2) unstable; urgency=low * Rebuild against libncurses5. Closes:bug#92509. * Work around dpkg-shlibdeps bug by running dpkg-shlibdeps as root. Closes:Bug#90699. * Edit down the upstream INSTALL file and install it in /usr/share/doc/frotz as "INSTALLING.GAMES". -- Charles Briscoe-Smith Wed, 9 May 2001 12:29:36 +0100 frotz (2.40-1) unstable; urgency=low * New upstream release. (Closes:Bug#77358). * Moved to "main"; Frotz is now GPLed! * Ported old Debian patches to the new release. * Default name for saved games now has ".frotz" if Frotz's old save format is in use (-Q on command line) or ".sav" if Quetzal is being used (the default). * Updated to policy version 3.2.1. * Removed conflicts against ancient versions of some zcode games. * Bumped up frotz's alternatives priority a bit, so that it's definitely preferred over jzip. This should be okay now that frotz is free. (Closes:Bug#53430). * Comply with the FHS. * Built against libncurses5. (Closes:Bug#69700). -- Charles Briscoe-Smith Tue, 2 Jan 2001 17:22:28 +0000 frotz (2.32r2-12) frozen unstable; urgency=low * Recompile to fix dependencies. Now depends on libc6, with no version requirement. -- Charles Briscoe-Smith Fri, 11 Dec 1998 19:20:52 +0000 frotz (2.32r2-11) frozen unstable; urgency=low * Recompile against libncurses4. -- Charles Briscoe-Smith Fri, 6 Nov 1998 03:13:06 +0000 frotz (2.32r2-10) frozen unstable; urgency=low * By default, saved games now go into ~/.infocom with extension ".frotz". (Fixes:bug#21054) -- Charles Briscoe-Smith Wed, 13 May 1998 21:44:52 +0100 frotz (2.32r2-9) frozen unstable; urgency=low * Move /usr/bin/zcode-interpreter to /usr/games. * Add some jiggery-pokery to maintainer scripts to clean up the mess the zcode-interpreter alternatives were in. -- Charles Briscoe-Smith Tue, 7 Apr 1998 22:26:06 +0100 frotz (2.32r2-8) frozen unstable; urgency=low * Doh! I'd moved the binary from /usr/bin to /usr/games, but didn't update the alternatives to match. Fixed. -- Charles Briscoe-Smith Mon, 6 Apr 1998 22:44:15 +0100 frotz (2.32r2-7) frozen unstable; urgency=low * Moved frotz from /usr/bin to /usr/games. (Fixes:bug#19730) Technically, frotz is a virtual machine interpreter, not a game, but most people are likely to look for it in /usr/games first. -- Charles Briscoe-Smith Sat, 28 Mar 1998 11:48:46 +0000 frotz (2.32r2-6) unstable; urgency=low * Remove dpkg-geninfo from debian directory and remove call to it from debian/rules following debian-policy discussion on `md5sums' and `du' files. * Stripped /usr/bin/frotz. -- Charles Briscoe-Smith Thu, 12 Mar 1998 01:56:53 +0000 frotz (2.32r2-5) unstable; urgency=low * Removed conflict against the (as yet) nonexistant "tatctae". -- Charles Briscoe-Smith Thu, 12 Feb 1998 22:58:06 +0000 frotz (2.32r2-4) unstable; urgency=low * Updated due to obsoletion of the `zcode-support' package. Use update-alternatives method instead. * Conflict and replace zcode-support. * Actually install the man page. (Oops.) * Updated to standards-version 2.4.0.0. No changes necessary. * Use new maintainer email address . * New version of generic debian/rules, together with dpkg-geninfo. New debian/process based on old debian/rules. -- Charles Briscoe-Smith Sun, 8 Feb 1998 21:41:57 +0000 frotz (2.32r2-3) unstable; urgency=low * Updated for libc6. (Actually, nothing in the source changed; this is just a recompile.) -- Charles Briscoe-Smith Tue, 11 Nov 1997 02:47:22 +0000 frotz (2.32r2-2) unstable; urgency=low * Increased TEXT_BUFFER_SIZE in frotz.h from 200 to 500; some zcode files overflowed the smaller buffer. -- Charles Briscoe-Smith Sun, 26 Oct 1997 19:41:47 +0000 frotz (2.32r2-1) unstable; urgency=low * New upstream source. * Added clean target in Makefile, which seems to have dropped out of the upstream sources. * No longer change INFOCOM_PATH to ZCODE_PATH. -- Charles Briscoe-Smith Mon, 20 Oct 1997 21:49:57 +0100 frotz (2.01-2) unstable; urgency=low * Corrected typo of standards-version in debian/control. * Updated prerm script which was left over from the previous `infocom-support' incarnation of this package. -- Charles Briscoe-Smith Sun, 15 Jun 1997 00:57:52 +0100 frotz (2.01-1) unstable; urgency=low * First Debian version. -- Charles Briscoe-Smith Thu, 12 Jun 1997 15:01:27 +0100 debian/copyright0000644000000000000000000000315111765335613011133 0ustar This package was debianized by Hans Fugal on Wed, 16 Jul 2003 17:48:37 -0600. It was downloaded from http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-2.43.tar.gz The previous debianization by Charles Briscoe-Smith was used as a reference in creating this package. Frotz was written by Stefan Jokisch , and ported to Unix by Galen Hazelwood . Frotz is now maintained by Jim Dunleavy and David Griffith (David also maintains the Unix port). Copyright (C) 1995-2002 Stefan Jokisch, Galen Hazelwood, David Griffith et al FROTZ V2.43 - An interpreter for all Infocom and other Z-Machine games. Complies with standard 1.0 of Graham Nelson's specification. Frotz is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Frotz is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. See AUTHORS.gz in this directory for acknowledgements. A copy of the GNU GPL is available in /usr/share/common-licenses/GPL on any recent Debian system. debian/watch0000644000000000000000000000027011765337561010234 0ustar version=2 #http://www.cs.csubak.edu/~dgriffi/proj/frotz/ files/frotz-(.*)\.tar\.gz #http://frotz.homeunix.org/frotz/ files/frotz-(.*)\.tar\.gz http://sf.net/frotz/frotz-(.*)\.tar\.gz debian/README.Debian0000644000000000000000000000124111765335552011241 0ustar Frotz for Debian ---------------- The Debian version of Frotz creates the directory $HOME/.infocom to place saved games into. The default name for saved games is $HOME/.infocom/.sav, where is the stem of the name of the game file. The system-wide configuration file for Frotz in Debian is /etc/frotz.conf. The default zcode_path in /etc/frotz.conf is /usr/share/games/zcode; this works well with int-fiction-installer. The package int-fiction-installer, which could be used to install games from the if-archive in a manner similar to apt-get, is no longer available. Please see INSTALLING_GAMES for a description on how to get and install games. debian/rules0000755000000000000000000000025311765341305010253 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_install: $(MAKE) PREFIX=$$(pwd)/debian/frotz/usr install debian/INSTALLING_GAMES0000644000000000000000000000556211765337336011517 0ustar ======================================== Installing and playing games on Frotz || ======================================== If you're unfamiliar with Infocom-style text adventures, you should probably stop here and read the file HOW_TO_PLAY. Then come back and continue. Now that you have Frotz installed, you'll probably want to play some of those ultra-nifty text adventures on it. These games come in files which are compiled programs that run on the Z-machine, which interpreters like Frotz emulate. The best-stocked archive of freeware games for use on Z-machine interpreters is the Interactive Fiction Archive at http://www.ifarchive.org. There are several mirrors of the archive all over the world listed there. Here are direct URLs to the zcode directories: http://www.ifarchive.org/indexes/if-archiveXgamesXzcode.html ftp://ftp.ifarchive.org/if-archive/games/zcode Here is the scheme I use for organizing my Zcode games: /usr/local/share/zcode This contains games written after the demise of Infocom. Most are freeware. /home/dave/.zcode I sometimes put games here too. /usr/local/share/zcode/infocom This is where I keep my collection of genuine Infocom games. /usr/local/share/zcode/infocom/sound Soundfiles from "Lurking Horror" and "Sherlock" go here. /usr/local/share/zcode/infocom/graphics Graphics files from Zork 0, Arthur, Shogun, and Journey go here. I add this command to my .profile file: export ZCODE_PATH="/usr/local/share/zcode: \ /usr/local/share/zcode/infocom:$HOME/.zcode Now, when I want to play Zork I, I will type "frotz zork1.dat" at the command prompt. Then I will then be told I am standing in an open field west of a white house which has a boarded front door. You can also just give a path to the game file. When you save your game, all save files are put in the current directory unless you specify a full path. Please name your saves intelligently. You MUST put sound and graphics in directories named "sound" and "graphics" in the same directory as the gamefile. Yes, this is a bit confusing. That's why Blorb will be so wonderful when Unix Frotz supports it. You'll probably want to make use of Frotz's new config file functionality. The options in the config file mirror the command line options and free you from having to remember to add something like "-Z0" to get rid of complaints about buggy zcode or if you want to always play with white text on black at a Linux console (instead of white on blue). Sample config files are included here as "frotz.conf-big" (which lists all possible options) and "frotz.conf-small" (a shortened one listing the more commonly-used options). The Makefile defines where Frotz will look for the frotz.conf file. By default, this is /usr/local/etc and can be changed at compile time if you like. This file will be read if Frotz notices you don't have a config file of your own in "$HOME/.frotzrc". debian/source/0000755000000000000000000000000011765335446010504 5ustar debian/source/format0000644000000000000000000000001411765335446011712 0ustar 3.0 (quilt)