diff options
author | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-05-19 09:25:55 +0800 |
---|---|---|
committer | adamw <adamw@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-05-19 09:25:55 +0800 |
commit | c4a9813376b53fce979daa71885ebe7b9b019086 (patch) | |
tree | 3135c9c467b0e2550dc2595cbd56fce94a2d7e4c /games/gnome-games/files | |
parent | 4efbb3c645c7863c83e23edd4e456945caeed1ee (diff) | |
download | marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar.gz marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar.bz2 marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar.lz marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar.xz marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.tar.zst marcuscom-ports-c4a9813376b53fce979daa71885ebe7b9b019086.zip |
Re-add gnomegames2, at 2.7.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2296 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games/files')
-rw-r--r-- | games/gnome-games/files/patch-ab | 11 | ||||
-rw-r--r-- | games/gnome-games/files/patch-ac | 11 | ||||
-rw-r--r-- | games/gnome-games/files/patch-aisleriot::sol.c | 37 | ||||
-rw-r--r-- | games/gnome-games/files/patch-configure | 11 | ||||
-rw-r--r-- | games/gnome-games/files/patch-gnome-stones_Makefile.in | 11 |
5 files changed, 81 insertions, 0 deletions
diff --git a/games/gnome-games/files/patch-ab b/games/gnome-games/files/patch-ab new file mode 100644 index 000000000..67cea1ce8 --- /dev/null +++ b/games/gnome-games/files/patch-ab @@ -0,0 +1,11 @@ +--- gnome-stones/objects/Makefile.in.orig Sun Jun 15 20:28:06 2003 ++++ gnome-stones/objects/Makefile.in Sun Jun 15 20:28:06 2003 +@@ -136,7 +136,7 @@ + + GSTONES_SRC_DIR = $(srcdir)/../ + +-objectdir = $(libdir)/gnome-stones/objects ++objectdir = $(datadir)/gnome-stones/objects + + INCLUDES = \ + -I$(GSTONES_SRC_DIR) \ diff --git a/games/gnome-games/files/patch-ac b/games/gnome-games/files/patch-ac new file mode 100644 index 000000000..2605cefdf --- /dev/null +++ b/games/gnome-games/files/patch-ac @@ -0,0 +1,11 @@ +--- gdk-card-image/Makefile.in.orig Wed Dec 10 11:44:58 2003 ++++ gdk-card-image/Makefile.in Wed Dec 10 11:45:48 2003 +@@ -243,7 +243,7 @@ + libgdkcardimage_la_SOURCES = gdk-card-image.c card-style-file.c + libgdkcardimageincludedir = $(includedir)/gdkcardimage + libgdkcardimageinclude_HEADERS = gdk-card-image.h card-style-file.h +-libgdkcardimage_la_LDFLAGS = -version-info 0:0:0 ++libgdkcardimage_la_LDFLAGS = -version-info 1:0:0 + libgdkcardimage_la_LIBADD = $(GNOME_GAMES_LIBS) @UCB_LDFLAGS@ + subdir = gdk-card-image + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/games/gnome-games/files/patch-aisleriot::sol.c b/games/gnome-games/files/patch-aisleriot::sol.c new file mode 100644 index 000000000..7a281c20a --- /dev/null +++ b/games/gnome-games/files/patch-aisleriot::sol.c @@ -0,0 +1,37 @@ +--- aisleriot/sol.c.orig Wed Oct 1 20:19:36 2003 ++++ aisleriot/sol.c Tue Nov 25 16:30:44 2003 +@@ -83,6 +83,15 @@ + #define DEFAULT_VARIATION "klondike.scm" + #define GNOME_SESSION_BUG + ++gchar* game_file_to_variation (const gchar* file) ++{ ++ char* p, *buf = g_path_get_basename(file); ++ ++ if ((p = strrchr (buf, '.'))) *p = '\0'; ++ ++ return buf; ++} ++ + gchar* game_file_to_name (const gchar* file) + { + char* p, *buf = g_path_get_basename(file); +@@ -545,14 +554,14 @@ + n_games = 0; + + for (i = 0; i < n_games; i++) { +- gchar *game_name = game_file_to_name (game_dents[i]->d_name); +- if (!strcasecmp (variation, game_name)) { ++ gchar *game_variation = game_file_to_variation (game_dents[i]->d_name); ++ if (!strcasecmp (variation, game_variation)) { + dont_save = TRUE; + start_game = g_strdup ((gchar*) game_dents[i]->d_name); +- g_free (game_name); ++ g_free (game_variation); + break; + } +- g_free (game_name); ++ g_free (game_variation); + } + + gh_enter(argc, argv, main_prog); diff --git a/games/gnome-games/files/patch-configure b/games/gnome-games/files/patch-configure new file mode 100644 index 000000000..f8413ef3c --- /dev/null +++ b/games/gnome-games/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Wed Dec 17 11:58:34 2003 ++++ configure Wed Dec 17 11:58:35 2003 +@@ -22452,7 +22452,7 @@ + else + + cat >>confdefs.h <<_ACEOF +-#define GNOME_ICONDIR "${prefix}/share/pixmaps" ++#define GNOME_ICONDIR "${datadir}/pixmaps" + _ACEOF + + fi diff --git a/games/gnome-games/files/patch-gnome-stones_Makefile.in b/games/gnome-games/files/patch-gnome-stones_Makefile.in new file mode 100644 index 000000000..92fbe9e88 --- /dev/null +++ b/games/gnome-games/files/patch-gnome-stones_Makefile.in @@ -0,0 +1,11 @@ +--- gnome-stones/Makefile.in.orig Tue Jul 23 20:37:40 2002 ++++ gnome-stones/Makefile.in Tue Jul 23 20:38:10 2002 +@@ -202,7 +202,7 @@ + Caves_in_files = default.caves.in tutorial.caves.in gnomekoban.caves.in atari.caves.in + Caves_DATA = $(Caves_in_files:.caves.in=.caves) + +-gtkrcdir = $(datadir) ++gtkrcdir = $(datadir)/gnome-stones + gtkrc_DATA = gnome-stonesrc gnome-stonesrc.ko + + Mimedir = $(datadir)/mime-info |