Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2005-05-06 23:26:13 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2005-05-06 23:26:13 (GMT)
commitdaa29c161367c0b6e9a527aaa83e913b2cc902d4 (patch)
tree85cd26455029350c32377d9181b4591a71a9c65f
parent022d9c5e7812ef65218746bc848e223a2f3c5930 (diff)
updated now the installer works. There is still a major problem with
* README.mingw: updated * src/gcompris/Makefile.mingw: now the installer works. There is still a major problem with bonuses not working on windows.
-rw-r--r--ChangeLog6
-rw-r--r--README.mingw20
-rw-r--r--src/gcompris/Makefile.mingw8
3 files changed, 21 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index d178947..581459b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-07 Bruno coudoin <bruno.coudoin@free.fr>
+
+ * README.mingw: updated
+ * src/gcompris/Makefile.mingw: now the installer works.
+ There is still a major problem with bonuses not working on windows.
+
2005-05-03 Bruno coudoin <bruno.coudoin@free.fr>
Due to the need to support second grade operating sytem that does
diff --git a/README.mingw b/README.mingw
index 1112831..fa5e76a 100644
--- a/README.mingw
+++ b/README.mingw
@@ -58,19 +58,15 @@ hierarchy make sure to tweak your .profile.
3: BUILDING GCOMPRIS.EXE
========================
* Get a tarball or CVS snapshot of gcompris.
-* run ./autogen.sh from gcompris's top-level directory. This will take a long time.
-* copy the provided config.h.windows to config.h
-* convert all src/boards/*.c files from dynamic plugin naming to static plugin using
- the provided tool src/boards/boards2static.pl. To do this:
- cd src/boards/
- mkdir static
- ./boards2static.pl
- mv static/*.c .
-* Go back to the top-level directory
+* run make -f Makefile.mingw from gcompris's top-level directory. This will take a long time.
+* copy an installed GCompris boards directory in win32-install-dir
+ /usr/local/share/gcompris/boards in win32-install-dir/share/gcompris/boards
+ /usr/local/share/assetml in win32-install-dir/share/assetml
+ /usr/local/share/locale in win32-install-dir/share/locale
+ /usr/local/share/pixmaps in win32-install-dir/share/pixmaps
+ Cleanup to have only GCompris specific file.
* *drum roll...* make!
-* edit the Makefile manualy to add includes and library dependancies when missing
-* copy the share directory that is created at the gcompris binary installation in
- src/gcompris in order to have src/gcompris/share
+* edit the Makefile.mingw manualy to add includes and library dependancies when missing
* run ./gcompris.exe
APPENDIX: MY .profile
diff --git a/src/gcompris/Makefile.mingw b/src/gcompris/Makefile.mingw
index 01c5295..ef8daec 100644
--- a/src/gcompris/Makefile.mingw
+++ b/src/gcompris/Makefile.mingw
@@ -100,7 +100,9 @@ EXE_C_SRC = \
assetml.c \
anim.c
-EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o)
+RC_SRC = gcomprisrc.rc
+
+EXE_OBJECTS = $(EXE_C_SRC:%.c=%.o) $(RC_SRC:%.rc=%.o)
##
## LIBRARIES
@@ -136,6 +138,10 @@ EXE_LIBS = ../boards/libboards.a \
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDE_PATHS) $(DEFINES) -c $< -o $@
+# How to make an RC file
+%.o: %.rc
+ windres -i $< -o $@
+
##
## TARGET DEFINITIONS
##