Re: [Gimp-developer] Windows builds using MSYS2

2016-05-10 Thread Petteri Soininen

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


Re: [Gimp-developer] Windows builds using MSYS2

2016-05-09 Thread Partha Bagchi
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


Re: [Gimp-developer] Windows builds using MSYS2

2016-05-09 Thread Petteri Soininen
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


Re: [Gimp-developer] Windows builds using MSYS2

2016-05-09 Thread Barney Holmes
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


Re: [Gimp-developer] Windows builds using MSYS2

2016-05-01 Thread Jehan Pagès
Hi,

On Sun, May 1, 2016 at 10:01 AM, Petteri Soininen  wrote:
> Instructions to build Gimp 64bit with Windows/MSYS2/mingw64 seem quite
> outdated when trying to build 2.9.x.
> I have struggled and learned much about the build process and probably could
> make an updated document "Howto"
> I still struggle with Python support and I haven't been able to completely
> make python work as it seems to be a weird combination of 64/32bit libraries
> and no good documentation anywhere and
> http://wiki.gimp.org/wiki/Hacking:Building/Windows just states that python
> support should be just disabled.
> That is a 'no go' in my opinion as many plugins rely heavily on python and
> I'd like to make it easier for beginners, who use Windows, to compile builds
> and possibly contribute on testing and development.
> I'm quite a n00b myself, but a fast learner. So if anyone could give me some
> pointers on how to make python plugins work with newer builds, I'd
> appreciate it very much and I'll try to make updated instructions for others
> to use.

The fact is that there are no reccurent Windows developer in the team.
Like even though we may have patches from time to time, nobody from
the Windows world seems to be here to stay. For myself, I am one of
the rare one who will do sometimes a patch for GIMP on Windows (and
really out of sympathy since I myself don't use Windows and haven't
really for years and years!). But when I do, I cross-build GIMP on
Linux and test it in a Windows VM. I don't build it on Windows
directly.

So it does not surprise me that the instructions to build GIMP on
Windows are quite bad. Few people ever do this and I'm not sure when
this may have been last updated.
If you have fixes to do to the howto, you are welcome to propose them,
and we could update the wiki. If you manage to do this, you will
probably know more on the topic than most of us. Also if you are a
Windows developer, you would be more than welcome to contribute
patches and improve GIMP on Windows. I would propose that you come and
hang out on IRC, and that you check out the bugtracker to propose
patches. :-)
Thanks!

Jehan

> ___
> 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



-- 
ZeMarmot open animation film
http://film.zemarmot.net
Patreon: https://patreon.com/zemarmot
___
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