forked from enlightenment/enlightenment
add svn revision tracking into src. about dialog shows it now.
SVN revision: 49086
This commit is contained in:
parent
582c27ec2b
commit
d9588a3a67
|
@ -7,7 +7,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
||||||
enlightenment.spec enlightenment.pc ABOUT-NLS* \
|
enlightenment.spec enlightenment.pc ABOUT-NLS* \
|
||||||
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
|
$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2
|
||||||
|
|
||||||
EXTRA_DIST = config.rpath README AUTHORS COPYING COPYING-PLAIN \
|
EXTRA_DIST = svnrev.h.in config.rpath README AUTHORS COPYING COPYING-PLAIN \
|
||||||
enlightenment.spec.in enlightenment.spec enlightenment.pc
|
enlightenment.spec.in enlightenment.spec enlightenment.pc
|
||||||
|
|
||||||
filesdir = $(datadir)/enlightenment/
|
filesdir = $(datadir)/enlightenment/
|
||||||
|
|
|
@ -560,7 +560,13 @@ AC_E_OPTIONAL_MODULE([everything-windows], true)
|
||||||
AC_E_OPTIONAL_MODULE([systray], true)
|
AC_E_OPTIONAL_MODULE([systray], true)
|
||||||
AC_E_OPTIONAL_MODULE([comp], true)
|
AC_E_OPTIONAL_MODULE([comp], true)
|
||||||
|
|
||||||
|
SVNVERSION=`which svnversion`
|
||||||
|
SVNREV="UNKNOWN"
|
||||||
|
if test -n "$SVNVERSION"; then SVNREV=`$SVNVERSION -n .`; fi
|
||||||
|
AC_SUBST(SVNREV)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
|
svnrev.h
|
||||||
Makefile
|
Makefile
|
||||||
enlightenment.spec
|
enlightenment.spec
|
||||||
enlightenment.pc
|
enlightenment.pc
|
||||||
|
|
|
@ -5,6 +5,7 @@ includedir=@includedir@/@PACKAGE@
|
||||||
modules=@libdir@/@PACKAGE@/modules
|
modules=@libdir@/@PACKAGE@/modules
|
||||||
config_apps=@prefix@/share/@PACKAGE@/config-apps
|
config_apps=@prefix@/share/@PACKAGE@/config-apps
|
||||||
release=@release@
|
release=@release@
|
||||||
|
svnrev=@SVNREV@
|
||||||
|
|
||||||
Name: enlightenment
|
Name: enlightenment
|
||||||
Description: Enlightenmnt Window Manager
|
Description: Enlightenmnt Window Manager
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) \
|
INCLUDES = -I$(top_builddir) \
|
||||||
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/src/bin \
|
-I$(top_srcdir)/src/bin \
|
||||||
-I$(top_srcdir)/src/lib \
|
-I$(top_srcdir)/src/lib \
|
||||||
@e_cflags@ \
|
@e_cflags@ \
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
#include "e.h"
|
#include "e.h"
|
||||||
|
#include "svnrev.h"
|
||||||
|
|
||||||
/* local subsystem functions */
|
/* local subsystem functions */
|
||||||
|
|
||||||
|
@ -19,7 +20,7 @@ e_about_new(E_Container *con)
|
||||||
e_obj_dialog_obj_theme_set(od, "base/theme/about", "e/widgets/about/main");
|
e_obj_dialog_obj_theme_set(od, "base/theme/about", "e/widgets/about/main");
|
||||||
e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
|
e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
|
||||||
e_obj_dialog_obj_part_text_set(od, "e.text.title", _("Enlightenment"));
|
e_obj_dialog_obj_part_text_set(od, "e.text.title", _("Enlightenment"));
|
||||||
e_obj_dialog_obj_part_text_set(od, "e.text.version", VERSION);
|
e_obj_dialog_obj_part_text_set(od, "e.text.version", VERSION"/"SVNREV);
|
||||||
e_obj_dialog_obj_part_text_set
|
e_obj_dialog_obj_part_text_set
|
||||||
(od, "e.textblock.about",
|
(od, "e.textblock.about",
|
||||||
_(
|
_(
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
#define SVNREV "@SVNREV@"
|
Loading…
Reference in New Issue