[gnome-games] iagno: Stop using libgames-support
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] iagno: Stop using libgames-support
- Date: Wed, 29 Aug 2012 03:35:30 +0000 (UTC)
commit e693da5a7deb69ce4eb45414c31c1e4e9c08a9ed
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Aug 29 15:33:06 2012 +1200
iagno: Stop using libgames-support
iagno/src/Makefile.am | 6 +-----
iagno/src/iagno.vala | 5 ++---
2 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/iagno/src/Makefile.am b/iagno/src/Makefile.am
index 3034151..0f4f923 100644
--- a/iagno/src/Makefile.am
+++ b/iagno/src/Makefile.am
@@ -8,7 +8,6 @@ iagno_SOURCES = \
iagno.vala
iagno_CFLAGS = \
- -I$(top_srcdir)/libgames-support \
-DVERSION=\"$(VERSION)\" \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-DDATA_DIRECTORY=\"$(datadir)/iagno\" \
@@ -23,12 +22,9 @@ iagno_VALAFLAGS = \
--pkg gtk+-3.0 \
--pkg librsvg-2.0 \
--pkg libcanberra \
- --pkg libcanberra-gtk \
- --vapidir $(top_srcdir)/libgames-support \
- --pkg GnomeGamesSupport-1.0
+ --pkg libcanberra-gtk
iagno_LDADD = \
- $(top_builddir)/libgames-support/libgames-support.la \
$(GTK_LIBS) \
$(RSVG_LIBS) \
$(CANBERRA_GTK_LIBS)
diff --git a/iagno/src/iagno.vala b/iagno/src/iagno.vala
index 0610435..725f330 100644
--- a/iagno/src/iagno.vala
+++ b/iagno/src/iagno.vala
@@ -289,13 +289,14 @@ public class Iagno : Gtk.Application
{
string[] authors = { "Ian Peters", "Robert Ancell", null };
string[] documenters = { "Eric Baudais", null };
+ var license = "Iagno is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nIagno is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with Iagno; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA";
Gtk.show_about_dialog (window,
"name", _("Iagno"),
"version", VERSION,
"copyright",
"Copyright \xc2\xa9 1998-2008 Ian Peters",
- "license", GnomeGamesSupport.get_license (_("Iagno")),
+ "license", license,
"comments", _("A disk flipping game derived from Reversi.\n\nIagno is a part of GNOME Games."),
"authors", authors,
"documenters", documenters,
@@ -618,8 +619,6 @@ public class Iagno : Gtk.Application
Environment.set_application_name (_("Iagno"));
- GnomeGamesSupport.stock_init ();
-
Gtk.Window.set_default_icon_name ("iagno");
var app = new Iagno ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]