Japanese locale modules for Porteus

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Japanese locale modules for Porteus

Post#31 by neko » 19 Aug 2022, 19:23

Japanese locale modules for Porteus (Post by neko #83134)
=== For Porteus v5.0rc3 Japanese version ===

08-fcitx-mozc-x86_64.xzm (28 M)
md5sum: c2670ce82708f42277aa172de7fd9c40 08-fcitx-mozc-x86_64.xzm


Japanese locale modules for Porteus (Post by neko #59353)
====< Japanese version Porteus V5.0 multi desktops ISO >====

[Japanese Input Method]
(2) fcitx-mozc
64Bit:
08-fcitx-mozc-x86_64.xzm (27 M)
md5sum: d6f52461efc33ff01396d7b5f774f7dd 08-fcitx-mozc-x86_64.xzm


---------------------------------------------------------------------------
@FairyKid64
Please try the fcitx-mozc of Porteus V5.0.


Thanks.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Japanese locale modules for Porteus

Post#32 by neko » 22 Aug 2022, 13:27

=== Porteus v5.0 Japanese version ===
Update to PorteusV5.0-MULT_ja-22.08.22

Please refer to the top article of this thread.


Kernel 5.19.3
initrd-22.08.05.xz
32bit/64bit = 001-core-22.07.24.xzm / 001-core-22.07.23.xzm
32bit/64bit = 002-xorg-22.07.24.xzm / 002-xorg-22.07.23.xzm
004-chromium-104.0.5112.79-i586-1alien.xzm / 004-chromium-104.0.5112.79-x86_64-1alien.xzm


Thanks.

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Japanese locale modules for Porteus

Post#33 by rych » 23 Aug 2022, 10:06

neko wrote:
19 Aug 2022, 19:23
Japanese locale modules for Porteus (Post by neko #59353)
====< Japanese version Porteus V5.0 multi desktops ISO >====

[Japanese Input Method]
(2) fcitx-mozc
64Bit:
08-fcitx-mozc-x86_64.xzm (27 M)
md5sum: d6f52461efc33ff01396d7b5f774f7dd 08-fcitx-mozc-x86_64.xzm


---------------------------------------------------------------------------
@FairyKid64
Please try the fcitx-mozc of Porteus V5.0.
fcitx-mozc is still broken after many years: Ctrl+Space doesn't work, Mozc config isn't there, adding keyboard doesn't let you type Japanese anyhow, restarting hungs the system, restarting without the fcitx-mozc module and going back to scim-anthy doesn't work anymore because your changes folder is still contaminated with the stupid fcitx stuff and varios GTK apps try to load the fcitx IM module -- I remember spending a lot of time cleaning my system a couple of years ago. Some things never change. This time I have daily snapshots of my changes folder so I just rolled back. I've recovered my system and scim-anthy works. So my warning:
Do not even try fcitx-mozc, stay with scim-anthy
... or investigate other (more modern) input methods, but keep away from the fcitx-mozc virus.

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Japanese locale modules for Porteus

Post#34 by neko » 23 Aug 2022, 11:29

[fcitx-mozc bug]

@rych
Thank you for your bug report.
I will try to fix it.

--------------------------
@all
Please don't use the fcitx-mozc with the "changes" boot option.
It might break changs areas.

Thanks.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#35 by beny » 23 Aug 2022, 16:38

hi neko, in the last slackware current : maybe is useful for make a package.

Code: Select all

 x/fcitx5-5.0.18-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-anthy-5.0.12-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-chinese-addons-5.0.14-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-gtk-5.0.17-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-hangul-5.0.10-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-kkc-5.0.10-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-m17n-5.0.10-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-qt-5.0.14-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-sayura-5.0.8-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-table-extra-5.0.11-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-table-other-5.0.10-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/fcitx5-unikey-5.0.11-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/ibus-1.5.26-x86_64-2.txz:  Rebuilt.
  Use correct path to kimpanel in ibus-autostart.
  Thanks to Lockywolf.
x/ibus-anthy-1.5.14-x86_64-2.txz:  Rebuilt.
  Recompiled against anthy-unicode-1.0.0.20211224.
  Thanks to Heinz Wiesinger.
x/libime-1.0.13-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.
x/m17n-lib-1.8.0-x86_64-5.txz:  Rebuilt.
  Rebuilt to drop the dependency on anthy-9100h.
  Thanks to Heinz Wiesinger.
x/skkdic-20210919-noarch-1.txz:  Upgraded.
  Thanks to Heinz Wiesinger.
x/x11-skel-7.7-x86_64-9.txz:  Rebuilt.
  Added imconfig script for selecting the input method.
  Thanks to Heinz Wiesinger.
x/xcb-imdkit-1.0.3-x86_64-1.txz:  Added.
  Thanks to Heinz Wiesinger.                                                    

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#36 by beny » 24 Aug 2022, 09:49

hi neko ,sorry i forgot the xorg and glibc upgrade, well not for porteus but Aporteus can do the task...

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Japanese locale modules for Porteus

Post#37 by rych » 24 Aug 2022, 11:34

beny wrote:
24 Aug 2022, 09:49
forgot the xorg and glibc upgrade, well not for porteus
Hi beny, you mean those fcitx5 packages won't work on Porteus 5.0 even though they are from Slackware Current?! Are we're again behind Slackware Current?

Actually, it'd be nice to get fcitx5 working on porteus (provided it's better than the old fcitx)

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#38 by beny » 24 Aug 2022, 13:28

hi, if you have nemesis the last one,you can play with the fcitx5 in porteus the xorg and glibc mesa and gcc version are like mountain,sorry you know this, because in slackware 15 do not exist like upgrade.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#39 by beny » 25 Aug 2022, 12:31

well rych i have removed the links because the gtk3 mismatch with glibc the version is too old so the issue come out after a lot of reboot sorry for that,but nemesis can do the task...

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Japanese locale modules for Porteus

Post#40 by rych » 26 Aug 2022, 11:12

beny,
I activated

Code: Select all

fcitx5-5.0.18-x86_64-1.xzm
(which I bundled with xcb-imdkit-1.0.3-x86_64-1smt.txz and fmt-8.1.1-x86_64-1smt.txz)
fcitx5-gtk-5.0.17-x86_64-1.xzm
fcitx5-qt-5.0.14-x86_64-1.xzm
fcitx5-configtool-5.0.14-x86_64-1.xzm
fcitx5-mozc-2.28.4800.102.1-x86_64-1jw.xzm
Indeed I also see in the output of

Code: Select all

root@porteus:~# fcitx5-diagnose
...
Cannot load module /usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so: GModule (/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)
...
And

Code: Select all

root@porteus:~# fcitx5-configtool 
fcitx5-config-qt: error while loading shared libraries: libKF5WidgetsAddons.so.5: cannot open shared object file: No such file or directory
I continued though:

Code: Select all

root@porteus:~# export XMODIFIERS=@im=fcitx
root@porteus:~# export QT_IM_MODULE=fcitx
root@porteus:~# export GTK_IM_MODULE=fcitx
root@porteus:~# fcitx5&
root@porteus:~# l3afpad 
l3afpad is a GTK app and Ctrl+Space had no effect. From within a Qt app fcitx5 kind of works, for example I starting my texstudio:

Code: Select all

root@porteus:~# texstudio
... Ctrl+Space works and I could switch using the tray icon between my two keyboards ("Groups") En/Ru which fcitx5 correctly identified. However launching config from the tray icon does not work for the same error (printed on on the terminal):

Code: Select all

fcitx5-config-qt: error while loading shared libraries: libKF5WidgetsAddons.so.5: cannot open shared object file: No such file or directory
It's a pity because then I don't know how to make it test and use the plugin provided by the fcitx5-mozc-2.28.4800.102.1-x86_64-1jw.xzm, and that's the purpose of this project which would give us the Japanese input.

I'm giving up on fcitx5-mozc for now because of the above errors:
1. GTK 3 apps can't use it because of the "GLib version too old", (and we can't have 2 GLibs in our system?)
2. fcitx5-configtool doesn't work because it wants KDE/Plasma?
3. mozc plugin didn't work out of the box and I don't know how to activate it manually, without the GUI configtool

Actually the 1. above is enough to give up. Getting to mozc would be another expertise. I will now roll-back, and try fcitx4-mozc

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#41 by beny » 26 Aug 2022, 11:47

hi rych with my module i have this:look at gtk3 issue

Code: Select all

 guest@porteus:~$ fcitx5-diagnose
# System Info:
1.  `uname -a`:

        Linux porteus.example.net 5.18.15-porteus #1 SMP PREEMPT_DYNAMIC Sun Jul 31 19:40:35 Local time zone must  x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux

2.  `lsb_release`:

    `lsb_release` not found.

3.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

4.  `/etc/os-release`:

        NAME=Porteus
        VERSION="5"
        ID=slackware
        VERSION_ID=5.0
        PRETTY_NAME="Porteus 5.0"
        ANSI_COLOR="0;34"
        CPE_NAME="cpe:/o:porteus:porteus_linux:5"
        HOME_URL="http://www.porteus.org/"
        SUPPORT_URL="http://forum.porteus.org/"
        BUG_REPORT_URL="http://forum.porteus.org/"

5.  Desktop Environment:

    Desktop environment is `xfce`.

6.  XDG SESSION TYPE:

        XDG_SESSION_TYPE='tty'

7.  Bash Version:

        BASH_VERSION='5.1.16(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0.0'


        WAYLAND_DISPLAY=''

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
            	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
            	xkb_types     { include "complete"	};
            	xkb_compat    { include "complete"	};
            	xkb_symbols   { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)"	};
            	xkb_geometry  { include "pc(pc105)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", "terminate:ctrl_alt_bksp"

3.  Locale:

    1.  All locales:

            C
            C.utf8
            POSIX
            en_US
            en_US.utf8

    2.  Current locale:

            LANG=it_IT.utf8
            LC_CTYPE="it_IT.utf8"
            LC_NUMERIC="it_IT.utf8"
            LC_TIME="it_IT.utf8"
            LC_COLLATE=C
            LC_MONETARY="it_IT.utf8"
            LC_MESSAGES="it_IT.utf8"
            LC_PAPER="it_IT.utf8"
            LC_NAME="it_IT.utf8"
            LC_ADDRESS="it_IT.utf8"
            LC_TELEPHONE="it_IT.utf8"
            LC_MEASUREMENT="it_IT.utf8"
            LC_IDENTIFICATION="it_IT.utf8"
            LC_ALL=

        **Error occurs when running `locale`. Please check your locale settings.**

            locale: Cannot set LC_CTYPE to default locale: No such file or directory
            locale: Cannot set LC_MESSAGES to default locale: No such file or directory
            locale: Cannot set LC_ALL to default locale: No such file or directory

4.  Directories:

    1.  Home:

            /home/guest

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/guest/.config`).

    3.  Fcitx5 Settings Directory:

        Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/guest/.config/fcitx5`).

5.  Current user:

    The script is run as guest (1000).

# Fcitx State:
1.  executable:

    Found fcitx5 at `/usr/bin/fcitx5`.

2.  version:

    Fcitx version: `5.0.18`

3.  process:

    Found 1 fcitx5 process:

         3137 fcitx5

4.  `fcitx5-remote`:

    `fcitx5-remote` works properly.

5.  DBus interface:

    Using `dbus-send` to check dbus.

    Owner of DBus name `org.fcitx.Fcitx5` is `:1.36`.

    PID of DBus name `org.fcitx.Fcitx5` owner is `3137`.

    Debug information from dbus:

           Group [x11::0.0] has 0 InputContext(s)
        Input Context without group

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`.

2.  Config GUI for qt:

    Found `fcitx5-config-qt` at `/usr/bin/fcitx5-config-qt`.

3.  Config GUI for kde:

    **`kcmshell5` not found.**

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    **XMODIFIERS is not set**

    **Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_related_environment_variables#XMODIFIERS).**
    Xim Server Name from Environment variable is fcitx.

2.  XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

2.  qt5 - `${QT_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

3.  Qt IM module files:

    Found fcitx5 im module for qt5: `/usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib64/qt5/plugins/kcms/kcm_fcitx5.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-unikey-keymap-editor.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-unikey-macro-editor.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-kkc-config.so`.
    **Cannot find fcitx5 input method module for Qt4.**

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:
Cannot load module /usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so: GModule (/usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)
/usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so does not export GTK+ IM module API: GModule (/usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)

        Found `gtk-query-immodules` for unknown gtk version at `/usr/bin/gtk-query-immodules-2.0`.

        **Failed to find fcitx5 in the output of `/usr/bin/gtk-query-immodules-2.0`**

        **Cannot find `gtk-query-immodules` for gtk 2**

        **Cannot find fcitx5 im module for gtk 2.**

    2.  gtk 3:
Cannot load module /usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so: GModule (/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)
/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so does not export GTK+ IM module API: GModule (/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so) initialization check failed: GLib version too old (micro mismatch)

        Found `gtk-query-immodules` for unknown gtk version at `/usr/bin/gtk-query-immodules-3.0`.

        **Failed to find fcitx5 in the output of `/usr/bin/gtk-query-immodules-3.0`**

        **Cannot find `gtk-query-immodules` for gtk 3**

        **Cannot find fcitx5 im module for gtk 3.**

3.  Gtk IM module cache:

    1.  gtk 2:

        **Cannot find immodules cache for gtk 2**

        **Cannot find fcitx5 im module for gtk 2 in cache.**

    2.  gtk 3:

        Found immodules cache for gtk `3.24.30` at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by gtk-query-immodules-3.0 from gtk+-3.24.30

        **Failed to find fcitx5 in immodule cache at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`**

        **Cannot find fcitx5 im module for gtk 3 in cache.**

    3.  gtk 4:

        **Cannot find immodules cache for gtk 4**

        **Cannot find fcitx5 im module for gtk 4 in cache.**

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

    3.  gtk 4:

        All found Gtk 4 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx5 addon config directory: `/usr/share/fcitx5/addon`.

2.  Addon List:

    1.  Found 33 enabled addons:

            Anthy 5.0.12
            Simplified and Traditional Chinese Translation 5.0.14
            Classic User Interface 5.0.18
            Clipboard 5.0.18
            Cloud Pinyin 5.0.14
            DBus 5.0.18
            DBus Frontend 5.0.18
            Emoji 5.0.18
            Fcitx4 Frontend 5.0.18
            Full width character 5.0.14
            Hangul 5.0.10
            IBus Frontend 5.0.18
            Input method selector 5.0.18
            Keyboard 5.0.18
            KDE Input Method Panel 5.0.18
            KKC Addon of Fcitx 5.0.10
            M17N 5.0.10
            Mozc 
            Status Notifier 5.0.18
            Notification 5.0.18
            Pinyin 5.0.14
            Extra Pinyin functionality 5.0.14
            Punctuation 5.0.14
            Quick Phrase 5.0.18
            Sayura Sinhala Input Method For Fcitx 5.0.8
            Spell 5.0.18
            Table 5.0.14
            Unicode 5.0.18
            Unikey Wrapper For Fcitx 5.0.11
            Wayland 5.0.18
            Wayland Input method frontend 5.0.18
            XCB 5.0.18
            X Input Method Frontend 5.0.18

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    **Cannot find following required libraries for `libchttrans` of addon `Simplified`.**

        libopencc.so.1.1

    **Cannot find following required libraries for `kkc` of addon `KKC`.**

        libkkc.so.2

    **Cannot find following required libraries for `hangul` of addon `Hangul`.**

        libhangul.so.1

    **Cannot find following required libraries for `libspell` of addon `Spell`.**

        libenchant-2.so.2

4.  User Interface:

    Found 2 enabled user interface addons:

        Classic User Interface
        KDE Input Method Panel

## Input Methods:
1.  `/home/guest/.config/fcitx5/profile`:

    `/home/guest/.config/fcitx5/profile` not found.

# Log:
1.  `date`:

        Fri Aug 26 13:45:29 Local time zone must be set--see zic manual page 2022

2.  `/home/guest/.config/fcitx5/crash.log`:

    `/home/guest/.config/fcitx5/crash.log` not found.

**Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.**

**Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.**
guest@porteus:~$ 

                                                                                                                

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#42 by beny » 26 Aug 2022, 11:54

rych you can install this and i think you have the config gui :/kwidgetsaddons-5.90.0-x86_64-1.xzm and i have also /kitemviews-5.90.0-x86_64-1.xzm

neko
DEV Team
DEV Team
Posts: 2109
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Japanese locale modules for Porteus

Post#43 by neko » 26 Aug 2022, 12:21

@beny, thank you for your proposal.
@rych, thank you for your researching the beny's proposal.

----------------------------------------------------------------
scim-anthy does not work on desktop lxqt and kde.
fcitx-mozc runs on all desktops.
However, fcitx-mozc has serious problems (rych's bug report).

For this reason, scim-anthy is used as a Japanese input method except desktop lxqt and kde.
I am continuing to explore Japanese input method for desktop lxqt and kde.

Please refer to the top article of this thread.

PorteusV5.0-MULT_ja ISO version up to 22.08.26.
kernel : 5.19.4
WEB browser : chromium 104.0.5112.101-1alien
Input method : scim-anthy


Thanks.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Japanese locale modules for Porteus

Post#44 by beny » 26 Aug 2022, 22:18

hi maybe the software start: but for the system we need gllib1 and glib2 and libffi-3.4.2-x86_64-2.xzm all this libs are on top of the old one into the core, so maybe is not a good thing

Code: Select all

 guest@porteus:~$ fcitx5-diagnose
# System Info:
1.  `uname -a`:

        Linux porteus.example.net 5.18.15-porteus #1 SMP PREEMPT_DYNAMIC Sun Jul 31 19:40:35 Local time zone must  x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux

2.  `lsb_release`:

    `lsb_release` not found.

3.  `/etc/lsb-release`:

    `/etc/lsb-release` not found.

4.  `/etc/os-release`:

        NAME=Porteus
        VERSION="5"
        ID=slackware
        VERSION_ID=5.0
        PRETTY_NAME="Porteus 5.0"
        ANSI_COLOR="0;34"
        CPE_NAME="cpe:/o:porteus:porteus_linux:5"
        HOME_URL="http://www.porteus.org/"
        SUPPORT_URL="http://forum.porteus.org/"
        BUG_REPORT_URL="http://forum.porteus.org/"

5.  Desktop Environment:

    Desktop environment is `xfce`.

6.  XDG SESSION TYPE:

        XDG_SESSION_TYPE='tty'

7.  Bash Version:

        BASH_VERSION='5.1.16(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0.0'


        WAYLAND_DISPLAY=''

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
            	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
            	xkb_types     { include "complete"	};
            	xkb_compat    { include "complete"	};
            	xkb_symbols   { include "pc+us+inet(evdev)+terminate(ctrl_alt_bksp)"	};
            	xkb_geometry  { include "pc(pc105)"	};
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", "terminate:ctrl_alt_bksp"

3.  Locale:

    1.  All locales:

            C
            C.utf8
            POSIX
            en_US
            en_US.utf8

    2.  Current locale:

            LANG=it_IT.utf8
            LC_CTYPE="it_IT.utf8"
            LC_NUMERIC="it_IT.utf8"
            LC_TIME="it_IT.utf8"
            LC_COLLATE=C
            LC_MONETARY="it_IT.utf8"
            LC_MESSAGES="it_IT.utf8"
            LC_PAPER="it_IT.utf8"
            LC_NAME="it_IT.utf8"
            LC_ADDRESS="it_IT.utf8"
            LC_TELEPHONE="it_IT.utf8"
            LC_MEASUREMENT="it_IT.utf8"
            LC_IDENTIFICATION="it_IT.utf8"
            LC_ALL=

        **Error occurs when running `locale`. Please check your locale settings.**

            locale: Cannot set LC_CTYPE to default locale: No such file or directory
            locale: Cannot set LC_MESSAGES to default locale: No such file or directory
            locale: Cannot set LC_ALL to default locale: No such file or directory

4.  Directories:

    1.  Home:

            /home/guest

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/guest/.config`).

    3.  Fcitx5 Settings Directory:

        Current fcitx5 settings directory is `~/.config/fcitx5` (`/home/guest/.config/fcitx5`).

5.  Current user:

    The script is run as guest (1000).

# Fcitx State:
1.  executable:

    Found fcitx5 at `/usr/bin/fcitx5`.

2.  version:

    Fcitx version: `5.0.18`

3.  process:

    **Fcitx5 is not running.**
    **Please check the Configure link of your distribution in [Beginner's Guide](http://fcitx-im.org/wiki/Beginner%27s_Guide) for how to setup fcitx5 autostart.**

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx5-configtool at `/usr/bin/fcitx5-configtool`.

2.  Config GUI for qt:

    Found `fcitx5-config-qt` at `/usr/bin/fcitx5-config-qt`.

3.  Config GUI for kde:

    **`kcmshell5` not found.**

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    **XMODIFIERS is not set**

    **Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_related_environment_variables#XMODIFIERS).**
    Xim Server Name from Environment variable is fcitx.

2.  XIM_SERVERS on root window:

    **Cannot find xim_server on root window.**

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

2.  qt5 - `${QT_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

3.  Qt IM module files:

    Found fcitx5 im module for qt5: `/usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so`.
    Found unknown fcitx qt module: `/usr/lib64/qt5/plugins/kcms/kcm_fcitx5.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-unikey-keymap-editor.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-unikey-macro-editor.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx-quickphrase-editor5.so`.
    Found fcitx5 qt5 module: `/usr/lib64/fcitx5/qt5/libfcitx5-kkc-config.so`.
    **Cannot find fcitx5 input method module for Qt4.**

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        Found `gtk-query-immodules` for gtk `2.24.33` at `/usr/bin/gtk-query-immodules-2.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33

        Found fcitx5 im modules for gtk `2.24.33`.

            "/usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found `gtk-query-immodules` for gtk `3.24.34` at `/usr/bin/gtk-query-immodules-3.0`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.34

        Found fcitx5 im modules for gtk `3.24.34`.

            "/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.24.33` at `/usr/lib64/gtk-2.0/2.10.0/immodules.cache`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-2.0-64 from gtk+-2.24.33

        Found fcitx5 im modules for gtk `2.24.33`.

            "/usr/lib64/gtk-2.0/2.10.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found immodules cache for gtk `3.24.34` at `/usr/lib64/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/bin/gtk-query-immodules-3.0-64 from gtk+-3.24.34

        Found fcitx5 im modules for gtk `3.24.34`.

            "/usr/lib64/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
            "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
            "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 

    3.  gtk 4:

        **Cannot find immodules cache for gtk 4**

        **Cannot find fcitx5 im module for gtk 4 in cache.**

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

    3.  gtk 4:

        All found Gtk 4 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx5 addon config directory: `/usr/share/fcitx5/addon`.

2.  Addon List:

    1.  Found 33 enabled addons:

            Anthy 5.0.12
            Simplified and Traditional Chinese Translation 5.0.14
            Classic User Interface 5.0.18
            Clipboard 5.0.18
            Cloud Pinyin 5.0.14
            DBus 5.0.18
            DBus Frontend 5.0.18
            Emoji 5.0.18
            Fcitx4 Frontend 5.0.18
            Full width character 5.0.14
            Hangul 5.0.10
            IBus Frontend 5.0.18
            Input method selector 5.0.18
            Keyboard 5.0.18
            KDE Input Method Panel 5.0.18
            KKC Addon of Fcitx 5.0.10
            M17N 5.0.10
            Mozc 
            Status Notifier 5.0.18
            Notification 5.0.18
            Pinyin 5.0.14
            Extra Pinyin functionality 5.0.14
            Punctuation 5.0.14
            Quick Phrase 5.0.18
            Sayura Sinhala Input Method For Fcitx 5.0.8
            Spell 5.0.18
            Table 5.0.14
            Unicode 5.0.18
            Unikey Wrapper For Fcitx 5.0.11
            Wayland 5.0.18
            Wayland Input method frontend 5.0.18
            XCB 5.0.18
            X Input Method Frontend 5.0.18

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        Classic User Interface
        KDE Input Method Panel

## Input Methods:
1.  `/home/guest/.config/fcitx5/profile`:

    `/home/guest/.config/fcitx5/profile` not found.

# Log:
1.  `date`:

        Fri Aug 26 23:53:59 Local time zone must be set--see zic manual page 2022

2.  `/home/guest/.config/fcitx5/crash.log`:

    `/home/guest/.config/fcitx5/crash.log` not found.

**Warning: the output of fcitx5-diagnose contains sensitive information, including the distribution name, kernel version, name of currently running programs, etc.**

**Though such information can be helpful to developers for diagnostic purpose, please double check and remove as necessary before posting it online publicly.**


 

rych
Warlord
Warlord
Posts: 622
Joined: 04 Jan 2014, 04:27
Distribution: Porteus 5.0 x64 OpenBox
Location: NZ
Contact:

Japanese locale modules for Porteus

Post#45 by rych » 27 Aug 2022, 04:01

beny wrote:
26 Aug 2022, 11:54
rych you can install this(?) and i think you have the config gui :/kwidgetsaddons-5.90.0-x86_64-1.xzm and i have also /kitemviews-5.90.0-x86_64-1.xzm
beny wrote:
26 Aug 2022, 22:18
for the system we need gllib1 and glib2 and libffi-3.4.2-x86_64-2.xzm
Great. Your fcitx5-diagnose output looks a lot better than mine. Maybe we could make it work after all. Could you provide download links for your:

this.xzm
kwidgetsaddons-5.90.0-x86_64-1.xzm
kitemviews-5.90.0-x86_64-1.xzm
gllib1 and glib2 .xzm
libffi-3.4.2-x86_64-2.xzm

I'll pre-activate those before my fcitx5 modules and will try again on my end. Or, bundle it all how it works for you into a fcitx5-mozc-bundle.xzm :)
Thanks

Post Reply