Commit dbfffa2a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove all uses of VLC_Changeset

parent 74d8818a
...@@ -432,7 +432,6 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer, ...@@ -432,7 +432,6 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer,
mvar_AppendNewVar( p_args->vars, "vlc_compile_domain", mvar_AppendNewVar( p_args->vars, "vlc_compile_domain",
VLC_CompileDomain() ); VLC_CompileDomain() );
mvar_AppendNewVar( p_args->vars, "vlc_compiler", VLC_Compiler() ); mvar_AppendNewVar( p_args->vars, "vlc_compiler", VLC_Compiler() );
mvar_AppendNewVar( p_args->vars, "vlc_changeset", VLC_Changeset() );
mvar_AppendNewVar( p_args->vars, "stream_position", position ); mvar_AppendNewVar( p_args->vars, "stream_position", position );
mvar_AppendNewVar( p_args->vars, "stream_time", time ); mvar_AppendNewVar( p_args->vars, "stream_time", time );
mvar_AppendNewVar( p_args->vars, "stream_length", length ); mvar_AppendNewVar( p_args->vars, "stream_length", length );
......
...@@ -86,13 +86,8 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -86,13 +86,8 @@ static VLAboutBox *_o_sharedInstance = nil;
[o_about_window setTitle: _NS("About VLC media player")]; [o_about_window setTitle: _NS("About VLC media player")];
/* setup the creator / revision field */ /* setup the creator / revision field */
if( VLC_Changeset() != "exported" ) [o_revision_field setStringValue:
[o_revision_field setStringValue: [NSString stringWithFormat: _NS("Compiled by %s"), VLC_CompileBy()]];
[NSString stringWithFormat: _NS("Compiled by %s, based on Git commit %s"),
VLC_CompileBy(), VLC_Changeset()]];
else
[o_revision_field setStringValue:
[NSString stringWithFormat: _NS("Compiled by %s"), VLC_CompileBy()]];
/* Setup the nameversion field */ /* Setup the nameversion field */
[o_name_version_field setStringValue: [NSString stringWithFormat:@"Version %s (%s)", VLC_Version(), PLATFORM]]; [o_name_version_field setStringValue: [NSString stringWithFormat:@"Version %s (%s)", VLC_Version(), PLATFORM]];
......
...@@ -120,7 +120,6 @@ AboutDialog::AboutDialog( QWidget *parent, intf_thread_t *_p_intf) ...@@ -120,7 +120,6 @@ AboutDialog::AboutDialog( QWidget *parent, intf_thread_t *_p_intf)
+ qfu( VLC_CompileBy() )+ "@" + qfu( VLC_CompileHost() ) + "." + qfu( VLC_CompileBy() )+ "@" + qfu( VLC_CompileHost() ) + "."
+ qfu( VLC_CompileDomain() ) + ".\n" + qfu( VLC_CompileDomain() ) + ".\n"
+ qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n" + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n"
+ qtr( "Based on Git commit: " ) + qfu( VLC_Changeset() ) + ".\n"
+ qtr( "You are using the Qt4 Interface.\n\n" ) + qtr( "You are using the Qt4 Interface.\n\n" )
+ qtr( "Copyright (C) " ) + COPYRIGHT_YEARS + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS
+ qtr( " by the VideoLAN Team.\n" ) + qtr( " by the VideoLAN Team.\n" )
......
...@@ -206,7 +206,7 @@ const char * libvlc_get_compiler(void) ...@@ -206,7 +206,7 @@ const char * libvlc_get_compiler(void)
const char * libvlc_get_changeset(void) const char * libvlc_get_changeset(void)
{ {
return VLC_Changeset(); return "exported";
} }
/* export internal libvlc_instance for ugly hacks with libvlccore */ /* export internal libvlc_instance for ugly hacks with libvlccore */
......
...@@ -1982,9 +1982,6 @@ static void Version( void ) ...@@ -1982,9 +1982,6 @@ static void Version( void )
utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"), utf8_fprintf( stdout, _("Compiled by %s@%s.%s\n"),
VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() ); VLC_CompileBy(), VLC_CompileHost(), VLC_CompileDomain() );
utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() ); utf8_fprintf( stdout, _("Compiler: %s\n"), VLC_Compiler() );
if( strcmp( VLC_Changeset(), "exported" ) )
utf8_fprintf( stdout, _("Based upon Git commit [%s]\n"),
VLC_Changeset() );
utf8_fprintf( stdout, LICENSE_MSG ); utf8_fprintf( stdout, LICENSE_MSG );
#ifdef WIN32 /* Pause the console because it's destroyed when we exit */ #ifdef WIN32 /* Pause the console because it's destroyed when we exit */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment