Hi Nicolas,
thanks for testing!
- I installed the 64-bit version, with both the 32 and 64-bit packages (installed via the msys2installdeps.sh script). Note that due to a quite slow Internet connection, I had to launch the script 3 or 4 times (some packages took too long to download and failed in timeout).
Luckily I never had any problems with installing packages on my side, but I found some useful tips at [1] and a suggestion on how to achieve arbitrary download timeouts by using curl at [2].
[1] https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Download_speeds [2] https://bbs.archlinux.org/viewtopic.php?id=180873
- The imagemagick-6 packages and the additional Python packages (in the pip install section) were not automatically installed by the script, and I had to add them manually. Probably my fault though, because I launched MSYS2 with the msys2 command, not the mingw32 or ming64 ones (and thus the platform specific folder was not in the path). Could be interesting to document it in the wiki page.
No, that was my fault (I changed something in the script at the last minute and immediately introduced a regression... what did I expect ;-) ). Fixed with [3]. For installing packages the MSYS shell is actually the officially preferred shell. As a rule of thumb: for all "administrative" tasks (like installing/updating packages) use the MSYS shell. For building native software (like Inkscape) use the MinGW 32/64 shells.
[3] http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/15577
- Bzr needs ssh to work correctly (with default settings). It works perfectly with the Openssh package, but I read other users used the Putty package or some Python modules.
I'm using openssh, too. In the version of "msys2installdeps.sh" I used for testing I still had included git (which explicitly depends on openssh), so I already had it installed. That being said for a simple checkout one can actually work without ssh and I certainly hope we switch to git soon!
- Inkscape trunk 64-bit compilation (with cmake and ninja) works perfectly. The application looks a bit weird with Gtk3 on Windows (If I remember correctly, the UI elements were significantly smaller with my previous Gtk3 tests), but not that bad. And I see no obvious regression with the basic features for now.
Great! That's obviously by far the most important point. I know there are some issues with GTK3 UI, mostly because Adwaita is used which looks very non-native on Windows and has some incredibly huge controls.However functionality-wise everything is there, so it's fine for testing. Going forward I'm leaning towards using the "win32" native theme. It has it's issues, too, but I think we can fix them with some CSS. Obviously fiddling with UI is something that does not make much sense before we have decided on one of the options, so that's probably one decision we should make early.
- I first tried to compile with gtest installed, but as it failed I removed the folder without investigating. Please tell me if it's expected to work or not.
I never tried gtest to be honest, so can't comment on that.
I'll try to find time this week to test 32-bit building on my 64-bit computer. Probably something to tweak somewhere to make it work (clues are welcome!). Another MSYS2 (32-bit version) is in progress so that I can test it with an old Windows XP computer later (yes, I'm also forced to use one from time to time...).
I'm not sure I understand? I can build both (32/64-bit Inkscape) on Windows 10 x64 (using 64-bit version of MSYS2, but that should not even matter) without any problems. What's there to tweak? Just launch the correct shell ("MSYS2 MinGW 32-bit") and compile exactly as you compiled the 64-bit version.
Regarding Windows XP: You probably have to copy the installation from another machine as the MSYS2 installer currently is said not to work on XP (see note on MSYS2 homepage). Do you want to compile trunk on XP? If so are you planning on gathering old gtk3 packages (+ dependencies) that are still compatible with XP?
Thanks for your help, Eduard, MSYS2 looks very promising!
Regards,
Nicolas
Regards, Eduard