Commit 2fca0094 authored by Oskar Skog's avatar Oskar Skog

Pre 0.2.23: files section REAMDE->HACKING; freedesktop icon installation...

Pre 0.2.23: files section REAMDE->HACKING; freedesktop icon installation GNU/BSD make issue attacked
parent e4001085
2016-08-07 Oskar Skog <[email protected]>
2016-08-08 Oskar Skog <[email protected]>
0.2.23
*: New file: HACKING
* README: Moved file listing to HACKING.
* Makefile.static: $$ doesn't work on FreeBSD's make, it needs to be
$$$$ which doesn't work on gmake. Created small shellscripts to
be invoked from make.
$$$$ which doesn't work on gmake.
- Created a small shellscript to be invoked from `make dist`.
- Hard coded the icons sizes. Ugh.
2016-07-19 Oskar Skog <[email protected]>
0.2.22
......
......@@ -4,6 +4,41 @@ hacking Anonymine, and as a maintenance manual for me.
Undocumented: test.py
Files in this package
=====================
Asterisk marks that the file will be created during building.
BUGS Known bugs, may also include descriptions of old bugs
ChangeLog --
FAQ --
INSTALL Installation instructions
* Makefile (Generated by ./configure)
Makefile.static The source file for Makefile
NEWS --
README (It's an order! :)
Windows-admin.bat Installation script for Windows (auto-fetch Cygwin)
Windows-user.bat Installation script for Windows (auto-fetch Cygwin)
Windows.txt Installation instructions for Windows
* anonymine (Generated by make)
anonymine.py The curses interface for game (interface/engine)
anonymine_engine.py The engine part of the game (interface/engine)
anonymine_fields.py Defines the minefields
anonymine_solver.py Solving algorithm
* check.py Self-tests to prevent embarrassing releases
check.sh Self-tests to prevent embarrassing releases
configure See "INSTALL"
configure.py Used internally by configure
cursescfg The configuration file for the curses interface
enginecfg The configuration file for the game's engine
install-cfg Script for installing configuration files
test.py Misc small unnecessary functions: demos, etc
desktop/ Non-essential files for the graphical environments:
FILES List of files.
README Overview of the contents of the desktop directory.
perkele/ Abandoned stuff
Game construction
=================
......
......@@ -139,10 +139,20 @@ FIELDS_DEST_OTHERVER := $(DESTDIR)$(MODULES_OTHERVER)/$(NAME)_fields.py
NO_OTHERVER := test "$(MODULES_OTHERVER)" "=" non-existent
# See desktop/README
FD_ICON_SRC := $(srcdir)desktop/$(NAME)-$$size.png
FD_ICON_DESTDIR := $(DESTDIR)$(prefix)/share/icons/hicolor/$$size/apps
FD_ICON_SIZES := 16x16 32x32 64x64 256x256
FD_ICON_DEST := $(FD_ICON_DESTDIR)/$(NAME).png
# $$size would work in gmake while $$$$size would work in BSD make.
# Neither works in both.
FD_ICON_SRC16 := $(srcdir)desktop/$(NAME)-16x16.png
FD_ICON_DESTDIR16 := $(DESTDIR)$(prefix)/share/icons/hicolor/16x16/apps
FD_ICON_DEST16 := $(FD_ICON_DESTDIR16)/$(NAME).png
FD_ICON_SRC32 := $(srcdir)desktop/$(NAME)-32x32.png
FD_ICON_DESTDIR32 := $(DESTDIR)$(prefix)/share/icons/hicolor/32x32/apps
FD_ICON_DEST32 := $(FD_ICON_DESTDIR32)/$(NAME).png
FD_ICON_SRC64 := $(srcdir)desktop/$(NAME)-64x64.png
FD_ICON_DESTDIR64 := $(DESTDIR)$(prefix)/share/icons/hicolor/64x64/apps
FD_ICON_DEST64 := $(FD_ICON_DESTDIR64)/$(NAME).png
FD_ICON_SRC256 := $(srcdir)desktop/$(NAME)-256x256.png
FD_ICON_DESTDIR256 := $(DESTDIR)$(prefix)/share/icons/hicolor/256x256/apps
FD_ICON_DEST256 := $(FD_ICON_DESTDIR256)/$(NAME).png
# See desktop/README
BUNDLE := $(DESTDIR)/Applications/$(NAME_C).app
......@@ -200,10 +210,14 @@ install : check-install-cfg install-dirs
@if [ -n "$(freedesktop)" ]; then \
$(info) 'Installing icons and .desktop (NORMAL_INSTALL)'; \
$(INSTALL) -m 644 "$(FD_DESKTOP_STAGE)" "$(FD_DESKTOP_DEST)"; \
for size in $(FD_ICON_SIZES); do \
$(INSTALL) -d "$(FD_ICON_DESTDIR)"; \
$(INSTALL) -m 644 "$(FD_ICON_SRC)" "$(FD_ICON_DEST)"; \
done; \
$(INSTALL) -d "$(FD_ICON_DESTDIR16)"; \
$(INSTALL) -m 644 "$(FD_ICON_SRC16)" "$(FD_ICON_DEST16)"; \
$(INSTALL) -d "$(FD_ICON_DESTDIR32)"; \
$(INSTALL) -m 644 "$(FD_ICON_SRC32)" "$(FD_ICON_DEST32)"; \
$(INSTALL) -d "$(FD_ICON_DESTDIR64)"; \
$(INSTALL) -m 644 "$(FD_ICON_SRC64)" "$(FD_ICON_DEST64)"; \
$(INSTALL) -d "$(FD_ICON_DESTDIR256)"; \
$(INSTALL) -m 644 "$(FD_ICON_SRC256)" "$(FD_ICON_DEST256)"; \
fi
@if [ -n "$(macosx)" ]; then \
$(info) 'Installing app/bundle'; \
......@@ -298,8 +312,10 @@ print-destinations: FORCE
@echo "Highscores file: " $(HISCORE_FILE)
@if [ -n "$(freedesktop)" ]; then \
echo "[freedesktop.org] .desktop:" $(FD_DESKTOP_DEST); \
for size in $(FD_ICON_SIZES); do \
echo "[freedesktop.org] Icon: " $(FD_ICON_DEST); \
echo "[freedesktop.org] Icon: " $(FD_ICON_DEST16); \
echo "[freedesktop.org] Icon: " $(FD_ICON_DEST32); \
echo "[freedesktop.org] Icon: " $(FD_ICON_DEST64); \
echo "[freedesktop.org] Icon: " $(FD_ICON_DEST256); \
done; \
fi
@if [ -n "$(macosx)" ]; then \
......
......@@ -7,7 +7,7 @@ Apart from being solvable without guessing, anonymine:
- can use traditional Moore neighbourhoods (8 neighbours per cell),
- a hexagonal field (6 neighbours per cell)
- or von Neumann neighbourhoods (4 neighbours per cell).
- The anonymine_solver module can also be used to "measure the difficulty"
of a field.
......@@ -44,7 +44,7 @@ Tested platforms
CPython 2.6.6 is lowest version of Python that has been tested.
Platform Notes
Platform Notes
-------- -----
Cygwin on NT 6.1 [Py 2] Don't resize the terminal!
Debian 7
......@@ -71,37 +71,3 @@ Goals
0.5 Create a statistics collection module.
0.6 Good documentation for the solver algorithm.
Files in this package
=====================
Asterisk marks that the file will be created during building.
BUGS Known bugs, may also include descriptions of old bugs
ChangeLog --
FAQ --
INSTALL Installation instructions
* Makefile (Generated by ./configure)
Makefile.static The source file for Makefile
NEWS --
README (It's an order! :)
Windows-admin.bat Installation script for Windows (auto-fetch Cygwin)
Windows-user.bat Installation script for Windows (auto-fetch Cygwin)
Windows.txt Installation instructions for Windows
* anonymine (Generated by make)
anonymine.py The curses interface for game (interface/engine)
anonymine_engine.py The engine part of the game (interface/engine)
anonymine_fields.py Defines the minefields
anonymine_solver.py Solving algorithm
* check.py Self-tests to prevent embarrassing releases
check.sh Self-tests to prevent embarrassing releases
configure See "INSTALL"
configure.py Used internally by configure
cursescfg The configuration file for the curses interface
enginecfg The configuration file for the game's engine
install-cfg Script for installing configuration files
test.py Misc small unnecessary functions: demos, etc
desktop/ Non-essential files for the graphical environments:
FILES List of files.
README Overview of the contents of the desktop directory.
perkele/ Abandoned stuff
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment