Author |
Message |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Wed 27 Jan 2010, 11:51 Post subject:
i18n'ed jwm - jwm internationalization with gettext |
|
Hi all, i18n'ed jwm binary and pot file.
you can creat translations using poedit or something.
at this point of time, its i18n is partially, only the window menu.
EDIT 2010-09-14:
Four builds of jwm-493-i18n: Download from here(4 in 1).
- jwm-493-i18np4: for Puppy/Puplet-4.x
- jwm-493-i18nq: for Quirky-1.2
- jwm-493-i18nl: for Lupu/LupQ-5.x
- jwm-493-i18nw: for Wary-0.7
A trap: jwmrc on most of puppies define the font as ' DejaVu Sans-12'. It makes trouble in showing non-european characters. It should be 'DejaVu Sans 12', not '-' but blank.
They are at /etc/xdg/templates/_root_.jwmrc, /root/.jwmrc, /root/.jwm/jwmrc-theme, and /root/.jwm/themes/*-jwmrc.
Run jwm_font_repair.sh combined with the tarball above to repair them all.
JWM-493 accepts 'nofocus'. For example, you can add next entry in jwmrc:
Code: | <Group>
<Class>gtkdialog-splash</Class>
<Option>nolist</Option>
<Option>nofocus</Option>
</Group> |
Ttrap: do not use '<Option>layer:9</Option>' other than Wary.
See Barry's blog.
the source and the patch against jwm svn version 493, 492, 464, and 460 is avairable here.
EDIT: 2010-06-18
Three builds of jwm-492-i18n:
jwm-492-i18np4: for Puppy/Pupplet-4.x
jwm-492-i18nq: for Quirky-1.2
jwm-492-i18nl: for Lupu-5.0.1
EDIT: 2010-03-13
sintani-san uploaded jwm-469-i18n_and_taskbar-fix.tar.bz2
see the 5th post of this topic.
EDIT: 2010-02-11
jwm-464 can be a bit buggy. try jwm-460-i18n.
For jwm-493, see the top of this post.
Description |
Build on Puppy-4.3.1JPqs3
|

Download |
Filename |
jwm-492-i18np4.tar.gz |
Filesize |
68.38 KB |
Downloaded |
1614 Time(s) |
Description |
Build on Quirky-1.2
|

Download |
Filename |
jwm-492-i18nq.tar.gz |
Filesize |
69.28 KB |
Downloaded |
1541 Time(s) |
Description |
Build on Lupu-5.0.1
|

Download |
Filename |
jwm-492-i18nl.tar.gz |
Filesize |
71.74 KB |
Downloaded |
1704 Time(s) |
Description |
can be more stable than recent v467 i18n'ed jwm binary and pot file
|

Download |
Filename |
jwm-460-i18n.tar.gz |
Filesize |
69.66 KB |
Downloaded |
1655 Time(s) |
Description |
i18n'ed jwm binary and pot file
|

Download |
Filename |
jwm-464-i18n.tar.gz |
Filesize |
69.63 KB |
Downloaded |
1599 Time(s) |
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Thu 16 Sep 2010, 00:46; edited 9 times in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Wed 03 Feb 2010, 11:11 Post subject:
|
|
i18n'ed jwm now in Barry's recent Quirky.
Barry's BLOG
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8524 Location: Perth, Western Australia
|
Posted: Wed 03 Feb 2010, 19:16 Post subject:
|
|
Yeah, it'll be in the upcoming Quirky 007.
_________________ http://bkhome.org/news/
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 11 Feb 2010, 01:57 Post subject:
How to patch against jwm v460 |
|
shintani informed me that jwm-464 is a bit buggy in iconifying applications, aqualung, retrovol and etc.,
and that jwm-460 can be more stable.
to apply jwm-464-i18n.patch against jwm-460 fails to update the file 'configure', but autoconf can creat sane 'configure' file.
assuming jwm-460.tar.bz2 and jwm-464-i18n.patch.gz are at the current directory:
Code: | gunzip jwm-464-i18n.patch.gz
tar -xjf jwm-460.tar.bz2
cd jwm-460
patch -p1 < ../jwm-464-i18n.patch
autoconf
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu
make
strip src/jwm |
you may need to modify 'jwm.h' before make in case with newer version of fribidi package.
See Barry's BLOG.
|
Back to top
|
|
 |
shintani
Joined: 12 Mar 2010 Posts: 1
|
Posted: Fri 12 Mar 2010, 02:12 Post subject:
Re: How to patch against jwm v460 |
|
shinobar wrote: | shintani informed me that jwm-464 is a bit buggy in iconifying applications, aqualung, retrovol and etc.,
and that jwm-460 can be more stable. |
Hi.
Change between svn461 and 462 is bad??
WEBsvn:
http://joewing.net/websvn/comp.php?repname=JWM&path=%2F&compare[]=%2F@461&compare[]=%2F@462
I got svn469 and patched shinobar's code and rolled back svn461's ./src/taskbar.c and compiled it.
how about it?
Description |
./src/taskbar.c that rolled back to svn461
|

Download |
Filename |
taskbar.c.gz |
Filesize |
4.18 KB |
Downloaded |
1657 Time(s) |
Description |
|

Download |
Filename |
jwm-469-i18n_and_taskbar-fix.tar.bz2 |
Filesize |
64.22 KB |
Downloaded |
1595 Time(s) |
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Thu 17 Jun 2010, 18:43 Post subject:
jwm-492-i18n |
|
Three build of jwm-492-i18n:
For Puppy/Pupplet-4.x, for Quirky-1.2 and for Lupu-5.0.1.
See the top of this topic.
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Mon 13 Sep 2010, 00:08 Post subject:
Update patch Subject description: jwm-493-i18n.patch |
|
EDIT: new patch worked on Puppy Linux 4.3.1JPqs3, but doesn't work on Puppy 5.x. I am wondering why...
RESOLVED: see the next post.
The jwm-464-i18n.patch against another version of jwm fails to update the file 'configure'.
Attached jwm-493-i18n.patch, without modifying the file 'configure'. You need to execute 'autoconf' to update the file 'configure'.
The source of jwm-493 and jwm-492-fullscreen-patriot.patch are available at http://bkhome.org/sources/alphabetical/j/
Barry's blog: http://bkhome.org/blog/?viewDetailed=01805
Code: | patch -p1 < ../jwm-492-fullscreen-patriot.patch
patch -p1 < ../jwm-493-i18n.patch |
For recent puppies, you need to edit 'src/jwm.h' at line 102 or so.
'<fribidi/fribidi_char_sets.h>' to <fribidi/fribidi-char-sets.h>, replace the underscore '_' with minus'-'. There is jwm-593-fribidi.patch
Code: | patch -p1 < ../jwm-493-fribidi.patch |
Then, compile and strip. You need to execute 'autoconf' to update the file 'configure':
Code: | autoconf
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu
make
strip src/jwm |
Complied on Puppy Linux-431JPqs3 works fine.
I did the same thing on LupQ-508. It works as normal jwm, but does not work the i18n. Tried on Wary-0.7, got same result. Quirky-1.2 got the same. I cannot find out what is wrong...
See the next post for the patches.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Tue 14 Sep 2010, 00:06; edited 1 time in total
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2664 Location: Japan
|
Posted: Mon 13 Sep 2010, 23:51 Post subject:
RESOLVED: jwm-493-i18n Puppy 5.x |
|
shinobar wrote: | new patch worked on Puppy Linux 4.3.1JPqs3, but doesn't work on Puppy 5.x. I am wondering why... |
Got it
The version of the autoconf, i used for generating new configure file, is different between Puppy Linux 4.x and 5.x. And the newer autoconf-2.65 seems problem with NLS support.
The autoconf have to be done on Puppy 4.x, autoconf-2.59.
Code: | patch -p1 < ../jwm-492-fullscreen-patriot.patch
patch -p1 < ../jwm-492-i18n.patch
autoconf |
Continue on Puppy 5.x:
Code: | patch -p1 < ../jwm-493-fribidi.patch
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu
make
strip src/jwm |
Made 4 buils, for Puppy 4.x, Quirky, Wary and Lucid. See the top of this topic.
_________________ Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Wed 15 Sep 2010, 07:00; edited 1 time in total
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Tue 14 Sep 2010, 20:01 Post subject:
|
|
Excellent work, I'm glad to see that you got Patriot's full screen patch too.
Now the only big thing jwm is missing is the ability to have invisible trays/traybuttons (with visible icons/text) so that desktop icons could be emulated. (Setting the background color to None /NULL didnt work )
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Mon 15 Nov 2010, 12:45 Post subject:
|
|
I was going through amigo's list of goodies and found desklaunch
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/DeskTop/IconMgmt/desklaunch-1.1.3/
desklaunch is a small utility for creating desktop icons which can be launched by clicking them. (it compiles to only 13k)
This is the last function jwm needs to become a full desktop environment.
since it is only a single C file it seems like it could be fairly easily integrated into jwm by renaming it's main and inserting a function call to it in jwm's main??
Note: its hard-coded font is not installed by default in puppy => should either change it to one that exists or better yet refactor to use jwm's font (otherwise it will segfault when it can't find the font)
Note2: desklaunch currently only works with xpm (=more refactoring to add png)
{{of course you could always just run desklaunch as a separate app, just with ~2MB of additional resource waste due to glibc and libX11 inefficiencies - kernels after 2.6.33 reduce this to ~0.5MB, while adding it to jwm should be less than ~50kb}}
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Blesphemy206

Joined: 18 Feb 2011 Posts: 5
|
Posted: Tue 22 Feb 2011, 16:32 Post subject:
|
|
technosaurus wrote: | Excellent work, I'm glad to see that you got Patriot's full screen patch too.
Now the only big thing jwm is missing is the ability to have invisible trays/traybuttons (with visible icons/text) so that desktop icons could be emulated. (Setting the background color to None /NULL didnt work ) |
The full screen patch totally made this work the way it needed to visually. i think that is the best compliment that can be given here. It's nice when appearance works and you can just play with little internal things from there on out...
_________________ http://puppylinux.org/wikka/aprilaire/puppysites
|
Back to top
|
|
 |
|