[gnome-games] gnibbles: Relayout into src data directories
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnibbles: Relayout into src data directories
- Date: Fri, 9 Dec 2011 02:40:32 +0000 (UTC)
commit f303abbed3c3626eb02112424ab1e254f208f7c6
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Dec 9 13:40:26 2011 +1100
gnibbles: Relayout into src data directories
configure.in | 7 +-
gnibbles/AUTHORS | 2 -
gnibbles/ChangeLog.old | 1212 --------------------
gnibbles/Makefile.am | 130 +---
gnibbles/data/Makefile.am | 38 +
gnibbles/{ => data}/gnibbles-logo.svg | 0
gnibbles/{ => data}/gnibbles.6 | 0
gnibbles/{ => data}/gnibbles.desktop.in.in | 0
gnibbles/{ => data}/gnibbles.schemas.in | 0
gnibbles/data/levels/Makefile.am | 33 +
gnibbles/{ => data/levels}/level001.gnl | 0
gnibbles/{ => data/levels}/level002.gnl | 0
gnibbles/{ => data/levels}/level003.gnl | 0
gnibbles/{ => data/levels}/level004.gnl | 0
gnibbles/{ => data/levels}/level005.gnl | 0
gnibbles/{ => data/levels}/level006.gnl | 0
gnibbles/{ => data/levels}/level007.gnl | 0
gnibbles/{ => data/levels}/level008.gnl | 0
gnibbles/{ => data/levels}/level009.gnl | 0
gnibbles/{ => data/levels}/level010.gnl | 0
gnibbles/{ => data/levels}/level011.gnl | 0
gnibbles/{ => data/levels}/level012.gnl | 0
gnibbles/{ => data/levels}/level013.gnl | 0
gnibbles/{ => data/levels}/level014.gnl | 0
gnibbles/{ => data/levels}/level015.gnl | 0
gnibbles/{ => data/levels}/level016.gnl | 0
gnibbles/{ => data/levels}/level017.gnl | 0
gnibbles/{ => data/levels}/level018.gnl | 0
gnibbles/{ => data/levels}/level019.gnl | 0
gnibbles/{ => data/levels}/level020.gnl | 0
gnibbles/{ => data/levels}/level021.gnl | 0
gnibbles/{ => data/levels}/level022.gnl | 0
gnibbles/{ => data/levels}/level023.gnl | 0
gnibbles/{ => data/levels}/level024.gnl | 0
gnibbles/{ => data/levels}/level025.gnl | 0
gnibbles/{ => data/levels}/level026.gnl | 0
gnibbles/{ => data}/pix/Makefile.am | 0
gnibbles/{ => data}/pix/blank.svg | 0
gnibbles/{ => data}/pix/bonus1.svg | 0
gnibbles/{ => data}/pix/bonus2.svg | 0
gnibbles/{ => data}/pix/bonus3.svg | 0
gnibbles/{ => data}/pix/bonus4.svg | 0
gnibbles/{ => data}/pix/bonus5.svg | 0
gnibbles/{ => data}/pix/creampie.svg | 0
gnibbles/{ => data}/pix/diamond.svg | 0
gnibbles/{ => data}/pix/life.svg | 0
gnibbles/{ => data}/pix/questionmark.svg | 0
gnibbles/{ => data}/pix/snake-blue.svg | 0
gnibbles/{ => data}/pix/snake-cyan.svg | 0
gnibbles/{ => data}/pix/snake-green.svg | 0
gnibbles/{ => data}/pix/snake-grey.svg | 0
gnibbles/{ => data}/pix/snake-magenta.svg | 0
gnibbles/{ => data}/pix/snake-red.svg | 0
gnibbles/{ => data}/pix/snake-yellow.svg | 0
.../{ => data}/pix/wall-corner-bottom-left.svg | 0
.../{ => data}/pix/wall-corner-bottom-right.svg | 0
gnibbles/{ => data}/pix/wall-corner-top-left.svg | 0
gnibbles/{ => data}/pix/wall-corner-top-right.svg | 0
gnibbles/{ => data}/pix/wall-cross.svg | 0
gnibbles/{ => data}/pix/wall-empty.svg | 0
gnibbles/{ => data}/pix/wall-small-empty.svg | 0
gnibbles/{ => data}/pix/wall-straight-side.svg | 0
gnibbles/{ => data}/pix/wall-straight-up.svg | 0
gnibbles/{ => data}/pix/wall-tee-down.svg | 0
gnibbles/{ => data}/pix/wall-tee-left.svg | 0
gnibbles/{ => data}/pix/wall-tee-right.svg | 0
gnibbles/{ => data}/pix/wall-tee-up.svg | 0
gnibbles/src/Makefile.am | 64 +
gnibbles/{ => src}/board.c | 0
gnibbles/{ => src}/board.h | 0
gnibbles/{ => src}/boni.c | 0
gnibbles/{ => src}/boni.h | 0
gnibbles/{ => src}/bonus.c | 0
gnibbles/{ => src}/bonus.h | 0
gnibbles/{ => src}/gnibbles.c | 0
gnibbles/{ => src}/gnibbles.h | 0
gnibbles/{ => src}/main.c | 0
gnibbles/{ => src}/main.h | 0
gnibbles/{ => src}/preferences.c | 0
gnibbles/{ => src}/preferences.h | 0
gnibbles/{ => src}/properties.c | 0
gnibbles/{ => src}/properties.h | 0
gnibbles/{ => src}/scoreboard.c | 0
gnibbles/{ => src}/scoreboard.h | 0
gnibbles/{ => src}/warp.c | 0
gnibbles/{ => src}/warp.h | 0
gnibbles/{ => src}/warpmanager.c | 0
gnibbles/{ => src}/warpmanager.h | 0
gnibbles/{ => src}/worm.c | 0
gnibbles/{ => src}/worm.h | 0
90 files changed, 141 insertions(+), 1345 deletions(-)
---
diff --git a/configure.in b/configure.in
index 4de96d6..01d3053 100644
--- a/configure.in
+++ b/configure.in
@@ -885,8 +885,11 @@ quadrapassel/src/Makefile
gnobots2/Makefile
gnobots2/help/Makefile
gnibbles/Makefile
+gnibbles/data/Makefile
+gnibbles/data/levels/Makefile
+gnibbles/data/pix/Makefile
gnibbles/help/Makefile
-gnibbles/pix/Makefile
+gnibbles/src/Makefile
glchess/Makefile
glchess/data/Makefile
glchess/data/pieces/Makefile
@@ -912,7 +915,7 @@ swell-foop/swell-foop.desktop.in
swell-foop/src/Makefile
quadrapassel/data/quadrapassel.desktop.in
gnobots2/gnobots2.desktop.in
-gnibbles/gnibbles.desktop.in
+gnibbles/data/gnibbles.desktop.in
gnotski/data/gnotski.desktop.in
glchess/glchess.desktop.in
mahjongg/data/mahjongg.desktop.in
diff --git a/gnibbles/Makefile.am b/gnibbles/Makefile.am
index cf0e4ff..37e3a21 100644
--- a/gnibbles/Makefile.am
+++ b/gnibbles/Makefile.am
@@ -1,132 +1,12 @@
-SUBDIRS = pix
+SUBDIRS = data src
if BUILD_HELP
SUBDIRS += help
endif
-NULL =
-
-bin_PROGRAMS = gnibbles
-
-gnibbles_SOURCES = \
- bonus.h \
- bonus.c \
- boni.h \
- boni.c \
- warp.h \
- warp.c \
- warpmanager.h \
- warpmanager.c \
- gnibbles.h \
- gnibbles.c \
- properties.h \
- properties.c \
- preferences.h \
- preferences.c \
- scoreboard.h \
- scoreboard.c \
- main.c \
- main.h \
- board.c \
- board.h \
- worm.c \
- worm.h \
- $(NULL)
-
-gnibbles_CPPFLAGS = \
- -I$(top_srcdir) \
- $(AM_CPPFLAGS)
-
-gnibbles_CFLAGS = \
- $(GTK_CFLAGS) \
- $(CLUTTER_GTK_CFLAGS) \
- $(CLUTTER_CFLAGS) \
- $(AM_CFLAGS)
-
-gnibbles_LDADD = \
- $(top_builddir)/libgames-support/libgames-support.la \
- $(GTK_LIBS) \
- $(CLUTTER_GTK_LIBS) \
- $(CLUTTER_LIBS) \
- $(INTLLIBS)
-
-if HAVE_GNOME
-gnibbles_CFLAGS += $(GNOME_CFLAGS)
-gnibbles_LDADD += $(GNOME_LIBS)
-endif
-
-if HAVE_RSVG
-gnibbles_CFLAGS += $(RSVG_CFLAGS)
-gnibbles_LDADD += $(RSVG_LIBS)
-endif
-
-if WITH_GTHREAD
-gnibbles_CFLAGS += $(GHTREAD_CFLAGS)
-gnibbles_LDADD += $(GTHREAD_LIBS)
-endif
-
-pixmapdir = $(datadir)/gnome-games/gnibbles/pixmaps
-pixmap_DATA = gnibbles-logo.svg
-
-configdir = $(datadir)/gnome-games/gnibbles/games
-config_DATA = \
- level001.gnl \
- level002.gnl \
- level003.gnl \
- level004.gnl \
- level005.gnl \
- level006.gnl \
- level007.gnl \
- level008.gnl \
- level009.gnl \
- level010.gnl \
- level011.gnl \
- level012.gnl \
- level013.gnl \
- level014.gnl \
- level015.gnl \
- level016.gnl \
- level017.gnl \
- level018.gnl \
- level019.gnl \
- level020.gnl \
- level021.gnl \
- level022.gnl \
- level023.gnl \
- level024.gnl \
- level025.gnl \
- level026.gnl \
- $(NULL)
-
-desktopdir=$(datadir)/applications
-desktop_in_files = gnibbles.desktop.in.in
-desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
-
-schema_in_files = gnibbles.schemas.in
-if HAVE_GNOME
-schemadir = $(GCONF_SCHEMA_FILE_DIR)
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
-endif
-
-man_MANS = gnibbles.6
-
-EXTRA_DIST = \
- $(pixmap_DATA) \
- $(config_DATA) \
- $(schema_in_files) \
- $(man_MANS)
-
-CLEANFILES = \
- $(NULL)
-
-DISTCLEANFILES = $(desktop_DATA) $(schema_DATA)
-
SCOREFILES = 4.0 3.0 2.0 1.0 4.1 3.1 2.1 1.1
install-data-local:
-if GCONF_SCHEMAS_INSTALL
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnibbles/$(schema_DATA)
-endif
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
@@ -134,12 +14,4 @@ endif
chmod 664 $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
done
-install-exec-hook:
- -if test "$(setgid)" = "true"; then \
- chgrp $(scores_group) $(DESTDIR)$(bindir)/gnibbles && chmod 2555 $(DESTDIR)$(bindir)/gnibbles ;\
- fi
-
- INTLTOOL_DESKTOP_RULE@
- INTLTOOL_SCHEMAS_RULE@
-
-include $(top_srcdir)/git.mk
diff --git a/gnibbles/data/Makefile.am b/gnibbles/data/Makefile.am
new file mode 100644
index 0000000..b0fa5ae
--- /dev/null
+++ b/gnibbles/data/Makefile.am
@@ -0,0 +1,38 @@
+SUBDIRS = levels pix
+
+pixmapdir = $(datadir)/gnome-games/gnibbles/pixmaps
+pixmap_DATA = gnibbles-logo.svg
+
+desktopdir=$(datadir)/applications
+desktop_in_files = gnibbles.desktop.in.in
+desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
+
+schema_in_files = gnibbles.schemas.in
+if HAVE_GNOME
+schemadir = $(GCONF_SCHEMA_FILE_DIR)
+schema_DATA = $(schema_in_files:.schemas.in=.schemas)
+endif
+
+man_MANS = gnibbles.6
+
+EXTRA_DIST = \
+ $(pixmap_DATA) \
+ $(schema_in_files) \
+ $(man_MANS)
+
+DISTCLEANFILES = $(desktop_DATA) $(schema_DATA)
+
+install-data-local:
+if GCONF_SCHEMAS_INSTALL
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnibbles/data/$(schema_DATA)
+endif
+
+install-exec-hook:
+ -if test "$(setgid)" = "true"; then \
+ chgrp $(scores_group) $(DESTDIR)$(bindir)/gnibbles && chmod 2555 $(DESTDIR)$(bindir)/gnibbles ;\
+ fi
+
+ INTLTOOL_DESKTOP_RULE@
+ INTLTOOL_SCHEMAS_RULE@
+
+-include $(top_srcdir)/git.mk
diff --git a/gnibbles/gnibbles-logo.svg b/gnibbles/data/gnibbles-logo.svg
similarity index 100%
rename from gnibbles/gnibbles-logo.svg
rename to gnibbles/data/gnibbles-logo.svg
diff --git a/gnibbles/gnibbles.6 b/gnibbles/data/gnibbles.6
similarity index 100%
rename from gnibbles/gnibbles.6
rename to gnibbles/data/gnibbles.6
diff --git a/gnibbles/gnibbles.desktop.in.in b/gnibbles/data/gnibbles.desktop.in.in
similarity index 100%
rename from gnibbles/gnibbles.desktop.in.in
rename to gnibbles/data/gnibbles.desktop.in.in
diff --git a/gnibbles/gnibbles.schemas.in b/gnibbles/data/gnibbles.schemas.in
similarity index 100%
rename from gnibbles/gnibbles.schemas.in
rename to gnibbles/data/gnibbles.schemas.in
diff --git a/gnibbles/data/levels/Makefile.am b/gnibbles/data/levels/Makefile.am
new file mode 100644
index 0000000..917f24c
--- /dev/null
+++ b/gnibbles/data/levels/Makefile.am
@@ -0,0 +1,33 @@
+configdir = $(datadir)/gnome-games/gnibbles/games
+config_DATA = \
+ level001.gnl \
+ level002.gnl \
+ level003.gnl \
+ level004.gnl \
+ level005.gnl \
+ level006.gnl \
+ level007.gnl \
+ level008.gnl \
+ level009.gnl \
+ level010.gnl \
+ level011.gnl \
+ level012.gnl \
+ level013.gnl \
+ level014.gnl \
+ level015.gnl \
+ level016.gnl \
+ level017.gnl \
+ level018.gnl \
+ level019.gnl \
+ level020.gnl \
+ level021.gnl \
+ level022.gnl \
+ level023.gnl \
+ level024.gnl \
+ level025.gnl \
+ level026.gnl
+
+EXTRA_DIST = \
+ $(config_DATA)
+
+-include $(top_srcdir)/git.mk
diff --git a/gnibbles/level001.gnl b/gnibbles/data/levels/level001.gnl
similarity index 100%
rename from gnibbles/level001.gnl
rename to gnibbles/data/levels/level001.gnl
diff --git a/gnibbles/level002.gnl b/gnibbles/data/levels/level002.gnl
similarity index 100%
rename from gnibbles/level002.gnl
rename to gnibbles/data/levels/level002.gnl
diff --git a/gnibbles/level003.gnl b/gnibbles/data/levels/level003.gnl
similarity index 100%
rename from gnibbles/level003.gnl
rename to gnibbles/data/levels/level003.gnl
diff --git a/gnibbles/level004.gnl b/gnibbles/data/levels/level004.gnl
similarity index 100%
rename from gnibbles/level004.gnl
rename to gnibbles/data/levels/level004.gnl
diff --git a/gnibbles/level005.gnl b/gnibbles/data/levels/level005.gnl
similarity index 100%
rename from gnibbles/level005.gnl
rename to gnibbles/data/levels/level005.gnl
diff --git a/gnibbles/level006.gnl b/gnibbles/data/levels/level006.gnl
similarity index 100%
rename from gnibbles/level006.gnl
rename to gnibbles/data/levels/level006.gnl
diff --git a/gnibbles/level007.gnl b/gnibbles/data/levels/level007.gnl
similarity index 100%
rename from gnibbles/level007.gnl
rename to gnibbles/data/levels/level007.gnl
diff --git a/gnibbles/level008.gnl b/gnibbles/data/levels/level008.gnl
similarity index 100%
rename from gnibbles/level008.gnl
rename to gnibbles/data/levels/level008.gnl
diff --git a/gnibbles/level009.gnl b/gnibbles/data/levels/level009.gnl
similarity index 100%
rename from gnibbles/level009.gnl
rename to gnibbles/data/levels/level009.gnl
diff --git a/gnibbles/level010.gnl b/gnibbles/data/levels/level010.gnl
similarity index 100%
rename from gnibbles/level010.gnl
rename to gnibbles/data/levels/level010.gnl
diff --git a/gnibbles/level011.gnl b/gnibbles/data/levels/level011.gnl
similarity index 100%
rename from gnibbles/level011.gnl
rename to gnibbles/data/levels/level011.gnl
diff --git a/gnibbles/level012.gnl b/gnibbles/data/levels/level012.gnl
similarity index 100%
rename from gnibbles/level012.gnl
rename to gnibbles/data/levels/level012.gnl
diff --git a/gnibbles/level013.gnl b/gnibbles/data/levels/level013.gnl
similarity index 100%
rename from gnibbles/level013.gnl
rename to gnibbles/data/levels/level013.gnl
diff --git a/gnibbles/level014.gnl b/gnibbles/data/levels/level014.gnl
similarity index 100%
rename from gnibbles/level014.gnl
rename to gnibbles/data/levels/level014.gnl
diff --git a/gnibbles/level015.gnl b/gnibbles/data/levels/level015.gnl
similarity index 100%
rename from gnibbles/level015.gnl
rename to gnibbles/data/levels/level015.gnl
diff --git a/gnibbles/level016.gnl b/gnibbles/data/levels/level016.gnl
similarity index 100%
rename from gnibbles/level016.gnl
rename to gnibbles/data/levels/level016.gnl
diff --git a/gnibbles/level017.gnl b/gnibbles/data/levels/level017.gnl
similarity index 100%
rename from gnibbles/level017.gnl
rename to gnibbles/data/levels/level017.gnl
diff --git a/gnibbles/level018.gnl b/gnibbles/data/levels/level018.gnl
similarity index 100%
rename from gnibbles/level018.gnl
rename to gnibbles/data/levels/level018.gnl
diff --git a/gnibbles/level019.gnl b/gnibbles/data/levels/level019.gnl
similarity index 100%
rename from gnibbles/level019.gnl
rename to gnibbles/data/levels/level019.gnl
diff --git a/gnibbles/level020.gnl b/gnibbles/data/levels/level020.gnl
similarity index 100%
rename from gnibbles/level020.gnl
rename to gnibbles/data/levels/level020.gnl
diff --git a/gnibbles/level021.gnl b/gnibbles/data/levels/level021.gnl
similarity index 100%
rename from gnibbles/level021.gnl
rename to gnibbles/data/levels/level021.gnl
diff --git a/gnibbles/level022.gnl b/gnibbles/data/levels/level022.gnl
similarity index 100%
rename from gnibbles/level022.gnl
rename to gnibbles/data/levels/level022.gnl
diff --git a/gnibbles/level023.gnl b/gnibbles/data/levels/level023.gnl
similarity index 100%
rename from gnibbles/level023.gnl
rename to gnibbles/data/levels/level023.gnl
diff --git a/gnibbles/level024.gnl b/gnibbles/data/levels/level024.gnl
similarity index 100%
rename from gnibbles/level024.gnl
rename to gnibbles/data/levels/level024.gnl
diff --git a/gnibbles/level025.gnl b/gnibbles/data/levels/level025.gnl
similarity index 100%
rename from gnibbles/level025.gnl
rename to gnibbles/data/levels/level025.gnl
diff --git a/gnibbles/level026.gnl b/gnibbles/data/levels/level026.gnl
similarity index 100%
rename from gnibbles/level026.gnl
rename to gnibbles/data/levels/level026.gnl
diff --git a/gnibbles/pix/Makefile.am b/gnibbles/data/pix/Makefile.am
similarity index 100%
rename from gnibbles/pix/Makefile.am
rename to gnibbles/data/pix/Makefile.am
diff --git a/gnibbles/pix/blank.svg b/gnibbles/data/pix/blank.svg
similarity index 100%
rename from gnibbles/pix/blank.svg
rename to gnibbles/data/pix/blank.svg
diff --git a/gnibbles/pix/bonus1.svg b/gnibbles/data/pix/bonus1.svg
similarity index 100%
rename from gnibbles/pix/bonus1.svg
rename to gnibbles/data/pix/bonus1.svg
diff --git a/gnibbles/pix/bonus2.svg b/gnibbles/data/pix/bonus2.svg
similarity index 100%
rename from gnibbles/pix/bonus2.svg
rename to gnibbles/data/pix/bonus2.svg
diff --git a/gnibbles/pix/bonus3.svg b/gnibbles/data/pix/bonus3.svg
similarity index 100%
rename from gnibbles/pix/bonus3.svg
rename to gnibbles/data/pix/bonus3.svg
diff --git a/gnibbles/pix/bonus4.svg b/gnibbles/data/pix/bonus4.svg
similarity index 100%
rename from gnibbles/pix/bonus4.svg
rename to gnibbles/data/pix/bonus4.svg
diff --git a/gnibbles/pix/bonus5.svg b/gnibbles/data/pix/bonus5.svg
similarity index 100%
rename from gnibbles/pix/bonus5.svg
rename to gnibbles/data/pix/bonus5.svg
diff --git a/gnibbles/pix/creampie.svg b/gnibbles/data/pix/creampie.svg
similarity index 100%
rename from gnibbles/pix/creampie.svg
rename to gnibbles/data/pix/creampie.svg
diff --git a/gnibbles/pix/diamond.svg b/gnibbles/data/pix/diamond.svg
similarity index 100%
rename from gnibbles/pix/diamond.svg
rename to gnibbles/data/pix/diamond.svg
diff --git a/gnibbles/pix/life.svg b/gnibbles/data/pix/life.svg
similarity index 100%
rename from gnibbles/pix/life.svg
rename to gnibbles/data/pix/life.svg
diff --git a/gnibbles/pix/questionmark.svg b/gnibbles/data/pix/questionmark.svg
similarity index 100%
rename from gnibbles/pix/questionmark.svg
rename to gnibbles/data/pix/questionmark.svg
diff --git a/gnibbles/pix/snake-blue.svg b/gnibbles/data/pix/snake-blue.svg
similarity index 100%
rename from gnibbles/pix/snake-blue.svg
rename to gnibbles/data/pix/snake-blue.svg
diff --git a/gnibbles/pix/snake-cyan.svg b/gnibbles/data/pix/snake-cyan.svg
similarity index 100%
rename from gnibbles/pix/snake-cyan.svg
rename to gnibbles/data/pix/snake-cyan.svg
diff --git a/gnibbles/pix/snake-green.svg b/gnibbles/data/pix/snake-green.svg
similarity index 100%
rename from gnibbles/pix/snake-green.svg
rename to gnibbles/data/pix/snake-green.svg
diff --git a/gnibbles/pix/snake-grey.svg b/gnibbles/data/pix/snake-grey.svg
similarity index 100%
rename from gnibbles/pix/snake-grey.svg
rename to gnibbles/data/pix/snake-grey.svg
diff --git a/gnibbles/pix/snake-magenta.svg b/gnibbles/data/pix/snake-magenta.svg
similarity index 100%
rename from gnibbles/pix/snake-magenta.svg
rename to gnibbles/data/pix/snake-magenta.svg
diff --git a/gnibbles/pix/snake-red.svg b/gnibbles/data/pix/snake-red.svg
similarity index 100%
rename from gnibbles/pix/snake-red.svg
rename to gnibbles/data/pix/snake-red.svg
diff --git a/gnibbles/pix/snake-yellow.svg b/gnibbles/data/pix/snake-yellow.svg
similarity index 100%
rename from gnibbles/pix/snake-yellow.svg
rename to gnibbles/data/pix/snake-yellow.svg
diff --git a/gnibbles/pix/wall-corner-bottom-left.svg b/gnibbles/data/pix/wall-corner-bottom-left.svg
similarity index 100%
rename from gnibbles/pix/wall-corner-bottom-left.svg
rename to gnibbles/data/pix/wall-corner-bottom-left.svg
diff --git a/gnibbles/pix/wall-corner-bottom-right.svg b/gnibbles/data/pix/wall-corner-bottom-right.svg
similarity index 100%
rename from gnibbles/pix/wall-corner-bottom-right.svg
rename to gnibbles/data/pix/wall-corner-bottom-right.svg
diff --git a/gnibbles/pix/wall-corner-top-left.svg b/gnibbles/data/pix/wall-corner-top-left.svg
similarity index 100%
rename from gnibbles/pix/wall-corner-top-left.svg
rename to gnibbles/data/pix/wall-corner-top-left.svg
diff --git a/gnibbles/pix/wall-corner-top-right.svg b/gnibbles/data/pix/wall-corner-top-right.svg
similarity index 100%
rename from gnibbles/pix/wall-corner-top-right.svg
rename to gnibbles/data/pix/wall-corner-top-right.svg
diff --git a/gnibbles/pix/wall-cross.svg b/gnibbles/data/pix/wall-cross.svg
similarity index 100%
rename from gnibbles/pix/wall-cross.svg
rename to gnibbles/data/pix/wall-cross.svg
diff --git a/gnibbles/pix/wall-empty.svg b/gnibbles/data/pix/wall-empty.svg
similarity index 100%
rename from gnibbles/pix/wall-empty.svg
rename to gnibbles/data/pix/wall-empty.svg
diff --git a/gnibbles/pix/wall-small-empty.svg b/gnibbles/data/pix/wall-small-empty.svg
similarity index 100%
rename from gnibbles/pix/wall-small-empty.svg
rename to gnibbles/data/pix/wall-small-empty.svg
diff --git a/gnibbles/pix/wall-straight-side.svg b/gnibbles/data/pix/wall-straight-side.svg
similarity index 100%
rename from gnibbles/pix/wall-straight-side.svg
rename to gnibbles/data/pix/wall-straight-side.svg
diff --git a/gnibbles/pix/wall-straight-up.svg b/gnibbles/data/pix/wall-straight-up.svg
similarity index 100%
rename from gnibbles/pix/wall-straight-up.svg
rename to gnibbles/data/pix/wall-straight-up.svg
diff --git a/gnibbles/pix/wall-tee-down.svg b/gnibbles/data/pix/wall-tee-down.svg
similarity index 100%
rename from gnibbles/pix/wall-tee-down.svg
rename to gnibbles/data/pix/wall-tee-down.svg
diff --git a/gnibbles/pix/wall-tee-left.svg b/gnibbles/data/pix/wall-tee-left.svg
similarity index 100%
rename from gnibbles/pix/wall-tee-left.svg
rename to gnibbles/data/pix/wall-tee-left.svg
diff --git a/gnibbles/pix/wall-tee-right.svg b/gnibbles/data/pix/wall-tee-right.svg
similarity index 100%
rename from gnibbles/pix/wall-tee-right.svg
rename to gnibbles/data/pix/wall-tee-right.svg
diff --git a/gnibbles/pix/wall-tee-up.svg b/gnibbles/data/pix/wall-tee-up.svg
similarity index 100%
rename from gnibbles/pix/wall-tee-up.svg
rename to gnibbles/data/pix/wall-tee-up.svg
diff --git a/gnibbles/src/Makefile.am b/gnibbles/src/Makefile.am
new file mode 100644
index 0000000..dd4e4e0
--- /dev/null
+++ b/gnibbles/src/Makefile.am
@@ -0,0 +1,64 @@
+bin_PROGRAMS = gnibbles
+
+gnibbles_SOURCES = \
+ bonus.h \
+ bonus.c \
+ boni.h \
+ boni.c \
+ warp.h \
+ warp.c \
+ warpmanager.h \
+ warpmanager.c \
+ gnibbles.h \
+ gnibbles.c \
+ properties.h \
+ properties.c \
+ preferences.h \
+ preferences.c \
+ scoreboard.h \
+ scoreboard.c \
+ main.c \
+ main.h \
+ board.c \
+ board.h \
+ worm.c \
+ worm.h
+
+gnibbles_CPPFLAGS = \
+ -I$(top_srcdir) \
+ $(AM_CPPFLAGS)
+
+gnibbles_CFLAGS = \
+ $(GTK_CFLAGS) \
+ $(CLUTTER_GTK_CFLAGS) \
+ $(CLUTTER_CFLAGS) \
+ $(AM_CFLAGS)
+
+gnibbles_LDADD = \
+ $(top_builddir)/libgames-support/libgames-support.la \
+ $(GTK_LIBS) \
+ $(CLUTTER_GTK_LIBS) \
+ $(CLUTTER_LIBS) \
+ $(INTLLIBS)
+
+if HAVE_GNOME
+gnibbles_CFLAGS += $(GNOME_CFLAGS)
+gnibbles_LDADD += $(GNOME_LIBS)
+endif
+
+if HAVE_RSVG
+gnibbles_CFLAGS += $(RSVG_CFLAGS)
+gnibbles_LDADD += $(RSVG_LIBS)
+endif
+
+if WITH_GTHREAD
+gnibbles_CFLAGS += $(GHTREAD_CFLAGS)
+gnibbles_LDADD += $(GTHREAD_LIBS)
+endif
+
+install-exec-hook:
+ -if test "$(setgid)" = "true"; then \
+ chgrp $(scores_group) $(DESTDIR)$(bindir)/gnibbles && chmod 2555 $(DESTDIR)$(bindir)/gnibbles ;\
+ fi
+
+-include $(top_srcdir)/git.mk
diff --git a/gnibbles/board.c b/gnibbles/src/board.c
similarity index 100%
rename from gnibbles/board.c
rename to gnibbles/src/board.c
diff --git a/gnibbles/board.h b/gnibbles/src/board.h
similarity index 100%
rename from gnibbles/board.h
rename to gnibbles/src/board.h
diff --git a/gnibbles/boni.c b/gnibbles/src/boni.c
similarity index 100%
rename from gnibbles/boni.c
rename to gnibbles/src/boni.c
diff --git a/gnibbles/boni.h b/gnibbles/src/boni.h
similarity index 100%
rename from gnibbles/boni.h
rename to gnibbles/src/boni.h
diff --git a/gnibbles/bonus.c b/gnibbles/src/bonus.c
similarity index 100%
rename from gnibbles/bonus.c
rename to gnibbles/src/bonus.c
diff --git a/gnibbles/bonus.h b/gnibbles/src/bonus.h
similarity index 100%
rename from gnibbles/bonus.h
rename to gnibbles/src/bonus.h
diff --git a/gnibbles/gnibbles.c b/gnibbles/src/gnibbles.c
similarity index 100%
rename from gnibbles/gnibbles.c
rename to gnibbles/src/gnibbles.c
diff --git a/gnibbles/gnibbles.h b/gnibbles/src/gnibbles.h
similarity index 100%
rename from gnibbles/gnibbles.h
rename to gnibbles/src/gnibbles.h
diff --git a/gnibbles/main.c b/gnibbles/src/main.c
similarity index 100%
rename from gnibbles/main.c
rename to gnibbles/src/main.c
diff --git a/gnibbles/main.h b/gnibbles/src/main.h
similarity index 100%
rename from gnibbles/main.h
rename to gnibbles/src/main.h
diff --git a/gnibbles/preferences.c b/gnibbles/src/preferences.c
similarity index 100%
rename from gnibbles/preferences.c
rename to gnibbles/src/preferences.c
diff --git a/gnibbles/preferences.h b/gnibbles/src/preferences.h
similarity index 100%
rename from gnibbles/preferences.h
rename to gnibbles/src/preferences.h
diff --git a/gnibbles/properties.c b/gnibbles/src/properties.c
similarity index 100%
rename from gnibbles/properties.c
rename to gnibbles/src/properties.c
diff --git a/gnibbles/properties.h b/gnibbles/src/properties.h
similarity index 100%
rename from gnibbles/properties.h
rename to gnibbles/src/properties.h
diff --git a/gnibbles/scoreboard.c b/gnibbles/src/scoreboard.c
similarity index 100%
rename from gnibbles/scoreboard.c
rename to gnibbles/src/scoreboard.c
diff --git a/gnibbles/scoreboard.h b/gnibbles/src/scoreboard.h
similarity index 100%
rename from gnibbles/scoreboard.h
rename to gnibbles/src/scoreboard.h
diff --git a/gnibbles/warp.c b/gnibbles/src/warp.c
similarity index 100%
rename from gnibbles/warp.c
rename to gnibbles/src/warp.c
diff --git a/gnibbles/warp.h b/gnibbles/src/warp.h
similarity index 100%
rename from gnibbles/warp.h
rename to gnibbles/src/warp.h
diff --git a/gnibbles/warpmanager.c b/gnibbles/src/warpmanager.c
similarity index 100%
rename from gnibbles/warpmanager.c
rename to gnibbles/src/warpmanager.c
diff --git a/gnibbles/warpmanager.h b/gnibbles/src/warpmanager.h
similarity index 100%
rename from gnibbles/warpmanager.h
rename to gnibbles/src/warpmanager.h
diff --git a/gnibbles/worm.c b/gnibbles/src/worm.c
similarity index 100%
rename from gnibbles/worm.c
rename to gnibbles/src/worm.c
diff --git a/gnibbles/worm.h b/gnibbles/src/worm.h
similarity index 100%
rename from gnibbles/worm.h
rename to gnibbles/src/worm.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]