3
0
Fork
You've already forked openvanilla-chewing
0
OVIMSpaceChewing for OV 0.9.1
This repository has been archived on 2026年03月28日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C++ 42.4%
  • Objective-C 14.4%
  • C 12%
  • Objective-C++ 9.9%
  • PLpgSQL 5.9%
  • Other 15.3%
Find a file
2016年12月27日 00:35:01 +08:00
Artworks/icon2008 Removes unused artwork files. 2012年08月02日 22:51:13 -07:00
Distributions/OpenVanilla-Leopard-0.8 Removes unused files. 2012年08月02日 22:51:03 -07:00
Framework r6947@zonble: zonble | 2009年09月08日 01:29:46 +0800 2009年09月07日 17:31:05 +00:00
License r6947@zonble: zonble | 2009年09月08日 01:29:46 +0800 2009年09月07日 17:31:05 +00:00
Loaders Removes unused files. 2012年08月02日 22:51:03 -07:00
Modules Fix build rules for new SDK 2016年12月26日 22:45:23 +08:00
Utilities Removes unused files. 2012年08月02日 22:51:12 -07:00
README.md Update README.md 2016年12月27日 00:35:01 +08:00

OVIMSpaceChewing for OV 0.9.1

This is branched from OpenVanilla just before [OVIMSpaceChewing was removed] (github.com/openvanilla/openvanilla@f769512f58). And modified for libchewing master.

How to build

  1. You may need to change SDK path like this change
  2. Build libchewing
  • -arch i386: because old OV 0.9.1 binary only support ppc and i386 architecture, force i386 arch (otherwise x86_64).
  • --without-sqlite3: (optional) in order to support existing uhash file.
$ cd $path_to_libchewing
$ CC='cc -arch i386 -DNDEBUG' ./configure --without-sqlite3 MAKEINFO=/usr/local/Cellar/texinfo/6.3/bin/makeinfo
$ make all
$ sudo make install
  1. Build OVIMSpaceChewing
$ cd $path_to_checkout_of_this_repo
$ cd Modules/OVIMSpaceChewing
$ make

How to install

  1. Remove 1.0 or newer if you have installed.
  2. Install OpenVanilla 0.9.1.
  3. Install OVIMSpaceChewing module
$ sudo -s
# mkdir -p /Library/OpenVanilla/0.9-Old/Modules
# cd /Library/OpenVanilla/0.9-Old/Modules
# unzip ~/Downloads/OVIMSpaceChewing.bundle.zip
  1. Re-login

You could see this blog article for detail instructions.

How to install development version

  1. Follow 'How to install' first.
  2. Copy libchewing files into bundle.
# cp /usr/local/lib/libchewing.3.dylib /Library/OpenVanilla/0.9-Old/Modules/OVIMSpaceChewing.bundle/Contents/Frameworks/libchewing.3.dylib
# cp /usr/local/share/libchewing/* /Library/OpenVanilla/0.9-Old/Modules/OVIMSpaceChewing.bundle/Contents/Resources
  1. Copy OVIMSpaceChewing into bundle.
# cp $path_to_checkout_of_this_repo/Modules/OVIMSpaceChewing/OVIMSpaceChewing.dylib /Library/OpenVanilla/0.9-Old/Modules/OVIMSpaceChewing.bundle/Contents/MacOS/OVIMSpaceChewing
  1. install_name_tool. It's okay to skip this step, but OVIMSpaceChewing will use libchewing from /usr/local/lib.
# install_name_tool -change /usr/local/lib/libchewing.3.dylib @loader_path/../Frameworks/libchewing.3.dylib /Library/OpenVanilla/0.9-Old/Modules/OVIMSpaceChewing.bundle/Contents/MacOS/OVIMSpaceChewing
  1. Re-login

How to pack the bundle (for release)

# cd /Library/OpenVanilla/0.9-Old/Modules
# touch OVIMSpaceChewing.bundle
# zip -r OVIMSpaceChewing.bundle.zip OVIMSpaceChewing.bundle

Known issues

  • Ctrl+Option quick symbol input is no longer supported.

License

As original OVIMSpaceChewing, Artistic License (for Modules/OVIMSpaceChewing folder).