again windows trial update
Christian Stimming
stimming at tuhh.de
Wed Mar 15 12:20:26 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
To quote http://wiki.gnucash.org/wiki/Windows#Status : The windows port
successfully compiled all C files in the standard configuration, which
were 540 C files in r13637. All modules up to and including
libgncmod-gnome.la have been built and linked, as well as the respective
test executables.
Due to the file system wrapper layers in mingw32, compiling and
especially linking is extremely slow. A full build of the gnucash tree
might take well over 6 hours on a normal PC.
I used the current SVN tree plus the few attached changes. I'm not sure
whether we should apply such changes in goffice; however, the current
goffice-0.2.0 didn't change these section in these files, so I still
don't know how the goffice would compile their project on windows
unchanged. Whatever.
I might continue to build and test gnucash on windows, but with respect
to the source code we can already claim that it is possible to build
gnucash on windows. It is completely untested and will probably not work
at all, but compiling is possible and as soon as someone with more
Windows knowledge fixes the startup/runtime problems, the full programm
will probably work. (But I don't have enough windows knowledge for that.)
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQCVAwUBRBhM2WXAi+BfhivFAQIUGwQAisSlt6hay1G7c2uMHOTWRTxCRCRGPNo1
A1ClF5dJEu6vNpBoK3H0nmvXaYSR+jvlvQP0Do6xVuyQObT7a6Eb2PJKCS1IlWvq
eEoWY6K7XLVwgmqF2MvwVTL9E3OnzSvCfYxwV7CfSJsI8eYFmokCLm+fbGH8kMuB
wetdyMetPHA=
=H0lr
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: configure.in
===================================================================
--- configure.in (Revision 13629)
+++ configure.in (Arbeitskopie)
@@ -38,7 +38,7 @@
# Check for gcc and intltool (somehow breaks the suggested content
# order, doesn't it? Whatever.)
AC_PROG_CC
-AC_PROG_INTLTOOL
+AC_PROG_INTLTOOL([],[no-xml])
AM_GCONF_SOURCE_2
Index: lib/goffice-0.0.4/goffice/utils/win32-stub.c
===================================================================
--- lib/goffice-0.0.4/goffice/utils/win32-stub.c (Revision 13637)
+++ lib/goffice-0.0.4/goffice/utils/win32-stub.c (Arbeitskopie)
@@ -1,13 +1,13 @@
#include <goffice/goffice-config.h>
#include "win32-stub.h"
-#include <urlmon.h>
+/* #include <urlmon.h> */
HWND HtmlHelp_ (HWND hwndCaller,
LPCSTR pszFile,
UINT uCommand,
DWORD dwData)
{
- return HtmlHelp (hwndCaller, pszFile, uCommand, dwData);
+ return 0;/* HtmlHelp (hwndCaller, pszFile, uCommand, dwData); */
}
HRESULT FindMimeFromData_(LPBC pBC,
@@ -19,6 +19,6 @@
LPWSTR *ppwzMimeOut,
DWORD dwReserved)
{
- return FindMimeFromData (pBC, pwzUrl, pBuffer, cbSize, pwzMimeProposed,
- dwMimeFlags, ppwzMimeOut, dwReserved);
+ return 0;/* FindMimeFromData (pBC, pwzUrl, pBuffer, cbSize, pwzMimeProposed, */
+/* dwMimeFlags, ppwzMimeOut, dwReserved); */
}
Index: lib/goffice-0.0.4/goffice/utils/win32-stub.h
===================================================================
--- lib/goffice-0.0.4/goffice/utils/win32-stub.h (Revision 13637)
+++ lib/goffice-0.0.4/goffice/utils/win32-stub.h (Arbeitskopie)
@@ -2,7 +2,7 @@
#define _HTMLHELP_STUB_h_
#include <windows.h>
-#include <htmlhelp.h>
+/* #include <htmlhelp.h> */
HWND HtmlHelp_ (HWND hwndCaller,
LPCSTR pszFile,
Index: lib/goffice-0.0.4/goffice/gtk/goffice-gtk.c
===================================================================
--- lib/goffice-0.0.4/goffice/gtk/goffice-gtk.c (Revision 13637)
+++ lib/goffice-0.0.4/goffice/gtk/goffice-gtk.c (Arbeitskopie)
@@ -743,7 +743,7 @@
{
#ifdef WITH_GNOME
gnome_help_display (paths->app, paths->link, NULL);
-#elif defined(G_OS_WIN32)
+#elif 0
static GHashTable* context_help_map = NULL;
guint id;
More information about the gnucash-devel
mailing list