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

Compiling GIMP for/on Windows (on Cygwin)

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.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Compiling GIMP for/on Windows (on Cygwin) Phani Bhushan Tholeti 30 Apr 14:50
  Compiling GIMP for/on Windows (on Cygwin) Tor Lillqvist 30 Apr 15:10
  Compiling GIMP for/on Windows (on Cygwin) Sven Neumann 02 May 14:35
Phani Bhushan Tholeti
2010-04-30 14:50:32 UTC (over 14 years ago)

Compiling GIMP for/on Windows (on Cygwin)

Hi:

I was interested in contributing to the GIMP src (maybe a few bug fixes or such), when I had these problems:

0. Have to use M$ Windows (can't help it - its the system given by my employer)
way out: Use Cygwin.

1. git clone fails as the git port is blocked. way out: Download source code of latest release and submit patches on that (good enough)

2. After downloading the code, I am not able to figure out the dependencies (on Cygwin)

So, is there any way for Cygwin (for compiling GIMP from source), other than manually going through each dependency and installing them (which I dont know if will work in Cygwin or not)?

The official Cygwin port of GIMP appears to be an old version (1.x if I remember right)

I hope I don't "have" to switch Linux for this.

Tor Lillqvist
2010-04-30 15:10:00 UTC (over 14 years ago)

Compiling GIMP for/on Windows (on Cygwin)

0. Have to use M$ Windows

Don't bother writing "M$", that is so last century.

    way out: Use Cygwin.

In what way is that a way out? You will still be using Windows...

You should be aware that if you use Cygwin, and your intent is to build software for "native" Windows (software that doesn't use the Unix emulation that Cygwin provides), you must be very careful to avoid confusion. I really suggest using MSYS instead. (Distributed from the same site as MinGW.)

You should think of Cygwin as a completely separate operating system, that just happens to run on top of Windows.

2. After downloading the code, I am not able to figure out the dependencies (on Cygwin)

Even if you do insist on using Cygwin as you interactive shell environment, don't look for dependencies "on Cygwin". If you for instance use GTK+ for Cygwin it will require the X window system at run-time, as far as I know. If you use a Cygwin build of libjpeg or libpng, for instance, but GTK+ for Windows, you will justl be creating an awful mess for yourself.

So, is there any way for Cygwin (for compiling GIMP from source), other than manually going through each dependency and installing them (which I dont know if will work in Cygwin or not)?

Well, let's forget Cygwin for now, right? But still, indeed, you need to manually install suitable run-time and developer packages for the dependencies for Windows. Most importantly, the GTK+ stack, and libraries like libjpeg and libpng.
http://www.gtk.org/download-windows.html will help you a bit. And you will have to build babl and gegl.

I hope I don't "have" to switch Linux for this.

Most people think it is easier to cross-compile GIMP for Windows from Linux.

--tml

Sven Neumann
2010-05-02 14:35:41 UTC (over 14 years ago)

Compiling GIMP for/on Windows (on Cygwin)

On Fri, 2010-04-30 at 18:20 +0530, Phani Bhushan Tholeti wrote:

1. git clone fails as the git port is blocked. way out: Download source code of latest release and submit patches on that (good enough)

No, that is not really good enough. Many parts of the code have undergone major changes since the latest release. It is recommended that you base your patches on a more recent version. And we very much appreciate patches created using git-format-patch.

I am sure you can find a way around the blocked port, for example by using an ssh tunnel.

Sven