Commit e8f13ad6 authored by Benda Xu's avatar Benda Xu

Debian release 0.5.92-1

parent b1588f50
scim-pinyin (0.5.92-1) unstable; urgency=low
* Switch to dpkg-source 3.0 (quilt) format.
* New upstream release. (Closes: #679806)
* Reintroducing after removal.
* Add IME Packaging Team as maintainer replacing Ming Hua(retired).
* Migrate to format 1.0 for debian/copyright.
* Migrate to debhelper 9.
* Remove AUTHORS file from doc.
-- Benda Xu <heroxbd@gentoo.org> Thu, 18 Apr 2013 13:16:11 +0900
scim-pinyin (0.5.91-2) unstable; urgency=low
* Removed old transitional package: scim-chinese (Closes: #477536)
......
Source: scim-pinyin
Section: utils
Priority: optional
Maintainer: Ming Hua <minghua-guest@users.alioth.debian.org>
Maintainer: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
Uploaders: Osamu Aoki <osamu@debian.org>, Anthony Fok <foka@debian.org>
Build-Depends: dpkg-dev (>= 1.14.6), debhelper (>= 5.0.0), dpatch, autotools-dev, libgtk2.0-dev, libscim-dev (>= 1.4.6), scim-gtk2-immodule, libltdl-dev
Standards-Version: 3.9.1
Build-Depends: autotools-dev,
debhelper (>= 9),
dpkg-dev (>= 1.14.6),
libgtk-3-dev,
libltdl-dev,
libscim-dev (>= 1.4.6),
quilt,
scim-gtk-immodule
Standards-Version: 3.9.4
Homepage: http://www.scim-im.org/
Vcs-Git: git://git.debian.org/collab-maint/scim-pinyin.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/scim-pinyin.git
Package: scim-pinyin
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, scim
Recommends: ttf-arphic-uming, ttf-arphic-ukai, im-config | im-switch
Depends: scim, ${misc:Depends}, ${shlibs:Depends}
Recommends: im-switch, ttf-arphic-ukai, ttf-arphic-uming
Description: smart pinyin IM engine for SCIM platform
SCIM (Smart Common Input Method) is an input method (IM) platform.
.
......@@ -21,4 +28,3 @@ Description: smart pinyin IM engine for SCIM platform
smart pinyin input method for Chinese.
.
For details about SCIM, please see the description of package scim.
This package was debianized by Ming Hua <minghua@rice.edu> on
Fri, 30 Apr 2004 14:58:29 -0500.
Upstream Author: James Su <suzhe@tsinghua.org.cn>
Home Page: http://www.scim-im.org/
The package was downloaded from http://prdownloads.sourceforge.net/scim/
Copyright:
Smart Common Input Method -- Smart Pinyin Module
Copyright (C) 2002-2005, James Su <suzhe@tsinghua.org.cn>
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: scim-pinyin
Upstream-Contact: SCIM Development Team <scim-devel@lists.sourceforge.net>
Source: http://sourceforge.net/projects/scim/files/scim-pinyin
Comment: This package was debianized by Ming Hua <minghua@rice.edu> on
Fri, 30 Apr 2004 14:58:29 -0500.
Files: *
Copyright: 2002-2005, James Su <suzhe@tsinghua.org.cn>
2006-2013, SCIM Development Team
License: GPL-2+
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; version 2 dated June, 1991.
.
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-2'.
.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-2'.
Files: debian/*
Copyright: 2004-2012, Ming Hua
2013, Benda Xu
License: GPL-2+
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; version 2 dated June, 1991.
.
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-2'.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_missing-header.dpatch by Ming Hua <minghua-guest@users.alioth.debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Add missing header to fix FTBFS with GCC 4.3.
@DPATCH@
diff -urNad scim-pinyin-0.5.0~/src/scim_phrase.cpp scim-pinyin-0.5.0/src/scim_phrase.cpp
--- scim-pinyin-0.5.0~/src/scim_phrase.cpp 2005-01-06 07:30:58.000000000 -0600
+++ scim-pinyin-0.5.0/src/scim_phrase.cpp 2007-09-21 20:31:30.000000000 -0500
ported from dpatch. originally by Ming Hua <minghua-guest@users.alioth.debian.org>
--- a/src/scim_phrase.cpp
+++ b/src/scim_phrase.cpp
@@ -18,6 +18,7 @@
#define Uses_STL_UTILITY
#define Uses_STL_IOMANIP
......@@ -17,9 +9,8 @@ diff -urNad scim-pinyin-0.5.0~/src/scim_phrase.cpp scim-pinyin-0.5.0/src/scim_ph
#define Uses_SCIM_UTILITY
#define Uses_SCIM_SERVER
#define Uses_SCIM_ICONV
diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin.cpp scim-pinyin-0.5.0/src/scim_pinyin.cpp
--- scim-pinyin-0.5.0~/src/scim_pinyin.cpp 2005-01-06 07:30:58.000000000 -0600
+++ scim-pinyin-0.5.0/src/scim_pinyin.cpp 2007-09-21 20:31:30.000000000 -0500
--- a/src/scim_pinyin.cpp
+++ b/src/scim_pinyin.cpp
@@ -21,6 +21,7 @@
#define Uses_STL_UTILITY
#define Uses_STL_IOMANIP
......@@ -28,9 +19,8 @@ diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin.cpp scim-pinyin-0.5.0/src/scim_pi
#define Uses_SCIM_UTILITY
#define Uses_SCIM_SERVER
#define Uses_SCIM_ICONV
diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin_phrase.cpp scim-pinyin-0.5.0/src/scim_pinyin_phrase.cpp
--- scim-pinyin-0.5.0~/src/scim_pinyin_phrase.cpp 2005-01-06 07:30:58.000000000 -0600
+++ scim-pinyin-0.5.0/src/scim_pinyin_phrase.cpp 2007-09-21 20:31:30.000000000 -0500
--- a/src/scim_pinyin_phrase.cpp
+++ b/src/scim_pinyin_phrase.cpp
@@ -19,6 +19,7 @@
#define Uses_STL_UTILITY
#define Uses_STL_IOMANIP
......@@ -39,9 +29,8 @@ diff -urNad scim-pinyin-0.5.0~/src/scim_pinyin_phrase.cpp scim-pinyin-0.5.0/src/
#define Uses_SCIM_UTILITY
#define Uses_SCIM_SERVER
#define Uses_SCIM_ICONV
diff -urNad scim-pinyin-0.5.0~/src/scim_special_table.cpp scim-pinyin-0.5.0/src/scim_special_table.cpp
--- scim-pinyin-0.5.0~/src/scim_special_table.cpp 2005-01-06 07:31:02.000000000 -0600
+++ scim-pinyin-0.5.0/src/scim_special_table.cpp 2007-09-21 20:31:30.000000000 -0500
--- a/src/scim_special_table.cpp
+++ b/src/scim_special_table.cpp
@@ -18,7 +18,7 @@
#define Uses_STL_MAP
#define Uses_STL_UTILITY
......@@ -49,5 +38,5 @@ diff -urNad scim-pinyin-0.5.0~/src/scim_special_table.cpp scim-pinyin-0.5.0/src/
-#define Uscs_C_STRING
+#define Uses_C_STRING
#include <time.h>
#include <scim.h>
#include <cstring>
#include <ctime>
missing-header.patch
#!/usr/bin/make -f
#
# debian/rules for scim-pinyin package
# Copyright (C) 2006-2008 Ming Hua <minghua@rice.edu>
#
# This file is distributed under the same license as scim-pinyin.
# uncomment this to turn on verbose mode
#export DH_VERBOSE = 1
# set the platform for configure script, especially useful for cross-compiling
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
......@@ -16,106 +8,17 @@ ifeq ($(DEB_HOST_GNU_TYPE), $(DEB_BUILD_GNU_TYPE))
else
CONFFLAGS += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
endif
# for more information, see /usr/share/doc/autotools-dev/README.Debian.gz
# set compiler flags, enable warning and debug
CFLAGS = -W -g
CXXFLAGS = -W -g
# set optimization level
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O2
CXXFLAGS += -O2
else
CFLAGS += -O0
CXXFLAGS += -O0
endif
clean: clean-patched unpatch
clean-patched:
dh_testdir
dh_testroot
rm -f build-stamp
# only run "make distclean" if a Makefile exists
[ ! -f Makefile ] || $(MAKE) distclean DIST_SUBDIRS='m4 src data intl po'
# remove existent config.{guess,sub} as we use the ones from
# autotools-dev package
rm -f config.guess config.sub
dh_clean
patch: patch-stamp
patch-stamp:
dh_testdir
dpatch apply-all
# put information about applied patches in the stamp file
dpatch cat-all -nd >$@
unpatch:
dh_testdir
dpatch deapply-all
rm -rf debian/patched
rm -f patch-stamp
config.status: patch-stamp
dh_testdir
# link config.{guess,sub} from autotools-dev package
ln -sf /usr/share/misc/config.guess config.guess
ln -sf /usr/share/misc/config.sub config.sub
rm -f config.cache
# run configure with all necessary definitions and options
./configure \
CFLAGS="$(CFLAGS)" \
CXXFLAGS="$(CXXFLAGS)" \
$(CONFFLAGS) \
--prefix=/usr \
--disable-skim-support \
--disable-static
build: build-stamp
build-stamp: config.status
dh_testdir
dh_clean
$(MAKE)
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
# clean up unnecessary library files for modules
rm debian/tmp/usr/lib/scim-1.0/*/*/*.la
# distribute files to different binary packages
dh_install --sourcedir=debian/tmp --fail-missing
# Disable xinput.d/scim-pinyin for now. Anthony Fok 20080727
#install -d $(CURDIR)/debian/scim-pinyin/etc/X11/xinit/xinput.d/
#install -m 644 debian/im-switch/scim-pinyin debian/scim-pinyin/etc/X11/xinit/xinput.d/
touch $@
binary: binary-arch binary-indep
binary-arch: build
dh_testdir
dh_testroot
dh_installchangelogs -a ChangeLog
dh_installdocs -a
dh_strip -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
%:
dh $@ --with autotools-dev --with quilt
binary-indep: build
dh_testdir
dh_testroot
dh_installchangelogs -i ChangeLog
dh_installdocs -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
override_dh_auto_configure:
dh_auto_configure -- --disable-skim-support --disable-static
.SUFFIXES:
.PHONY: clean build binary binary-arch binary-indep clean-patched patch unpatch
override_dh_auto_install:
dh_auto_install
find . -name *.la -delete
# vim:textwidth=0:
# emtpy rule to prevent shlibs to be created because we use private shared library
# avoid pkg-has-shlibs-control-file-but-no-actual-shared-libs lintian error
override_dh_makeshlibs:
usr/lib/scim-1.0/*/IMEngine/pinyin.so
usr/lib/scim-1.0/*/SetupUI/pinyin-imengine-setup.so
usr/share/scim/pinyin/*
usr/share/locale/*/LC_MESSAGES/scim-pinyin.mo
usr/share/scim/icons/smart-pinyin.png
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment