at bottom :-
Post by shirish शिरà¥à¤·at bottom :-
Post by Markus KoschanyHi,
Post by shirish शिरà¥à¤·Dear all,
Angband upstream has been quite active but for some reason the
downstream maintainer has been not :(
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799358#15 and
there has been no answer.
It would be nice if we can have the new package under the
debian-games-team banner. While I don't know any programming per-se,
am completely willing to test out any test-builds of a new angband
package to see and report if it fails somewhere.
Look forward to know more.
I agree with Tobi. Angband is a candidate for the salvaging process.
You or someone else could also update the package and ask for
sponsorship. Make your intention clear in a bug report and then just NMU
the package.
Regards,
Markus
Dear Markus,
I do not have any programming chops. I could not get it to compile
and found out on the forums from one of Debian stretch users that
because gcc use pie (for ASLR) and then saw this stackoverflow
conversation which explained what it is all about.
https://stackoverflow.com/questions/2463150/what-is-the-fpie-option-for-position-independent-executables-in-gcc-and-ld
My motivations are and were somewhat different. I was looking at
games which have been ported to libsdl2 but in Debian repo. are still
using sdl1.2 here. One of those packages turned out to be angband. I
did hear some whisperings of it being moved to SDL2 but as I can't
get it to compile cleanly can't do much about it .
But as shared am ready to test if anybody can make a debian package
out of it which fulfills Debian policy :)
there are few people who still play it
https://qa.debian.org/popcon.php?package=angband
and if somebody does package and RFS, could talk about the package in
itsfoss.com . There are people who still like both ASCII rogue-likes
and other low-poly pixel art graphic resolution games :)
Hi all,
I was talking with upstream and came to know that there was some
attempts made to do an SDL2 port -
https://github.com/NickMcConnell/angband/tree/textui2
I was able to get most of the configure script built but it fails as
it looks still for libsdl1.2
~/games/angband$ ./configure --help
`configure' configures Angband 4.0.5 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets.
Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/angband]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST]
Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-curses Enables Curses frontend (default: enabled)
--enable-x11 Enables X11 frontend (default: enabled)
--enable-sdl Enables SDL frontend (default: disabled)
--enable-win Enables Windows frontend (default: disabled)
--enable-test Enables test frontend (default: disabled)
--enable-stats Enables stats frontend (default: disabled)
--enable-sdl-mixer Enables SDL mixer sound support (default: disabled
unless SDL enabled)
--disable-ncursestest Do not try to compile and run a test
ncurses program
--disable-sdltest Do not try to compile and run a test SDL program
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-setgid=NAME install angband as group NAME
--with-private-dirs use private scorefiles/savefiles
--with-no-install don't install, just run in-place
--with-ncurses-prefix=PFX Prefix where ncurses is installed (optional)
--with-ncurses-exec-prefix=PFX Exec prefix where ncurses is
installed (optional)
--with-x use the X Window System
--with-sdl-prefix=PFX Prefix where SDL is installed (optional)
--with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
RST2HTML command for converting reStructuredText to HTML
RST2LATEX command for converting reStructuredText to LaTeX
CPP C preprocessor
MAKE Name of a make program to use
XMKMF Path to xmkmf, Makefile generator for X Window System
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations
~/games/angband$ ./configure --with-no-install --enable-sdl --enable-sdl-mixer
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for tput... /usr/bin/tput
configure: touching .deps files
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for windres... no
checking for rst2html.py... no
checking for rst2html... rst2html
checking for rst2latex.py... no
checking for rst2latex... rst2latex
checking for pdflatex... pdflatex
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for cp... /bin/cp
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for mkdir... yes
checking for setresgid... yes
checking for setegid... yes
checking for stat... yes
checking if gcc supports -Wno-missing-field-initializers... yes
checking if make supports SysV-style inclusion... yes
checking for make silent include syntax... gnu
checking for ncursesw5-config... /usr/bin/ncursesw5-config
checking for ncurses - wide char support... yes
checking for mvwaddnwstr... yes
checking for use_default_colors... yes
checking for can_change_color... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sdl-config... no
checking for SDL - version >= 1.2.10... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
checking for Mix_OpenAudio in -lSDL_mixer... no
configure: creating ./config.status
config.status: creating mk/buildsys.mk
config.status: creating mk/extra.mk
config.status: creating mk/sinclude.mk
config.status: creating src/autoconf.h
Configuration:
Install path: (not used)
binary path: ..
config path: /home/shirish/games/angband/lib/
lib path: /home/shirish/games/angband/lib/
doc path: /home/shirish/games/angband/doc/
var path: /home/shirish/games/angband/lib/
-- Frontends --
- Curses Yes
- X11 Yes
- SDL No; missing libraries
- Windows Disabled
- Test No
- Stats No
- SDL sound No; missing libraries
just to see if I was on the right branch did -
~/games/angband$ git log
commit 891dccb0ff5a61573606437b071ea3b72cfdafd6 (HEAD ->
origin/textui2, origin/textui2)
Author: Vic K <***@openmailbox.org>
Date: Sat Dec 17 18:13:51 2016 +0800
Improve comments in ui2-term.h
Don't know if this is actually an improvement... writing comments
in foreing languages is a lot more difficult than writing C :)
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8