Re: commit - fix --version string

From: Jesper Skov (jskov@zoftcorp.dk)
Date: Thu Apr 11 2002 - 01:11:51 EDT

  • Next message: Karl Ove Hufthammer: "Re: Norwegian Nynorsk update - 1 attachment"

    On Thu, 2002-04-11 at 01:08, Rui Miguel Silva Seabra wrote:
    > You broke the build. Maybe that symbol is only defined when you use
    > autoconf, or maybe some header is not being included!

    Actually, the symbol should be defined in CFLAGS. At least the docs for
    building a release with the build system mentions it.

    There's also a default value set in abi_defs.mak - but I see some places
    expect a stringified value, and others a non-strigified. Needs a cleanup
    which I don't have time to now. So just revert to hardwired string...

    Jesper

    Index: af/xap/unix/gnome/xap_UnixGnomeApp.cpp
    ===================================================================
    RCS file: /cvsroot/abi/src/af/xap/unix/gnome/xap_UnixGnomeApp.cpp,v
    retrieving revision 1.15
    diff -u -p -u -5 -p -r1.15 xap_UnixGnomeApp.cpp
    --- af/xap/unix/gnome/xap_UnixGnomeApp.cpp 11 Apr 2002 02:43:38 -0000 1.15
    +++ af/xap/unix/gnome/xap_UnixGnomeApp.cpp 11 Apr 2002 10:09:27 -0000
    @@ -50,11 +50,11 @@ XAP_UnixGnomeApp::~XAP_UnixGnomeApp(void
     }
     
     bool XAP_UnixGnomeApp::initialize(void)
     {
     #ifndef ABI_OPT_WIDGET
    - gnome_init(m_szAppName, ABI_BUILD_VERSION , m_pArgs->m_argc, m_pArgs->m_argv);
    + gnome_init(m_szAppName, "0.99.5" , m_pArgs->m_argc, m_pArgs->m_argv);
     #endif
     
             // let the base class of XAP_UnixApp do it's thing.
             
             XAP_App::initialize();



    This archive was generated by hypermail 2.1.4 : Thu Apr 11 2002 - 06:12:32 EDT