Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288820 - x11-misc/pcmanfm-0.5.1 doesn't work well with shared-mime-info-0.70
Summary: x11-misc/pcmanfm-0.5.1 doesn't work well with shared-mime-info-0.70
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: LXDE team (DEFUNCT)
Depends on:
Reported: 2009-10-13 07:01 UTC by Man Shankar
Modified: 2009-10-28 14:48 UTC (History)
2 users (show)

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

From upstream subversion. (pcmanfm-0.5.1-shared-mime-info-0.70.patch,2.07 KB, patch)
2009-10-24 17:43 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Man Shankar 2009-10-13 07:01:07 UTC
x11-misc/pcmanfm-0.5.1 displays icons incorrectly after upgrading to shared-mime-info-0.70. Every file has icons of either text or executable. Thunar file manager seems to work ok even with the update to shared-mime-info. The problem disappears by downgrading shared-mime-info to 0.60 version.
Comment 1 Man Shankar 2009-10-13 07:06:17 UTC
~ =) emerge --info
Portage 2.2_rc45 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo-r2 x86_64)
System uname: Linux-2.6.31-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.1
Timestamp of tree: Sun, 11 Oct 2009 05:45:02 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=athlon64 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt dbus directfb dri dts dvd dvdr eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontforge fortran gdbm gif gnutls gpm gstreamer gtk hal iconv idn ipv6 isdnlog jpeg libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sasl sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vim-syntax vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib zsh-completion" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" 

Comment 2 tman 2009-10-13 08:20:26 UTC
i can confirm this too. i already tested this with pcmanfm-9999 same to there
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-10-13 14:31:41 UTC
Yep, this seems to be the first valid bug that's reported not working with the new shared-mime-info.
Comment 4 colo-des 2009-10-13 16:18:06 UTC
(In reply to comment #3)
> Yep, this seems to be the first valid bug that's reported not working with the
> new shared-mime-info.
Exactly, I had to make a Upgrade Down to version shared-mime-info-0.60 to work the mimes of pcmanfm mime-0.5.1.
The final message of shared-mime-info-0.70 was.

 >>> Installing (13 of 36) x11-misc/shared-mime-info-0.70
 * Updating shared mime info database ...
 * The database format has changed between 0.60 and 0.70.
 * You may need to update all your local databases and caches.
 * To do so, please run the following commands:
 * (for each user) $ update-mime-database ~/.local/share/mime/
 * (as root)       # update-mime-database /usr/local/share/mime/

but I not have the folder /.local/share/mime/ single the folder /.local/share/applications/
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-10-15 14:06:51 UTC
Got a ~/.config/mime ? I've seen someone in forums with this directory.
Comment 6 tman 2009-10-24 17:06:38 UTC
is fixed in the live svn ebuild
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-10-24 17:43:09 UTC
Created attachment 208152 [details, diff]
From upstream subversion.

The patch from upstream subversion. Pretty much untested.
Comment 8 Víctor Ostorga (RETIRED) gentoo-dev 2009-10-25 03:11:49 UTC
Patch pushed into pcmanfm-0.5.1-r1
Please test
Comment 9 Man Shankar 2009-10-28 14:40:16 UTC
(In reply to comment #8)
> Patch pushed into pcmanfm-0.5.1-r1
> Please test

Patch works on my ~amd64 system. Reopen if still having issues.
Thanks & regards.