opencc (1.0.4-5) unstable; urgency=medium
authorAron Xu <aron@debian.org>
Fri, 20 Jan 2017 07:15:35 +0000 (07:15 +0000)
committerAron Xu <aron@debian.org>
Fri, 20 Jan 2017 07:15:35 +0000 (07:15 +0000)
  * Make ocd data files arch:any (Closes: #851733)

[dgit import unpatched opencc 1.0.4-5]

18 files changed:
1  2 
debian/README.Debian
debian/changelog
debian/clean
debian/compat
debian/control
debian/copyright
debian/docs
debian/libopencc-dev.install
debian/libopencc2-data.install
debian/libopencc2.install
debian/opencc.install
debian/patches/lib-name-match-soversion.patch
debian/patches/series
debian/patches/use-cmake-install-libdir.patch
debian/patches/use-system-libraries.patch
debian/rules
debian/source/format
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6d3e0fd9bb3ddb3e711eb647592ee38bad172c79
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++Package using libopencc should always require a tight versioned dependency to
++make sure it depends on the exact upstream minor version to avoid
++incomaptibility.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..79c1d85f45c48c20beef4daeecb2eb528ea65d70
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,215 @@@
++opencc (1.0.4-5) unstable; urgency=medium
++
++  * Make ocd data files arch:any (Closes: #851733)
++
++ -- Aron Xu <aron@debian.org>  Fri, 20 Jan 2017 15:15:35 +0800
++
++opencc (1.0.4-4) unstable; urgency=medium
++
++  * Tighter Breaks/Conflicts version (Closes: #847145)
++
++ -- Aron Xu <aron@debian.org>  Mon, 19 Dec 2016 23:30:01 +0800
++
++opencc (1.0.4-3) unstable; urgency=medium
++
++  * Correct Breaks/Conflicts version (Closes: #846665)
++
++ -- Aron Xu <aron@debian.org>  Sun, 04 Dec 2016 16:39:48 +0800
++
++opencc (1.0.4-2) unstable; urgency=medium
++
++  [ Aron Xu ]
++  * Install data files to libopencc2-data, drop -dbg package
++    (Closes: #836395)
++
++  [ Boyuan Yang ]
++  * Add BSD-3-clause license in d/copyright
++
++ -- Aron Xu <aron@debian.org>  Sat, 03 Sep 2016 21:07:26 +0800
++
++opencc (1.0.4-1) unstable; urgency=medium
++
++  * Imported Upstream version 1.0.4
++  * Update d/watch to Github URL
++  * std-ver: 3.9.6 -> 3.9.8, no change
++  * Update VCS-Browser URL to use HTTPS
++
++ -- Aron Xu <aron@debian.org>  Mon, 08 Aug 2016 14:43:15 +0800
++
++opencc (1.0.3-1) experimental; urgency=medium
++
++  * New upstream release
++  * Add myself to Uploaders
++  * Drop symbols file, see README.Debian
++
++ -- Aron Xu <aron@debian.org>  Wed, 16 Dec 2015 00:34:21 +0800
++
++opencc (1.0.2-1) experimental; urgency=medium
++
++  * Team upload for new upstream release.
++  * SONAME transition: libopencc1 -> libopencc2
++  * Add libjs-jquery, libtclap-dev, darts, rapidjson-dev to B-D.
++  * Patches added/updated:
++    - lib-name-match-soversion.patch: rename library to match SONAME
++    - install-data-file-to-meet-need-of-multi-arch.patch: updated
++    - use-system-libraries.patch: do not use embeded libraries
++  * Use system version of jquery.js instead of embeded one.
++  * Removed python-opencc, upstream abandoned.
++  * Updated symbols file.
++  * Rewrite copyright file to machine-readable format.
++  * Allow parallel building.
++
++ -- Aron Xu <aron@debian.org>  Thu, 20 Nov 2014 17:09:31 +0800
++
++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..7beb9e980b435ffc999de84a09dde387fdaf2708
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,68 @@@
++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>,
++           Aron Xu <aron@debian.org>
++Build-Depends: cmake,
++               darts,
++               debhelper (>= 9),
++               doxygen,
++               libjs-jquery,
++               libtclap-dev,
++               python,
++               rapidjson-dev
++Standards-Version: 3.9.8
++Section: libs
++Homepage: https://github.com/BYVoid/OpenCC
++Vcs-Git: git://anonscm.debian.org/pkg-ime/opencc.git
++Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-ime/opencc.git
++
++Package: opencc
++Section: utils
++Architecture: any
++Multi-Arch: foreign
++Depends: libopencc2 (= ${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: libopencc2
++Architecture: any
++Multi-Arch: same
++Pre-Depends: ${misc:Pre-Depends}
++Depends: ${misc:Depends}, ${shlibs:Depends}, libopencc2-data
++Breaks: libopencc2-data (<< 1.0.4-5~)
++Replaces: libopencc2-data (<< 1.0.4-5~)
++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: libjs-jquery, libopencc2 (= ${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: libopencc2-data
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends}
++Breaks: libopencc-dev (<< 1.0.4-5~), libopencc2 (<< 1.0.4-5~)
++Replaces: libopencc-dev (<< 1.0.4-5~), libopencc2 (<< 1.0.4-5~)
++Description: simplified-traditional Chinese conversion library - data files
++ opencc is a library for converting character between traditional Chinese and
++ simplified Chinese.
++ .
++ This package includes the data files.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9999e5cdf1a36b2b183b41bb4a8eb1311b08fb9d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,106 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: opencc
++Source: https://github.com/BYVoid/OpenCC/releases
++
++Files: *
++Copyright: 2010-2014, BYVoid <byvoid.kcp@gmail.com>
++License: Apache-2
++
++Files: debian/*
++Copyright: 2010, LI Daobing <lidaobing@debian.org>
++           2014, Aron Xu <aron@debian.org>
++License: Apache-2
++
++License: Apache-2
++ 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'.
++
++Files: deps/tclap-1.2.1/*
++Copyright: 2003, Michael E. Smoot
++License: MIT-like
++ Permission is hereby granted, free of charge, to any person
++ obtaining a copy of this software and associated documentation
++ files (the "Software"), to deal in the Software without restriction,
++ including without limitation the rights to use, copy, modify, merge,
++ publish, distribute, sublicense, and/or sell copies of the Software,
++ and to permit persons to whom the Software is furnished to do so,
++ subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be
++ included in all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
++ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
++ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
++ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
++ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
++ THE SOFTWARE.
++
++Files: deps/rapidjson-0.11/*
++Copyright: 2011-2014, Milo Yip
++License: Expat
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to deal
++ in the Software without restriction, including without limitation the rights
++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++ copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in
++ all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
++ THE SOFTWARE.
++
++Files: deps/darts-clone/*
++Copyright: 2001-2008, Taku Kudoh <taku@chasen.org>
++License: BSD-3-Clause
++
++Files: deps/gtest-1.7.0/*
++Copyright: 2008, Google Inc.
++License: BSD-3-Clause
++
++License: BSD-3-Clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++ 1. Redistributions of source code must retain the above copyright
++    notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++    notice, this list of conditions and the following disclaimer in the
++    documentation and/or other materials provided with the distribution.
++ 3. The name Nara Institute of Science and Technology may not be used to
++    endorse or promote products derived from this software without specific
++    prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY Nara Institute of Science and Technology
++ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
++ PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE Nara Institute
++ of Science and Technology BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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..7df81cd9f2a1282cd8d7222dd9b841258c579f78
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/include/*
++usr/lib/*/lib*.so
++usr/lib/*/pkgconfig/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8dbb311955d683cb08f2339109271fc050c8eeb8
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/share/opencc/doc/*
++usr/share/opencc/*.json
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4e01c5355604f9de7cc4ad8bfe73fff0886f7386
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/lib/*/lib*.so.*
++usr/share/opencc/*.ocd
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1df36c612fb7cd107795e240186fbddfc0f953b9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/bin/*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..26fd8f7b780d751bb28944fe11108ce7d89ccc2a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++Subject: make sure library name matches soname
++From: Aron Xu <aron@debian.org>
++Index: opencc/src/CMakeLists.txt
++===================================================================
++--- opencc.orig/src/CMakeLists.txt
+++++ opencc/src/CMakeLists.txt
++@@ -72,7 +72,7 @@ set_target_properties(
++     OUTPUT_NAME
++       opencc
++     VERSION
++-      1.0.0
+++      2.0.0
++     SOVERSION
++       2
++ )
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fe4adf11c95b05daee1e8f973305e79301db4725
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++lib-name-match-soversion.patch
++use-system-libraries.patch
++use-cmake-install-libdir.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..31e66707864c39e255d1be0ad3828f143c21c244
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,13 @@@
++Index: opencc/CMakeLists.txt
++===================================================================
++--- opencc.orig/CMakeLists.txt
+++++ opencc/CMakeLists.txt
++@@ -69,7 +69,7 @@ set (DIR_INCLUDE ${DIR_PREFIX}/include/)
++ set (DIR_SHARE ${DIR_PREFIX}/share/)
++ set (DIR_ETC ${DIR_PREFIX}/etc/)
++ set (LIB_SUFFIX "")
++-set (DIR_LIBRARY ${DIR_PREFIX}/lib${LIB_SUFFIX}/)
+++set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR})
++ 
++ if (DEFINED SHARE_INSTALL_PREFIX)
++   set (DIR_SHARE ${SHARE_INSTALL_PREFIX})
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1edb1ca87744be54a639f7ffcd90abae2c710321
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++Index: opencc/src/CMakeLists.txt
++===================================================================
++--- opencc.orig/src/CMakeLists.txt
+++++ opencc/src/CMakeLists.txt
++@@ -1,8 +1,7 @@
++ include (GenerateExportHeader)
++ 
++-include_directories(../deps/darts-clone)
++-include_directories(../deps/rapidjson-0.11)
++-include_directories(../deps/tclap-1.2.1)
+++include_directories(/usr/include/rapidjson)
+++include_directories(/usr/include/tclap)
++ 
++ # Library
++ 
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..af50c7c15604c089f3af563fba96a3ce3704cb8c
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,27 @@@
++#!/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 $@ --buildsystem=cmake --parallel
++
++override_dh_auto_configure:
++      dh_auto_configure -- \
++              -DCMAKE_INSTALL_PREFIX=/usr \
++              -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \
++              -DCMAKE_BUILD_TYPE=Release \
++              -DBUILD_DOCUMENTATION=ON
++
++override_dh_auto_install:
++      dh_auto_install
++      ln -sf /usr/share/javascript/jquery/jquery.js debian/tmp/usr/share/opencc/doc/html/jquery.js
++
++override_dh_auto_clean:
++      dh_auto_clean
++      find . -name *.pyc -delete
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..bc0c338561f37cf4097700f9cd764281e634583a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=3
++opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/opencc-$1\.tar\.gz/ \
++  https://github.com/byvoid/opencc/tags .*/ver\.?(\d\S*)\.tar\.gz