Gimp 2.6.0 released today. Looking forward to an ebuild =) Reproducible: Always Steps to Reproduce:
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.
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 ;)
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...
Created attachment 166926 [details, diff] gimp-2.6-web-browser.patch
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.
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.
(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
erm no, they wanna use gtk_show_uri from >=gtk+-2.14 for that in gimp-2.8, not xdg-utils.
Created attachment 166965 [details, diff] patch for uri-backend-libcurl.c I needed this patch to compile successfully.
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)
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.
I try to emerge dev-util/intltool-0.40.4, but GIMP emerge filed with same error.
I think this is a bug in configure script. It try to detect version of dev-util/intltool and fail.
Hmm, my mistake. I remove /var/tmp/portage/media-gfx/gimp-2.6.0/ directory and now it works.
Created attachment 167022 [details] gegl compilation faillure gegl fails to compile...according to my system the avformat.h file is part of ffmpeg
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)
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.
oops...sorry i didn't read the previous comment...that was already said(for ffmpeg)
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.
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
Created attachment 167084 [details, diff] patch for wget and curl backends added wget backend fix
> 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?
(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 :)
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?
(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.
> 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.
*** Bug 220517 has been marked as a duplicate of this bug. ***
Added, please test and report bugs. ftrvxmtrx and Oleg, did you send your patches upstream?
(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.
(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