debian/0000755000000000000000000000000012302376140007164 5ustar debian/docs0000644000000000000000000000003212215074156010037 0ustar AUTHORS README.md NEWS.md debian/copyright0000644000000000000000000000212412235073305011120 0ustar This work was packaged for Debian by: LI Daobing on Fri, 11 Jun 2010 19:54:13 +0800 It was downloaded from http://code.google.com/p/opencc Upstream Author: BYVoid Copyright: Copyright (C) 2010 BYVoid 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 and is licensed under Apache License, Version 2.0. debian/libopencc-dev.install0000644000000000000000000000010712235073305013266 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/python-opencc.install0000644000000000000000000000006012235216356013345 0ustar src/wrapper/python/opencc.py usr/share/pyshared debian/changelog0000644000000000000000000001127012302376140011037 0ustar opencc (0.4.3-2build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:49:20 +0000 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Tue, 22 Jun 2010 19:08:33 +0800 opencc (0.0.2-1) unstable; urgency=low * Initial release (Closes: #585621) -- LI Daobing Sat, 19 Jun 2010 18:27:20 +0800 debian/libopencc1.install0000644000000000000000000000007212235216356012601 0ustar usr/lib/*/lib*.so.* usr/lib/*/opencc/* usr/share/locale/* debian/clean0000644000000000000000000000052212215071565010176 0ustar 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 debian/libopencc1.symbols0000644000000000000000000000045312215075045012622 0ustar 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 debian/compat0000644000000000000000000000000212215071565010370 0ustar 9 debian/patches/0000755000000000000000000000000012235216356010622 5ustar debian/patches/install-data-file-to-meet-need-of-multi-arch0000644000000000000000000000071612235216356020771 0ustar Description: install data file to meet the need of multi-arch Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE} Author: Asias He --- --- 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 debian/patches/series0000644000000000000000000000005512235215374012036 0ustar install-data-file-to-meet-need-of-multi-arch debian/control0000644000000000000000000000451012235216412010567 0ustar Source: opencc Priority: optional Maintainer: IME Packaging Team Uploaders: LI Daobing , Asias He , YunQiang Su , Osamu Aoki 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. debian/opencc.install0000644000000000000000000000003712235073305012025 0ustar usr/bin/* usr/share/man/man1/* debian/rules0000755000000000000000000000117512235216356010257 0ustar #!/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 debian/source/0000755000000000000000000000000012215071565010472 5ustar debian/source/format0000644000000000000000000000001412215071565011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000042012215072020010202 0ustar 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*