RSS/Atom feed Twitter
Site is read-only, email is disabled

Windows builds using MSYS2

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

Windows builds using MSYS2 Barney Holmes 09 May 10:03
  Windows builds using MSYS2 Petteri Soininen 09 May 11:47
   Windows builds using MSYS2 Partha Bagchi 09 May 11:51
    Windows builds using MSYS2 Petteri Soininen 10 May 17:43
     Windows builds using MSYS2 john smith 14 May 00:59
Barney Holmes
2016-05-09 10:03:46 UTC (almost 8 years ago)

Windows builds using MSYS2

Hi,

I've also been working on building Gimp for Windows simply because for one reason or another I have Windows on my main, faster machine, and I've wanted to get some of the latest bug fixes. I also wanted to fix - https://bugzilla.gnome.org/show_bug.cgi?id=757717

I tried the Linux cross compile using the wiki Mingw64 instructions. I was trying to retrieve the prebuilt library RPM's from, I think it's OpenSUSE, but that seems to be outdated. Now I have Code::Blocks setup to cross compile with MinGW-w64, I’ll try building those dependencies.

I'm investigating MSYS2. It looks like a good project and a lot of other projects seem to use it to provide releases for Windows, but its a slow to compile even with multiple threads set. Some of those projects may use Python so they might be able to help with Python for Gimp.

I attach my current "autogen" and "make" outputs. I am building with most extras disabled as I just want to iron out the build process first.

http://files.djbarney.org/autogen_output.txt http://files.djbarney.org/make_output.txt

Are you building from the main branch ?

Do you get a successful build with Python disabled ?

Cheers.

Sent from Mail for Windows 10

Petteri Soininen
2016-05-09 11:47:07 UTC (almost 8 years ago)

Windows builds using MSYS2

I have a build working from latest master with Msys2, and I'm in progress of making notes to how to do it. Still haven't got python working ok as running Gimp gives me "Failed to execute child process (No such file or directory)" errors on every py script when launching, but I'll post my notes so far..

http://pastebin.com/ZHT2A4K5

Hopefully that helps. (and I'm using WIn10, 64bit)

On 9.5.2016 13:03, Barney Holmes wrote:

Hi,

I've also been working on building Gimp for Windows simply because for one reason or another I have Windows on my main, faster machine, and I've wanted to get some of the latest bug fixes. I also wanted to fix - https://bugzilla.gnome.org/show_bug.cgi?id=757717

I tried the Linux cross compile using the wiki Mingw64 instructions. I was trying to retrieve the prebuilt library RPM's from, I think it's OpenSUSE, but that seems to be outdated. Now I have Code::Blocks setup to cross compile with MinGW-w64, I’ll try building those dependencies.

I'm investigating MSYS2. It looks like a good project and a lot of other projects seem to use it to provide releases for Windows, but its a slow to compile even with multiple threads set. Some of those projects may use Python so they might be able to help with Python for Gimp.

I attach my current "autogen" and "make" outputs. I am building with most extras disabled as I just want to iron out the build process first.

http://files.djbarney.org/autogen_output.txt http://files.djbarney.org/make_output.txt

Are you building from the main branch ?

Do you get a successful build with Python disabled ?

Cheers.

Sent from Mail for Windows 10

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Partha Bagchi
2016-05-09 11:51:43 UTC (almost 8 years ago)

Windows builds using MSYS2

What have you tried so far to get Python working? All I see is "python is not working".

Just as FYI, I've been providing Windows 64bit and Mac builds for almost 5 years now.

On Mon, May 9, 2016 at 7:47 AM, Petteri Soininen wrote:

I have a build working from latest master with Msys2, and I'm in progress of making notes to how to do it. Still haven't got python working ok as running Gimp gives me "Failed to execute child process (No such file or directory)" errors on every py script when launching, but I'll post my notes so far..

http://pastebin.com/ZHT2A4K5

Hopefully that helps. (and I'm using WIn10, 64bit)

On 9.5.2016 13:03, Barney Holmes wrote:

Hi,

I've also been working on building Gimp for Windows simply because for one reason or another I have Windows on my main, faster machine, and I've wanted to get some of the latest bug fixes. I also wanted to fix - https://bugzilla.gnome.org/show_bug.cgi?id=757717

I tried the Linux cross compile using the wiki Mingw64 instructions. I was trying to retrieve the prebuilt library RPM's from, I think it's OpenSUSE, but that seems to be outdated. Now I have Code::Blocks setup to cross compile with MinGW-w64, I’ll try building those dependencies.

I'm investigating MSYS2. It looks like a good project and a lot of other projects seem to use it to provide releases for Windows, but its a slow to compile even with multiple threads set. Some of those projects may use Python so they might be able to help with Python for Gimp.

I attach my current "autogen" and "make" outputs. I am building with most extras disabled as I just want to iron out the build process first.

http://files.djbarney.org/autogen_output.txt http://files.djbarney.org/make_output.txt

Are you building from the main branch ?

Do you get a successful build with Python disabled ?

Cheers.

Sent from Mail for Windows 10

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Petteri Soininen
2016-05-10 17:43:03 UTC (almost 8 years ago)

Windows builds using MSYS2

Got python working now.
Mainly four reasons why I fumbled with it for so long.. 1) I had 32Bit gimp.pyd on my path for some reason. I have tried building both so I
must have moved it to test something and that 32/64 conflict confused me. 2) No libpython27.dll or pythonw.exe. With MSys2 there comes libpython2.7.dll and
python2w.exe though..
3) lib/gimp/2.0/interpreters/pygimp.intrep gets messed every time when building.
(this is definitely a bug in build process) 4) I once removed everything and used a different --prefix but the earlier installation
path in Edit/Preferences/Folders/Interpreters stayed the same even though other
paths changed to reflect the new location and I didn't notice it at first. (someone might want to look at that if it's a bug)

On 9.5.2016 14:51, Partha Bagchi wrote:

What have you tried so far to get Python working? All I see is "python is not working".

Just as FYI, I've been providing Windows 64bit and Mac builds for almost 5 years now.

On Mon, May 9, 2016 at 7:47 AM, Petteri Soininen wrote:

I have a build working from latest master with Msys2, and I'm in progress of making notes to how to do it. Still haven't got python working ok as running Gimp gives me "Failed to execute child process (No such file or directory)" errors on every py script when launching, but I'll post my notes so far..

http://pastebin.com/ZHT2A4K5

Hopefully that helps. (and I'm using WIn10, 64bit)

On 9.5.2016 13:03, Barney Holmes wrote:

Hi,

I've also been working on building Gimp for Windows simply because for one reason or another I have Windows on my main, faster machine, and I've wanted to get some of the latest bug fixes. I also wanted to fix - https://bugzilla.gnome.org/show_bug.cgi?id=757717

I tried the Linux cross compile using the wiki Mingw64 instructions. I was trying to retrieve the prebuilt library RPM's from, I think it's OpenSUSE, but that seems to be outdated. Now I have Code::Blocks setup to cross compile with MinGW-w64, I’ll try building those dependencies.

I'm investigating MSYS2. It looks like a good project and a lot of other projects seem to use it to provide releases for Windows, but its a slow to compile even with multiple threads set. Some of those projects may use Python so they might be able to help with Python for Gimp.

I attach my current "autogen" and "make" outputs. I am building with most extras disabled as I just want to iron out the build process first.

http://files.djbarney.org/autogen_output.txt http://files.djbarney.org/make_output.txt

Are you building from the main branch ?

Do you get a successful build with Python disabled ?

Cheers.

Sent from Mail for Windows 10

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

john smith
2016-05-14 00:59:26 UTC (almost 8 years ago)

Windows builds using MSYS2

FYI: There is a vagrant project for GIMP development here https://github.com/samrocketman/vagrant-gimp

For those that aren't aware, vagrant allows you to describe a virtual machine and what is on it, then with one command ("vagrant up") you end up with a virtual machine as specified.

I'm not sure if this one targets Win builds or not but it is fairly trivial to extend it to ensure that all the correct packages are available on the path.

Using vagrant to provision a VM like this lowers the barrier to entry to developing/hacking on GIMP and saves people time on getting dependencies configured correctly.

On 10 May 2016 at 13:43, Petteri Soininen wrote:

Got python working now.
Mainly four reasons why I fumbled with it for so long.. 1) I had 32Bit gimp.pyd on my path for some reason. I have tried building both so I
must have moved it to test something and that 32/64 conflict confused me. 2) No libpython27.dll or pythonw.exe. With MSys2 there comes libpython2.7.dll and
python2w.exe though..
3) lib/gimp/2.0/interpreters/pygimp.intrep gets messed every time when building.
(this is definitely a bug in build process) 4) I once removed everything and used a different --prefix but the earlier installation
path in Edit/Preferences/Folders/Interpreters stayed the same even though other
paths changed to reflect the new location and I didn't notice it at first. (someone might want to look at that if it's a bug)

On 9.5.2016 14:51, Partha Bagchi wrote:

What have you tried so far to get Python working? All I see is "python is not working".

Just as FYI, I've been providing Windows 64bit and Mac builds for almost 5 years now.

On Mon, May 9, 2016 at 7:47 AM, Petteri Soininen wrote:

I have a build working from latest master with Msys2, and I'm in progress of making notes to how to do it. Still haven't got python working ok as running Gimp gives me "Failed to execute child process (No such file or directory)" errors on every py script when launching, but I'll post my notes so far..

http://pastebin.com/ZHT2A4K5

Hopefully that helps. (and I'm using WIn10, 64bit)

On 9.5.2016 13:03, Barney Holmes wrote:

Hi,

I've also been working on building Gimp for Windows simply because for one reason or another I have Windows on my main, faster machine, and I've
wanted to get some of the latest bug fixes. I also wanted to fix - https://bugzilla.gnome.org/show_bug.cgi?id=757717

I tried the Linux cross compile using the wiki Mingw64 instructions. I was trying to retrieve the prebuilt library RPM's from, I think it's OpenSUSE, but that seems to be outdated. Now I have Code::Blocks setup to
cross compile with MinGW-w64, I’ll try building those dependencies.

I'm investigating MSYS2. It looks like a good project and a lot of other projects seem to use it to provide releases for Windows, but its a slow to
compile even with multiple threads set. Some of those projects may use Python so they might be able to help with Python for Gimp.

I attach my current "autogen" and "make" outputs. I am building with most
extras disabled as I just want to iron out the build process first.

http://files.djbarney.org/autogen_output.txt http://files.djbarney.org/make_output.txt

Are you building from the main branch ?

Do you get a successful build with Python disabled ?

Cheers.

Sent from Mail for Windows 10

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list