[vlc-devel] commit: Add build date/time in the version infos ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jan 19 22:41:07 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 19 23:40:49 2010 +0200| [711605aff3e099da0a90dc29452b75caf206e8f3] | committer: Rémi Denis-Courmont 

Add build date/time in the version infos

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=711605aff3e099da0a90dc29452b75caf206e8f3
---

 modules/gui/qt4/dialogs/help.cpp |    3 ++-
 src/libvlc.c                     |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index e37a372..73cdf96 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -116,7 +116,8 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf)
                 "VLC uses its internal codecs and works on essentially every "
                 "popular platform.\n\n" )
             + qtr( "This version of VLC was compiled by:\n " )
-            + qfu( VLC_CompileBy() )+ "@" + qfu( VLC_CompileHost() ) + ".\n"
+            + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) +
+            + " ("__DATE__" "__TIME__").\n"
             + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n"
             + qtr( "You are using the Qt4 Interface.\n\n" )
             + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS
diff --git a/src/libvlc.c b/src/libvlc.c
index cd31fe6..7a2bce9 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -1971,8 +1971,8 @@ static void Version( void )
 
     utf8_fprintf( stdout, _("VLC version %s (%s)\n"), VLC_Version(),
                   psz_vlc_changeset );
-    utf8_fprintf( stdout, _("Compiled by %s on %s\n"),
-             VLC_CompileBy(), VLC_CompileHost() );
+    utf8_fprintf( stdout, _("Compiled by %s on %s (%s)\n"),
+             VLC_CompileBy(), VLC_CompileHost(), __DATE__" "__TIME__ );
     utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );
     utf8_fprintf( stdout, "%s", LICENSE_MSG );
 




More information about the vlc-devel mailing list