Re: Meson build: status update



Greetings, Eduard Nicodei via dia-list!

Just wanted to give a quick update on the meson build port:
https://gitlab.gnome.org/GNOME/dia/merge_requests/14

Thanks!

I've tested it on Windows 10 with MSYS,

...

The Windows build caused some problems, but I've ported all plug-ins,
including the Python integration.  The only exception is the wmf plug-in:
currently its compilation fails with "W32::std::abs - not found".  This
happens when including window.h in the following snippet of code
https://gitlab.gnome.org/neduard/dia/blob/meson_port/plug-ins/wmf/paginate_gdiprint.cpp#L48

namespace W32 {
// can't 
// #define WIN32_LEAN_AND_MEAN
// because we need stuff like PRINTDLG
#include <windows.h>
}

This may indicate an error in header files.

I don't know how many people use this plug-in and thus have left it as such
for the time being.  I don't have much experience with Windows.h so if
anybody can help identifying why the issue is happening, that would be much appreciated!

May be try the Cygwin mingw64 cross-compiler?

2. Windows distribution


Due to the interest in upgrading the Windows installer (
https://gitlab.gnome.org/GNOME/dia/issues/22 ), I have tried to package the
binaries into an archive to allow easy redistribution.  I hope this will be
helpful if we want (re-)create the NSIS installer?  I have created a few
archives and been keeping track of it on my fork:
https://gitlab.gnome.org/neduard/dia/issues/3  Archives are signed with my
key (F623017FC5900C39) but they are slightly out-dated (they do not have
Cairo or Python enabled).  I will create newer ones once the branch is ready.

I'd prefer standard MSI for easy distribution.


-- 
With best regards,
Andrey Repin
Sunday, January 13, 2019 18:57:00

Sorry for my terrible english...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]