]> git.sesse.net Git - vlc/commitdiff
We're on git now, so show Git commit instead of svn revision.
authorPavlov Konstantin <thresh@videolan.org>
Tue, 4 Mar 2008 00:37:44 +0000 (03:37 +0300)
committerPavlov Konstantin <thresh@videolan.org>
Tue, 4 Mar 2008 00:37:44 +0000 (03:37 +0300)
modules/gui/macosx/about.m
modules/gui/qt4/dialogs/help.cpp
modules/gui/wince/interface.cpp
modules/gui/wxwidgets/interface.cpp
src/Makefile.am
src/libvlc-common.c

index cbf16b16d94dab96446506f59273d3d28c8a9675..92cc6d851a0020b4921f5db17322826e71f4502d 100644 (file)
@@ -88,7 +88,7 @@ static VLAboutBox *_o_sharedInstance = nil;
         /* setup the creator / revision field */
         if( VLC_Changeset() != "exported" )
             [o_revision_field setStringValue:
-                [NSString stringWithFormat: _NS("Compiled by %s, based on SVN revision %s"), 
+                [NSString stringWithFormat: _NS("Compiled by %s, based on Git commit %s"),
                     VLC_CompileBy(), VLC_Changeset()]];
         else
             [o_revision_field setStringValue: 
index 5f33c31e4a0cfd4755eac6724f18e6934450e3b4..e443e3076a50c170716dd039fd0708e0fe1fdc5b 100644 (file)
@@ -122,7 +122,7 @@ AboutDialog::AboutDialog( QWidget *parent, intf_thread_t *_p_intf)
             + qfu( VLC_CompileBy() )+ "@" + qfu( VLC_CompileHost() ) + "."
             + qfu( VLC_CompileDomain() ) + ".\n"
             + "Compiler: " + qfu( VLC_Compiler() ) + ".\n"
-            + qtr( "Based on SVN revision: " ) + qfu( VLC_Changeset() ) + ".\n"
+            + qtr( "Based on Git commit: " ) + qfu( VLC_Changeset() ) + ".\n"
             + qtr( "You are using the Qt4 Interface.\n\n" )
             + qtr( "Copyright (c) " COPYRIGHT_YEARS " by the VideoLAN Team.\n" )
             + "vlc@videolan.org, http://www.videolan.org" );
index 6634eae67785907e0553e397a84a9d13dec36406..49cd08daca0d5571d80ae4df3bf705cfb2d001f6 100644 (file)
@@ -502,7 +502,7 @@ LRESULT Interface::WndProc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
                 _("Compiled by ") + VLC_CompileBy() + "@" +
                 VLC_CompileHost() + "." + VLC_CompileDomain() + ".\n" +
                 _("Compiler: ") + VLC_Compiler() + ".\n" +
-                _("Based on SVN revision: ") + VLC_Changeset() + ".\n\n" +
+                _("Based on Git commit: ") + VLC_Changeset() + ".\n\n" +
                 _("The VideoLAN team <videolan@videolan.org>\n"
                   "http://www.videolan.org/");
 
index 716607b8139382c3f0995ba349c3b9cdc17435ee..6485c9a2b5bf0d774faf9f5ee00edba4add95030 100644 (file)
@@ -958,7 +958,7 @@ void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
        wxU(_("Compiled by "))+ wxU(VLC_CompileBy())+ wxU("@") +
        wxU(VLC_CompileHost())+ wxT(".")+ wxU(VLC_CompileDomain())+ wxT(".\n") +
        wxU(_("Compiler: "))+ wxU(VLC_Compiler())+wxT( ".\n") +
-       wxU(_("Based on SVN revision: "))+wxU(VLC_Changeset())+wxT(".\n\n") +
+       wxU(_("Based on Git commit: "))+wxU(VLC_Changeset())+wxT(".\n\n") +
 #ifdef __WXMSW__
         wxU( vlc_wraptext(LICENSE_MSG,WRAPCOUNT) ) + wxT("\n\n") +
 #else
index ff4b1ac30f6980280efbd6e6237e2d5876d19ede..35029d24f8471461f1468976f983e6cbe9cfe430 100644 (file)
@@ -380,7 +380,7 @@ SOURCES_libvlc_control = \
 misc/revision.c:
        rm -f $@ $@.tmp
        echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > $@.tmp
-       REVISION="$$(LANG=C svnversion "$(top_srcdir)" 2>/dev/null || echo exported)" ; \
+       REVISION="$$(LANG=C git-show-ref -s HEAD 2>/dev/null | cut -b -10 || echo exported)"; \
        echo "const char psz_vlc_changeset[] = \"$$REVISION\";" >> $@.tmp
        mv -f $@.tmp $@
 
index e667d249ecb4b33c2a175ba762b300185aa36f66..11429446b927936a34f3b79ce28963bd466efcb9 100644 (file)
@@ -1810,7 +1810,7 @@ static void Version( void )
              VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() );
     utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );
     if( strcmp( VLC_Changeset(), "exported" ) )
-        utf8_fprintf( stdout, _("Based upon svn changeset [%s]\n"),
+        utf8_fprintf( stdout, _("Based upon Git commit [%s]\n"),
                  VLC_Changeset() );
     utf8_fprintf( stdout, LICENSE_MSG );