--- ibus-pinyin-1.2.0.20090617+1.orig/debian/changelog +++ ibus-pinyin-1.2.0.20090617+1/debian/changelog @@ -0,0 +1,34 @@ +ibus-pinyin (1.2.0.20090617+1-1ubuntu2) karmic; urgency=low + + * Remove build dependency on python-sqlite2 (universe only). + + -- Matthias Klose Sun, 27 Sep 2009 12:22:56 +0000 + +ibus-pinyin (1.2.0.20090617+1-1ubuntu1) karmic; urgency=low + + * build with lzma compression. (LP: #431823) + - debian/control: add Pre-Depends. + - debian/rules: update dh_builddeb. + + -- LI Daobing Thu, 24 Sep 2009 20:32:01 +0800 + +ibus-pinyin (1.2.0.20090617+1-1) unstable; urgency=low + + * new upstream release. + * debian/control: + - depends: ibus >= 1.2 + - bump standards version to 3.8.2 + + -- LI Daobing Sat, 20 Jun 2009 23:40:41 +0800 + +ibus-pinyin (1.1.0.20090612+1-1) unstable; urgency=low + + * new upstream release. + + -- LI Daobing Sat, 13 Jun 2009 15:37:23 +0800 + +ibus-pinyin (1.1.0.20090303+1-0ubuntu1) karmic; urgency=low + + * initial release (LP: #318806) + + -- LI Daobing Fri, 01 May 2009 16:44:56 +0800 --- ibus-pinyin-1.2.0.20090617+1.orig/debian/ibus-pinyin.lintian-overrides +++ ibus-pinyin-1.2.0.20090617+1/debian/ibus-pinyin.lintian-overrides @@ -0,0 +1 @@ +ibus-pinyin: binary-without-manpage --- ibus-pinyin-1.2.0.20090617+1.orig/debian/rules +++ ibus-pinyin-1.2.0.20090617+1/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEBIAN_VERSION = $(shell dpkg-parsechangelog | egrep '^Version: ' | sed s/"Version: "//) +UPSTREAM_VERSION = $(shell echo $(DEBIAN_VERSION) | sed s/+.-.*//) + +# 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) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + +config.status: configure + dh_testdir +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 + dh_auto_configure + +build: build-stamp + +build-stamp: config.status + dh_testdir + cp pinyin-database-0.1.10.6.tar.bz2 engine/ + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/ibus-pinyin install + +get-orig-source: + uscan --verbose --force-download --no-symlink --download-version $(UPSTREAM_VERSION) + set -x; \ + tempdir="$$(mktemp -d)"; \ + cd "$$tempdir"; \ + tar xf "$(CURDIR)/../ibus-pinyin-$(UPSTREAM_VERSION).tar.gz"; \ + cd "ibus-pinyin-$(UPSTREAM_VERSION)"; \ + wget http://ibus.googlecode.com/files/pinyin-database-0.1.10.6.tar.bz2; \ + cd ..; \ + mv "ibus-pinyin-$(UPSTREAM_VERSION)" "ibus-pinyin-$(UPSTREAM_VERSION)+1"; \ + tar czf "$(CURDIR)/../ibus-pinyin_$(UPSTREAM_VERSION)+1.orig.tar.gz" "ibus-pinyin-$(UPSTREAM_VERSION)+1"; \ + rm -rf "$$tempdir" + +# Build architecture-independent files here. +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_pysupport + dh_installman + dh_lintian + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb -- -Zlzma + +binary-arch: install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- ibus-pinyin-1.2.0.20090617+1.orig/debian/README.Debian +++ ibus-pinyin-1.2.0.20090617+1/debian/README.Debian @@ -0,0 +1,8 @@ +README.Debian +============= + +the upstream ibus-pinyin package will download the pinyin database from the +website when building, this is not suitable for a debian packaging. + +so I repack the upstream package with the pinyin database, check the +get-orig-source in debian/rules for detail information. --- ibus-pinyin-1.2.0.20090617+1.orig/debian/copyright +++ ibus-pinyin-1.2.0.20090617+1/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by: + + LI Daobing on Sun, 28 Dec 2008 20:30:06 +0800 + +It was downloaded from: + + http://code.google.com/p/ibus/downloads/list + +Upstream Author: + + Huang Peng + +Copyright: + + Copyright © 2007-2008 Huang Peng + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + 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 can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is: + + Copyright © 2008, LI Daobing + +and is licensed under the GPL, see above. --- ibus-pinyin-1.2.0.20090617+1.orig/debian/compat +++ ibus-pinyin-1.2.0.20090617+1/debian/compat @@ -0,0 +1 @@ +7 --- ibus-pinyin-1.2.0.20090617+1.orig/debian/watch +++ ibus-pinyin-1.2.0.20090617+1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://code.google.com/p/ibus/downloads/list?can=1 \ +http://ibus.googlecode.com/files/ibus-pinyin-([0-9].*)\.tar\.gz --- ibus-pinyin-1.2.0.20090617+1.orig/debian/docs +++ ibus-pinyin-1.2.0.20090617+1/debian/docs @@ -0,0 +1,2 @@ +README +AUTHORS --- ibus-pinyin-1.2.0.20090617+1.orig/debian/control +++ ibus-pinyin-1.2.0.20090617+1/debian/control @@ -0,0 +1,25 @@ +Source: ibus-pinyin +Section: utils +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: LI Daobing +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: autotools-dev, swig, python-dev, pkg-config, + python-support +Standards-Version: 3.8.2 +Homepage: http://code.google.com/p/ibus +Vcs-Bzr: lp:~lidaobing/+junk/ibus-pinyin +Vcs-Browser: https://code.launchpad.net/~lidaobing/+junk/ibus-pinyin + +Package: ibus-pinyin +Architecture: all +Pre-Depends: dpkg (>= 1.14.12ubuntu3) +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, ibus (>= 1.2) +Description: pinyin engine for ibus + ibus-pinyin is a im engine for Chinese, based on ibus. + . + this package provide one input method: + * pinyin: pinyin input method. + . + for more information on pinyin input method, check + http://en.wikipedia.org/wiki/Pinyin_method .