VectorLinux
November 26, 2014, 09:11:07 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: 071201 - scim and related packages for VL 5.9  (Read 2809 times)
JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« on: December 01, 2007, 05:30:01 pm »

Based on a request from carlo in a VL 5.9 bug thread, scim and several scim-related packages have been built for the VL 5.9 repo. The easiest way to get them is via slapt-get or gslapt. Make sure that the testing repository is among your sources. I would strongly recommend running either slapt-get --update as root from the command line or clicking the Update button in gslapt before you attempt to download these packages.

scim:
Code:
scim: scim (Smart Chinese/Common Input Method platform)
scim:
scim: SCIM is a developing platform to significantly reduce the difficulty of
scim: input method development.
scim:
scim: Home Page:  http://scim.freedesktop.org
scim: License:    GNU Lesser General Public License 2.1
scim:
scim:
scim:
scim:

#----------------------------------------

BUILDDATE: Tue Nov 27 20:55:02 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --without-doxygen --with-libiconv-prefix=/usr --with-included-gettext --enable-ldtl-install --build=i486-slackware-linux
 

skim:
Code:
skim: skim (SCIM input method platform for KDE)
skim:
skim: skim is an input method platform based SCIM optimized for KDE.
skim: It provides a GUI panel (named scim-panel-kde), a KConfig config module and
skim: SetupUIs for itself and SCIM.  It also has its own plugin system
skim: which supports on-demand loadable actions.
skim:
skim: URL: http://www.scim-im.org/
skim: License: GPL
skim:
skim:


#----------------------------------------

BUILDDATE: Tue Nov 27 21:11:34 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:


anthy:
Code:
anthy: Anthy (a library for Japanese text input)
anthy:
anthy: Anthy is a library for Japanese text input.
anthy:
anthy: Home Page: http://anthy.sourceforge.jp/
anthy: License:   GNU GPL and GNU LGPL - see COPYING file
anthy:
anthy:
anthy:
anthy:
anthy:

#----------------------------------------

BUILDDATE: Tue Nov 27 22:07:16 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux
 

scim-anthy:
Code:
scim-anthy: scim-anthy (a SCIM IMEngine module for anthy)
scim-anthy:
scim-anthy: SCIM is Smart Common Input Method platform, it provides
scim-anthy: user friendly/full featured user interface and development
scim-anthy: platform to make input method developer's life easier.
scim-anthy: Anthy is a system for Japanese input method.
scim-anthy: It converts Hiragana text to Kana Kanji mixed text.
scim-anthy:
scim-anthy: HOME PAGE: http://scim-imengine.sourceforge.jp/index.cgi?cmd=view;name=SCIMAnthy
scim-anthy: LICENSE:   GNU GPL
scim-anthy:


#----------------------------------------

BUILDDATE: Tue Nov 27 22:09:36 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux


libthai:
Code:
libthai: libthai (multilingual text processing library)
libthai:
libthai: LibThai is a set of Thai language support routines aimed to ease
libthai: developers' tasks to incorporate Thai language support in their
libthai: applications. It includes important Thai-specific functions e.g. word
libthai: breaking, input and output methods as well as basic character and
libthai: string supports.
libthai:
libthai: AUTHORS:   See AUTHORS file
libthai: HOME PAGE: http://linux.thai.net/libthai
libthai: LICENSE:   GNU LGPL

#----------------------------------------

BUILDDATE: Sat Dec  1 09:50:14 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux


m17n-db:
Code:
m17n-db: m17n-db (multilingual text processing library)
m17n-db:
m17n-db: The m17n-db is a database used by the m17n library.
m17n-db:
m17n-db: AUTHORS:   See AUTHORS file
m17n-db: HOME PAGE: http://www.m17n.org
m17n-db: LICENSE:   GNU LGPL
m17n-db:
m17n-db:
m17n-db:
m17n-db:

#----------------------------------------

BUILDDATE: Sat Dec  1 09:40:30 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux
 

m17n-lib:
Code:
m17n-lib: m17n-lib (multilingual text processing library)
m17n-lib:
m17n-lib: The m17n library is a multilingual text processing library
m17n-lib: for the C language.
m17n-lib:
m17n-lib: AUTHORS:   See AUTHORS file
m17n-lib: HOME PAGE: http://www.m17n.org
m17n-lib: LICENSE:   GNU LGPL
m17n-lib:
m17n-lib:
m17n-lib:

#----------------------------------------

BUILDDATE: Sat Dec  1 10:22:28 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --datarootdir=/usr/share --mandir=/usr/man --docdir=/usr/doc/m17n-lib --program-prefix= --program-suffix= --build=i486-slackware-linux
 

scim-m17n:
Code:
scim-m17n: scim-m17n (M17N Input Method Engine for SCIM)
scim-m17n:
scim-m17n: This package contains the m17n input engine
scim-m17n: for SCIM.
scim-m17n:
scim-m17n: AUTHOR:    James Su <suzhe@tsinghua.org.cn>
scim-m17n: HOME PAGE: http://www.freedesktop.org/~suzhe
scim-m17n: LICENSE:   GNU GPL
scim-m17n:
scim-m17n:
scim-m17n:

#----------------------------------------

BUILDDATE: Sat Dec  1 10:25:56 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux



scim-bridge:
Code:
scim-bridge: scim-bridge (a GTK input method for SCIM)
scim-bridge:
scim-bridge: Scim-bridge is yet another gtk-immodule for SCIM.
scim-bridge: It communicates with scim over sockets, and the DLL
scim-bridge: loaded by applications is written in pure C (for now).
scim-bridge: You can use this to avoid the problem caused by C++
scim-bridge: ABI transition.
scim-bridge:
scim-bridge: AUTHOR:    Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
scim-bridge: HOME PAGE: http://www.scim-im.org/projects/scim_bridge
scim-bridge: LICENSES:  GNU GPL and GNU LGPL


#----------------------------------------

BUILDDATE: Tue Nov 27 20:59:25 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --enable-agent --enable-ltdl-install --enable-gtk2-immodule --enable-qt3-immodule --disable-qt4-immodule --build=i486-slackware-linux

 

scim-array:
Code:
scim-array: scim-array (Array 30 Input Method Engine for SCIM)
scim-array:
scim-array: This input method engine is developed to support
scim-array: the Array 30 input method in SCIM framework.
scim-array: SCIM Array 30 Input Method Engine provides all the functions
scim-array: of Array 30, including 1st and 2nd level short codes,
scim-array: special codes, and symbol input.
scim-array:
scim-array: AUTHOR:    Yu-Chun Wang <albyu35@ms57.hinet.net>
scim-array: HOME PAGE: http://scimarray.openfoundry.org/index_en.html
scim-array: LICENSE:   GNU GPL v. 2

#----------------------------------------

BUILDDATE: Sat Dec  1 10:54:08 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux

 

scim-fcitx:
Code:
scim-fcitx: scim-fcitx (FCITX Input Method Engine for SCIM)
scim-fcitx:
scim-fcitx: scim-fcitx is the fcitx chinese input method
scim-fcitx: ported to the scim input method platform
scim-fcitx:
scim-fcitx: AUTHORS:   Yuking <yuking_net@sohu.com>
scim-fcitx:            Bao Haojun <baohaojun@yahoo.com>
scim-fcitx:            James Su <suzhe@tsinghua.org.cn>
scim-fcitx: HOME PAGE: http://www.fcitx.org/main/
scim-fcitx: LICENSE:   GNU GPL v. 2
scim-fcitx:


#----------------------------------------

BUILDDATE: Sat Dec  1 09:32:11 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-libiconv-prefix=/usr --with-included-gettext --build=i486-slackware-linux

 

scim-tables:
Code:
scim-tables: scim-tables (SCIM Generic Table IMEngine and its data files.)
scim-tables:
scim-tables: This package includes Generic Table IMEngine for SCIM
scim-tables: and many data files for it.
scim-tables:
scim-tables: MAINTAINER: James Su <suzhe@turbolinux.com.cn>
scim-tables: HOME PAGE:  http://sourceforge.net/projects/scim
scim-tables: LICENSE:    GNU GPL v. 2
scim-tables:
scim-tables:
scim-tables:


#----------------------------------------

BUILDDATE: Tue Nov 27 22:24:28 MST 2007
PACKAGER:  JohnB316
HOST:      Linux 2.6.22.10sm i686
DISTRO:    5.9 Standard beta 3 built on Oct-24-07
CFLAGS:    -O2 -march=i586 -mtune=i686
CONFIGURE:   $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --program-suffix= --with-included-gettext --build=i486-slackware-linux
 

I am assuming that these packages work, as there were no errors that would force the build of any of them to stop. However, since I do not read or write in any of the Oriental languages for which the scim packages would be useful, I would definitely appreciate feedback in this thread from those who can benefit from scim, etc.

Thanks very much,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
carlo
Member
*
Posts: 22



« Reply #1 on: December 03, 2007, 04:55:03 pm »

Hi JohnB316

I was busy until today.. I just tried your packages and I already have Japanese input support (^0^)/
ありがとう! (thanks in Japanese)

You even set up the script files right (/etc/profile.d/)??
I just had to change the permissions of those 2 scim scripts [scim.sh / scim-bridge.sh] to 755 to get Japanese Working

I've tried it in xfce and KDE and it is working in both environments without problems with all the applications I've tried

I'm still using rc 1.8 though... I'll try to update to the latest one as soon as I get the time

thanks again
Logged

JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #2 on: December 03, 2007, 08:13:11 pm »

carlo,

Glad that the scim packages are working for you. The permissions for the scripts in /etc/profile.d will be fixed on a rebuild of the same tree. Thanks for catching the permissions issue. ;-)

As for the scripts in /etc/profile.d, I was made aware that initialization scripts needed to go there by stoichyu, another one of our packagers, after VL's first go-round with scim. Slackware-based distros will put initialization scripts like the ones for scim and scim-bridge in /etc/profile.d so that the environment variables they set, daemons they start, etc., are available to all users.

HTH,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
carlo
Member
*
Posts: 22



« Reply #3 on: December 10, 2007, 12:33:01 pm »

I just installed rc3 and installed the Japanese support.
Everything works fine except for firefox that won't start

if I run it from the console the output is:

/usr/lib/firefox-2.0.0.11/run-mozilla.sh: line 131: 30677 Segmentation fault      "$prog" ${1+"$@"}

I installed scim just after installation without any other change

thanks
Logged

exeterdad
Moderator
Vectorian
*****
Posts: 2046



« Reply #4 on: December 10, 2007, 12:43:45 pm »

Carlo, do you have a Firefox language pack installed to match your language?  Just a hunch, but there's a pref added to firefox that will automatically start firefox with the users language that their machine is set to.  Example:  If your default language in VL is set to Japanese, firefox will load in Japanese.  If you don't have a (firefox) Japanese language pack installed and firefox tries to load it, it may be messing it up.

Keep in mind this is a hunch.  I added that pref to firefox with good intentions, and packaged the language packs that were available.  But never thought that far ahead.  I really don't know how to test the langpacks as I only speak english.

Please let me know whatever you find.  It will help others.
Logged
carlo
Member
*
Posts: 22



« Reply #5 on: December 10, 2007, 02:15:14 pm »

I already installed Japanese package and it still wouldn't open
then I tried es-AR since I installed KDE and set it up to spanish but again it wouldn't open.
Finally I installed es-ES language pack and it wouldn't start either

what else can I try?

the error in the console output remains the same
Logged

JohnB316
Administrator
Vectorian
*****
Posts: 1346


Registered Linux User #386728


« Reply #6 on: December 10, 2007, 02:33:29 pm »

I just installed rc3 and installed the Japanese support.
Everything works fine except for firefox that won't start

if I run it from the console the output is:

/usr/lib/firefox-2.0.0.11/run-mozilla.sh: line 131: 30677 Segmentation fault      "$prog" ${1+"$@"}

I installed scim just after installation without any other change

thanks

To add to exeterdad's posting, this crash is a known issue with scim and firefox on other distros as well. Basically you have two options to address this. The info is gleaned from the following posting: http://anti.teamidiot.de/nei/2007/04/on_c_abis_or_debian_scim_input/ :

1) Use the scim-bridge input method for Firefox only. The author of the above post prefers that method, as it avoids having to recompile Firefox with scim on the box as a dependency. He also suggests using a wrapper to firefox to set up the environment. I've adapted the wrapper for use with VL:

Code:
[ x"$GTK_IM_MODULE" = "xscim" ] && export GTK_IM_MODULE="$GTK_IM_MODULE-bridge"
/usr/bin/firefox "$@"

2) The second option is to compile Firefox yourself from source, ensuring that scim is installed on your box prior to building Firefox. If you choose to go that way, then the build scripts exeterdad uses to build Firefox are in our repository.

HTH,
John
Logged

VL 6.0 SOHO latest alpha on one box, VL 5.9 Lite on the other.
carlo
Member
*
Posts: 22



« Reply #7 on: December 10, 2007, 02:45:04 pm »

1) Use the scim-bridge input method for Firefox only. The author of the above post prefers that method, as it avoids having to recompile Firefox with scim on the box as a dependency. He also suggests using a wrapper to firefox to set up the environment. I've adapted the wrapper for use with VL:

Code:
[ x"$GTK_IM_MODULE" = "xscim" ] && export GTK_IM_MODULE="$GTK_IM_MODULE-bridge"
/usr/bin/firefox "$@"

it worked! thanks a lot
Logged

exeterdad
Moderator
Vectorian
*****
Posts: 2046



« Reply #8 on: December 10, 2007, 02:49:46 pm »

Excellent John!  I was a bit stressed I admit.  Wasn't sure what I could do to help.

Edit:

Actualy Carlo,  Did you modify or overwrite the /usr/bin/firefox with those lines?  If so could you post the script so I can check if anything conflicts?  If not disregard  Smiley
« Last Edit: December 10, 2007, 03:02:45 pm by exeterdad » Logged
carlo
Member
*
Posts: 22



« Reply #9 on: December 10, 2007, 03:42:56 pm »

the only thing I did was to modify kde menu entry from firefox to [ x"$GTK_IM_MODULE" = "xscim" ] && export GTK_IM_MODULE="$GTK_IM_MODULE-bridge" /usr/bin/firefox "$@"

I also tried by writing all that in the command line and it also wroked
Logged

exeterdad
Moderator
Vectorian
*****
Posts: 2046



« Reply #10 on: December 10, 2007, 04:22:47 pm »

Thanks carlo.  That will work fine if that is how you are comfortable launching firefox.  Smiley  But if any external apps launch firefox I'm sure it will fail.  Some apps will launch your browser and take you to a help page or whatever.  If you wish a tidy solution you can add just the
Quote
[ x"$GTK_IM_MODULE" = "xscim" ] && export GTK_IM_MODULE="$GTK_IM_MODULE-bridge"
line to the Third to the last line in the /usr/bin/firefox script.  It's a blank line so it will be easy to spot.

This would make firefox function "normally" for all users.
Logged
carlo
Member
*
Posts: 22



« Reply #11 on: December 10, 2007, 05:26:31 pm »

wow, thanks! that's a lot better.... I already made the change and it works

thanks exeterdad
Logged

exeterdad
Moderator
Vectorian
*****
Posts: 2046



« Reply #12 on: December 10, 2007, 08:41:31 pm »

Ummm...  one thing to watch though.  Next time you install the new firefox package (newer version), it will overwrite your changes.  So be sure to back it up.  Or hope like heck you find this post in the future.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!