tUpdate installation instructions - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit bc17737725124be0cfc5eecf37e72d8631615117
parent 22ee3840b7a4e08b7afb78b141e081f31f3f1968
Author: Ben Webb 
Date:   Sat,  5 Dec 2020 01:52:06 -0800

Update installation instructions

Diffstat:
  M INSTALL                             |      83 ++++---------------------------

1 file changed, 9 insertions(+), 74 deletions(-)
---
diff --git a/INSTALL b/INSTALL
t@@ -7,55 +7,15 @@ the GTK+ client. Other libraries may be required for additional features:-
 Unix/Linux:
    - Get GLib from http://www.gtk.org/
    - For the GTK+ client, GTK+ libraries are needed, also from
-     http://www.gtk.org/. To actually compile dopewars, you'll probably need
-     your distribution's "gtk-devel" package.
+     http://www.gtk.org/ (GTK+2 and GTK+3 are supported). To actually
+     compile dopewars, you'll probably need your distribution's
+     "gtk-devel" package.
    - For the curses client, curses, ncurses or libcurses_color libraries
      and headers are required.
 
 Windows:
-   - Get Cygwin from http://www.cygwin.com/. It should be possible to build
-     dopewars with C compilers other than Cygwin, but this is not supported.
-     Make sure that when you install Cygwin you select the following packages
-     for installation:
-         pkgconfig gettext libiconv w32api mingw-runtime gcc make bash unzip
-   - If you want to build from CVS, you will also need the following:-
-         autoconf automake gettext-devel
-   - dopewars requires GLib for Win32, which in turn requires libintl and
-     libiconv. Links to the binary distributions of these can be found at
-     http://www.gimp.org/win32/downloads.html. (You can also build them from
-     the source code, but this is not described here.) The binary packages
-     that you will need are:
-         glib-2.4.7.zip
-         glib-dev-2.4.7.zip
-         libiconv-1.9.1.bin.woe32.zip
-         gettext-0.14.5.zip
-         gettext-dev-0.14.5.zip
-     Later versions of any of these packages should also work. Note that the
-     libintl and libiconv Cygwin packages will NOT suffice here.
-   - These packages need to be installed on your Cygwin system under /target,
-     so start a Cygwin shell, and execute something similar to the following:
-         mkdir -p /target
-         cd /target
-         unzip /glib-2.4.7.zip
-         unzip /glib-dev-2.4.7.zip
-         unzip /gettext-0.14.5.zip
-         unzip /gettext-dev-0.14.5.zip
-         unzip /libiconv-1.9.1.bin.woe32.zip
-   - In order for pkg-config to detect the installed packages, you need
-     to put their .pc files (in /target/lib/pkgconfig) in the pkgconfig
-     search path. One way of doing this is with the following command:
-         ln -s /target/lib/pkgconfig /lib/pkgconfig
-   - In order for the configure script to properly detect libintl, it needs to
-     be placed in the include path:
-         ln -s /target/include/libintl.h /usr/include/mingw
-   - Finally, in order for GLib applications such as dopewars to work, the
-     libintl, libiconv and libglib DLLs need to be in the Windows library
-     search path. You can either copy them into the dopewars directory, or
-     place them somewhere such as C:\WINNT\System32, either with Windows
-     Explorer or with a Cygwin command such as:
-         cd /target
-         cp bin/intl.dll bin/iconv.dll \
-            bin/libglib-2.0-0.dll /cygdrive/c/winnt/system32
+   - dopewars can be built via cross-compilation using MinGW. See
+     the win32 directory for more information.
 
 
 INSTALLATION
t@@ -67,26 +27,13 @@ dopewars installation should require no more than the following:-
         make
         make install
 
-(To build a CVS version, you must have the automake and autoconf packages
+(To build a version from git, you must have the automake and autoconf packages
 installed. Run ./autogen.sh instead of ./configure - this generates the
 Makefiles and configure script. You will also need the gettext package if
 you want to enable NLS support, in order to generate the necessary .po files.)
 
 The configure script checks to see if your system is a "normal" Unix or the
-Unix-under-Win32 "Cygwin" environment. On a Cygwin system, the default is to
-build a native Win32 binary with the Cygwin tools; this will then run without
-requiring the presence and performance penalty of the CYGWIN.DLL library. This
-test can be overridden (if, for example, you wanted to build the Unix version
-under Cygwin) with the --enable-nativewin32 option to configure e.g.
-
-to build the Win32 binary under Cygwin
-        ./configure
-        (Cygwin should be automatically detected)
-or
-        ./configure --enable-nativewin32
-
-to build the Unix version under Cygwin
-        ./configure --disable-nativewin32
+cross-compile for Windows (MinGW) environment.
 
 For a smaller binary, you may wish to build a "stripped" binary by specifying
 the -s option in LDFLAGS. In a Bourne-compatible shell, this can be achieved
t@@ -99,8 +46,8 @@ translations, documentation, sounds and graphics are installed in the
 locale, doc, dopewars and pixmaps directories respectively under
 /usr/local/share. (On Windows systems, these directories are under the
 current directory.) On Unix systems, you can move the score file with the
---localstatedir flag to configure, and the other files with the --datadir
-flag. (On Win32 systems, the --localstatedir and --datadir flags are
+--localstatedir flag to configure, the sounds with the --datadir flag, and
+the documentation with the --docdir flag. (On Win32 systems, these flags are
 ignored.) The dopewars binary can also be moved from /usr/local/bin/dopewars
 with the --bindir flag. For example:-
 
t@@ -139,18 +86,6 @@ simple text-mode server is used instead).
 extra warning messages (useful for debugging, etc.) Unfortunately a lot of
 these warnings can be safely ignored, so this is not the default.
 
-WIN32 INSTALLER
-===============
-
-In order to build the Win32 installer program for dopewars, place the
-libbzip2 source code (from http://sources.redhat.com/bzip2/) into
-win32/bzlib, and build it with
-
-    make -f Makefile.nocygwin
-
-Then you should be able to build setup.exe by simply executing "make" in
-the win32 directory.
-
 Basic Installation
 ==================