~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/src/appglobals.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
3
 * http://www.gnu.org/licenses/gpl-3.0.html
4
4
 *
5
 
 * $Revision: 4918 $
6
 
 * $Id: appglobals.cpp 4918 2008-02-27 19:55:16Z mandrav $
7
 
 * $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/src/appglobals.cpp $
 
5
 * $Revision: 6261 $
 
6
 * $Id: appglobals.cpp 6261 2010-05-19 09:59:01Z mortenmacfly $
 
7
 * $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/src/appglobals.cpp $
8
8
 */
9
9
 
10
10
#include <sdk.h>
18
18
namespace appglobals
19
19
{
20
20
    const wxString AppVendor              = _T("Code::Blocks");
21
 
    const wxString AppName                          = _T("Code::Blocks");
 
21
    const wxString AppName                = _T("Code::Blocks");
22
22
 
23
23
    #if SVN_BUILD
24
 
        const wxString AppVersion                               = _T("svn build");
25
 
        const wxString AppActualVersionVerb     = _T("svn build  rev ") +  ConfigManager::GetRevisionString();
26
 
        const wxString AppActualVersion         = _T("svn-r") +  ConfigManager::GetRevisionString();
 
24
        const wxString AppVersion           = _T("svn build");
 
25
        const wxString AppActualVersionVerb = _T("svn build  rev ") +  ConfigManager::GetRevisionString();
 
26
        const wxString AppActualVersion     = _T("svn-r") +  ConfigManager::GetRevisionString();
27
27
    #else
28
 
        const wxString AppVersion                               = _T(RELEASE);
29
 
        const wxString AppActualVersionVerb     = _T("Release " RELEASE);
30
 
        const wxString AppActualVersion         = _T(RELEASE);
 
28
        const wxString AppVersion           = _T(RELEASE);
 
29
        const wxString AppActualVersionVerb = _T("Release " RELEASE "  rev ") + ConfigManager::GetRevisionString();
 
30
        const wxString AppActualVersion     = _T(RELEASE "-r") + ConfigManager::GetRevisionString();
31
31
    #endif
32
32
 
33
 
    const wxString AppUrl                                       = _T("http://www.codeblocks.org");
34
 
    const wxString AppContactEmail              = _T("info@codeblocks.org");
 
33
    const wxString AppUrl                   = _T("http://www.codeblocks.org");
 
34
    const wxString AppContactEmail          = _T("info@codeblocks.org");
35
35
 
36
36
    #if defined(__WXMSW__)
37
37
      const wxString AppPlatform = _T("Windows");
49
49
      const wxString AppPlatform = _T("Unknown");
50
50
    #endif
51
51
 
52
 
    const wxString AppWXAnsiUnicode = platform::unicode ? _T("unicode") : wxT("ANSI");
53
 
 
54
 
    const wxString AppBuildTimestamp = (wxString(wxT(__DATE__)) + wxT(", ") + wxT(__TIME__) + wxT(" - wx") + wxString(wxT(wxVERSION_NUM_DOT_STRING)) + wxT(" (") + AppPlatform + wxT(", ") + AppWXAnsiUnicode + wxT(")") );
 
52
    const wxString AppWXAnsiUnicode = platform::unicode ? wxT("unicode") : wxT("ANSI");
 
53
 
 
54
    #if defined(_LP64) || defined(_WIN64)
 
55
    const wxString bit_type = wxT(" - 64 bit");
 
56
    #else
 
57
    const wxString bit_type = wxT(" - 32 bit");
 
58
    #endif
 
59
 
 
60
    const wxString AppBuildTimestamp = (wxString(wxT(__DATE__)) + wxT(", ") + wxT(__TIME__) + wxT(" - wx") + wxString(wxT(wxVERSION_NUM_DOT_STRING)) + wxT(" (") + AppPlatform + wxT(", ") + AppWXAnsiUnicode + wxT(")") + bit_type );
55
61
 
56
62
    const wxString DefaultBatchBuildArgs = _T("-na -nd -ns --batch-build-notify");
57
63
};