debian/0000775000000000000000000000000012260220552007164 5ustar debian/source/0000775000000000000000000000000012215022603010461 5ustar debian/source/format0000664000000000000000000000001412215020354011670 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000732012215061352011122 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: openvanilla-modules Maintainer: Chun-Yu Lee (Mat) Source: http://code.google.com/p/ucimf Copyright: 2006-2010, Chun-Yu Lee (Mat) and Open RazzmatazZ Laboratory (OrzLab) This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: 2010, Aron Xu License: GPL-2+ Files: font/font.cpp, font/font.h Copyright: 2008-2009 dragchan 2010 Chun-Yu Lee (Mat) License: GPL-2+ Files: display/* Copyright: 2007 Chun-Yu Lee (Mat) and Open RazzmatazZ Laboratory (OrzLab) Parts taken from zhcon project: 2001 ejoy , huyong License: GPL-2+ Files: display/fblinear8.cpp, display/fblinear8.h. Copyright: 2001 ejoy , huyong License: GPL-2+ Files: display/limr.c, display/limr.h. Copyright: 1998 Josh Vanderhoof License: Linux Real Mode Interface - A library of DPMI-like functions for Linux. Copyright (C) 1998 by Josh Vanderhoof You are free to distribute and modify this file, as long as you do not remove this copyright notice and clearly label modified versions as being modified. This software has NO WARRANTY. Use it at your own risk. Files: include/imf/imf.h, sample/imf/* Copyright: 2006-2007 Chun-Yu Lee (Mat) and Open RazzmatazZ Laboratory (OrzLab) License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of UCIMF nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/compat0000664000000000000000000000000212215022302010353 0ustar 9 debian/ucimf.examples0000664000000000000000000000002312215064502012023 0ustar ucimf.conf.example debian/ucimf.install0000664000000000000000000000007212215064502011657 0ustar etc/ucimf.conf usr/bin/ucimf_keyboard usr/bin/ucimf_start debian/libucimf-dev.install0000664000000000000000000000012212215064502013116 0ustar usr/include/imf/* usr/include/ucimf.h usr/lib/*/libucimf.so usr/lib/*/pkgconfig/* debian/ucimf.manpages0000664000000000000000000000002012215064502011775 0ustar man/*.1 man/*.5 debian/docs0000664000000000000000000000001412215020354010030 0ustar README TODO debian/changelog0000664000000000000000000000630612260220551011042 0ustar libucimf (2.3.8-5ubuntu1) trusty; urgency=medium * Build with dh-autoreconf for new libtool. -- William Grant Mon, 30 Dec 2013 07:24:58 +0000 libucimf (2.3.8-5) unstable; urgency=low * Fix package description typos. Clsoes: #671900, #679697 * Updated to compat 9, policy 3.9.4 and wrap-and-sort. * Adjust rules to multiarch and hardening. Closes: #722802 * Adjust install path to multiarch. * Removed static library. -- Osamu Aoki Sat, 14 Sep 2013 22:52:30 +0900 libucimf (2.3.8-4) unstable; urgency=low * Fix build failure with GCC 4.7. Closes: #667256. Thanks doko@d.o for the patch. -- Aron Xu Tue, 17 Apr 2012 08:26:40 +0200 libucimf (2.3.8-3) unstable; urgency=low * debian/rules: - Wipe out unneeded .la file. -- Aron Xu Sat, 30 Jul 2011 15:27:06 +0800 libucimf (2.3.8-2) unstable; urgency=low * debian/libucimf-dev.install: - Clean the dependency_libs out of .la files at build time, per Policy 10.2 (Closes: #620617). * debian/control: - Move fbterm and jfbterm from Depends to Recommends. - Remove useless ${shlibs:Depends}. + Bump std-ver: 3.9.2. * debian/patches/fix_manpages.patch: - Fix minor problems in manpages. -- Aron Xu Sat, 09 Apr 2011 13:23:16 +0800 libucimf (2.3.8-1) unstable; urgency=low * New upstream release: + Can detect multiple input methods when installed. * debian/control: + Add DMUA + Add "dialog" to Recommends of ucimf package. * debian/*.1: - Removed, merged upstream. * debian/ucimf.manpages: - Change accordingly. * debian/ucimf.examples: + Enlist examples. * debian/ucimf.install: - Remove items that not needed any more. -- Aron Xu Tue, 22 Feb 2011 03:27:00 +0800 libucimf (2.3.7-2) unstable; urgency=low * debian/control: Bump std-ver to 3.9.1, Remove Build-Depends on libmpfr-dev, Add Vcs-Bzr and Vcs-Browser fields. -- Aron Xu Wed, 08 Sep 2010 10:16:00 +0800 libucimf (2.3.7-1) unstable; urgency=low * New upstream release: Fixing build failures on ia64 and sparc, Tuning Makefile and scripts, More features added. * Update manpages: Fixing the hyphen-used-as-minus-sign, Fixing two typos. * debian/control: Bump std-ver to 3.9.0, Add fbterm (>= 1.5) requirement to binary package ucimf, Remove duplicate section info, Fixing duplicate-short-description. * debian/docs: Remove empty NEWS from it. * debian/copyright: Update copyright info. -- Aron Xu Sat, 10 Jul 2010 18:55:22 +0800 libucimf (2.3.5-1) unstable; urgency=low * Upstream new release, with a lot of bug fixes and new features. -- Aron Xu Fri, 25 Jun 2010 20:13:22 +0800 libucimf (2.2.9.1-2) unstable; urgency=low * Make it build on kfreebsd-* archs. * debian/copyright: Add include/imf/imf.h 's license. -- Aron Xu Tue, 1 Jun 2010 19:14:11 +0800 libucimf (2.2.9.1-1) unstable; urgency=low * Initial release (Closes: #567247) -- Aron Xu Fri, 29 Jan 2010 15:54:32 +0800 debian/libucimf0.install0000664000000000000000000000006212215064502012425 0ustar usr/lib/*/libucimf.so.0* usr/lib/*/ucimf/dummy.so debian/README.Debian0000664000000000000000000000233112215020354011222 0ustar libucimf for Debian ------------------- Binary package ucimf provides a script `/usr/bin/ucimf_start' which is intended to be used to start the input method framework conveniently, but fbterm in Debian is not setuid to root and without root privilage users cannot use keyboard shortcut, the ucimf input method framework commonly needs Ctrl-Space to start. So if the user wants to make this script works well, it is required to set the script's mode to 6755 and user/group to root/utmp. There is another way to start the program, to install fbterm-ucimf package as well and run `fbterm -i fbterm_ucimf', this is the recommended way introduced in the man pages because it avoids security risks brought by setuid to root. But there are still some problems in Debian's fbterm package which caused the script mentioned at first doesn't work even if setuid is done, and the second solution doesn't work without setuid, we will find a way to solve it soon. Currently, we need to install the fbterm-ucimf package, set fbterm's mode to 6755, and user/group to root/utmp, start fbterm with `fbterm -i fbterm_ucimf' and press Ctrl+Space to activate the input method. -- Aron Xu Fri, 29 Jan 2010 17:30:45 +0800 debian/control0000664000000000000000000000336512260220551010575 0ustar Source: libucimf Section: utils Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: IME Packaging Team Uploaders: Aron Xu , Osamu Aoki Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, libfontconfig1-dev, libfreetype6-dev, libltdl-dev, libmagic-dev, libncurses5-dev, pkg-config Standards-Version: 3.9.4 Homepage: http://code.google.com/p/ucimf Vcs-Git: git://anonscm.debian.org/pkg-ime/libucimf.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ime/libucimf.git Package: ucimf Architecture: any Multi-Arch: foreign Depends: libucimf0, ${misc:Depends}, ${shlibs:Depends} Recommends: dialog, fbterm (>= 1.5) | jfbterm, fbterm-ucimf Description: Unicode console input method framework Ucimf provides an input method framework for the Linux Unicode frame buffer console. . This package contains the application. Package: libucimf0 Section: libs Architecture: any Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Unicode console input method framework - library Ucimf provides an input method framework for the Linux Unicode frame buffer console. . This package contains the runtime library. Package: libucimf-dev Section: libdevel Architecture: any Multi-Arch: same Conflicts: libucimf-dev Depends: libucimf0 (= ${binary:Version}), ${misc:Depends} Description: Unicode console input method framework - development files Ucimf provides an input method framework for the Linux Unicode frame buffer console. . This package contains the development header files. debian/watch0000664000000000000000000000054012215020354010212 0ustar version=3 opts=downloadurlmangle=s#.*(libucimf-([\d.]+)\.tar\.gz).*#http://ucimf.googlecode.com/files/$1#,filenamemangle=s#.*(libucimf-([\d.]+)\.tar\.gz).*#$1# \ http://code.google.com/p/ucimf/downloads/list ^.*detail\?name=libucimf-([\d.]+)\.tar\.gz.* #http://code.google.com/p/ucimf/ \ #http://ucimf.googlecode.com/files/libucimf-(.*)\.tar\.gz debian/patches/0000775000000000000000000000000012215064503010615 5ustar debian/patches/series0000664000000000000000000000005112215021730012021 0ustar fix_manpages.patch fix-ftbfs-gcc4.7.diff debian/patches/fix-ftbfs-gcc4.7.diff0000664000000000000000000000076712215064503014334 0ustar From: Matthias Klose Subject: libucimf: ftbfs with GCC-4.7 See http://bugs.debian.org/667256 Index: libucimf-2.3.8/src/ucimf.cpp =================================================================== --- libucimf-2.3.8.orig/src/ucimf.cpp 2011-02-13 04:05:45.000000000 +0000 +++ libucimf-2.3.8/src/ucimf.cpp 2012-04-17 06:27:55.287912263 +0000 @@ -33,6 +33,7 @@ #include #include #include +#include #include "imf.h" #include "widget.h" debian/patches/fix_manpages.patch0000664000000000000000000001022112215020354014267 0ustar Description: Fix problems in manpages Author: Aron Xu Last-Update: 2011-04-09 --- a/man/ucimf.1 +++ b/man/ucimf.1 @@ -21,7 +21,7 @@ \fBucimf\fP is an input method framework designed for Linux unicode console. .PP .SH FEATURE - • Support UTF-8 + • Support UTF\-8 .br • Support OpenVanilla Modules .br @@ -43,13 +43,13 @@ .PP .SH USAGE -\fBucimf\fP needs to run under an UTF-8 consle environment, please -use \fBlocale -a\fP to see the UTF-8 locales that your system is supported -and use command like \fBexport LC_ALL=zh_CN.UTF-8\fP to set up the locale. -.PP -To start ucimf with FbTerm, prefer to install \fBfbterm-ucimf\fP package and -run \fIfbterm -i fbterm_ucimf\fP, or see \fBucimf_start(1)\fP as an -not-recommended alternate. +\fBucimf\fP needs to run under an UTF\-8 consle environment, please +use \fBlocale \-a\fP to see the UTF\-8 locales that your system is supported +and use command like \fBexport LC_ALL=zh_CN.UTF\-8\fP to set up the locale. +.PP +To start ucimf with FbTerm, prefer to install \fBfbterm\-ucimf\fP package and +run \fIfbterm \-i fbterm_ucimf\fP, or see \fBucimf_start(1)\fP as an +not\-recommended alternate. .PP When the user is running an \fIFbTerm\fP, key combination \fBCtrl+Space\fP is the switch of enable/disable the input method, \fBCtrl+ShiftLeft\fP to @@ -66,7 +66,7 @@ .PP .SH TABLE MANAGEMENT \fBucimf\fP use standard *.cin files directly to manage its input method -tables, per-user input method tables is put in +tables, per\-user input method tables is put in .br \fI~/.openvanilla/OVIMGeneric/\fP. .PP @@ -79,12 +79,12 @@ .br ucimf will follow this order while loading input method tables. .PP -.SH SHELL ENVIROMENT -\fBLC_CTYPE\fP - use \fIUTF-8\fP as to recogize characters. For example: +.SH SHELL ENVIRONMENT +\fBLC_CTYPE\fP \- use \fIUTF-8\fP as to recogize characters. For example: .br \fIexport LC_CTYPE=zh_CN.UTF-8\fP .PP -\fBOVMODULE_DIR\fP - to customize OpenVanilla modules location at run-time. +\fBOVMODULE_DIR\fP \- to customize OpenVanilla modules location at run-time. For example: .br \fIexport OVMODULE_DIR=/usr/lib/openvanilla/\fP @@ -99,7 +99,7 @@ .BR ucimf.conf (5). .br .SH AUTHOR -libucimf was written by Chun-Yu Lee (Mat) and Jim Huang . +libucimf was written by Chun\-Yu Lee (Mat) and Jim Huang . .PP This manual page was written by Aron Xu , for the Debian project (and may be used by others). --- a/man/ucimf.conf.5 +++ b/man/ucimf.conf.5 @@ -31,7 +31,7 @@ .br \fIFONT_HEIGHT = 24\fP .PP -Input method framwork modules of UCIMF search path is set by \fBIMF_MODULE_DIR\fP: +Input method framework modules of UCIMF search path is set by \fBIMF_MODULE_DIR\fP: .br IMF_MODULE_DIR=/usr/lib/ucimf/ .PP --- a/man/ucimf_start.1 +++ b/man/ucimf_start.1 @@ -29,12 +29,12 @@ because Debian does not install fbterm with setuid by default. .PP setuid to root could probably \fBdo harm to your security\fP, so set it at your -own risk. If you run FbTerm, use \fIfbterm -i fbterm_ucimf\fP to start it +own risk. If you run FbTerm, use \fIfbterm \-i fbterm_ucimf\fP to start it instead. .PP -\fBucimf\fP needs to run under an UTF-8 consle environment, please -use \fBlocale -a\fP to see the UTF-8 locales that your system is supported -and use command like \fBexport LC_ALL=zh_CN.UTF-8\fP to set up the locale. +\fBucimf\fP needs to run under an UTF\-8 consle environment, please +use \fBlocale \-a\fP to see the UTF\-8 locales that your system is supported +and use command like \fBexport LC_ALL=zh_CN.UTF\-8\fP to set up the locale. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, @@ -45,7 +45,7 @@ .BR ucimf.conf (5). .br .SH AUTHOR -libucimf was written by Chun-Yu Lee (Mat) and Jim Huang . +libucimf was written by Chun\-Yu Lee (Mat) and Jim Huang . .PP This manual page was written by Aron Xu , for the Debian project (and may be used by others). debian/rules0000775000000000000000000000067612260220551010254 0ustar #!/usr/bin/make -f export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- \ --prefix=/usr \ --bindir=/usr/bin \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \ --sysconfdir=/etc override_dh_install: dh_install -X.la