Fix build problem in ppa
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 9 Jul 2010 07:35:41 +0000 (15:35 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Fri, 9 Jul 2010 07:35:41 +0000 (15:35 +0800)
configure.ac
debian/control
debian/rules
lua/Makefile.am

index 27b2bcb..14fac0c 100644 (file)
@@ -158,7 +158,6 @@ AC_ARG_ENABLE(lua-extension,
          [do not build lua extension]),
     [enable_lua_extension=$enableval],
     [enable_lua_extension=yes]
-
 )
 
 # check lua
index 6f3c75a..5784149 100644 (file)
@@ -5,7 +5,7 @@ Maintainer: LI Daobing <lidaobing@debian.org>
 Build-Depends: debhelper (>= 7), autotools-dev, pkg-config,
  libibus-dev (>= 1.2.99), libsqlite3-dev (>= 3.6), sqlite3, uuid-dev,
  python-support, intltool (>= 0.35.0), libboost-signals-dev (>= 1.39),
- libopencc-dev (>= 0.0.4~pre.1)
+ libopencc-dev (>= 0.0.4~pre.1), liblua5.1-0-dev
 Standards-Version: 3.8.4
 Homepage: http://code.google.com/p/ibus
 Vcs-Bzr: lp:~lidaobing/ibus/ibus-pinyin
index 1a95429..3ca3b07 100755 (executable)
@@ -32,7 +32,7 @@ endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
-       dh_auto_configure -- --enable-opencc
+       dh_auto_configure -- --enable-opencc --enable-lua-extension
 
 build: build-stamp
 
index e38c14c..d357e58 100644 (file)
@@ -78,3 +78,7 @@ lua_ext_console_CFLAGS = \
 lua_ext_console_LDADD = \
     libpylua.la \
     $(NULL)
+
+EXTRA_DIST = \
+       base.lua \
+       $(NULL)