Re: Meson build: status update



On Sun, 2019-01-13 at 19:03 +0300, Andrey Repin via dia-list wrote:
Greetings, Eduard Nicodei via dia-list!

Just wanted to give a quick update on the meson build port:
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2FGNOME%2Fdia%2Fmerge_requests%2F14&data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&sdata=KkDGVj8jDFj3giD%2B0odTAL6ldfApGwARXxDMVNcrbT4%3D&reserved=0

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://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2Fneduard%2Fdia%2Fblob%2Fmeson_port%2Fplug-ins%2Fwmf%2Fpaginate_gdiprint.cpp%23L48&data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&sdata=zly8g6%2Fds6w6i5Em2UMGCeCNZvXpaq9x0XthdWt6KxY%3D&reserved=0
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://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2FGNOME%2Fdia%2Fissues%2F22&amp;data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&amp;sdata=rX6%2BRAvxCJxYe28oXKCbUfOaF%2BayJhrZrxbVaeI1p6I%3D&amp;reserved=0
 ), 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://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2Fneduard%2Fdia%2Fissues%2F3&amp;data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&amp;sdata=ZT%2FdmHegDd%2F0rPSDuAi2llnFRZkhq%2FSeJcPbr%2F5PQ4Q%3D&amp;reserved=0
  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.


If you know how to build MSI packages then sure!

Other GNOME software (such as gedit) is distributed in this way so they
may have something we can use as a template

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

Sorry for my terrible english...
_______________________________________________
dia-list mailing list
dia-list gnome org
https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.gnome.org%2Fmailman%2Flistinfo%2Fdia-list&amp;data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&amp;sdata=qfpznCy0qNe0mEbwa3E5aqfGXbGS8b6cRk%2F7DJzf6rI%3D&amp;reserved=0
FAQ at 
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flive.gnome.org%2FDia%2FFaq&amp;data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&amp;sdata=3eYuS2A%2BYZeNGdMnarhc8RfHktEnk06vhOf%2FReUYC7M%3D&amp;reserved=0
Main page at 
https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flive.gnome.org%2FDia&amp;data=02%7C01%7C%7C42b314845fe34060c79108d679719f5c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636829926245765987&amp;sdata=RTPCXtiMGj1Ges6qA6K8b42XtZ2ese6FO7WLFChl3XI%3D&amp;reserved=0

-- 
Zander Brown <zbrown gnome org>
GNOME

Attachment: signature.asc
Description: This is a digitally signed message part



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