--- fcitx-4.0~r417.orig/debian/postinst +++ fcitx-4.0~r417/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +update-alternatives \ + --install /etc/X11/xinit/xinput.d/zh_CN xinput-zh_CN \ + /etc/X11/xinit/xinput.d/fcitx 40 + +#DEBHELPER# + --- fcitx-4.0~r417.orig/debian/Makefile.am +++ fcitx-4.0~r417/debian/Makefile.am @@ -0,0 +1,18 @@ +# This needs to be here to get the files into the dist +EXTRA_DIST = \ + changelog \ + control \ + copyright \ + dirs \ + docs \ + rules \ + postinst \ + compat \ + prerm \ + fcitx.doc-base.EX \ + im-switch.conf \ + watch \ + README.Debian + +MAINTAINERCLEANFILES = \ + Makefile.in --- fcitx-4.0~r417.orig/debian/README +++ fcitx-4.0~r417/debian/README @@ -0,0 +1,6 @@ +The Debian Package fcitx +---------------------------- + +Comments regarding the Package + +Jeff Zhang , Sun, 27 Aug 2006 15:15:20 +0800 --- fcitx-4.0~r417.orig/debian/watch +++ fcitx-4.0~r417/debian/watch @@ -0,0 +1,5 @@ +version=3 + +#http://www.fcitx.org/download/fcitx-([\d.]+)\.tar\.bz2 +#ftp://mirrors.redv.com/pub/fcitx/fcitx-([\d.]+)\.tar\.bz2 +http://code.google.com/p/fcitx/downloads/list http://fcitx.googlecode.com/files/fcitx-(.*)\.tar\.gz \ No newline at end of file --- fcitx-4.0~r417.orig/debian/compat +++ fcitx-4.0~r417/debian/compat @@ -0,0 +1 @@ +5 --- fcitx-4.0~r417.orig/debian/README.Debian +++ fcitx-4.0~r417/debian/README.Debian @@ -0,0 +1,6 @@ +fcitx for Debian +---------------- + Some changes of fcitx-3.4 may cause crash if old ~/.fcitx exists, please +delete old ~/.fcitx and try again. + + -- Yu Guanghui , Sat, 29 Sep 2006 22:23:20 +0800 --- fcitx-4.0~r417.orig/debian/changelog +++ fcitx-4.0~r417/debian/changelog @@ -0,0 +1,185 @@ +fcitx (1:4.0~r417-0ubuntu2) maverick; urgency=low + + * fix FTBFS + + -- Zhengpeng Hou Sun, 19 Sep 2010 21:29:15 +0800 + +fcitx (1:4.0~r417-0ubuntu1) maverick; urgency=low + + * build from svn. + + -- Zhengpeng Hou Mon, 06 Sep 2010 08:25:06 +0800 + +fcitx (1:3.6~rc-1) unstable; urgency=low + + * New upstream release + - Drop patch 001_size_t.patch + - Drop patch 002_im_-switch.patch + - Drop patch 003_wubi_ppc.patch + + -- Kov Chai Wed, 07 Jan 2009 01:23:24 +0800 + +fcitx (1:3.4.3-1.1) unstable; urgency=low + + * Non-maintainer upload. + [ LI Daobing ] + * fix lintian error: + - build-depends-on-obsolete-package build-depends: x-dev + - declares-possibly-conflicting-debhelper-compat-versions rules=5 compat=5 + * fix im-switch conf file (Closes: #454363) + [ Barry deFreese ] + * Make clean not ignore errors. + * Add copyright holders in debian/copyright. + * Add watch file. + * Add Homepage in source stanza. + * Bump Standards Version to 3.8.0. (No changes needed). + + -- Barry deFreese Wed, 19 Nov 2008 12:31:10 -0500 + +fcitx (1:3.4.3-1) unstable; urgency=medium + + * New upstream release + * Fixed bad recommends fonts name. (Closes:Bug#379098) + * Fixed wubi crash. Thanks for Bin Tian's report and fix. (Closes:Bug#409999) + + -- Yu Guanghui Wed, 7 Feb 2007 14:01:15 +0800 + +fcitx (1:3.4-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Fri, 29 Sep 2006 22:12:32 +0800 + +fcitx (1:3.3.1-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Thu, 14 Sep 2006 21:12:01 +0800 + +fcitx (1:3.2.1-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Thu, 6 Jul 2006 01:13:46 +0800 + +fcitx (3.2.060108-3) unstable; urgency=low + + * Modify fcitx scrip for Qt/KDE + + -- Yu Guanghui Sun, 30 Apr 2006 13:40:34 +0800 + +fcitx (3.2.060108-2) unstable; urgency=low + + * Add missing dependency libxpm-dev. Closes: #364670 + + -- Yu Guanghui Tue, 25 Apr 2006 12:20:52 +0800 + +fcitx (3.2.060108-1) unstable; urgency=high + + * New upstream release + * Fixed RC bug. Closes: #357551 + * Add im-switch support. Thank Hou ZhengPeng 's + patch. Closes: #314743 + * Move Arphic fonts to Recommanded. Maybe it's time to packages other + free chinese fonts. Closes: #293624 + + -- Yu Guanghui Mon, 24 Apr 2006 22:38:26 +0800 + +fcitx (3.1.1-1.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Build-depend on libx11-dev, libxft-dev, and x-dev instead of on the + obsolete xlibs-dev; thanks to Justin Pryzby + for testing. Closes: #346744. + * Re-run autoconf to pick up a version of AC_PATH_X that doesn't depend on + libxt-dev. Also add AM_MAINTAINER_MODE to configure.in, which seems to + have been left out previously. + + -- Steve Langasek Fri, 20 Jan 2006 08:03:06 -0800 + +fcitx (3.1.1-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Wed, 6 Apr 2005 16:30:47 +0800 + +fcitx (3.1-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Wed, 23 Mar 2005 16:05:18 +0800 + +fcitx (3.0.3-1) unstable; urgency=low + + * New upstream release (Closes:Bug#285461) + * Remove wrong installed file. (Closes:Bug#281718,Bug#284538) + + -- Yu Guanghui Sun, 2 Jan 2005 13:50:18 +0800 + +fcitx (3.0.0-1) unstable; urgency=low + + * New upstream release (Closes:Bug#270422) + + -- Yu Guanghui Tue, 7 Sep 2004 21:49:36 +0800 + +fcitx (2.0.2-3) unstable; urgency=low + + * Sorry, Oops. Forgot one, Fixed again. (Closes:Bug#250423) + + -- Yu Guanghui Fri, 11 Jun 2004 01:58:36 +0800 + +fcitx (2.0.2-2) unstable; urgency=low + + * Fixed 64bit platforms error. Thanks Andreas Jochens 's patch. (Closes:Bug#250423) + + -- Yu Guanghui Thu, 10 Jun 2004 21:37:04 +0800 + +fcitx (2.0.2-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Mon, 10 May 2004 11:14:08 +0800 + +fcitx (2.0.1-1) unstable; urgency=low + + * New upstream release + + -- Wang WenRui Fri, 9 Jan 2004 22:25:38 +0800 + +fcitx (2.0-1) unstable; urgency=low + + * New upstream release. + + -- Su Yong Thu, 8 Jan 2004 20:19:34 +0800 + +fcitx (1.8.5-1) unstable; urgency=low + + * New upstream release + + -- Yu Guanghui Fri, 23 May 2003 00:43:04 +0800 + +fcitx (1.8.4-3) unstable; urgency=low + + * Fixed build error on arch without SIGUNUSED. + + -- Yu Guanghui Thu, 8 May 2003 11:18:28 +0800 + +fcitx (1.8.4-2) unstable; urgency=low + + * Remove gbk fonts. + * minor fixes. + * Just found it in wnpp, close it. (Closes:Bug#189271) + + -- Yu Guanghui Sat, 3 May 2003 15:56:54 +0800 + +fcitx (1.8.4-1) unstable; urgency=low + + * Initial Release. + + -- Yu Guanghui Sat, 3 May 2003 14:24:40 +0800 + +Local variables: +mode: debian-changelog +End: --- fcitx-4.0~r417.orig/debian/copyright +++ fcitx-4.0~r417/debian/copyright @@ -0,0 +1,38 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=423 +Packaged-By: Yu Guanghui +Packaged-Date: Sat, 3 May 2003 14:24:40 +0800 +Upstream-Name: fcitx +Upstream-Maintainer: Yuking +Upstream-Source: http://fcitx.googlecode.com/ + +Files: * +Copyright: Copyright (c) 2002-2007 Yuking +License: GPL-2 + On Debian systems the full text of the GNU General Public License can be found + in the `/usr/share/common-licenses/GPL-2' file. + +Files: lib/* +Copyright: Copyright (C) 1994, 1995 by Sun Microsystems, Inc. +Copyright: Copyright (C) 1993, 1994 by Hewlett-Packard Company +License: MIT + Permission to use, copy, modify, distribute, and sell this software + and its documentation for any purpose is hereby granted without fee, + provided that the above copyright notice appear in all copies and + that both that copyright notice and this permission notice appear + in supporting documentation, and that the name of Sun Microsystems, Inc. + and Hewlett-Packard not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior permission. + Sun Microsystems, Inc. and Hewlett-Packard make no representations about + the suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + +Files: lib/FrameMgr.[ch] +Copyright: Copyright (C) 1993, 1994 by Digital Equipment Corporation +License: MIT + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the names of Digital or MIT not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. --- fcitx-4.0~r417.orig/debian/dirs +++ fcitx-4.0~r417/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/fcitx/data +usr/share/fcitx/xpm +etc/X11/xinit/xinput.d \ No newline at end of file --- fcitx-4.0~r417.orig/debian/prerm +++ fcitx-4.0~r417/debian/prerm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e + +update-alternatives --remove xinput-zh_CN /etc/X11/xinit/xinput.d/fcitx + +#DEBHELPER# + --- fcitx-4.0~r417.orig/debian/fcitx.doc-base.EX +++ fcitx-4.0~r417/debian/fcitx.doc-base.EX @@ -0,0 +1,15 @@ +Document: fcitx +Title: Debian fcitx Manual +Author: Yu King +Abstract: Document for fcitx input method +Section: Text + +Format: PDF +Files: /usr/share/doc/fcitx/fcitx3.pdf + +Format: Text +Files: /usr/share/doc/fcitx/pinyin.txt /usr/share/doc/fcitx/cjkvinput.txt + +Format: HTML +Index: /usr/share/doc/fcitx/wb_fh.htm +Files: /usr/share/doc/fcitx/*.htm \ No newline at end of file --- fcitx-4.0~r417.orig/debian/rules +++ fcitx-4.0~r417/debian/rules @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DH_COMPAT=5 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --enable-xft --enable-tray --enable-dbus + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/fcitx.sgml > fcitx.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + rm -f data/cj.mb data/erbi.mb data/pybase.mb data/pyphrase.mb data/wbx.mb + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/fcitx. + $(MAKE) install-strip DESTDIR="$(CURDIR)/debian/fcitx" + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + install -m 644 data/*.dat data/*.mb data/tables.conf $(CURDIR)/debian/fcitx/usr/share/fcitx/data/ + install -m 644 xpm/logo.xpm $(CURDIR)/debian/fcitx/usr/share/fcitx/xpm/ + install -d $(CURDIR)/debian/fcitx/etc/X11/xinit/xinput.d/ + install -m 644 $(CURDIR)/debian/im-switch/fcitx $(CURDIR)/debian/fcitx/etc/X11/xinit/xinput.d/ + + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- fcitx-4.0~r417.orig/debian/docs +++ fcitx-4.0~r417/debian/docs @@ -0,0 +1,3 @@ +doc/cjkvinput.txt +doc/fcitx3.pdf +doc/wb_fh.htm --- fcitx-4.0~r417.orig/debian/control +++ fcitx-4.0~r417/debian/control @@ -0,0 +1,17 @@ +Source: fcitx +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kov Chai +Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5), libx11-dev, libxft-dev, x11proto-core-dev, libxpm-dev, libxtst-dev, libdbus-glib-1-dev +DM-Upload-Allowed: yes +Standards-Version: 3.8.0 +Homepage: http://code.google.com/p/fcitx/ + +Package: fcitx +Architecture: any +Depends: ${shlibs:Depends} +Recommends: im-switch, ttf-arphic-gbsn00lp | ttf-arphic-gkai00mp +Description: Free Chinese Input Toy for X (XIM) + fcitx is a simplified Chinese input server. It supports WuBi, + Pinyin and QuWei input method. It's small and fast. --- fcitx-4.0~r417.orig/debian/im-switch/fcitx +++ fcitx-4.0~r417/debian/im-switch/fcitx @@ -0,0 +1,6 @@ +XIM=fcitx +XIM_PROGRAM=/usr/bin/fcitx +XIM_ARGS="" +GTK_IM_MODULE=xim +QT_IM_MODULE=XIM +DEPENDS="fcitx"