debian/0000755000000000000000000000000012302376030007162 5ustar debian/chewing.py0000644000000000000000000000243212274440671011174 0ustar from ctypes import * from functools import partial _libchewing = CDLL('libchewing.so.3') _libchewing.chewing_commit_String.restype = c_char_p _libchewing.chewing_buffer_String.restype = c_char_p _libchewing.chewing_cand_String.restype = c_char_p _libchewing.chewing_zuin_String.restype = c_char_p _libchewing.chewing_aux_String.restype = c_char_p def Init(datadir, userdir): return _libchewing.chewing_Init(datadir, userdir) class ChewingContext: def __init__(self): self.ctx = _libchewing.chewing_new() def __del__(self): _libchewing.chewing_free(self.ctx) def __getattr__(self, name): func = 'chewing_' + name if func in _libchewing.__dict__: wrap = partial(_libchewing.__dict__[func], self.ctx) setattr(self, name, wrap) return wrap elif hasattr(_libchewing, func): wrap = partial(_libchewing.__getattr__(func), self.ctx) setattr(self, name, wrap) return wrap else: raise AttributeError, name def Configure(self, cpp, maxlen, direction, space, kbtype): self.set_candPerPage(cpp) self.set_maxChiSymbolLen(maxlen) self.set_addPhraseDirection(direction) self.set_spaceAsSelection(space) self.set_KBType(kbtype) debian/copyright0000644000000000000000000000216512274440671011134 0ustar This package was debianized by Kanru Chen on Sat, 3 Jul 2004 21:08:32 +0800. It was downloaded from http://chewing.csie.net Copyright: Upstream Author: Jim Huang License: Copyright(c) 2004, Jim Huang This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; 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 Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/changelog0000644000000000000000000002071412302376030011040 0ustar libchewing (0.3.5-4build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:48:08 +0000 libchewing (0.3.5-4) unstable; urgency=medium [ Martin Pitt ] * debian/tests/control: - Add missing pkg-config test dependency. - Don't pull in all binaries, just libchewing3-dev. This ensures that the -dev package has correct dependencies. [ ChangZhuo Chen (陳昌倬) ] * Merge ubuntu fix for autopkgtest (Closes: #735646) * Update Standards-Version to 3.9.5 -- ChangZhuo Chen (陳昌倬) Tue, 18 Feb 2014 22:26:46 +0800 libchewing (0.3.5-3) unstable; urgency=low * Merge negative frequency patch (Closes: #722971) * Fix hardening-no-fortify-functions * Fix dh clean * Add XS-Testsuite: autopkgtest * Update watch -- ChangZhuo Chen (陳昌倬) Tue, 01 Oct 2013 20:45:29 +0800 libchewing (0.3.5-2) unstable; urgency=low * Add missing build dependency. -- Kan-Ru Chen (陳侃如) Thu, 08 Aug 2013 08:43:22 +0800 libchewing (0.3.5-1) unstable; urgency=low [ ChangZhuo Chen (陳昌倬) ] * New upstream release. (Closes: #695452, #608615) * Add info page to libchewing3-dev * Update new official website * Remove unused patches * Remove unused dependency * Add symbol for new API chewing_set_logger [ Kan-Ru Chen (陳侃如) ] * Make libchewing3-dbg Multi-Arch: same. (Closes: #712883) * Clean generated info files. -- Kan-Ru Chen (陳侃如) Thu, 08 Aug 2013 01:01:54 +0800 libchewing (0.3.4-3) unstable; urgency=low * run autoreconf to fix regression with 0.3.4-2. -- Osamu Aoki Fri, 21 Jun 2013 20:15:52 +0900 libchewing (0.3.4-2) unstable; urgency=low * Team upload. * Memory alignment patch for sparc. Closes: #709934 * Disable test. -- Osamu Aoki Thu, 20 Jun 2013 22:35:31 +0900 libchewing (0.3.4-1) unstable; urgency=low * debian/watch looks for googlecode now * Imported Upstream version 0.3.4 * Upstream tarball has no chewing.py: put it under debian/ * Autoreconf is not needed now. * /usr/lib/*/chewing3/ renamed to /usr/lib/*/chewing/ * Patch to remove stamp under data correctly. * Add symbols for libchewing3. -- YunQiang Su Sat, 16 Feb 2013 11:05:28 +0800 libchewing (0.3.3-4) unstable; urgency=high * Team upload. [ Kan-Ru Chen ] * Remove --enable-debug, it is for developer only. - Set urgency to high because of possible information leakage. * Tidy up with wrap-and-sort. * debian/control: - Remove DM-Upload-Allowed. * debian/autoreconf.after: removed. * debian/autoreconf.before: ditto. -- Kan-Ru Chen Tue, 17 Apr 2012 12:17:22 +0800 libchewing (0.3.3-3) unstable; urgency=low * PATH_MAX patch to src/porting_layer/include/sys/plat_posix.h, instead of include/config.h.in, as not all source files include config.h. -- YunQiang Su Tue, 03 Apr 2012 17:16:48 +0800 libchewing (0.3.3-2) unstable; urgency=low * Team upload to unstable; add YunQiang Su to uploaders. * install chewing.py to package libchewing3 (Closes: #513773). * patch include/config.h.in to define PATH_MAX if not defined (Closes: #666706). -- YunQiang Su Mon, 02 Apr 2012 13:58:10 +0800 libchewing (0.3.3-2~exp) experimental; urgency=low * Team upload to fix multiarch bugs. - Install data files to usr/lib, as they are arch depend. - Remove "Multi-arch: forigen" from libchewing3-data. * Bump standard version to 3.9.3. * Add new debug package: libchewing3-dbg. * use --with autoreconf instead of --with autotools_dev. -- YunQiang Su Mon, 26 Mar 2012 20:05:57 +0800 libchewing (0.3.3-1) unstable; urgency=low * New upstream release * Change debhelper compatibility to 9 * Simplify the build rules * Convert to 3.0 (quilt) source format * Convert to MultiArch * Update Maintainer field - Change the Maintainer field to IME Packaging Team - Update the email addresses * Update Standards-Version to 3.9.2 * Update Vcs-* info * Build depends on autotools-dev (Closes: #558571). -- Kan-Ru Chen Thu, 25 Aug 2011 00:26:54 +0800 libchewing (0.3.2-1) unstable; urgency=low * New Upstream Version * [5d96bf5] Update watch address * [351d417] Add Vcs-Git field * [63cd26a] Add Vcs-Browser field * [e2a59e2] Conflict with scim-chewing << 0.3.3 * [cd15be8] Change libchewing3-data from all to any since we build binary data now. -- Kanru Chen Thu, 04 Dec 2008 15:34:03 +0800 libchewing (0.3.1-1) unstable; urgency=low * New Upstream Version * Update standards-version to 3.8.0 * Add Homepage header * Add Priority to all binary package field * Add Andrew Lee to Uploaders * Change debhelper compatibility to 7 * Simplify debian/rules * Conflict with scim-chewing (<< 0.3.2) * Now build libchewing3-data in binary-indep (Closes: #303000) * Closes: #427974: cannot type any zuo words. Fixed upstream. -- Kanru Chen Wed, 12 Nov 2008 16:48:32 +0800 libchewing (0.3.0-1) unstable; urgency=low * New upstream release * Bump major version to 3 * Change debhelper compatibility to 5 * Update standards-version to 3.7.2.0 * Not install *.la files anymore. * Install -data files to libchewing3/chewing instead of chewing to maintain the compatibility of old -data packages * Update README.Debian * Change libchewing3-data architecture to any (Closes: #303000) -- Kanru Chen Mon, 15 May 2006 16:17:40 +0800 libchewing (0.2.7-1) unstable; urgency=low * New upstream release. * New standards version (3.6.2, no changes). -- Kanru Chen Tue, 16 Aug 2005 14:46:14 +0800 libchewing (0.2.6+svn20050326-1) unstable; urgency=high * Upstream SVN snapshot. + Using snapshot which fixed some unexpected exit() call. * Change libcheiwng2-dev section to 'libdevel'. * Added missing Build-Depends of dpatch. * Set urgency to high, Closes: #301462: FTBFS: typo in Build-Depends line * Auto generated documents are broken and not really helpful now, remove them temporarily. -- Kanru Chen Wed, 30 Mar 2005 21:46:31 +0800 libchewing (0.2.6-2) unstable; urgency=low * libchewing-data: Changed Architecture: any to all * Remove Provides, cause Provides and Conflicts should not be together. -- Kanru Chen Wed, 2 Mar 2005 20:54:18 +0800 libchewing (0.2.6-1) unstable; urgency=low * New upstream release. -- Kanru Chen Mon, 28 Feb 2005 11:00:45 +0800 libchewing (0.2.5-2) unstable; urgency=low * Update descriptions in control file. * Maintainer's email changed. * Execute scripts/remove-autotool.sh after 'make clean'. * Remove doxygen auto produced files after 'make clean'. -- Kanru Chen Fri, 11 Feb 2005 15:20:51 +0800 libchewing (0.2.5-1) unstable; urgency=low * New upstream release. * Back to normal debian/rules. * Update README.Debian. -- Kanru Chen Tue, 28 Dec 2004 12:53:56 +0800 libchewing (0.2.4-2) unstable; urgency=low * Use cdbs common package build system. * Back to libchewing-data. I did wrong thing. -- Kanru Chen Thu, 7 Oct 2004 22:18:53 +0800 libchewing (0.2.4-1) unstable; urgency=low * New upstream release. * ABI changed. * Change package name form libchewing-data to libchewing1-data and set conflict. -- Kanru Chen Tue, 5 Oct 2004 20:25:47 +0800 libchewing (0.2.3-2) unstable; urgency=low * Added support for pkg-config. -- Kanru Chen Thu, 5 Aug 2004 23:27:30 +0800 libchewing (0.2.3-1) unstable; urgency=low * New upstream release. -- Kanru Chen Wed, 4 Aug 2004 17:56:11 +0800 libchewing (0.2.2-1) unstable; urgency=low * New upstream version. * README.Debian. -- Kanru Chen Tue, 6 Jul 2004 15:23:01 +0800 libchewing (0.2.1-2) unstable; urgency=low * Bugfix. dev files now install to correct path. -- Kanru Chen Tue, 6 Jul 2004 15:19:08 +0800 libchewing (0.2.1-1) unstable; urgency=low * Initial Release. -- Kanru Chen Sat, 3 Jul 2004 21:08:32 +0800 debian/libchewing3-dev.install0000644000000000000000000000011612274440671013535 0ustar usr/include usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/chewing.pc debian/libchewing3.symbols0000644000000000000000000000601112274440671013003 0ustar libchewing.so.3 libchewing3 #MINVER# chewing_Configure@Base 0.3.4 chewing_Init@Base 0.3.4 chewing_KBStr2Num@Base 0.3.4 chewing_Reset@Base 0.3.4 chewing_Terminate@Base 0.3.4 chewing_aux_Check@Base 0.3.4 chewing_aux_Length@Base 0.3.4 chewing_aux_String@Base 0.3.4 chewing_buffer_Check@Base 0.3.4 chewing_buffer_Len@Base 0.3.4 chewing_buffer_String@Base 0.3.4 chewing_cand_CheckDone@Base 0.3.4 chewing_cand_ChoicePerPage@Base 0.3.4 chewing_cand_CurrentPage@Base 0.3.4 chewing_cand_Enumerate@Base 0.3.4 chewing_cand_String@Base 0.3.4 chewing_cand_TotalChoice@Base 0.3.4 chewing_cand_TotalPage@Base 0.3.4 chewing_cand_hasNext@Base 0.3.4 chewing_commit_Check@Base 0.3.4 chewing_commit_String@Base 0.3.4 chewing_cursor_Current@Base 0.3.4 chewing_delete@Base 0.3.4 chewing_free@Base 0.3.4 chewing_get_ChiEngMode@Base 0.3.4 chewing_get_KBString@Base 0.3.4 chewing_get_KBType@Base 0.3.4 chewing_get_ShapeMode@Base 0.3.4 chewing_get_addPhraseDirection@Base 0.3.4 chewing_get_autoShiftCur@Base 0.3.4 chewing_get_candPerPage@Base 0.3.4 chewing_get_easySymbolInput@Base 0.3.4 chewing_get_escCleanAllBuf@Base 0.3.4 chewing_get_hsuSelKeyType@Base 0.3.4 chewing_get_maxChiSymbolLen@Base 0.3.4 chewing_get_phoneSeq@Base 0.3.4 chewing_get_phoneSeqLen@Base 0.3.4 chewing_get_phraseChoiceRearward@Base 0.3.4 chewing_get_selKey@Base 0.3.4 chewing_get_spaceAsSelection@Base 0.3.4 chewing_handle_Backspace@Base 0.3.4 chewing_handle_Capslock@Base 0.3.4 chewing_handle_CtrlNum@Base 0.3.4 chewing_handle_DblTab@Base 0.3.4 chewing_handle_Default@Base 0.3.4 chewing_handle_Del@Base 0.3.4 chewing_handle_Down@Base 0.3.4 chewing_handle_End@Base 0.3.4 chewing_handle_Enter@Base 0.3.4 chewing_handle_Esc@Base 0.3.4 chewing_handle_Home@Base 0.3.4 chewing_handle_Left@Base 0.3.4 chewing_handle_Numlock@Base 0.3.4 chewing_handle_PageDown@Base 0.3.4 chewing_handle_PageUp@Base 0.3.4 chewing_handle_Right@Base 0.3.4 chewing_handle_ShiftLeft@Base 0.3.4 chewing_handle_ShiftRight@Base 0.3.4 chewing_handle_ShiftSpace@Base 0.3.4 chewing_handle_Space@Base 0.3.4 chewing_handle_Tab@Base 0.3.4 chewing_handle_Up@Base 0.3.4 chewing_interval_Enumerate@Base 0.3.4 chewing_interval_Get@Base 0.3.4 chewing_interval_hasNext@Base 0.3.4 chewing_kbtype_Enumerate@Base 0.3.4 chewing_kbtype_String@Base 0.3.4 chewing_kbtype_Total@Base 0.3.4 chewing_kbtype_hasNext@Base 0.3.4 chewing_keystroke_CheckAbsorb@Base 0.3.4 chewing_keystroke_CheckIgnore@Base 0.3.4 chewing_new@Base 0.3.4 chewing_set_ChiEngMode@Base 0.3.4 chewing_set_KBType@Base 0.3.4 chewing_set_ShapeMode@Base 0.3.4 chewing_set_addPhraseDirection@Base 0.3.4 chewing_set_autoShiftCur@Base 0.3.4 chewing_set_candPerPage@Base 0.3.4 chewing_set_easySymbolInput@Base 0.3.4 chewing_set_escCleanAllBuf@Base 0.3.4 chewing_set_hsuSelKeyType@Base 0.3.4 chewing_set_logger@Base 0.3.5 chewing_set_maxChiSymbolLen@Base 0.3.4 chewing_set_phraseChoiceRearward@Base 0.3.4 chewing_set_selKey@Base 0.3.4 chewing_set_spaceAsSelection@Base 0.3.4 chewing_zuin_Check@Base 0.3.4 chewing_zuin_String@Base 0.3.4 debian/libchewing3.install0000644000000000000000000000007312274440671012763 0ustar debian/chewing.py /usr/share/pyshared/ usr/lib/*/lib*.so.* debian/compat0000644000000000000000000000000212274440671010373 0ustar 9 debian/libchewing3-data.install0000644000000000000000000000002612274440671013670 0ustar usr/lib/*/libchewing/ debian/patches/0000755000000000000000000000000012274440672010625 5ustar debian/patches/negative-frequency.patch0000644000000000000000000000530412274440671015450 0ustar Description: Fix negative frequency problem --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: upstream, https://github.com/chewing/libchewing/issues/75 Bug: https://github.com/chewing/libchewing/issues/75 Bug-Debian: http://bugs.debian.org/722971 --- libchewing-0.3.5.orig/include/internal/memory-private.h +++ libchewing-0.3.5/include/internal/memory-private.h @@ -22,62 +22,66 @@ #define inline __inline #endif -static inline uint16_t GetUint16( const char *ptr ) +static inline uint16_t GetUint16( const void *ptr ) { uint16_t val; + const unsigned char *uptr = ptr; #if WORDS_BIGENDIAN val = - ( ptr[0] << 8 ) | - ( ptr[1] << 0 ); + ( uptr[0] << 8 ) | + ( uptr[1] << 0 ); #else val = - ( ptr[0] << 0 ) | - ( ptr[1] << 8 ); + ( uptr[0] << 0 ) | + ( uptr[1] << 8 ); #endif return val; } -static inline void PutUint16( uint16_t val, char *ptr ) +static inline void PutUint16( uint16_t val, void *ptr ) { + unsigned char *uptr = (unsigned char *) ptr; #if WORDS_BIGENDIAN - ptr[0] = ( val >> 8 ) & 0xff; - ptr[1] = ( val >> 0 ) & 0xff; + uptr[0] = ( val >> 8 ) & 0xff; + uptr[1] = ( val >> 0 ) & 0xff; #else - ptr[0] = ( val >> 0 ) & 0xff; - ptr[1] = ( val >> 8 ) & 0xff; + uptr[0] = ( val >> 0 ) & 0xff; + uptr[1] = ( val >> 8 ) & 0xff; #endif } -static inline int GetInt32( const char *ptr ) +static inline int GetInt32( const void *ptr ) { int val; + const unsigned char *uptr = ptr; #if WORDS_BIGENDIAN val = - ( ptr[0] << 24 ) | - ( ptr[1] << 16 ) | - ( ptr[2] << 8 ) | - ( ptr[3] << 0 ); + ( uptr[0] << 24 ) | + ( uptr[1] << 16 ) | + ( uptr[2] << 8 ) | + ( uptr[3] << 0 ); #else val = - ( ptr[0] << 0 ) | - ( ptr[1] << 8 ) | - ( ptr[2] << 16 ) | - ( ptr[3] << 24 ); + ( uptr[0] << 0 ) | + ( uptr[1] << 8 ) | + ( uptr[2] << 16 ) | + ( uptr[3] << 24 ); #endif return val; } -static inline void PutInt32( int val, char *ptr ) +static inline void PutInt32( int val, void *ptr ) { + unsigned char *uptr = (unsigned char *) ptr; #if WORDS_BIGENDIAN - ptr[0] = ( val >> 24 ) & 0xff; - ptr[1] = ( val >> 16 ) & 0xff; - ptr[2] = ( val >> 8 ) & 0xff; - ptr[3] = ( val >> 0 ) & 0xff; + uptr[0] = ( val >> 24 ) & 0xff; + uptr[1] = ( val >> 16 ) & 0xff; + uptr[2] = ( val >> 8 ) & 0xff; + uptr[3] = ( val >> 0 ) & 0xff; #else - ptr[0] = ( val >> 0 ) & 0xff; - ptr[1] = ( val >> 8 ) & 0xff; - ptr[2] = ( val >> 16 ) & 0xff; - ptr[3] = ( val >> 24 ) & 0xff; + uptr[0] = ( val >> 0 ) & 0xff; + uptr[1] = ( val >> 8 ) & 0xff; + uptr[2] = ( val >> 16 ) & 0xff; + uptr[3] = ( val >> 24 ) & 0xff; #endif } debian/patches/series0000644000000000000000000000003112274440672012034 0ustar negative-frequency.patch debian/README.Debian0000644000000000000000000000063012274440671011235 0ustar libchewing for Debian Known Problem ----------------------- User's phrase database file may be corrupted when scim does not exit gracefully, for example, during an X11 server crash or power outage. You have to remove phrase database file ($HOME/.chewing/uhash.dat for libchewing >= 0.3.0 or $HOME/.chewing/hash.dat for older versions) Note: you will lose all your personal and favorite phrases this way! debian/control0000644000000000000000000000717012300666672010606 0ustar Source: libchewing Section: libs Priority: optional Maintainer: IME Packaging Team Uploaders: Kan-Ru Chen (陳侃如) , Andrew Lee (李健秋) , YunQiang Su , ChangZhuo Chen (陳昌倬) Build-Depends: autotools-dev, debhelper (>= 9), dh-autoreconf, gcc (>= 3:3.3), libncursesw5-dev, libtool (>= 1.5.6), pkg-config, texinfo Standards-Version: 3.9.5 Homepage: http://chewing.im Vcs-Git: git://anonscm.debian.org/pkg-ime/libchewing.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ime/libchewing.git;a=summary XS-Testsuite: autopkgtest Package: libchewing3-dev Conflicts: libchewing-dev, libchewing1-dev, libchewing2-dev Section: libdevel Architecture: any Depends: libchewing3 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: intelligent phonetic input method library (developer version) libchewing is an intelligent phonetic input method library for Chinese. . It provides the core algorithm and logic so that they can be shared among the various input methods like JMCCE, xcin-chewing, scim-chewing, iiimf-chewing, screen-chewing, ime-chewing, etc. . The Chewing input method is a smart bopomofo fonetics input method that is useful for inputing Mandarin Chinese based language. . This package contains static library and header files for developer. Package: libchewing3 Provides: libchewing Multi-Arch: same Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libchewing3-data (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Breaks: scim-chewing (<< 0.3.3) Description: intelligent phonetic input method library libchewing is an intelligent phonetic input method library for Chinese. . It provides the core algorithm and logic so that they can be shared among the various input methods like JMCCE, xcin-chewing, scim-chewing, iiimf-chewing, screen-chewing, ime-chewing, etc. . The Chewing input method is a smart bopomofo fonetics input method that is useful for inputing Mandarin Chinese based language. . This package contains shared library used by other programs. Package: libchewing3-data Provides: libchewing-data Breaks: libchewing-data (<= 0.2.7) Section: misc Multi-Arch: same Architecture: any Depends: ${misc:Depends} Description: intelligent phonetic input method library - data files libchewing is an intelligent phonetic input method library for Chinese. . It provides the core algorithm and logic so that they can be shared among the various input methods like JMCCE, xcin-chewing, scim-chewing, iiimf-chewing, screen-chewing, ime-chewing, etc. . The Chewing input method is a smart bopomofo fonetics input method that is useful for inputing Mandarin Chinese based language. . This package contains data files of libchewing3. Package: libchewing3-dbg Section: debug Priority: extra Multi-Arch: same Architecture: any Depends: libchewing3 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: intelligent phonetic input method library - debug files libchewing is an intelligent phonetic input method library for Chinese. . It provides the core algorithm and logic so that they can be shared among the various input methods like JMCCE, xcin-chewing, scim-chewing, iiimf-chewing, screen-chewing, ime-chewing, etc. . The Chewing input method is a smart bopomofo fonetics input method that is useful for inputing Mandarin Chinese based language. . This package contains debug symbols which are useful for debug. debian/libchewing3-dev.info0000644000000000000000000000002412274440671013020 0ustar doc/libchewing.info debian/tests/0000755000000000000000000000000012300666541010333 5ustar debian/tests/control0000644000000000000000000000010312300666541011730 0ustar Tests: build Depends: libchewing3-dev, build-essential, pkg-config debian/tests/build0000755000000000000000000000067312274440672011373 0ustar #!/bin/sh set -e WORKDIR=`mktemp -d` trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat <buildtest.c #include #include int main() { ChewingContext *ctx; ctx = chewing_new(); if (!ctx) { fprintf(stderr, "chewing_new() fails.\n"); return -1; }; chewing_delete(ctx); return 0; } EOF gcc -o buildtest buildtest.c `pkg-config --cflags --libs chewing` ./buildtest debian/rules0000755000000000000000000000062412274440672010260 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) override_dh_auto_configure: dh_auto_configure -- --datadir=/usr/lib/${DEB_HOST_MULTIARCH}/libchewing3/ override_dh_strip: dh_strip --dbg-package=libchewing3-dbg override_dh_clean: -rm doc/libchewing.info -rm doc/stamp-vti -rm doc/version.texi dh_clean override_dh_auto_test: %: dh $@ --with autoreconf debian/source/0000755000000000000000000000000012274440672010476 5ustar debian/source/format0000644000000000000000000000001412274440672011704 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000020712274440672010226 0ustar version=3 https://github.com/chewing/libchewing/releases .*/v?(\d\S*)/libchewing-(?:\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))