[blam] Add codename support
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] Add codename support
- Date: Fri, 11 Feb 2011 00:50:34 +0000 (UTC)
commit eac9ef8d88a1a1540974e2e7dafba2d63ab4ebe4
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Thu Feb 10 19:22:50 2011 +0100
Add codename support
configure.in | 3 +++
src/Defines.cs.in | 1 +
src/Dialogs.cs | 2 +-
src/Makefile.am | 1 +
4 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index e9f9e75..6b68ffb 100644
--- a/configure.in
+++ b/configure.in
@@ -2,6 +2,9 @@ AC_INIT(README)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(blam, 1.90.0)
+codename="The Long Wait"
+AC_SUBST(codename)
+
AM_MAINTAINER_MODE
AC_PROG_INTLTOOL([0.25])
diff --git a/src/Defines.cs.in b/src/Defines.cs.in
index 40d2673..af390ff 100644
--- a/src/Defines.cs.in
+++ b/src/Defines.cs.in
@@ -13,6 +13,7 @@ namespace Imendio.Blam {
public class Defines {
public static string VERSION = "@version@";
public static string DATADIR = "@datadir@";
+ public static string CODENAME = "@codename@";
public static string APP_DATADIR = DATADIR + "/blam";
public static string APP_HOMEDIR = Environment.GetEnvironmentVariable("HOME") + "/.gnome2/blam";
public static string APP_COLLECTION_FILE = "collection.xml";
diff --git a/src/Dialogs.cs b/src/Dialogs.cs
index 59c0f95..cc490db 100644
--- a/src/Dialogs.cs
+++ b/src/Dialogs.cs
@@ -23,7 +23,7 @@ namespace Imendio.Blam {
gladeXML.Autoconnect(this);
aboutDialog.TransientFor = parent;
- aboutDialog.Version = Defines.VERSION;
+ aboutDialog.Version = Defines.VERSION + "\n" + Defines.CODENAME;
aboutDialog.LogoIconName = "blam";
aboutDialog.IconName = "blam";
aboutDialog.Copyright = "Copyright 2004-2006 (c) Mikael Hallendal <micke imendio com>\n"
diff --git a/src/Makefile.am b/src/Makefile.am
index d3ed79d..7ea194e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,6 +55,7 @@ endif
Defines.cs: Defines.cs.in ../config.log
sed -e "s|\ version\@|$(VERSION)|" \
-e "s|\ datadir\@|$(datadir)|" \
+ -e "s|\ codename\@|$(codename)|" \
< Defines.cs.in > Defines.cs
blamlibdir = $(prefix)/lib/blam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]