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

Extra plug-ins (was: Refocus the 2nd)

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 8 messages available
Toggle history

Please log in to manage your subscriptions.

Refocus the 2nd Stephan Menzel 20 May 12:43
  Refocus the 2nd Sven Neumann 20 May 15:43
   Refocus the 2nd Stephan Menzel 20 May 16:17
    Refocus the 2nd Sven Neumann 20 May 18:02
     Refocus the 2nd Stephan Menzel 20 May 22:47
      Refocus the 2nd Sven Neumann 21 May 00:35
Extra plug-ins (was: Refocus the 2nd) Pedro Gimeno Fortea 22 May 22:10
  Extra plug-ins (was: Refocus the 2nd) Sven Neumann 24 May 09:24
Stephan Menzel
2004-05-20 12:43:16 UTC (almost 20 years ago)

Refocus the 2nd

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

G'day,

as promised, I kept looking for the problem in porting refocus to the Gimp 2. It seems like the gimptool was indeed the main issue, but I got it running without switching to pkg-config as Sven suggested. Thought it might be easier since I really dislike automake.
I have a version now, which compiles clean and workes well without much hassle for me. The only issue is, that it seems I have lost €@GIMPTOOL@ during my changes in the automakefiles which means 'make install-bin' doesn't work yet so you will have to copy 'src/refocus' to your plugindir manually. However, it worked with autoconf 2.58 and automake 1.8 as well as 1.4 for me. I placed it on my webspace for you to have a look, if anybody is interested. The code hasn't changed. But could anybody please test if it compiles and workes for you:
http://www.chinguarime.net/refocus-0.9.0_gimp2.tar.gz

Thank you very much. BTW: Would it be possible to include refocus in the regular gimp release? And if yes, what would be necessary?

Thank you for your attention...

Stephan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFArIvEbv5p9h9J588RAl79AKCcWKgUp1kS//JnGrPTRv35fuqmdQCfadH/ GdOBiZ34R8iC9OtOKRybCwY=
=WS4L
-----END PGP SIGNATURE-----

Sven Neumann
2004-05-20 15:43:08 UTC (almost 20 years ago)

Refocus the 2nd

Hi,

Stephan Menzel writes:

as promised, I kept looking for the problem in porting refocus to the Gimp 2. It seems like the gimptool was indeed the main issue, but I got it running without switching to pkg-config as Sven suggested. Thought it might be easier since I really dislike automake.

pkg-config isn't related to automake. At least not more than gimptool.

Sven

Stephan Menzel
2004-05-20 16:17:55 UTC (almost 20 years ago)

Refocus the 2nd

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Thursday 20 May 2004 15:43, Sven Neumann wrote:

pkg-config isn't related to automake. At least not more than gimptool.

I know. But adjusting Makefile.am to use pkg-config would require be much more knowledge of automake than simply changing it to use gimptool-2.0. Sorry for the misunderstanding.

Stephan

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFArL4abv5p9h9J588RAh1QAKDq0IpQpdFLQUmhi0qBHmcX7s+pIACfelIV R72qcIUmLa0ErBb2TyURiWM=
=NXpG
-----END PGP SIGNATURE-----

Sven Neumann
2004-05-20 18:02:00 UTC (almost 20 years ago)

Refocus the 2nd

Hi,

Stephan Menzel writes:

pkg-config isn't related to automake. At least not more than gimptool.

I know. But adjusting Makefile.am to use pkg-config would require be much more knowledge of automake than simply changing it to use gimptool-2.0. Sorry for the misunderstanding.

Not really. Let me give you some examples...

The standard way of using gimptool-2.0 from configure.in is to use

AM_PATH_GIMP_2_0(2.0.1)

The pkg-config way of doing this is:

PKG_CHECK_MODULES(GIMP, gimp-2.0 gimpui-2.0 >= 2.0.1)

Both macros do a version check and fill in the variables GIMP_CFLAGS and GIMP_LIBS.

Additional info can be gathered by calling gimptool-2.0 directly, for example:

CFLAGS=`gimptool-2.0 --cflags-noui`

The pkg-config way of doing this is to use:

CFLAGS=`pkg-config --cflags gimp-2.0`

The advantage of using pkg-config is that it's not a GIMP specific solution. You need to learn the syntax just once and can use it for all those libraries that install .pc files.

Don't get me wrong, there's nothing bad about using gimptool. Just wanted to point out the advantages of using pkg-config.

Sven

Stephan Menzel
2004-05-20 22:47:14 UTC (almost 20 years ago)

Refocus the 2nd

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Thursday 20 May 2004 18:02, Sven Neumann wrote:

Don't get me wrong, there's nothing bad about using gimptool. Just wanted to point out the advantages of using pkg-config.

good point.
I will change that according to your suggestions. Thank you.
Do you think there's a chance to include refocus in the gimp release at all?

Greetings...

Stephan

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFArRlYbv5p9h9J588RAkatAKD6SJVfDg8Z/RogyTDQGdzPQZAr8gCZAfQU S/FHP+cvQuccxPqkIIw1x6o=
=ET7e
-----END PGP SIGNATURE-----

Sven Neumann
2004-05-21 00:35:49 UTC (almost 20 years ago)

Refocus the 2nd

Hi,

Stephan Menzel writes:

Do you think there's a chance to include refocus in the gimp release at all?

I think that it should be included with every gimp installation but I don't think that the only way to make this happen is to include a plug-in in the gimp source tree. If we put the tarball up on ftp.gimp.org the plug-in would very soon be included as a standard gimp plug-in by all distributions and binary installers.

I don't follow refocus development closely but if is actively maintained and developed outside the GIMP source tree I'd prefer to keep it that way. Simply for the sake of keeping the GIMP source tree somewhat managable.

Sven

Pedro Gimeno Fortea
2004-05-22 22:10:36 UTC (almost 20 years ago)

Extra plug-ins (was: Refocus the 2nd)

On 05/21/04 01:35:49, Sven Neumann wrote:

Stephan Menzel writes:

Do you think there's a chance to include refocus in the gimp release at all?

I don't follow refocus development closely but if is actively maintained and developed outside the GIMP source tree I'd prefer to keep it that way. Simply for the sake of keeping the GIMP source tree somewhat managable.

Perhaps a feasible idea is to create a set of extra plug-ins that are in a separate CVS module, similarly to what already happened to GAP, gimp-perl, gimp-help and most notably gimp-data-extras. This can make room for plug-ins that can be considered as very interesting or almost essential and can be included in distributions as a single package.

Pedro Gimeno

Sven Neumann
2004-05-24 09:24:06 UTC (almost 20 years ago)

Extra plug-ins (was: Refocus the 2nd)

Hi,

Pedro Gimeno Fortea writes:

Perhaps a feasible idea is to create a set of extra plug-ins that are in a separate CVS module, similarly to what already happened to GAP, gimp-perl, gimp-help and most notably gimp-data-extras. This can make room for plug-ins that can be considered as very interesting or almost essential and can be included in distributions as a single package.

How is that different from keeping the plug-in in the GIMP CVS tree? The idea is to keep plug-ins that are maintained outside the GIMP tree outside the GIMP tree. Now if you move them into a gimp-plug-ins module, that's essentially the same as moving them into the gimp module. It makes it more difficult for the plug-in maintainer to continue to work on his/her plug-in and puts more work on the GIMP development team.

Of course, if a plug-in developer wants to use CVS or Bugzilla we should offer our help. And of course we should be willing to out packages up on ftp.gimp.org and announce releases on www.gimp.org.

Sven