Commit 878e2639 authored by YunQiang Su's avatar YunQiang Su
Browse files

disable boost support

parent 0332b543
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
Source: libpyzy
Priority: optional
Maintainer: YunQiang Su <wzssyqa@gmail.com>
Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, 
    uuid-dev, libboost-all-dev, libsqlite3-dev, libopencc-dev, 
Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, libglib2.0-dev,
    uuid-dev, libsqlite3-dev, libopencc-dev, 
    ibus-pinyin-db-open-phrase, ibus-pinyin-db-android, 
Standards-Version: 3.9.4
Section: libs
@@ -13,7 +13,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-ime/libpyzy.git
Package: libpyzy-dev
Section: libdevel
Architecture: any
Depends: libpyzyBROKEN (= ${binary:Version})
Depends: libpyzy0 (= ${binary:Version}), ${misc:Depends}
Description: <insert up to 60 chars description>
 <insert long description, indented with spaces>

+13 −4
Original line number Diff line number Diff line
Index: libpyzy-0.0.0+20111108.gitb002be5085/Makefile.am
===================================================================
--- libpyzy-0.0.0+20111108.gitb002be5085.orig/Makefile.am	2013-02-04 19:52:48.933949300 +0800
+++ libpyzy-0.0.0+20111108.gitb002be5085/Makefile.am	2013-02-04 19:52:42.093949109 +0800
--- libpyzy-0.0.0+20111108.gitb002be5085.orig/Makefile.am	2013-02-04 22:27:26.078208067 +0800
+++ libpyzy-0.0.0+20111108.gitb002be5085/Makefile.am	2013-02-04 22:27:26.074208067 +0800
@@ -20,7 +20,6 @@
 # USA
 
@@ -12,8 +12,8 @@ Index: libpyzy-0.0.0+20111108.gitb002be5085/Makefile.am
 	$(NULL)
Index: libpyzy-0.0.0+20111108.gitb002be5085/configure.ac
===================================================================
--- libpyzy-0.0.0+20111108.gitb002be5085.orig/configure.ac	2013-02-04 19:52:54.029949442 +0800
+++ libpyzy-0.0.0+20111108.gitb002be5085/configure.ac	2013-02-04 19:55:00.917952981 +0800
--- libpyzy-0.0.0+20111108.gitb002be5085.orig/configure.ac	2013-02-04 22:27:26.078208067 +0800
+++ libpyzy-0.0.0+20111108.gitb002be5085/configure.ac	2013-02-04 22:27:59.078208987 +0800
@@ -18,6 +18,77 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
@@ -92,6 +92,15 @@ Index: libpyzy-0.0.0+20111108.gitb002be5085/configure.ac
 
 # if not 1, append datestamp to the version number.
 m4_define([ibus_released], [0])
@@ -106,7 +177,7 @@
     BOOST_FIND_HEADER([boost/bind.hpp])
     BOOST_FIND_HEADER([boost/signals2.hpp])
 fi
-AM_CONDITIONAL(HAVE_BOOST, test x"$enable_boost" = x"yes")
+AM_CONDITIONAL(HAVE_BOOST, test x"1" = x"2")
 
 # --enable-opencc
 AC_ARG_ENABLE(opencc,
@@ -145,10 +216,6 @@
 Makefile
 libpyzy.spec
+1 −1
Original line number Diff line number Diff line
@@ -6,4 +6,4 @@ export DH_VERBOSE=1
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-opencc --enable-db-android --enable-db-open-phrase
	dh_auto_configure -- --enable-opencc --enable-db-android --enable-db-open-phrase --enable-boost=no