Revision history for CompilingScimPackages
Additions:
CategorySoftware
Deletions:
Additions:
[[HomePage]] >[[ComponentHowTo Components and HowTos]] > [[NativeLanguageSupport Language Support]]
Additions:
{{color text="These compilation instructions apply to Puppy 2.17. They need changes in order to work in other versions of Puppy." c="#009900"}}
Deletions:
Additions:
All you need to do now is restart the xserver, and scim should be ready to go. Open AbiWord, [[GeanyIDE Geany]], or OpenOffice and the tray icon should appear.
Deletions:
Additions:
All you need to do now is restart the xserver, and scim should be ready to go. Open AbiWord, Geany, or OpenOffice and the tray icon should appear.
Deletions:
Additions:
1. pinstall.sh //remember to make it executable//
Deletions:
No Differences
Additions:
#remove entry from gtk.immodules
%%sed -i /scim-bridge/d /etc/gtk-2.0/gtk.immodules%%
#remove entry from .xinitrc
%%sed -i '
/.*scim-bridge./ {
N
N
d
}
' ~/.xinitrc%%
%%sed -i /scim-bridge/d /etc/gtk-2.0/gtk.immodules%%
#remove entry from .xinitrc
%%sed -i '
/.*scim-bridge./ {
N
N
d
}
' ~/.xinitrc%%
Deletions:
<code>
#!/bin/sh<br />
<br />
#remove entry from gtk.immodules<br />
sed -i /scim-bridge/d /etc/gtk-2.0/gtk.immodules<br />
<br />
#remove entry from .xinitrc<br />
sed -i '<br />
/.*scim-bridge./ {<br />
N<br />
N<br />
d<br />
} <br />
' ~/.xinitrc<br />
</code>
</blockquote>""
Additions:
#!/bin/sh
%%cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/gtk.immodules.bak%%
#add entry to gtk.immodules
%%echo '"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"' >> /etc/gtk-2.0/gtk.immodules
echo '"scim-bridge" "SCIM Bridge Input Method"' >> /etc/gtk-2.0/gtk.immodules%%
#add entry to .xinitrc, near beginning
%%sed -i -e 's/PUPSTATE/PUPSTATE\
\
export GTK_IM_MODULE="scim-bridge"\
export QT_IM_MODULE="scim-bridge"/' ~/.xinitrc%%
%%cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/gtk.immodules.bak%%
#add entry to gtk.immodules
%%echo '"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"' >> /etc/gtk-2.0/gtk.immodules
echo '"scim-bridge" "SCIM Bridge Input Method"' >> /etc/gtk-2.0/gtk.immodules%%
#add entry to .xinitrc, near beginning
%%sed -i -e 's/PUPSTATE/PUPSTATE\
\
export GTK_IM_MODULE="scim-bridge"\
export QT_IM_MODULE="scim-bridge"/' ~/.xinitrc%%
Deletions:
#add entry to gtk.immodules<br />
echo '"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"' >> /etc/gtk-2.0/gtk.immodules<br />
echo '"scim-bridge" "SCIM Bridge Input Method" "" "" ""' >> /etc/gtk-2.0/gtk.immodules<br />
#add entry to .xinitrc, near beginning<br />
sed -i -e 's/PUPSTATE/PUPSTATE\<br />
\<br />
export GTK_IM_MODULE="scim-bridge"\<br />
export QT_IM_MODULE="scim-bridge"/' ~/.xinitrc <br />
Deletions:
""<blockquote>./configure --prefix=/usr </blockquote>""
Additions:
//Compile m17n-lib://
//Compile scim-m17n://
//Compile scim-m17n://
Deletions:
Compile scim-m17n:
Additions:
//Compile m17n-db://
%%./configure --prefix=/usr --with-charmaps=/location/of/charmaps%%
Compile m17n-lib:
Compile scim-m17n:
%%./configure --prefix=/usr --with-charmaps=/location/of/charmaps%%
Compile m17n-lib:
Compile scim-m17n:
Deletions:
./configure --prefix=/usr --with-charmaps=/location/of/charmaps%%
//Compile m17n-lib://
<code>./configure --prefix=/usr </code>
//Compile scim-m17n://
<code>./configure --prefix=/usr </code>
Additions:
%%//Compile m17n-db://
./configure --prefix=/usr --with-charmaps=/location/of/charmaps%%
./configure --prefix=/usr --with-charmaps=/location/of/charmaps%%
Deletions:
<p>
<code>./configure --prefix=/usr --with-charmaps=/location/of/charmaps</code>
</p>
Deletions:
Additions:
%%"/usr/lib/gtk-2.0/immodules/im-scim-bridge.so"
"scim-bridge" "SCIM Bridge Input Method"%%
"scim-bridge" "SCIM Bridge Input Method"%%
Deletions:
"scim-bridge" "SCIM Bridge Input Method" "" "" ""</code>
Additions:
%%export GTK_IM_MODULE="scim-bridge"
export QT_IM_MODULE="scim-bridge"%%
export QT_IM_MODULE="scim-bridge"%%
Deletions:
export QT_IM_MODULE="scim-bridge"</code>
Additions:
To activate scim-bridge as an input method, add to the file /etc/gtk-2.0/gtk.immodules these two lines:
Deletions:
Additions:
%%./configure%%
%%./configure --prefix=/usr%%
%%./configure --prefix=/usr --disable-qt3-immodule --disable-qt4immodule%%
%%./configure --prefix=/usr%%
%%./configure --prefix=/usr --disable-qt3-immodule --disable-qt4immodule%%
Deletions:
No Differences
Additions:
======{{color text="Compiling Scim-bridge and Related Packages from Source" c="green"}}======
Deletions:
Deletions:
Additions:
CategoryPuppyDocumentation
Deletions:
No Differences
Additions:
See also: MultiLingualPuppy
CategoryAdditionalSoftware
CategoryMultilingual
CategoryAdditionalSoftware
CategoryMultilingual
Deletions:
Additions:
----
==Categories==
CategoryDocumentation
==Categories==
CategoryDocumentation
Additions:
__Note__: scim-anthy needs gconv4dingo.pet if you are using Puppy 4, or the conversion to kanji doesn't work.
These follow similar instructions to the ones given above. Scim-canna needs gconv4dingo.pet if you are running Puppy 4.
These follow similar instructions to the ones given above. Scim-canna needs gconv4dingo.pet if you are running Puppy 4.
Deletions:
Revision [565]
Edited on 2009-08-19 18:55:31 by Irihapeti [removed most html code; added some links]Additions:
======Compiling Scim-bridge and Related Packages from Source======
**Note:** At this stage, these instructions are for GTK2 only. Fortunately, that covers a large number of programs available in Puppy. QT support will be added later, as will instructions for compiling in other Puppy versions.
Source files are available from:
http://sourceforge.net/projects/scim/files/
http://sourceforge.jp/projects/anthy/
http://www.m17n.org/m17n-lib-en/
http://en.sourceforge.jp/projects/canna/releases/
http://mammouth.tuxfamily.org/slackware/ //precompiled canna server//
http://kldp.net/projects/hangul/
It is assumed here that you know how to compile packages from source. If you don't, instructions are available elsewhere.
""<blockquote>
</blockquote>""
It is recommended to make these packages into .pet packages, for ease of removal.
**Scim**
""<blockquote>
</blockquote>""
**Scim-bridge**
""<blockquote>
</blockquote>""
To activate scim-bridge as an input method, add to the file ""<code>/etc/gtk-2.0/gtk.immodules </code>""these two lines:
""<blockquote>
</blockquote>""
""<blockquote>
</blockquote>""
Because the QT immodules haven't been enabled, the second line will do absolutely nothing. However, it's already set up in case you should wish to add the QT immodules later on.
**Scim-tables**
""<blockquote>
</blockquote>""
**Scim-m17n**
//Compile m17n-db://
""<blockquote>
</blockquote>""
//Compile m17n-lib://
""<blockquote>
</blockquote>""
//Compile scim-m17n://
""<blockquote>
</blockquote>""
**Scim-anthy**
//Compile anthy libraries://
""<blockquote>
</blockquote>""
//Compile scim-anthy://
**Scim-pinyin**
""<blockquote>./configure --prefix=/usr </blockquote>""
**Other Language Files**
E.g. scim-canna, scim-hangul
These follow similar instructions to the ones given above.
**Install scripts for scim-bridge .pet**
1. pinstall.sh //(remember to make it executable)//
""<blockquote>
</blockquote>""
2. puninstall.sh //(likewise, it needs to be executable)//
""<blockquote>
</blockquote>""
**Note:** At this stage, these instructions are for GTK2 only. Fortunately, that covers a large number of programs available in Puppy. QT support will be added later, as will instructions for compiling in other Puppy versions.
Source files are available from:
http://sourceforge.net/projects/scim/files/
http://sourceforge.jp/projects/anthy/
http://www.m17n.org/m17n-lib-en/
http://en.sourceforge.jp/projects/canna/releases/
http://mammouth.tuxfamily.org/slackware/ //precompiled canna server//
http://kldp.net/projects/hangul/
It is assumed here that you know how to compile packages from source. If you don't, instructions are available elsewhere.
""<blockquote>
</blockquote>""
It is recommended to make these packages into .pet packages, for ease of removal.
**Scim**
""<blockquote>
</blockquote>""
**Scim-bridge**
""<blockquote>
</blockquote>""
To activate scim-bridge as an input method, add to the file ""<code>/etc/gtk-2.0/gtk.immodules </code>""these two lines:
""<blockquote>
</blockquote>""
""<blockquote>
</blockquote>""
Because the QT immodules haven't been enabled, the second line will do absolutely nothing. However, it's already set up in case you should wish to add the QT immodules later on.
**Scim-tables**
""<blockquote>
</blockquote>""
**Scim-m17n**
//Compile m17n-db://
""<blockquote>
</blockquote>""
//Compile m17n-lib://
""<blockquote>
</blockquote>""
//Compile scim-m17n://
""<blockquote>
</blockquote>""
**Scim-anthy**
//Compile anthy libraries://
""<blockquote>
</blockquote>""
//Compile scim-anthy://
**Scim-pinyin**
""<blockquote>./configure --prefix=/usr </blockquote>""
**Other Language Files**
E.g. scim-canna, scim-hangul
These follow similar instructions to the ones given above.
**Install scripts for scim-bridge .pet**
1. pinstall.sh //(remember to make it executable)//
""<blockquote>
</blockquote>""
2. puninstall.sh //(likewise, it needs to be executable)//
""<blockquote>
</blockquote>""
Deletions:
<p>
</p>
<b>Note:</b> At this stage, these instructions are for GTK2 only. Fortunately, that covers a large number of programs available in Puppy. QT support will be added later, as will instructions for compiling in other Puppy versions.
<p>
</p>
<p>
It is assumed here that you know how to compile packages from source. If you don't, instructions are available in other places.
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
It is recommended to make these packages into .pet packages, for ease of removal. Instructions are here:
</p>
http://www.puppylinux.com/development/createpet.html
<p>
</p>
<br />
<p>
<b>Scim</b>
</p>
<p>
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
</p>
<br />
<b>Scim-bridge</b>
<p>
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
To activate scim-bridge as an input method, add to the file <code>/etc/gtk-2.0/gtk.immodules </code>these two lines:
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
</p>
<p>
Because the qt immodules haven't been enabled, the second line will do absolutely nothing. However, it's already set up in case you should wish to add the qt immodules later on.
</p>
<p>
</p>
<p>
</p>
<br />
<p>
<b>Scim-tables</b>
</p>
<p>
</p>
<p>
</p>
<blockquote>
</blockquote>
<p>
</p>
<br />
<p>
<b>Scim-m17n</b>
</p>
<p>
</p>
<p>
</p>
<br />
<i>Compile m17n-db:</i>
<blockquote>
</blockquote>
<p>
</p>
<br />
<i>Compile m17n-lib:</i>
<blockquote>
</blockquote>
<br />
<i>Compile scim-m17n:</i>
<blockquote>
</blockquote>
<br />
<p>
<b>Scim-anthy</b>
</p>
<p>
</p>
<p>
</p>
<br />
<i>Compile anthy libraries:</i>
<blockquote>
</blockquote>
<br />
<i>Compile scim-anthy:</i>
<p>
</p>
<br />
<p>
<b>Scim-pinyin</b>
</p>
<code>./configure --prefix=/usr </code>
<br />
<br />
<p>
<b>Install scripts for scim-bridge .pet</b>
</p>
<p>
</p>
<br />
<p>
1. pinstall.sh <i>(remember to make it executable)</i>
</p>
<blockquote>
</blockquote>
<br />
<p>
2. puninstall.sh <i>(likewise, it needs to be executable)</i>
</p>
<blockquote>
</blockquote>
<br />
<p>
</p>
""