diff options
| author | 2014-02-20 01:56:43 (JST) | |
|---|---|---|
| committer | 2014-02-20 02:37:28 (JST) | |
| commit | a68fc66f7f9c5eb4965c5e2d38ef12fb504b2bc0 (patch) | |
| tree | b1c6dd62d0603334da42b837d5e011956501660c | |
| parent | 6b7c698e76d87ac0e16c40bed5884289c9a13c72 (diff) | |
| download | cgit-a68fc66f7f9c5eb4965c5e2d38ef12fb504b2bc0.zip cgit-a68fc66f7f9c5eb4965c5e2d38ef12fb504b2bc0.tar.gz | |
Use liblua5.1-dev in wheezy to improve module usability
Fix 0003-pkg-config-lua5.1.patch.
Remove curl and ca-certificates from Build-Depends.
| -rw-r--r-- | debian/control | 4 | ||||
| -rw-r--r-- | debian/patches/0003-pkg-config-lua5.1.patch (renamed from debian/patches/0003-pkg-config-lua52.patch) | 10 | ||||
| -rw-r--r-- | debian/patches/series | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/debian/control b/debian/control index 1c5be6c..2f2436a 100644 --- a/debian/control +++ b/debian/control | |||
| @@ -5,9 +5,7 @@ Maintainer: YAEGASHI Takeshi <yaegashi@debian.org> | |||
| 5 | Build-Depends: debhelper (>= 9.0.0), | 5 | Build-Depends: debhelper (>= 9.0.0), |
| 6 | pkg-config, | 6 | pkg-config, |
| 7 | libssl-dev, | 7 | libssl-dev, |
| 8 | libluajit-5.1-dev | liblua5.2-dev, | 8 | libluajit-5.1-dev | liblua5.1-dev, |
| 9 | curl, | ||
| 10 | ca-certificates, | ||
| 11 | asciidoc, | 9 | asciidoc, |
| 12 | libxml2-utils, | 10 | libxml2-utils, |
| 13 | xsltproc, | 11 | xsltproc, |
diff --git a/debian/patches/0003-pkg-config-lua52.patch b/debian/patches/0003-pkg-config-lua5.1.patch index 74151eb..753ba78 100644 --- a/debian/patches/0003-pkg-config-lua52.patch +++ b/debian/patches/0003-pkg-config-lua5.1.patch | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | From: YAEGASHI Takeshi <yaegashi@debian.org> | 1 | From: YAEGASHI Takeshi <yaegashi@debian.org> |
| 2 | Date: Tue, 18 Feb 2014 07:24:45 +0900 | 2 | Date: Tue, 18 Feb 2014 07:24:45 +0900 |
| 3 | Subject: pkg-config lua52 | 3 | Subject: pkg-config lua5.1 |
| 4 | 4 | ||
| 5 | pkg-config must use lua52.pc provided by liblua5.2-dev. | 5 | pkg-config must use lua5.1.pc provided by liblua5.1-dev. |
| 6 | --- | 6 | --- |
| 7 | cgit.mk | 4 ++-- | 7 | cgit.mk | 4 ++-- |
| 8 | 1 file changed, 2 insertions(+), 2 deletions(-) | 8 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 9 | 9 | ||
| 10 | diff --git a/cgit.mk b/cgit.mk | 10 | diff --git a/cgit.mk b/cgit.mk |
| 11 | index 056c3f9..41b514e 100644 | 11 | index 056c3f9..32238d4 100644 |
| 12 | --- a/cgit.mk | 12 | --- a/cgit.mk |
| 13 | +++ b/cgit.mk | 13 | +++ b/cgit.mk |
| 14 | @@ -31,8 +31,8 @@ ifdef NO_LUA | 14 | @@ -31,8 +31,8 @@ ifdef NO_LUA |
| @@ -17,8 +17,8 @@ index 056c3f9..41b514e 100644 | |||
| 17 | LUAJIT_LIBS := $(shell pkg-config --libs luajit 2>/dev/null) | 17 | LUAJIT_LIBS := $(shell pkg-config --libs luajit 2>/dev/null) |
| 18 | -LUA_LIBS := $(shell pkg-config --libs lua 2>/dev/null) | 18 | -LUA_LIBS := $(shell pkg-config --libs lua 2>/dev/null) |
| 19 | -LUA_CFLAGS := $(shell pkg-config --cflags lua 2>/dev/null) | 19 | -LUA_CFLAGS := $(shell pkg-config --cflags lua 2>/dev/null) |
| 20 | +LUA_LIBS := $(shell pkg-config --libs lua52 2>/dev/null) | 20 | +LUA_LIBS := $(shell pkg-config --libs lua5.1 2>/dev/null) |
| 21 | +LUA_CFLAGS := $(shell pkg-config --cflags lua52 2>/dev/null) | 21 | +LUA_CFLAGS := $(shell pkg-config --cflags lua5.1 2>/dev/null) |
| 22 | ifeq (JIT,$(LUA_IMPLEMENTATION)) | 22 | ifeq (JIT,$(LUA_IMPLEMENTATION)) |
| 23 | ifeq ($(strip $(LUAJIT_LIBS)),) | 23 | ifeq ($(strip $(LUAJIT_LIBS)),) |
| 24 | $(error LuaJIT specified via LUA_IMPLEMENTATION=JIT, but library could not be found.) | 24 | $(error LuaJIT specified via LUA_IMPLEMENTATION=JIT, but library could not be found.) |
diff --git a/debian/patches/series b/debian/patches/series index 3d58fec..efbdfb6 100644 --- a/debian/patches/series +++ b/debian/patches/series | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | 0001-make-a2x-skip-xmllint.patch | 1 | 0001-make-a2x-skip-xmllint.patch |
| 2 | 0002-introduce-debian-standard-build-flags.patch | 2 | 0002-introduce-debian-standard-build-flags.patch |
| 3 | 0003-pkg-config-lua52.patch | 3 | 0003-pkg-config-lua5.1.patch |
