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

(no subject)

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.

8 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

(no subject) steve@advance-software.com 25 Oct 13:41
  (no subject) Martin Nordholts 25 Oct 13:47
  (no subject) Sven Neumann 25 Oct 14:15
  (no subject) Tor Lillqvist 25 Oct 23:44
   (no subject) jernej@ena.si 25 Oct 23:57
(no subject) steve@advance-software.com 25 Oct 14:28
mailman.3.1224010803.31403.... 07 Oct 20:26
  (no subject) Alchemie foto\\grafiche 14 Oct 23:52
  Proposed usabillity enhancement for PNG handling Alchemie foto\\grafiche 14 Oct 23:57
Alchemie foto\\grafiche
2008-10-14 23:52:56 UTC (about 16 years ago)

(no subject)

Sven Neumann

Subject: Re: [Gimp-developer] Proposed usabillity enhancement for PNG

That's not true. The current background color is used. So if you want
the background to be white, then you should set your background color to
white.

No. maybe "should" but does not for me

My background color is as default white and i seldom change that but all my png if converted to jpg get a black background

and anyway if was that the reason the color will be not always black ,since there are millions of other possible BG colors

But result never change : png transparency become in jpg is always black , never yellow green or red,and more relevant never white

this at least on my gimp 2.6.1 with windows xp.

Scopri il blog di Yahoo! Mail: Trucchi, novità e scrivi la tua opinione. http://www.ymailblogit.com/blog

Alchemie foto\\grafiche
2008-10-14 23:57:22 UTC (about 16 years ago)

Proposed usabillity enhancement for PNG handling

Sven Neumann

Subject: Re: [Gimp-developer] Proposed usabillity enhancement for PNG

That's not true. The current background color is used. So if you want
the background to be white, then you should set your background color to
white.

No. maybe "should" but does not for me

My background color is as default white and i seldom change that but all my png if converted to jpg get a black background

and anyway if was that the reason the color will be not always black ,since there are millions of other possible BG colors

But result never change : png transparency become in jpg is always black , never yellow green or red,and more relevant never white

this at least on my gimp 2.6.1 with windows xp.

PS in my previous post title went missed , sorry

Scopri il blog di Yahoo! Mail: Trucchi, novità e scrivi la tua opinione. http://www.ymailblogit.com/blog

steve@advance-software.com
2008-10-25 13:41:04 UTC (about 16 years ago)

(no subject)

Well I'm not sure it is valid to call it "faulty" since you've obviously

managed to build something with it, but it doesn't sound as if you at all use the build system GIMP is meant to be build with, namely autotools (Automake, Autoconf etc).

I did the following :-

Windows XP development system, running MSDev as my main development environment.

Full cygwin development tree install.

1. configure 2. make

3. Configure & compile errors ... 4. Figure out missing dependencies, environment variables that needed setting, etc ..
5. Repeat as necessary, with necessary modification of gimp.h at one point to parse the
command line.

I had to spend around a day and a half messing about to do something that should have
taken around half an hour.

It should not be particularly difficult to enhance your build system to build natively on
Windows. I suggest looking at the Mozilla build system for an example of how to do this
properly.

Its always a pain getting up & running with a new development tree, but things could be
more straightforward.

One example. This pkgconfig thingy. In every module, I needed to edit each .pc file so
that :

prefix=[local path to module]

... now, what's this all about ? You can figure out this path implicitly from the location of the .pc file !

Yuk.

/awaits severe flaming

GIMP itself is an excellent cross plaform app. The build system however looks like it
needs a little work.

Best regards,

Steve.

-------------------------------------------------------------------- mail2web.com ? Enhanced email for the mobile individual based on Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail

Martin Nordholts
2008-10-25 13:47:49 UTC (about 16 years ago)

(no subject)

steve@advance-software.com wrote:

Well I'm not sure it is valid to call it "faulty" since you've obviously

It should not be particularly difficult to enhance your build system to build natively on
Windows. I suggest looking at the Mozilla build system for an example of how to do this
properly.

The core developers all develop on Linux where building GIMP is vastly easier, so if you want it to be easier to build GIMP on Windows you would have to contribute patches yourself. I think GLib and/or GTK+ has MSDev build files in a build-subdir.

One example. This pkgconfig thingy. In every module, I needed to edit each .pc file so
that :

prefix=[local path to module]

... now, what's this all about ?

Um, what? Not sure why edited the .pc files, but I'm pretty sure you didn't have to.

Have you ever built anything on Linux? If not, maybe you should before you building Linux software on Windows, which is 100 times more difficult ;)

- Martin

Sven Neumann
2008-10-25 14:15:45 UTC (about 16 years ago)

(no subject)

Hi,

On Sat, 2008-10-25 at 07:41 -0400, steve@advance-software.com wrote:

It should not be particularly difficult to enhance your build system to build natively on Windows.

If you think this would be easy, then feel free to do that.

It would be a lot easier though if you just learned some of the basics about our build system. You would then realize that it also works nicely on Windows. You just need to know what you are doing. Feel free to ask.

Sven

steve@advance-software.com
2008-10-25 14:28:08 UTC (about 16 years ago)

(no subject)

Hi Sven,

It would be a lot easier though if you just learned some of the basics

about our build system. You would then realize that it also works nicely on Windows. You just need to know what you are doing. Feel free to ask.

I looked on your website, ran a few searches and could not find an explanation of how to
build a plugin on Windows using the MSDev compiler/linker , so used cygwin gcc as a
temporary solution.

Please could you point me at a webpage explaining how I can compile this plugin on
Windows, using the MSDev compiler/linker.

Cheers, Steve.

-------------------------------------------------------------------- mail2web - Check your email from the web at http://link.mail2web.com/mail2web

Tor Lillqvist
2008-10-25 23:44:13 UTC (about 16 years ago)

(no subject)

Full cygwin development tree install.

Please avoid Cygwin if you are building native Windows software. Cygwin is nice if you build Cygwin software, but presumably that is not what you are wanting to do, if you want to build plug-ins that work with the "native" Windows GIMP.

(Yes, I do know that there are some software packages where the way to build for Windows (no Cygwin used at run-time) uses Cygwin. I know of OpenOffice.org and Mono. But for packages that use "normal" GNU autofoo and libtool, like GIMP, Cygwin should usually be avoided if what one wants is to build non-Cygwin "native" Windows code. It's way too easy to confuse things and mix Cygwin libraries with non-Cygwin ones.)

Use the mingw toolchain instead, and MSYS to run configure scripts and as interactive shell. Or use the cross-compiling mingw on Linux.

I had to spend around a day and a half messing about to do something that should have taken around half an hour.

"should have taken" in an ideal world.

It should not be particularly difficult to enhance your build system to build natively on
Windows. I suggest looking at the Mozilla build system for an example of how to do this properly.

Are you volunteering?

One example. This pkgconfig thingy. In every module, I needed to edit each .pc file so that :

prefix=[local path to module]

If you use the native Windows pkg-config, you don't need to edit .pc files (at least not for the libraries whose Windows development packages are distributed on ftp.gnome.org).

... now, what's this all about ?

You can figure out this path implicitly from the location of the .pc file !

Yes, and that is what pkg-config does on Windows (*not* Cygwin, which from software point of view is just a variant of Unix, even if actually running on top of Windows). Read the manual page. The prefix entry in the .pc file is not used on Windows.

IMHO pkg-config could well have been designed/defined to work this way on Unix, also, but I don't think it can be changed at this stage, in case there really are some packages out there where the location of the .pc file is not $prefix/{lib,share}/pkconfig.

The prefix line is present in the .pc files o (at least "my") Windows packages just because it would require more work to edit out the prefix line from .pc files when building a library for Windows. In the Windows packages I build, the prefix used at build-time on my machines on purpose contain a string of hex digits (an md5 hash value actually) as a hint that it is more or less a dummy string that is not expected to exist on the user machine.

GIMP itself is an excellent cross plaform app. The build system however looks like it needs a little work.

Sure. Again, are you volunteering?

--tml

jernej@ena.si
2008-10-25 23:57:31 UTC (about 16 years ago)

(no subject)

On Saturday, October 25, 2008, 23:44:13, Tor Lillqvist wrote:

IMHO pkg-config could well have been designed/defined to work this way on Unix, also, but I don't think it can be changed at this stage, in case there really are some packages out there where the location of the .pc file is not $prefix/{lib,share}/pkconfig.

I'd like to see this happen very much, as it would spare me from needing to fix the .pc files before I build Gimp :)

BTW, I uploaded the development package (headers and import libraries) to sourceforge, it's available on the Files page:

Hopefully, nothing is missing.