Abiword 3.0.5 light & local

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

Abiword 3.0.5 light & local

Post#1 by Rapha_ » 20 Nov 2022, 14:25

Last year I had built this module with the help of Beny and Rava : Thanks to them !

Made in the old way ...it is 3 times smaller than the usual module of this version ( 8.4 Mo < 25 Mo)

md5sum - b4201f79325a8cf650e9749f2c40e24b - abiword-3.0.5-x86_64-1_SBo_bundle.xzm
https://www.mediafire.com/file/cf10ssko ... e.xzm/file


I searched a lot to have a local version, but in fact it's very simple: you just have to create a .desktop launcher with the local code available :

Code: Select all

/usr/share/locale$ ls
as/  bs/  ca/  ca@valencia/  cs/  da/  de/   el/  en_GB/  eo/  es/  eu/  fi/  fr/  gl/  he/  hu/  id/  it/  ja/     ko/   lt/    lv/  ml/
nb/  nn/  oc/  pa/   pl/  pt/  pt_BR/  ro/  ru/  sk/  sl/  sr/  sr@latin/  sv/  ta/  tg/  th/  tr/  uk/  zh_CN/  zh_HK/  zh_TW/
Like this for Spanish language :

es_Abiword.desktop :

Code: Select all

[Desktop Entry]
Version=1.0
Type=Application
Name=es_Abiword
Comment=
Exec=env LANG=es_ES.UTF-8 abiword %U
Icon=abiword
Terminal=false
StartupNotify=false


Name[en_US.UTF-8]=Abiword espagnol

You can also open several Abiword with different languages at the same time



> For your information, here is the method used to add the dependencies :

Code: Select all

ldd /usr/bin/abiword |grep "not found"
Download each necessary package, create module, activate it and again search for missing files with ldd...

libwv-1.2.so.4 => not found => wv-1.2.9-x86_64-1ponce.txz => txz2xzm
libgsf-1.so.114 => not found => libgsf-1.14.47-x86_64-3.txz => txz2xzm
librdf.so.0 => not found => redland-1.0.16-x86_64-1.txz => txz2xzm
librasqal.so.3 => not found => rasqal-0.9.30-x86_64-1.txz => txz2xzm
libraptor2.so.0 => not found => raptor2-2.0.15-x86_64-2alien.txz => txz2xzm

libmhash.so.2 => not found => mhash-0.9.9.9-x86_64-6.txz => txz2xzm
libmpfr.so.4 => not found => aaa_elflibs-14.2-x86_64-23.txz (5.6 MB) => txz2xzm => extraction => module (144 KiB)

libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/libabiword-3.0.so)
=> aaa_libraries-15.0-x86_64-11.txz (9.8 MB) => txz2xzm => extraction + 1 symlink => module (536 KiB)


=> merge modules to abiword-3.0.5-x86_64-1_SBo_bundle.xzm (8.4 MiB)

gnintilgyes
Black ninja
Black ninja
Posts: 73
Joined: 14 Sep 2022, 17:52
Distribution: Debian

Abiword 3.0.5 light & local

Post#2 by gnintilgyes » 20 Nov 2022, 21:28

Rapha_ wrote:
20 Nov 2022, 14:25

Code: Select all

Name[en_US.UTF-8]=Abiword espagnol
Many people who speak and read English won't be happy with this setting. Why is "es_ES.UTF-8" further above?

Others that know Spanish would appreciate "ñ" instead of "gn" in the name of the language too.

Maybe this doesn't matter if the program could be launched and used.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Abiword 3.0.5 light & local

Post#3 by Rava » 21 Nov 2022, 01:59

I agree with gnintilgyes, shouldn't es_Abiword.desktop not read like this:

Code: Select all

[Desktop Entry]
Version=1.0
Type=Application
Name=es_Abiword
Comment=
Exec=env LANG=es_ES.UTF-8 abiword %U
Icon=abiword
Terminal=false
StartupNotify=false

Name[es_ES.UTF-8]=Abiword español
Name=Abiword Spanish
Added in 1 minute 44 seconds:
Rapha_ wrote:
20 Nov 2022, 14:25
Made in the old way ...it is 3 times smaller than the usual module of this version ( 8.4 Mo < 25 Mo)
Yay, I am happy we get more folks into minimizing the sizes of modules.
Cheers!
Yours Rava

roro
Black ninja
Black ninja
Posts: 65
Joined: 04 Aug 2022, 08:41
Distribution: Porteus 5.0 XFCE

Abiword 3.0.5 light & local

Post#4 by roro » 21 Nov 2022, 12:40

I'm still a newbie.
Therefore my question:
Does this type of language change only work for abiword,
or does this work for every program?

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

Abiword 3.0.5 light & local

Post#5 by beny » 21 Nov 2022, 14:14

all the software follow this... and the other one lang.sh in /etc/profile.d, so follow your system language if you have another language instead english you have to have glibc-i18n that allow system to use all language.

Code: Select all

 #!/bin/csh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#   locale -a

# en_US is the Slackware default locale:
setenv LANG it_IT.utf8

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#setenv LANG C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
#setenv LANG en_US.UTF-8

# Another option for en_US:
#setenv LANG en_US.ISO8859-1

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
setenv LC_COLLATE C

# End of /etc/profile.d/lang.csh

                                                                                

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

Abiword 3.0.5 light & local

Post#6 by Rapha_ » 21 Nov 2022, 22:24

gnintilgyes wrote:
20 Nov 2022, 21:28
Others that know Spanish would appreciate "ñ" instead of "gn" in the name of the language too.

Maybe this doesn't matter if the program could be launched and used.
Yes....But the most important to have Abiword in another language is this in your *.desktop :

Code: Select all

 Exec=env LANG=es_ES.UTF-8 abiword %U
If you are bilingual it doesn't matter how you name your launcher (*.desktop), there is no effect on the software


roro wrote:
21 Nov 2022, 12:40
Does this type of language change only work for abiword,
or does this work for every program?
Probably it works for other software, but this one must be already translated and this translation must also be available inside the module

For example it doesn't work with Gnumeric (maybe it is not translated in other languages)

On others, the method is different and you must download a module and keep your settings...for examples :

LibreOffice : Locale languages settings

Gimp 2.10.28 . photo retouching . image composition . painting

Post Reply