Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239258 - media-gfx/gimp-2.6.0 version bump
Summary: media-gfx/gimp-2.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL: http://www.gimp.org/
Whiteboard:
Keywords:
: 220517 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-01 16:07 UTC by Ben Kohler
Modified: 2008-12-05 11:46 UTC (History)
24 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-libs/babl-0.0.22.ebuild (babl-0.0.22.ebuild,398 bytes, text/plain)
2008-10-01 18:28 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
media-libs/gegl-0.0.18.ebuild (gegl-0.0.18.ebuild,872 bytes, text/plain)
2008-10-01 18:32 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
media-gfx/gimp-2.6.0.ebuild (gimp-2.6.0.ebuild,3.64 KB, text/plain)
2008-10-01 18:34 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
gimp-2.6-web-browser.patch (gimp-2.6-web-browser.patch,1.39 KB, patch)
2008-10-01 18:34 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
patch for uri-backend-libcurl.c (gimp-2.6-file-uri.patch,798 bytes, patch)
2008-10-02 08:24 UTC, ftrvxmtrx
Details | Diff
gegl compilation faillure (gegl.txt,44.49 KB, text/plain)
2008-10-02 20:10 UTC, GNUtoo
Details
adds --without-* options (gegl-18-configure-ac.patch,12.06 KB, patch)
2008-10-02 21:22 UTC, Oleg Popov
Details | Diff
patch for wget and curl backends (gimp-2.6-file-uri.patch,1.59 KB, patch)
2008-10-03 12:48 UTC, ftrvxmtrx
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2008-10-01 16:07:04 UTC
Gimp 2.6.0 released today.  Looking forward to an ebuild =)

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-01 18:28:56 UTC
Created attachment 166922 [details]
media-libs/babl-0.0.22.ebuild

gimp-2.6 depends on two new libs which are both not in portage yet. This is the ebuild for the first one.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-01 18:32:39 UTC
Created attachment 166924 [details]
media-libs/gegl-0.0.18.ebuild

this lib introduces a nice automagic dependency hell. The configure script only has few switches for the "optional" dependies:

Building GEGL with prefix=/usr

Optional features:
  GEGL docs:      yes
  Build workshop: no
  Build website:  no  (asciidoc not found)
  SIMD:           sse:yes mmx:yes

Optional dependencies:
  GTK+:           yes
  GIO:            yes
  Ruby:           yes
  Lua:            no  (usable lua not found)
  Cairo:          yes
  Pango:          yes
  pangocairo:     yes
  GDKPixbuf:      yes
  JPEG:           yes
  PNG:            yes
  OpenEXR:        no  (usable OpenEXR not found)
  rsvg:           yes
  SDL:            yes
  asciidoc:       no  (asciidoc not found)
  enscript:       yes
  graphviz:       yes
  avcodec:        yes
  avformat:       yes
  V4L:            yes

If someone can fix the dependencies in this ebuild and the gimp-2.6.0 ebuild I'd be quite happy ;)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-01 18:34:21 UTC
Created attachment 166925 [details]
media-gfx/gimp-2.6.0.ebuild

I fixed the dependencies as far as I was sure to be right. But this could still need some correction though...
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-01 18:34:51 UTC
Created attachment 166926 [details, diff]
gimp-2.6-web-browser.patch
Comment 5 Hanno Böck gentoo-dev 2008-10-01 21:26:06 UTC
I already have ebuilds for babl/gegl/gimp-2.5 in my overlay for a while (will bump to 2.6), but the problem atm is the mentioned dependency-hell with babl/gegl.

svn co http://svn.hboeck.de/overlay/

If you wanna get this forward, work out patches for this (and send them directly upstream). Same goes for your webbrowser-patch, sounds good (sticking to standards), but should go upstream.
Comment 6 Wai Ling 2008-10-01 22:19:29 UTC
1) It also requires Python >=2.5.0.

2) gegl-0.0.18 wouldn't compile if an old version of ffmpeg is instilled, you would have to change the include files in operations/external/ff-load.c to ffmpeg/avformat.h.

3) gegl-0.0.18 wouldn't compile if glib 2.18.1 is installed instead.  You would have to edit the include file /usr/include/glib-2.0/glib/gspawn.h so it will not generate error if gspawn.h is included directly.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-02 01:31:48 UTC
(In reply to comment #5)
> Same goes for your webbrowser-patch, sounds good (sticking
> to standards), but should go upstream.

Seems like they are already aware of the problem this patch tries to fix:
http://bugzilla.gnome.org/show_bug.cgi?id=522483

According to this bugreport they will switch to xdg-open in gimp-2.8
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-02 01:40:16 UTC
erm no, they wanna use gtk_show_uri from >=gtk+-2.14 for that in gimp-2.8, not xdg-utils.
Comment 9 ftrvxmtrx 2008-10-02 08:24:00 UTC
Created attachment 166965 [details, diff]
patch for uri-backend-libcurl.c

I needed this patch to compile successfully.
Comment 10 Andrey A. Ugolnik 2008-10-02 10:33:32 UTC
GIMP ebuild filed with errors:

# emerge gimp -av
... skipped...
checking for _NL_MEASUREMENT_MEASUREMENT... yes
checking for intltool >= 0.35.5... awk: cmd. line:1: fatal: cannot open file
`./intltool-update.in' for reading (No such file or directory)
awk: cmd. line:1: fatal: cannot open file `./intltool-update.in' for reading
(No such file or directory)
 found
./configure: line 23815: test: : integer expression expected
configure: error: Your intltool is too old.  You need intltool 0.35.5 or later.
... skipped...

$ eix intltool
[I] dev-util/intltool
     Available versions:  0.35.5 0.37.1 ~0.40.4
     Installed versions:  0.37.1(11:44:26 PM 08/11/2008)
Comment 11 Hanno Böck gentoo-dev 2008-10-02 10:37:10 UTC
I can't reproduce your intltool-problem, but may you try with 0.40.4? Anyway, why don't you use that?

If you wanna stay on the bleeding edge (i.e. try out new gimp-versions ;-), you should run ~-system.
Comment 12 Andrey A. Ugolnik 2008-10-02 11:17:27 UTC
I try to emerge dev-util/intltool-0.40.4, but GIMP emerge filed with same error.
Comment 13 Andrey A. Ugolnik 2008-10-02 11:28:55 UTC
I think this is a bug in configure script. It try to detect version of dev-util/intltool and fail.
Comment 14 Andrey A. Ugolnik 2008-10-02 12:13:58 UTC
Hmm, my mistake. I remove /var/tmp/portage/media-gfx/gimp-2.6.0/ directory and now it works.
Comment 15 GNUtoo 2008-10-02 20:10:56 UTC
Created attachment 167022 [details]
gegl compilation faillure

gegl fails to compile...according to my system the avformat.h file is part of ffmpeg
Comment 16 GNUtoo 2008-10-02 20:14:34 UTC
must be because i've an old ffmpeg:
i've found that in the ebuild:
        sed -e 's:#include <ffmpeg/avformat.h>:#include <libavformat/avformat.h>:' \
                -i "${S}"/operations/external/ff-load.c \
                        || die "sed"
 # equery b avformat.h
[ Searching for file(s) avformat.h in *... ]
media-video/ffmpeg-0.4.9_p20070616 (/usr/include/ffmpeg/avformat.h)
Comment 17 GNUtoo 2008-10-02 20:31:53 UTC
checking for GLIB... no                                                                                                                                                                                                                     
configure: error:                                                                                                                                                                                                                           
*** Glib 2.17.3 or better is required. The latest version of                                                                                                                                                                                
*** Glib is always available from ftp://ftp.gtk.org/.                                                                                                                                                                                        * ERROR: x11-libs/pango-1.22.0 failed.                                
Comment 18 GNUtoo 2008-10-02 20:36:08 UTC
oops...sorry i didn't read the previous comment...that was already said(for ffmpeg)
Comment 19 Oleg Popov 2008-10-02 21:22:00 UTC
Created attachment 167027 [details, diff]
adds --without-* options

Patch for configure.ac (gegl-0.0.18). Adds --without-* options for every optional dependency. It may be useful to switch them with USE-flags.
Comment 20 Ray Ishido 2008-10-02 21:53:27 UTC
everything compiled and run fine on my system. thank you very much for your great job! :) 

#emerge --info

Portage 2.2_rc11 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-glibc2.0
Timestamp of tree: Wed, 01 Oct 2008 20:45:03 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" #ftp://mirror.ovh.net/gentoo-distfiles ftp://gentoo.imj.fr/pub/gentoo/ #ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ #ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/ #		http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/roslin /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa asf battery berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr encode esd exif ffmpeg fortran gdbm gif glitz gnome gphoto2 gpm gtk gtk2 hal iconv isdnlog java javascript jpeg kdeenablefinal lirc mad midi mono mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly nvidia opengl openmp pam pcre pda perl pic pmu png pppd qt readline reflection reiserfs session smp spl sqlite sqlite3 sse sse2 ssl svg sysfs tcpd tiff truetype unicode usb wifi win32codecs x264 x86 xcomposite xml xorg xulrunner zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 21 ftrvxmtrx 2008-10-03 12:48:45 UTC
Created attachment 167084 [details, diff]
patch for wget and curl backends

added wget backend fix
Comment 22 justXi 2008-10-03 13:55:57 UTC
> 3) gegl-0.0.18 wouldn't compile if glib 2.18.1 is installed instead.  You would
> have to edit the include file /usr/include/glib-2.0/glib/gspawn.h so it will
> not generate error if gspawn.h is included directly.

Is it possible to patch "gegl" to use "<glib.h>" instead modifying glib?
Comment 23 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-10-03 13:57:05 UTC
(In reply to comment #21)
> Created an attachment (id=167084) [edit]
> patch for wget and curl backends
> 
> added wget backend fix
> 

Ah great. I stubled about this problem after I've found out I have to compile gimp --without-gnomevfs --without-gvfs to get the "file --> close"  menu entry when being without gnome :)
Comment 24 Giacomo Perale 2008-10-03 16:12:57 UTC
Hi. I was reading the NEWS and ChangeLog files and it seems that there's a GIO/GVfs backend now. Shouldn't the ebuild disable the gnome-vfs backend and enable just the gvfs backend now that gnome-vfs is being replaced by gvfs in the GNOME desktop?
Comment 25 justXi 2008-10-04 21:41:24 UTC
(In reply to comment #22)
> > 3) gegl-0.0.18 wouldn't compile if glib 2.18.1 is installed instead.  You would
> > have to edit the include file /usr/include/glib-2.0/glib/gspawn.h so it will
> > not generate error if gspawn.h is included directly.
> 
> Is it possible to patch "gegl" to use "<glib.h>" instead modifying glib?

after using gegl-ebuild from http://bugs.gentoo.org/show_bug.cgi?id=183425 all compiles fine. thanks for the ebuild.
Comment 26 Brad Beglin 2008-10-07 02:17:41 UTC
> 3) gegl-0.0.18 wouldn't compile if glib 2.18.1 is installed instead.

Gegl-0.0.16 does not compile either due to same error.  However, Gegl-0.0.12 compiles fine.

> I can't reproduce your intltool-problem

I am getting the same error with intltool.  The autoreconfig is misassigning the path to check the intltool version (should be intltool-update instead of intltool-update.in), however I can not trace were it is getting the wrong assignment from.
Comment 27 Hanno Böck gentoo-dev 2008-10-07 22:34:41 UTC
*** Bug 220517 has been marked as a duplicate of this bug. ***
Comment 28 Hanno Böck gentoo-dev 2008-10-07 22:38:09 UTC
Added, please test and report bugs.

ftrvxmtrx and Oleg, did you send your patches upstream?
Comment 29 ftrvxmtrx 2008-10-08 07:05:57 UTC
(In reply to comment #28)
> Added, please test and report bugs.
> 
> ftrvxmtrx and Oleg, did you send your patches upstream?
> 

My patch's fixes are already in gimp trunk.
Comment 30 Giacomo Perale 2008-10-08 08:07:40 UTC
(In reply to comment #28)
> Added, please test and report bugs.
> 
> 

1) gegl doesn't build with glib 2.18.1. The error was reported before (can't include gspawn.h directly)
2) apparently lua is only used for the workshop (the only references to it are in the Makefiles and in operations/workshop/external/gluas.c), so if the workshop is enabled by the 'doc' use-flag the dependency on lua should be conditional on that use-flag as well