opencc (0.4.3-2) unstable; urgency=low
authorOsamu Aoki <osamu@debian.org>
Sat, 2 Nov 2013 03:17:51 +0000 (03:17 +0000)
committerOsamu Aoki <osamu@debian.org>
Sat, 2 Nov 2013 03:17:51 +0000 (03:17 +0000)
  * Add the python-opencc package to support the Python binding.
Closes: #694993
  * Bump standard version to 3.9.5.

[dgit import unpatched opencc 0.4.3-2]

16 files changed:
1  2 
debian/changelog
debian/clean
debian/compat
debian/control
debian/copyright
debian/docs
debian/libopencc-dev.install
debian/libopencc1.install
debian/libopencc1.symbols
debian/opencc.install
debian/patches/install-data-file-to-meet-need-of-multi-arch
debian/patches/series
debian/python-opencc.install
debian/rules
debian/source/format
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f6b8eb1cc292af657d38c740af3cefceac174b85
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,152 @@@
++opencc (0.4.3-2) unstable; urgency=low
++
++  * Add the python-opencc package to support the Python binding. 
++    Closes: #694993
++  * Bump standard version to 3.9.5.
++
++ -- Osamu Aoki <osamu@debian.org>  Sat, 02 Nov 2013 12:17:51 +0900
++
++opencc (0.4.3-1) experimental; urgency=low
++
++  * New upstream release.
++  * Update watch file.
++  * Clean up debian/control and wrap-and-sort.
++  * Update symbols file.
++
++ -- Osamu Aoki <osamu@debian.org>  Sun, 15 Sep 2013 00:13:31 +0900
++
++opencc (0.4.0-1) experimental; urgency=low
++
++  * New upstream release
++  * fix-new-test-cases.patch in upstream
++  * part of more_clear_man_c_option.patch is in upstream
++    the rest is in install-data-file-to-meet-need-of-multi-arch.path
++
++ -- Asias He <asias@debian.org>  Fri, 05 Apr 2013 10:52:29 +0800
++
++opencc (0.3.0-3) unstable; urgency=low
++
++  * Rebuild to 
++    generate little endian mo file on any arch (Closes: #670016).
++  * add an - before include buildflags.mk
++
++ -- YunQiang Su <wzssyqa@gmail.com>  Sun, 10 Jun 2012 19:35:51 +0800
++
++opencc (0.3.0-2) unstable; urgency=low
++
++  * Multi-arch it.
++  * Add libopencc-dbg package.
++  * Bump standard version to 3.9.3.
++  * Add YunQiang Su to Uploaders.
++  * Enable CPPFLAGS hardening flags (Closes: #665322).
++  * Better explanation for the -c option arguments of opencc,
++    give the path of these files out. (Closes: #656201).
++
++ -- YunQiang Su <wzssyqa@gmail.com>  Thu, 29 Mar 2012 03:22:51 +0800
++
++opencc (0.3.0-1) unstable; urgency=low
++
++  * Team upload.
++
++  [ Kan-Ru Chen ]
++  * New upstream release
++  * debian/control:
++    - Remove autotools-dev and quilt from Build-Depends
++  * debian/rules:
++    - Support `nostrip' DEB_BUILD_OPTIONS
++    - Enable hardening flags.
++  * debian/docs: Install NEWS
++  * debian/copyright: Update update url
++  * debian/watch: Update upstream url
++  * debian/patches/fix-big-endian-build.diff: merged upstream
++  * debian/patches/fix-new-test-cases.patch: New patch.
++
++ -- Kan-Ru Chen <koster@debian.org>  Sat, 17 Dec 2011 16:41:49 +0800
++
++opencc (0.2.0-2) unstable; urgency=low
++
++  * Fix "Please fix FTBFS on mips, ppc, s390 and sparc" (Closes: #624562)
++  * debian/control: bump standards version to 3.9.2.
++  * Set DM-Upload-Allowed to yes
++
++ -- Asias He <asias.hejun@gmail.com>  Mon, 16 May 2011 20:46:03 +0800
++
++opencc (0.2.0-1) unstable; urgency=low
++
++  * New upstream release
++  * Move usr/share/locale to package opencc
++  * Add cmake to Build-Depends
++  * Change Homepage to http://code.google.com/p/opencc
++  * Set Vcs to git.debian.org
++
++ -- Asias He <asias.hejun@gmail.com>  Thu, 17 Mar 2011 21:36:41 +0800
++
++opencc (0.1.2-1) unstable; urgency=low
++
++  * New upstream release.
++  * debian/libopencc1.symbols: updated. 
++
++ -- LI Daobing <lidaobing@debian.org>  Wed, 22 Sep 2010 20:40:54 +0800
++
++opencc (0.1.1-2) unstable; urgency=low
++
++  *debian/control: add Conflicts to libopencc0 (Closes: #596434)
++
++ -- Asias He <asias.hejun@gmail.com>  Sun, 12 Sep 2010 14:58:18 +0800
++
++opencc (0.1.1-1) unstable; urgency=low
++
++  [ Asias He ]
++  * New upstream release (closes: #591076).
++  * debian/control: bump standards version to 3.9.1.
++  * debian/watch: use googlecode.debian.net.
++
++  [ LI Daobing ]
++  * debian/clean: added. 
++
++ -- LI Daobing <lidaobing@debian.org>  Wed, 11 Aug 2010 22:04:12 +0800
++
++opencc (0.1.0-1) unstable; urgency=low
++
++  * New upstream release.
++  * debian/control:
++    - bump standards version to 3.9.1.
++    - libopencc0 -> libopecc1 (closes: #590473).
++    - libopencc1 replaces libopencc0.
++  * libopencc0 -> libopencc1:
++    - debian/libopencc0.install => debian/libopencc1.install
++    - debian/libopencc0.symbols => debian/libopencc1.symbols
++
++ -- LI Daobing <lidaobing@debian.org>  Thu, 29 Jul 2010 23:05:17 +0800
++
++opencc (0.0.5-1) unstable; urgency=low
++
++  * New upstream release.
++  * debain/control: no longer build depends on python. 
++  * debian/opencc.install: move .mo files to libopencc0.
++  * debian/libopencc0.install: install .mo files.
++  * debian/opencc_dict.1: deleted.
++  * debian/opencc.manpages: deleted.
++
++ -- LI Daobing <lidaobing@debian.org>  Wed, 21 Jul 2010 22:42:32 +0800
++
++opencc (0.0.4-1) unstable; urgency=low
++
++  * New upstream release.
++  * debian/control: bump standards version to 3.9.0.
++
++ -- LI Daobing <lidaobing@debian.org>  Fri, 16 Jul 2010 23:52:08 +0800
++
++opencc (0.0.3-1) unstable; urgency=low
++
++  * New upstream release.
++  * debian/opencc.install: updated.
++  * debian/control: opencc depends on libopencc0 at the same version. 
++
++ -- LI Daobing <lidaobing@debian.org>  Tue, 22 Jun 2010 19:08:33 +0800
++
++opencc (0.0.2-1) unstable; urgency=low
++
++  * Initial release (Closes: #585621)
++
++ -- LI Daobing <lidaobing@debian.org>  Sat, 19 Jun 2010 18:27:20 +0800
diff --cc debian/clean
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..07772306872fc1d0b077ff8b15e5cbf7bd102853
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++test/mix2zhs.ans
++test/mix2zhs.in
++test/mix2zhs.ini
++test/mix2zht.ans
++test/mix2zht.in
++test/mix2zht.ini
++test/opencc
++test/simp_to_trad_characters.ocd
++test/simp_to_trad_phrases.ocd
++test/trad_to_simp_characters.ocd
++test/trad_to_simp_phrases.ocd
++test/zhs2zht.ans
++test/zhs2zht.in
++test/zhs2zht.ini
++test/zht2zhs.ans
++test/zht2zhs.in
++test/zht2zhs.ini
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ec635144f60048986bc560c5576355344005e6e7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++9
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..113dd89529c8715177820c97b6c3f0a7faa03756
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,70 @@@
++Source: opencc
++Priority: optional
++Maintainer: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
++Uploaders: LI Daobing <lidaobing@debian.org>,
++           Asias He <asias@debian.org>,
++           YunQiang Su <wzssyqa@gmail.com>,
++           Osamu Aoki <osamu@debian.org>
++Build-Depends: cmake, debhelper (>= 9), python-all
++Standards-Version: 3.9.5
++Section: libs
++Homepage: http://code.google.com/p/opencc
++Vcs-Git: git://anonscm.debian.org/pkg-ime/opencc.git
++Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ime/opencc.git
++
++Package: opencc
++Section: utils
++Architecture: any
++Multi-Arch: foreign
++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
++Description: simplified-traditional chinese conversion tool
++ opencc is a library for converting character between traditional chinese and
++ simplified chinese.
++ .
++ This package includes the conversion tool.
++
++Package: libopencc1
++Architecture: any
++Multi-Arch: same
++Pre-Depends: ${misc:Pre-Depends}
++Depends: ${misc:Depends}, ${shlibs:Depends}
++Replaces: libopencc0
++Conflicts: libopencc0
++Description: simplified-traditional chinese conversion library - runtime
++ opencc is a library for converting character between traditional chinese and
++ simplified chinese.
++ .
++ This package includes the shared library.
++
++Package: libopencc-dev
++Section: libdevel
++Architecture: any
++Multi-Arch: same
++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends}
++Description: simplified-traditional chinese conversion library - development
++ opencc is a library for converting character between traditional chinese and
++ simplified chinese.
++ .
++ This package includes the development support files.
++
++Package: python-opencc
++Section: python
++Architecture: all
++Depends: libopencc1, ${misc:Depends}, ${python:Depends}
++Description: simplified-traditional chinese conversion library - Python support
++ opencc is a library for converting character between traditional chinese and
++ simplified chinese.
++ .
++ This package includes the Python binding.
++
++Package: libopencc-dbg
++Section: debug
++Priority: extra
++Architecture: any
++Multi-Arch: same
++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends}
++Description: simplified-traditional chinese conversion library - debug
++ opencc is a library for converting character between traditional chinese and
++ simplified chinese.
++ .
++ This package includes the debug symbols which is useful when debug.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..839ea56b5ceb2501dd77500f35be45dfa673488b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,36 @@@
++This work was packaged for Debian by:
++
++    LI Daobing <lidaobing@debian.org> on Fri, 11 Jun 2010 19:54:13 +0800
++
++It was downloaded from http://code.google.com/p/opencc
++
++Upstream Author:
++
++    BYVoid <byvoid1@gmail.com>
++
++Copyright:
++
++    Copyright (C) 2010 BYVoid <byvoid1@gmail.com>
++
++License:
++
++   Licensed under the Apache License, Version 2.0 (the "License");
++   you may not use this file except in compliance with the License.
++   You may obtain a copy of the License at
++
++       http://www.apache.org/licenses/LICENSE-2.0
++
++   Unless required by applicable law or agreed to in writing, software
++   distributed under the License is distributed on an "AS IS" BASIS,
++   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++   See the License for the specific language governing permissions and
++   limitations under the License.
++
++On Debian systems, the complete text of the Apache version 2.0 license
++can be found in `/usr/share/common-licenses/Apache-2.0'.
++
++The Debian packaging is:
++
++    Copyright (C) 2010 LI Daobing <lidaobing@debian.org>
++
++and is licensed under Apache License, Version 2.0.
diff --cc debian/docs
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..056449810a46723d1c53bcf2b932c72bf36018da
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++AUTHORS
++README.md
++NEWS.md
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..76f28fa26af68d3f4813e69b6ad2a762f07913de
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++usr/include/*
++usr/lib/*/lib*.a
++usr/lib/*/lib*.so
++usr/lib/*/pkgconfig/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f4191f2d4815175b4b07a62559811c62079185f5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/lib/*/lib*.so.*
++usr/lib/*/opencc/*
++usr/share/locale/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bf9cc26863234e548d710214be4bede22b5f2387
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,10 @@@
++libopencc.so.1 libopencc1 #MINVER#
++ opencc_close@Base 0.1.0
++ opencc_convert@Base 0.1.0
++ opencc_convert_utf8@Base 0.1.0
++ opencc_convert_utf8_free@Base 0.4.3
++ opencc_dict_load@Base 0.1.0
++ opencc_errno@Base 0.1.0
++ opencc_open@Base 0.1.0
++ opencc_perror@Base 0.1.0
++ opencc_set_conversion_mode@Base 0.1.2
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..68671debc083d2e817ec1d0c8e43bb284d0ff840
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/bin/*
++usr/share/man/man1/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c57c46d2a7e4da5b9fcac09342ac716d61cb8901
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++Description: install data file to meet the need of multi-arch
++ Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE}
++Author: Asias He <asias@debian.org>
++---
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -96,7 +96,7 @@
++      set (DIR_ETC ${SYSCONF_INSTALL_DIR})
++ endif (DEFINED SYSCONF_INSTALL_DIR)
++ 
++-set (DIR_SHARE_OPENCC ${DIR_SHARE}/opencc)
+++set (DIR_SHARE_OPENCC ${DIR_LIBRARY}/opencc)
++ set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale)
++ 
++ ######## Configuration
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c6810a575160779ca15b95f49441f0b8cbb49a8e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++install-data-file-to-meet-need-of-multi-arch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8afd1438378524a4a9f3329d0b0dd92c4b12a902
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++src/wrapper/python/opencc.py usr/share/pyshared
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..36a5a8e52a40e85f2e89469966ab056414ce40f9
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,23 @@@
++#!/usr/bin/make -f
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++DPKG_EXPORT_BUILDFLAGS = 1
++-include /usr/share/dpkg/buildflags.mk
++# CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the
++# missing (hardening) flags.
++CFLAGS += $(CPPFLAGS)
++
++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
++
++%:
++      dh $@ --with python2
++
++override_dh_auto_configure:
++      dh_auto_configure -- \
++              -DCMAKE_INSTALL_PREFIX=/usr \
++              -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \
++              -DCMAKE_BUILD_TYPE=Release \
++              -DENABLE_GETTEXT:BOOL=ON
++
++override_dh_strip:
++      dh_strip -plibopencc1 --dbg-package=libopencc-dbg
++      dh_strip
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b51ea81adda546ad618df32151301f7e276b7e28
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=3
++opts=downloadurlmangle=s%.*name=(.*?)&.*%https://opencc\.googlecode\.com/files/$1%,filenamemangle=s/.*name=(.*?)&.*/$1/ \
++http://code.google.com/p/opencc/downloads/list?can=1&q= \
++.*name=opencc(?:-|\.|_|_v|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)&\S*