Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 102003
Alias:
Product:
Component:
Status: REOPENED
Resolution:
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Nagl <gentoobugs@mnagl.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
use-correct-prefix.patch Install skim to /usr/kde/3.5 patch Jason Stubbs 2009-07-31 06:53 0000 1.25 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 102003 depends on: Show dependency tree
Bug 102003 blocks: 159206
Votes: 10    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-10 09:38 0000
I've installed:  
skim  
scim  
scim-anthy  
scim-qtimm  
scim-uim  
in from the unstable tree. I am using KDE 3.4.2.  
  
After adding  
export XMODIFIERS=@im=SCIM  
export GTK_IM_MODULE=scim  
export QT_IM_MODULE=scim  
to /etc/xprofile KDE starts with scim-panel-gtk and I am able to enter  
japanese text. But for better integration I would like to use Skim. Skim  
doesn't start although I entered   
/DefaultPanelProgram = scim-panel-kde  
/DefaultConfigModule = kconfig  
in my /etc/scim/global. I tried to replace /usr/lib/scim-1.0/scim-panel-gtk  
with a symlink to scim-panel-kde but it doesn't start at all. If I enter start 
scim-panel-kde -f on the command line while running kde I get the response: 
mnagl@anarion ~ $ scim-panel-kde -f 
kio (KMimeType): WARNING: KServiceType::offers : servicetype Skim/Plugin not 
found 
Failed to run Panel. 
skim: WARNING: [src/skimpluginmanager.cpp:335] Some plugins didn't shutdown in 
time! 
skim: Remaining plugins: 
skim: Forcing Kopete shutdown now. 
 
the running processes are: 
anarion skim # ps aux |grep sc 
root       816  0.0  0.0      0     0 ?        S    13:40   0:00 [scsi_eh_0] 
root       817  0.0  0.0      0     0 ?        S    13:40   0:00 [scsi_eh_1] 
mnagl    19179  0.0  1.5  39232 13908 ?        Ss   17:35   
0:00 /usr/lib/scim-1.0/scim-launcher -d -c kconfig -e all -f socket --no-stay 
mnagl    19306  0.0  1.6  31256 15268 ?        Ss   17:36   0:00 /usr/bin/skim 
--np skimplugin_scim --display :0.0 -c socket -d --no-stay 
mnagl    19309  0.0  0.2   5216  1960 ?        Ss   17:36   
0:00 /usr/lib/scim-1.0/scim-helper-manager 
mnagl    19310  0.0  1.6  31256 15268 ?        S    17:36   0:00 /usr/bin/skim 
--np skimplugin_scim --display :0.0 -c socket -d --no-stay 
mnagl    19311  0.0  1.6  31256 15268 ?        S    17:36   0:00 /usr/bin/skim 
--np skimplugin_scim --display :0.0 -c socket -d --no-stay 
 

Reproducible: Always
Steps to Reproduce:
1.start kde 
2.skim won't start. 
 
Actual Results:  
see above 

Expected Results:  
I think there should be a cute panel-icon that integrates well in my kde 
panel ;-)

------- Comment #1 From LiuCougar 2005-08-11 17:32:37 0000 -------
which version of scim/skim do you use?

it seems your skim is not properly compiled/installed

------- Comment #2 From Matthias Nagl 2005-08-12 01:02:23 0000 -------
My installed versions are: 
 
anarion mnagl # emerge -pv skim 
Calculating dependencies ...done! 
[ebuild   R   ] app-i18n/skim-1.4.0  +arts -debug -kdeenablefinal -xinerama 
Total size of downloads: 0 kB 
anarion mnagl # emerge -pv scim 
[ebuild   R   ] app-i18n/scim-1.4.0  +gtk -immqt +immqt-bc 
 
I did already try to reinstall the packages several times. I also tried the 
stable versions with the same result. Maybe there is an error in the ebuild 
missing some actions necessary on my installation? 
 
Thanks 
 
Matthias Nagl 

------- Comment #3 From Matthias Nagl 2005-08-12 06:29:10 0000 -------
I realized a few minutes ago the release of the skim/scim 1.4.1 ebuild. After 
installing it sadly nothing changed. scim-panel-kde won't start, 
scim-panel-gtk works well. here some experiments: 
---------------------------------------------------------------------- 
mnagl@anarion ~ $ ps aux |grep skim 
mnagl    19824  0.2  1.8  33220 17160 ?        S    15:22   0:00 kdesu -u root 
-- skim -session 10caddcf72000112385252700000134240037_1123852911_257578 
mnagl    20041  0.0  0.0   3036   748 pts/2    R+   15:24   0:00 grep skim 
 
mnagl@anarion ~ $ ps aux |grep scim 
mnagl    19717  0.0  1.4  37256 13548 ?        Ss   15:22   
0:00 /usr/lib/scim-1.0/scim-launcher -d -c kconfig -e all -f socket --no-stay 
mnagl    20026  0.0  1.1  26828 10760 ?        Ss   15:24   
0:00 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay 
mnagl    20027  0.0  1.1  26828 10760 ?        S    15:24   
0:00 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay 
mnagl    20028  0.0  1.1  26828 10760 ?        S    15:24   
0:00 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay 
mnagl    20044  0.0  0.0   3036   748 pts/2    R+   15:24   0:00 grep scim 
 
mnagl@anarion ~ $ scim-panel-kde -f 
kio (KMimeType): WARNING: KServiceType::offers : servicetype Skim/Plugin not 
found 
Failed to run Panel. 
skim: WARNING: [src/skimpluginmanager.cpp:335] Some plugins didn't shutdown in 
time! 
skim: Remaining plugins: 
skim: Forcing Kopete shutdown now. 
 
mnagl@anarion ~ $ skim -f 
kio (KMimeType): WARNING: KServiceType::offers : servicetype Skim/Plugin not 
found 
Failed to run Panel. 
skim: WARNING: [src/skimpluginmanager.cpp:335] Some plugins didn't shutdown in 
time! 
skim: Remaining plugins: 
skim: Forcing Kopete shutdown now. 
---------------------------------------------------------------------- 

------- Comment #4 From Matthias Nagl 2005-08-17 00:51:14 0000 -------
Maybe the reason for the reported problem is that skim puts its libraries 
in /usr/lib/kde3 because I realized that all packages with libraries in this 
directory won't run and report protocol-errors (namely skim and kbluetoothd). 
So what could be the reason for this? 
 
Matthias 

------- Comment #5 From Matthias Nagl 2005-08-17 02:10:47 0000 -------
I finally found the reason for my problems with skim:  
 
nearly all skim-related .la files in /usr/lib/kde3 were not executable. chmod 
755 /usr/lib/kde3/* resolved the problem. Please update the ebuild! 
 
Yours 
 
Matthias 

------- Comment #6 From Matthias Nagl 2005-08-17 02:32:33 0000 -------
I finally found the reason for my problems with skim:  
 
nearly all skim-related .la files in /usr/lib/kde3 were not executable. chmod 
755 /usr/lib/kde3/* resolved the problem. Please update the ebuild! 
 
Yours 
 
Matthias 

------- Comment #7 From LiuCougar 2005-08-17 09:07:59 0000 -------
in my system (compiled from source, prefix=/usr/kde/3.4), all the
/usr/kde/3.4/lib/kde3/skim*.so are executible while
/usr/kde/3.4/lib/kde3/skim*.la are not

I think only the /usr/kde/3.4/lib/kde3/skim*.so need to be executible

------- Comment #8 From LiuCougar 2005-08-17 09:09:03 0000 -------
what's your gcc/qt/kde version?

------- Comment #9 From Matthias Nagl 2005-08-17 11:48:32 0000 -------
It's possible that there where also some .so files not executable. Since my 
chmod 755 skim and kdebluetooth that both didn't work are up and running. 
 
anarion mnagl # emerge -pv gcc 
[ebuild   R   ] sys-devel/gcc-3.3.5.20050130-r1  (-altivec) -bootstrap 
-boundschecking -build +fortran -gcj +gtk -hardened -ip28 (-multilib) 
-multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 0 kB 
 
anarion mnagl # emerge -pv qt 
[ebuild   R   ] x11-libs/qt-3.3.4-r3  +cups -debug -doc -examples -firebird 
+gif -immqt +immqt-bc +ipv6 +mysql -nas -odbc +opengl +postgres -sqlite 
-xinerama +zlib 0 kB 
 
anarion mnagl # emerge -pv kde-meta 
[ebuild   R   ] kde-base/kde-meta-3.4.2  -accessibility 0 kB 
 

------- Comment #10 From LiuCougar 2005-08-17 11:55:38 0000 -------
the only difference is gcc 3.4.4 here

anyone else experience this in gcc 3.3.x systems?

------- Comment #11 From Alastair Tse (RETIRED) 2006-02-16 11:42:42 0000 -------
does this happen with skim-1.4.3 or 1.4.4? all my files in /usr/lib/kde3/*.so
are executable.

------- Comment #12 From Jeff 2006-07-03 07:57:16 0000 -------
g++ -O2 -fomit-frame-pointer -march=pentium4 -pipe -DNO_CONFIG_H
-I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/
-DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2
-fomit-frame-pointer -march=pentium4 -pipe -DNDEBUG -DNO_DEBUG
-DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/setupwindow -c -o
plugins/setupwindow/scim_global.os plugins/setupwindow/scim_global.cpp
plugins/setupwindow/scim_global.cpp:28:36: skimeditshortcutbutton.h: No such
file or directory
scons: *** [plugins/setupwindow/scim_global.os] Error 1
scons: building terminated because of errors.

!!! ERROR: app-i18n/skim-1.4.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  skim-1.4.2.ebuild, line 26:   Called die

# emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4,
2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirrors.acm.cs.rpi.edu/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LINGUAS="en_US en af ar az bg bn br bs ca cs cy da de el en_GB eo es et it ja
ko mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta
tg tr uk uz zh_CN zh_TW"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi aim akode alsa ao apm asf audiofile automount
avahi avi bash-completion berkdb bidi bitmap-fonts bootsplash branding bzip2
cairo calendar cdda cddb cdio cdparanoia cdr cdrom cjk cpudetection crypt css
cups curl curlwrappers daap dbus directfb dmi domain-aware dv dvd dvdr dvdread
emacs encode ethereal fame fbcon fbsplash ffmpeg firefox flac fontconfig
foomaticdb fortran ftp gb gd gdbm gif gimp gnutls gphoto2 gpm graphviz gs
gstreamer gtk gtk2 hal howl httpd iconv icq ieee1394 imagemagick imap imlib
immqt-bc ipv6 irc jabber jack java javascript joystick jpeg justify kcal kde
kig-scripting lame lcd ldap ldapsam lesstif libg++ libwww live logitech-mouse
logrotate lzo mad mikmod mime mmx mod mp3 mpeg mplayer msn mule mysql ncurses
net nethack nfs nls nntp nsplugin nvidia ogg oggvorbis openal opengl openssl
oscar oss pam pango pcre pdf perforce perl php png pop povray ppds python qt
qt3 qt4 quicktime rar rdesktop readline real recode reflection rss rtc rtsp
ruby samba sasl sblive screen sdl session sftp shout silc skins slp smp smtp
snmp sockets sox spell spl sql sse sse2 ssl stream subversion svg svga swat
symlink sysfs tcltk tcpd theora threads tidy tiff transcode truetype
truetype-fonts type1 type1-fonts unicode unzip upnp usb v4l v4l2 vcd vim
vim-pager vim-with-x vlm vorbis win32codecs wma wxwindows xanim xcomposite
xemacs xine xinerama xml xorg xpm xscreensaver xv xvid yahoo zeroconf zip zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick
kernel_linux linguas_en_US linguas_en linguas_af linguas_ar linguas_az
linguas_bg linguas_bn linguas_br linguas_bs linguas_ca linguas_cs linguas_cy
linguas_da linguas_de linguas_el linguas_en_GB linguas_eo linguas_es linguas_et
linguas_it linguas_ja linguas_ko linguas_mk linguas_mn linguas_ms linguas_nb
linguas_nds linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt
linguas_pt_BR linguas_ro linguas_ru linguas_rw linguas_se linguas_sk linguas_sl
linguas_sr linguas_sr@Latn linguas_ss linguas_sv linguas_ta linguas_tg
linguas_tr linguas_uk linguas_uz linguas_zh_CN linguas_zh_TW userland_GNU
video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #13 From Jakub Moc (RETIRED) 2008-03-22 13:15:41 0000 -------
Dead bug; if you have issues w/ current KDE versions and skim-1.4.5 then please
reopen.

(In reply to comment #12)

Totally off-topic here.

------- Comment #14 From Jan Zahornadsky 2009-05-21 12:29:56 0000 -------
I seem to experience this bug on skim 1.4.5-r5...

jan@bolt ~ $ skim
kio (KMimeType): WARNING: KServiceType::offers : servicetype Skim/Plugin not
found

Even after trying the chmod 755 /usr/lib/kde3/* solution the problem persists. 

My gcc version:

bolt ~ # gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.3-r2/work/gcc-4.3.3/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--enable-cld --disable-libgcj --enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.3-r2 p1.1,
pie-10.1.5'
Thread model: posix
gcc version 4.3.3 (Gentoo 4.3.3-r2 p1.1, pie-10.1.5)

And I'm using KDE 3.5.10.

------- Comment #15 From MATSUU Takuto 2009-05-21 16:19:57 0000 -------
reopen

------- Comment #16 From Jason Stubbs 2009-07-31 04:26:10 0000 -------
skim and skim-scim-anthy have been broken with the kdeprefix changes. skim is
installing to /usr but with some hardcoded paths set to /usr/kde/3.5.

$ which skim
/usr/bin/skim
$ cat /usr/bin/scim-panel-kde
!/bin/sh
prefix=/usr/kde/3.5
exec_prefix=/usr/kde/3.5/bin
/usr/kde/3.5/bin/skim --np skimplugin_scim $@

skim-scim-anthy on the other hand is installing to /usr/kde/3.5 meaning that
skim can't find the anthy plugin.

I'll post a temporary workaround if/when I find one.

<rant>I would try to fix this properly but the developer responsible for
breaking kde3 applications seems to think that it was the best and only way to
do it, which has really put me off.</rant>

------- Comment #17 From Jason Stubbs 2009-07-31 06:53:26 0000 -------
Created an attachment (id=199706) [details]
Install skim to /usr/kde/3.5

So... I ended up doing what I believe is the correct fix and attached a patch
for skim-1.4.5-r5.ebuild. The menu item disappears in a KDE4 desktop, but
that's the case for all KDE3 applications at the moment.

However, and I believe it's due to other issues, skim was segfaulting so I gave
up on it and have switched to plain scim-anthy.

------- Comment #18 From Martin Tesař 2009-08-06 15:00:06 0000 -------
(In reply to comment #17)
> Created an attachment (id=199706) [edit] [details]
> Install skim to /usr/kde/3.5
> 
> So... I ended up doing what I believe is the correct fix and attached a patch
> for skim-1.4.5-r5.ebuild. The menu item disappears in a KDE4 desktop

I confirm the patched ebuild works in KDE 3.5.10.

------- Comment #19 From Konstantin Münning 2009-09-07 11:21:54 0000 -------
I can also confirm that with patch menu appears again in KDE 3.5.10.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug