]> git.deb.at Git - pkg/abook.git/commitdiff
Imported Debian patch 0.5.6-5 debian/0.5.6-5
authorGerfried Fuchs <rhonda@debian.at>
Thu, 24 Jan 2008 19:01:26 +0000 (20:01 +0100)
committerGerfried Fuchs <rhonda@debian.org>
Thu, 22 Mar 2012 16:33:31 +0000 (17:33 +0100)
debian/changelog
debian/control
debian/patches/01search_ctrl-d_segfault_fix [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/po/ru.po [new file with mode: 0644]
debian/rules

index a7ba7cdf4db7685e0568c07d05d65c302b9b5296..38cb3d9999c3ad424c3da2371aeac2691b1c88a3 100644 (file)
@@ -1,3 +1,12 @@
+abook (0.5.6-5) unstable; urgency=low
+
+  * Add Homepage to source control stanca.
+  * Bump Standards-Version to 3.7.3, menu file was already updated.
+  * New debconf translation: Russion by Yuri Kozlov (closes: #451813)
+  * Pull search_ctrl-d_segfault_fix patch from upstream (closes: #462145)
+
+ -- Gerfried Fuchs <rhonda@debian.at>  Thu, 24 Jan 2008 20:01:26 +0100
+
 abook (0.5.6-4) unstable; urgency=low
 
   * New debconf translation: Dutch by Bart Cornelis (closes: #415513)
index 7ecaf6c609019648372e168f8727f7926824d4fd..ba175a9dc02be8fb19f19901a23d28713256cfeb 100644 (file)
@@ -2,8 +2,9 @@ Source: abook
 Section: mail
 Priority: optional
 Maintainer: Gerfried Fuchs <rhonda@debian.at>
-Standards-Version: 3.7.2
-Build-Depends: libncursesw5-dev, libreadline5-dev | libreadline-dev, po-debconf
+Standards-Version: 3.7.3
+Build-Depends: libncursesw5-dev, libreadline5-dev | libreadline-dev, po-debconf, quilt
+Homepage: http://abook.sourceforge.net/
 
 Package: abook
 Architecture: any
diff --git a/debian/patches/01search_ctrl-d_segfault_fix b/debian/patches/01search_ctrl-d_segfault_fix
new file mode 100644 (file)
index 0000000..e5924d2
--- /dev/null
@@ -0,0 +1,20 @@
+Index: abook-0.5.6/ui.c
+===================================================================
+--- abook-0.5.6.orig/ui.c
++++ abook-0.5.6/ui.c
+@@ -569,9 +569,13 @@ ui_find(int next)
+       } else {
+               char *s;
+               s = ui_readline("/", findstr, MAX_FIELD_LEN - 1, 0);
+-              strncpy(findstr, s, MAX_FIELD_LEN);
+-              free(s);
+               refresh_screen();
++              if(s == NULL) {
++                      return; /* user cancelled (ctrl-G) */
++              } else {
++                      strncpy(findstr, s, MAX_FIELD_LEN);
++                      free(s);
++              }
+       }
+       if( (item = find_item(findstr, curitem + !!next, search_fields)) < 0 &&
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..083b0fd
--- /dev/null
@@ -0,0 +1 @@
+01search_ctrl-d_segfault_fix
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644 (file)
index 0000000..182d0fa
--- /dev/null
@@ -0,0 +1,40 @@
+# translation of ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Yuri Kozlov <kozlov.y@gmail.com>, 2007.
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5.6-4\n"
+"Report-Msgid-Bugs-To: abook@packages.debian.org\n"
+"POT-Creation-Date: 2007-01-22 23:01+0100\n"
+"PO-Revision-Date: 2007-11-18 21:39+0300\n"
+"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Do you want to enable abook system wide for mutt?"
+msgstr "Включить общесистемное использование abook в mutt?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"abook offers the possibility to be used as query backend from within mutt.  "
+"If you acknowledge this question the package will create an /etc/Muttrc.d/"
+"abook.rc file that enables querying the abook database and adding mail "
+"addresses to abook with pressing \"A\" from pager mode."
+msgstr ""
+"abook можно использовать как сервер запросов из mutt. "
+"Если вы ответите утвердительно, то будет создан файл "
+"/etc/Muttrc.d/abook.rc, настройки которого активируют возможность "
+"запросов к базе данных abook и настраивают добавление почтовых адресов "
+"в abook по нажатию клавиши \"A\" из режима просмотра письма."
+
index c7eef3037a4915b3c1d9a46123b7facc8632a2a4..21ac1efde4ae04606e3de84a33783d3516994a06 100755 (executable)
@@ -3,6 +3,8 @@
 PKG = abook
 TMP = $(CURDIR)/debian/$(PKG)
 
+QUILT_STAMPFN = patch-stamp
+include /usr/share/quilt/quilt.make
 
 CFLAGS = -g -Wall
 INSTALL = install
@@ -24,7 +26,7 @@ endif
 #export DH_VERBOSE=1
 
 
-clean:
+clean: unpatch
        $(checkdir)
        $(checkroot)
        rm -rf build-stamp $(TMP) debian/files debian/substvars
@@ -32,7 +34,7 @@ clean:
 
 
 build: build-stamp
-build-stamp:
+build-stamp: patch-stamp
        $(checkdir)
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man \
                 --infodir=\$${prefix}/share/info