Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#34341 closed update (fixed)

Gimp 2.8

Reported by: peterjsin@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: robink@…, ecbrown (Eric Brown), mattiafrancescomoro@…, drewbertola@…, chief1983@…, dewatson@…, KNIZEK.MILAN@…, nicholas.north@…, djrumbold@…, maccesch@…, FGasper (Felipe Gasper), dcecchin@…, MaddTheSane (C.W. Betts), fondacio@…
Port: gimp

Description

Gimp 2.8 has been released. Let's update gimp from 2.6.12 to the latest version.

Attachments (1)

gimp-2.8.0.patch (9.3 KB) - added by singingwolfboy@… 12 years ago.
suggested patchfile (see #34435)

Download all attachments as: .zip

Change History (26)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to devans@…
Version: 2.0.4

comment:2 Changed 12 years ago by obartunov@…

Oh, yes, please !

comment:3 Changed 12 years ago by robink@…

Cc: robink@… added

Cc Me!

comment:4 Changed 12 years ago by ecbrown (Eric Brown)

Cc: eric.c.brown@… added

Cc Me!

comment:5 Changed 12 years ago by mattiafrancescomoro@…

Cc: mattiafrancescomoro@… added

Cc Me!

comment:6 Changed 12 years ago by drewbertola@…

Cc: drewbertola@… added

Cc Me!

comment:7 Changed 12 years ago by chief1983@…

Cc: chief1983@… added

Cc Me!

comment:8 Changed 12 years ago by dewatson@…

Cc: dewatson@… added

Cc Me!

comment:9 Changed 12 years ago by KNIZEK.MILAN@…

Cc: KNIZEK.MILAN@… added

Cc Me!

comment:10 Changed 12 years ago by cgilmour@…

Info provided below for the developer/maintainer in case it's useful.

I was able to make this build and run with the following upgrades and changes:

  1. babl package upgraded to version 0.1.10 and additional patch (graphics/babl/files/values.patch and adding values.patch to Portfile)
--- babl/babl-palette.c.orig	2012-05-10 13:10:24.000000000 +0700
+++ babl/babl-palette.c	2012-05-10 13:10:34.000000000 +0700
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-#include <values.h>
+#include <limits.h>
 #include <assert.h>
 #include "config.h"
 #include "babl-internal.h"
  1. gegl package upgraded to 0.2.0
  2. gdk-pixbuf2 package upgraded to 2.24.1, also changing Portfile to use_xz yes (from use_bzip2 yes)
  3. gimp2 package upgraded from 2.6.12 to 2.8.0, also changing Portfile to remove the patchfiles section
  4. Removing xsane package

And of course manually downloading the required files into var/macports/distfiles.

It would freeze during loading screen if xsane @0.998 was still installed. I did not attempt to diagnose or fix the xsane plugin issue, since it's not specifically useful for me. After removing the xsane package, it would start up. My testing was simply:

  • Changing to "Single-Window Mode"
  • Loading one PNG file
  • Clicking around a bit

I did not test other things that depend on babl, gegl, gdk-pixbuf2 or gimp2 package.

I did not test any existing patches for correct behaviour; some applied "with fuzz". The ones from gimp2 package did not successfully apply and were removed in my build. If they are still necessary in the new version, they'll need to be regenerated.

Finally, in some cases even more-new versions of those packages are available. And I did not try those either.

Obviously more thorough testing needs to be done in the areas I completely ignored. Some vocal (and probably a bunch of very silent but hopeful) users will have to wait for the maintainer to make their updates.

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:11 Changed 12 years ago by nicholas.north@…

Cc: nicholas.north@… added

Cc Me!

comment:12 Changed 12 years ago by djrumbold@…

Cc: djrumbold@… added

Cc Me!

Changed 12 years ago by singingwolfboy@…

Attachment: gimp-2.8.0.patch added

suggested patchfile (see #34435)

comment:13 Changed 12 years ago by maccesch@…

Cc: maccesch@… added

Cc Me!

comment:14 Changed 12 years ago by FGasper (Felipe Gasper)

Cc: felipe@… added

Cc Me!

comment:15 Changed 12 years ago by dcecchin@…

Cc: dcecchin@… added

Cc Me!

comment:16 Changed 12 years ago by MaddTheSane (C.W. Betts)

Cc: computers57@… added

Cc Me!

comment:17 Changed 12 years ago by mattiafrancescomoro@…

Any news? i tried the submitted patch but it fails on gdk_pixmap.

comment:18 in reply to:  17 Changed 12 years ago by singingwolfboy@…

Replying to mattiafrancescomoro@…:

Any news? i tried the submitted patch but it fails on gdk_pixmap.

Fails to build, you mean? Can you post the traceback? It builds fine for me, although as cgilmour@… reported, there are several runtime issues with Gimp 2.8.

comment:19 Changed 12 years ago by mattiafrancescomoro@…

This is the command i used in my local port

install -d python aqua graphics
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py27-gobject python/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/gimp-app aqua/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gdk-pixbuf2 graphics/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gimp graphics/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gegl graphics/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/babl graphics/
cp -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/gimp2 graphics/
patch -p0 < gimp-2.8.0.patch 
patching file python/py27-gobject/files/patch-gi_pygi.h
patching file python/py27-gobject/Portfile
patching file aqua/gimp-app/Portfile
patching file graphics/gdk-pixbuf2/Portfile
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #2 FAILED at 15.
Hunk #3 FAILED at 25.
2 out of 3 hunks FAILED -- saving rejects to file graphics/gdk-pixbuf2/Portfile.rej
patching file graphics/gimp/Portfile
patching file graphics/gegl/files/patch-configure.diff
patching file graphics/gegl/Portfile
patching file graphics/babl/files/babl-palette.c.patch
patching file graphics/babl/Portfile
patching file graphics/gimp2/Portfile
portindex

so i edited the graphics/gdk-pixbuf2/Portfile and substitute the lines (as in patch), then i tried to emerge gimp2 but libgnomeui fails(http://pastebin.com/m8q1kBDS)

comment:20 Changed 12 years ago by fondacio@…

Cc: fondacio@… added

Cc Me!

comment:21 Changed 12 years ago by adamb2903

So are we just not going to get Gimp 2.8 under MacPort? I have installed the lisanet version, but you cannot compile any plugins for that as you have no include files. I know people are working as volunteers, but some information on the state of play might be a positive thing.

comment:22 Changed 12 years ago by djrumbold@…

Well it does work.

I've manually patched py27-gobject, babl, gegl, and gimp2 using bits of information from the suggested patch file and gimp2 does build and run. It's been a couple of weeks since I sorted it all out but I recall a few of the patches not working directly, so I ended up edited Portfiles manually based on what the patches were trying to accomplish. I also built gimp2 without the help browser, and I don't use it enough to know about plugin support, but I've used it for some basic image editing and it ran smoothly. I'm sorry I don't know enough about what I did to attach new patch files or submit updates/fixes, but if you're willing to hack around for a bit you'll get there :-) Perhaps an issue like this would gain more ground if the supporting packages (babl, gegl) had their own update requests?

comment:23 Changed 12 years ago by adamb2903

That's great. If I had time at the moment I would so same. Shouldn't we be aiming, though, for people being able to type "sudo port install gimp2" and walk away, getting gimp 2.8 at the end of it? That goal seems to have been abandoned...

comment:24 Changed 12 years ago by mail@…

I just installed the gimp2-port, which brings GIMP 2.8, and which seems to work (at least I could start it).

comment:25 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.