summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6142d67)
raw | patch | inline | side by side (parent: 6142d67)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Jun 2009 16:26:43 +0000 (18:26 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Jun 2009 16:26:43 +0000 (18:26 +0200) |
This is an upstream patch fixing build issues with asciidoc 8.4, thanks to
Lucas Nussbaum for reporting this.
Closes: #534046
Also, updated changelog to 0.14.1-2.
Lucas Nussbaum for reporting this.
Closes: #534046
Also, updated changelog to 0.14.1-2.
debian/changelog | patch | blob | history | |
debian/control | patch | blob | history | |
debian/patches/00list | [new file with mode: 0644] | patch | blob |
debian/patches/asciidoc-8.4.dpatch | [new file with mode: 0755] | patch | blob |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 9d80505975252895b5d88cce0fb237d1c6199cc9..033d95edfea38cda70e9e7ad750906a791d33a79 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+tig (0.14.1-2) unstable; urgency=low
+
+ * debian/patches:
+ - Added asciidoc-8.4.dpatch - upstream patch fixing build issues with
+ asciidoc 8.4, thanks to Lucas Nussbaum for reporting this
+ (Closes: #534046).
+
+ -- Sebastian Harl <tokkee@debian.org> Sun, 21 Jun 2009 18:24:35 +0200
+
tig (0.14.1-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/control b/debian/control
index bb503e8514b3ad61ec394efbba00aa0e112a023d..439e608052192aaa9fd218e21351c3c19ab26b37 100644 (file)
--- a/debian/control
+++ b/debian/control
Section: vcs
Priority: optional
Maintainer: Sebastian Harl <sh@tokkee.org>
-Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), git-core, libncursesw5-dev, asciidoc (>= 7), xmlto, docbook-utils
+Build-Depends: debhelper (>= 5), dpatch, dpkg-dev (>= 1.14.6), git-core, libncursesw5-dev, asciidoc (>= 7), xmlto, docbook-utils
Standards-Version: 3.8.1
Homepage: http://jonas.nitro.dk/tig/
Vcs-Git: git://git.tokkee.org/pkg-tig.git
diff --git a/debian/patches/00list b/debian/patches/00list
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+asciidoc-8.4.dpatch
+
diff --git a/debian/patches/asciidoc-8.4.dpatch b/debian/patches/asciidoc-8.4.dpatch
--- /dev/null
@@ -0,0 +1,55 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## asciidoc-8.4.dpatch by Jonas Fonseca <fonseca@diku.dk>
+##
+## DP: Fix build issues with asciidoc 8.4.
+## DP:
+## DP: This version seems to be stricter about presubs attributes.
+## DP: Based on a patch by Ingmar Vanhassel.
+
+@DPATCH@
+
+diff a/tigrc.5.txt b/tigrc.5.txt
+--- a/tigrc.5.txt
++++ b/tigrc.5.txt
+@@ -9,11 +9,9 @@ tigrc - tig configuration file
+ SYNOPSIS
+ --------
+ [verse]
+-.............................................................................
+ *set* 'variable' *=* 'value'
+ *bind* 'keymap' 'key' 'action'
+ *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
+-.............................................................................
+
+
+ DESCRIPTION
+@@ -38,9 +36,7 @@ A few selective variables can be configured via the set command. The syntax
+ is:
+
+ [verse]
+-..............................................................................
+ *set* variables *=* value
+-..............................................................................
+
+ Examples:
+
+@@ -146,9 +142,7 @@ Using bind commands keys can be mapped to an action when pressed in a given
+ key map. The syntax is:
+
+ [verse]
+-..............................................................................
+ *bind* 'keymap' 'key' 'action'
+-..............................................................................
+
+ Examples:
+
+@@ -363,9 +357,7 @@ background combinations to certain areas. Optionally, an attribute can be
+ given as the last parameter. The syntax is:
+
+ [verse]
+-..............................................................................
+ *color* 'area' 'fgcolor' 'bgcolor' '[attributes]'
+-..............................................................................
+
+ Examples:
+
diff --git a/debian/rules b/debian/rules
index 54cb1cfe2a2f6668c5e98c9fae5a6a1c1efa5242..0cd4b57b00c0afb3242994c0ae8c09628d2fb408 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CFLAGS += -O2
endif
+include /usr/share/dpatch/dpatch.make
+
config.status: configure
dh_testdir
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
build: build-stamp
-build-stamp: config.status
+build-stamp: config.status $(DPATCH_STAMPFN)
dh_testdir
$(MAKE) all doc
touch build-stamp
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp