summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b3a0728)
raw | patch | inline | side by side (parent: b3a0728)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 10 Apr 2007 20:55:09 +0000 (20:55 +0000) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 10 Apr 2007 20:55:09 +0000 (20:55 +0000) |
Removed infiniteloop.dpatch, splitview.dpatch and v0.5.dpatch.
debian/changelog | patch | blob | history | |
debian/control | patch | blob | history | |
debian/patches/00list | [deleted file] | patch | blob | history |
debian/patches/infiniteloop.dpatch | [deleted file] | patch | blob | history |
debian/patches/splitview.dpatch | [deleted file] | patch | blob | history |
debian/patches/v0.5.dpatch | [deleted file] | patch | blob | history |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 88e45f7265be057943bfa643b398fa0adae274f1..0c4a2fc721b4dec5183d8b01f612bff48328edd2 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+tig (0.6-1) unstable; urgency=low
+
+ * New upstream release.
+ - Handle cursor keys in split pane mode correctly (Closes: #410394).
+ * Removed infiniteloop.dpatch - included in the new release.
+ * Removed splitview.dpatch - included in the new release.
+ * Removed v0.5.dpatch - included in the new release.
+
+ -- Sebastian Harl <sh@tokkee.org> Tue, 10 Apr 2007 20:38:41 +0000
+
tig (0.5-3) unstable; urgency=low
* Added upstream patch by Jonas Fonseca <fonseca@diku.dk> to update the
diff --git a/debian/control b/debian/control
index a22bc43c18e839766baea2010abfd19c204198bc..e87c91cf62731ad0c66e5418e9d4137ba9a41055 100644 (file)
--- a/debian/control
+++ b/debian/control
Section: utils
Priority: optional
Maintainer: Sebastian Harl <sh@tokkee.org>
-Build-Depends: debhelper (>= 5), libncurses5-dev, asciidoc (>= 7), xmlto, docbook-utils, dpatch
+Build-Depends: debhelper (>= 5), libncurses5-dev, asciidoc (>= 7), xmlto, docbook-utils
Standards-Version: 3.7.2
Package: tig
diff --git a/debian/patches/00list b/debian/patches/00list
--- a/debian/patches/00list
+++ /dev/null
@@ -1,4 +0,0 @@
-infiniteloop.dpatch
-splitview.dpatch
-v0.5.dpatch
-
diff --git a/debian/patches/infiniteloop.dpatch b/debian/patches/infiniteloop.dpatch
+++ /dev/null
@@ -1,36 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## infiniteloop.dpatch by Jonas Fonseca <fonseca@diku.dk>
-##
-## DP: add_keybinding: always allocate the new keybinding
-## DP:
-## DP: Fixes infinite loop repoted by Miciah. Also simply continue when wgetch
-## DP: returns ERR (-1) instead of calling get_keybinding() etc.
-
-@DPATCH@
-
-diff --git a/tig.c b/tig.c
-index aac7c4e..6c2b7d0 100644
---- a/tig.c
-+++ b/tig.c
-@@ -767,10 +767,9 @@ static struct keybinding *keybindings[AR
- static void
- add_keybinding(enum keymap keymap, enum request request, int key)
- {
-- struct keybinding *keybinding = keybindings[keymap];
-+ struct keybinding *keybinding;
-
-- if (!keybinding)
-- keybinding = calloc(1, sizeof(*keybinding));
-+ keybinding = calloc(1, sizeof(*keybinding));
- if (!keybinding)
- die("Failed to allocate keybinding");
-
-@@ -3532,6 +3531,8 @@ main(int argc, char *argv[])
-
- /* Refresh, accept single keystroke of input */
- key = wgetch(status_win);
-+ if (key == ERR)
-+ continue;
-
- request = get_keybinding(display[current_view]->keymap, key);
-
diff --git a/debian/patches/splitview.dpatch b/debian/patches/splitview.dpatch
+++ /dev/null
@@ -1,40 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## splitview.dpatch by Jonas Fonseca <fonseca@diku.dk>
-##
-## DP: Never split the tree view when opening another tree view.
-## DP:
-## DP: The resulting bogus display[] state ment that the blob view was not
-## DP: initialized causing segmentation faults in the redrawing code.
-## DP:
-## DP: Reported by Alexey Tourbin <at@altlinux.ru>, Josh Triplett
-## DP: <josh@freedesktop.org> and Jamey Sharp <sharpone@debian.org>
-
-@DPATCH@
-
-diff --git a/tig.c b/tig.c
-index fcfbc43..3b320e6 100644
---- a/tig.c
-+++ b/tig.c
-@@ -2580,7 +2580,7 @@ tree_read(struct view *view, char *text)
- static bool
- tree_enter(struct view *view, struct line *line)
- {
-- enum open_flags flags = display[0] == view ? OPEN_SPLIT : OPEN_DEFAULT;
-+ enum open_flags flags;
- enum request request;
-
- switch (line->type) {
-@@ -2610,11 +2610,12 @@ tree_enter(struct view *view, struct lin
-
- /* Trees and subtrees share the same ID, so they are not not
- * unique like blobs. */
-- flags |= OPEN_RELOAD;
-+ flags = OPEN_RELOAD;
- request = REQ_VIEW_TREE;
- break;
-
- case LINE_TREE_FILE:
-+ flags = display[0] == view ? OPEN_SPLIT : OPEN_DEFAULT;
- request = REQ_VIEW_BLOB;
- break;
-
diff --git a/debian/patches/v0.5.dpatch b/debian/patches/v0.5.dpatch
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## v0.5.dpatch by Jonas Fonseca <fonseca@diku.dk>
-##
-## DP: Update the version string.
-
-@DPATCH@
-
-diff --git a/tig.c b/tig.c
-index f5f536c..aac7c4e 100644
---- a/tig.c
-+++ b/tig.c
-@@ -12,7 +12,7 @@
- */
-
- #ifndef VERSION
--#define VERSION "tig-0.4.git"
-+#define VERSION "tig-0.5.git"
- #endif
-
- #ifndef DEBUG
diff --git a/debian/rules b/debian/rules
index ceae06e9991380c7de25217f083be7adf00fd45a..3df0f09d56fa029c1aa13d9b2c7305bdba7b50ac 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CFLAGS += -O2
endif
-include /usr/share/dpatch/dpatch.make
-
build: build-stamp
-build-stamp: patch
+build-stamp:
dh_testdir
CFLAGS="$(FLAGS)" $(MAKE) all doc
touch build-stamp
-clean: unpatch
+clean:
dh_testdir
dh_testroot
rm -f build-stamp