Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180093 - [gnome-experimental] gtk+-2.19.0 fails to build
Summary: [gnome-experimental] gtk+-2.19.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 08:46 UTC by Priit Laes (IRC: plaes)
Modified: 2007-05-31 21:37 UTC (History)
1 user (show)

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


Attachments
gtk-broken-destdir.patch (gtk-broken-destdir.patch,914 bytes, patch)
2007-05-28 08:47 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2007-05-28 08:46:40 UTC
The latest gtk+ ebuild in gnome-experimental overlay requires one after-release patch in order to be installed properly.
Comment 1 Priit Laes (IRC: plaes) 2007-05-28 08:47:11 UTC
Created attachment 120501 [details, diff]
gtk-broken-destdir.patch
Comment 2 Walter Meinl 2007-05-28 11:21:17 UTC
(In reply to comment #0)
> The latest gtk+ ebuild in gnome-experimental overlay requires one after-release
> patch in order to be installed properly.
> 

Yep, just to confirm your patch works, I could install gtk-2.11.0 with it.
Just another question, im-multipress.conf is now installed directly under /etc/gtk-2.0. In a multilib profile shouldn' t this go, for instance, to /etc/gtk-2.0/x86_64-pc-linux-gnu ?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-30 01:56:02 UTC
I already fixed it.  And no, it should not go in any arch-specific subdir, since it does not list paths to binaries, but only lists of keypresses.
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-30 02:00:16 UTC
(sorry if that sounded harsh... It was not meant to)
Comment 5 Walter Meinl 2007-05-30 20:12:50 UTC
(In reply to comment #4)
> (sorry if that sounded harsh... It was not meant to)
> 

No problem, didn't get it wrong :)
now with the -r1 ebuild I see on my amd64 multilib system:
2xathtlon ~ # ls /etc/gtk-2.0 -lR
/etc/gtk-2.0:
insgesamt 20
-rw-r--r-- 1 root root 3190 30. Mai 21:37 gdk-pixbuf.loaders
-rw-r--r-- 1 root root 1832 30. Mai 21:37 gtk.immodules
drwxr-xr-x 2 root root 4096 22. Feb 08:14 i686-pc-linux-gnu
-rw-r--r-- 1 root root  565 30. Mai 21:37 im-multipress.conf
drwxr-xr-x 2 root root 4096 30. Mai 08:26 x86_64-pc-linux-gnu

/etc/gtk-2.0/x86_64-pc-linux-gnu:
insgesamt 12
-rw-r--r-- 1 root root 3190 30. Mai 21:37 gdk-pixbuf.loaders
-rw-r--r-- 1 root root 1761 30. Mai 21:37 gtk.immodules
-rw-r--r-- 1 root root   34 30. Mai 21:37 gtkrc

from the log of earlier ebuilds
make  install-data-hook
make[4]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.11.0/work/gtk+-2.1
1.0/modules/input'
***
*** Warning: gtk.immodules not built
***
*** Generate this file manually on host
*** system using gtk-query-immodules-2.0
***
Thus it was solely generated by pkg_postinst() of the ebuild

with the 2.11.0-r1.ebuild
make  install-data-hook
make[4]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.11.0-r1/work/gtk+-
2.11.0/modules/input'
/bin/sh ../../mkinstalldirs /var/tmp/portage/x11-libs/gtk+-2.11.0-r1/image//etc/
gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /var/tmp/portage/x11-libs/gtk+-2.11.0-r1/ima
ge//etc/gtk-2.0/gtk.immodules
Now it gets installed during src_install and then generated a second time by pkg_postinst
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-31 21:37:01 UTC
Okay, I've fixed the gtk.immodules problem.  It won't unmerge it, unfortunately, because it's in /etc, but you can nuke it after you update and re-emerge gtk+