Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158646 - dev-libs/glib-2.12.5 GKeyFile changes make gnome-vfs MIME type file associations not work
Summary: dev-libs/glib-2.12.5 GKeyFile changes make gnome-vfs MIME type file associati...
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: 158613
  Show dependency tree
 
Reported: 2006-12-20 07:36 UTC by Marc Geerlings
Modified: 2006-12-22 19:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Geerlings 2006-12-20 07:36:41 UTC
Links below will confirm I'm not the only one with these problems,
downgrading to glib 2.12.4-r1 resolves it.

Beryl and Emerald:
http://forums.gentoo.org/viewtopic-t-525966.html

File association problem:
http://forums.gentoo.org/viewtopic-t-525955.html

emerge --info
Portage 2.1.2_rc3-r8 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1 x86_64)
=================================================================
System uname: 2.6.19-suspend2-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.8
Last Sync: Wed, 20 Dec 2006 07:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-mtune=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/misc_overlays /usr/local/portage-aeskulap /usr/local/portage-musicbrainz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac accesibility accessibility acpi aiglx alsa alsa_cards_intel8x0 alsa_cards_usb-audio audiofile avahi avi beagle berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt cups daap dbus dlloader dpms dri dv dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode evo exif fam ffmpeg firefox foomaticdb fortran galago gb gcj gif glitz glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal iconv ieee1394 imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript joystick jpeg kernel_linux libnotify lzw lzw-tiff mad mikmod mime mng mono mozsvg mp3 mp4 mpeg ncurses nls nptl nptlonly nsplugin ogg openal opengl pam pcmcia pcre pdf perl png postscript pppd python quicktime readline reflection samba scanner sdl session sndfile sockets sox speex spell spl ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_nv video_cards_nvidia video_cards_vesa vorbis wifi wmf wxwindows xinerama xml xml2 xorg xosd xpm xrandr xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 08:38:12 UTC
Please, don't refer to forums.g.o. when reporting bugs.

*** This bug has been marked as a duplicate of 158613 ***
Comment 2 Mart Raudsepp gentoo-dev 2006-12-20 09:04:21 UTC
Reopening because of different assignees of the bugs and as I can't confirm the fix is identical to both issues. Changing bug summary appropriately.

At least the file association problem is from glib's GKeyFile changes in 2.12.5.
GKeyFile started to validate key names according to the appropriate standard, but gnome-vfs uses some extra characters in its cache (using GKeyFile) than the standard allows.
Comment 3 Mart Raudsepp gentoo-dev 2006-12-20 09:34:34 UTC
Applied patch grabbed from upstream CVS with dev-libs/glib-2.12.5-r1:

2006-12-19  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c (g_key_file_is_key_name): Accept
        '/', '+' and '.' in key names, since gnome-vfs uses
        mime types as keys in some cache.

        * tests/keyfile-test.c: Tests for the above.

The tests/keyfile-test.c parts aren't included as the patch I retrieved with cvs diff failed for that part and it isn't a worthwhile time investment in getting it work. A test possibly fails now, but this is a temporary revision in the tree as upstream is releasing 2.12.6 later today.

Fixes file association for me, no means to test beryl/emerald-themes - bug 158613 is for tracking that.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-20 11:21:57 UTC
*** Bug 158673 has been marked as a duplicate of this bug. ***
Comment 5 Fred Krogh 2006-12-22 18:01:07 UTC
(In reply to comment #4)
> *** Bug 158673 has been marked as a duplicate of this bug. ***
> 

I don't know if this is a gnucash problem or a glib problem, but since my original messaage on this got moved here it is being reported here.

With glib-2.12.6 if I enter gnucash and then immediately exit it prints 14 occurrences of

(gnucash:7843): GLib-CRITICAL **: g_key_file_set_value: assertion `g_key_file_is_key_name (key)' failed

This does seem to cause any problems other than the undesired print.,
Comment 6 Mart Raudsepp gentoo-dev 2006-12-22 19:05:44 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > *** Bug 158673 has been marked as a duplicate of this bug. ***
> > 
> 
> I don't know if this is a gnucash problem or a glib problem, but since my
> original messaage on this got moved here it is being reported here.

I reopened it with some technical details. Please share your experience there :)