[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2021-07-31 Thread Sam James
commit: aa7954f2eed1aa85f1266e31c0c483a4c774eb17
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 22:16:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 22:16:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa7954f2

app-misc/abook: fix DEPEND, simplify ebuild

- Fix DEPEND to include RDEPEND
- Note that gettext is used as a header too, so DEPEND as well
- Simplify src_compile / use flag-o-matic
- Drop src_install

Thanks-to: David Seifert  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 .../{abook-0.6.1-r3.ebuild => abook-0.6.1-r4.ebuild}  | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/app-misc/abook/abook-0.6.1-r3.ebuild 
b/app-misc/abook/abook-0.6.1-r4.ebuild
similarity index 86%
rename from app-misc/abook/abook-0.6.1-r3.ebuild
rename to app-misc/abook/abook-0.6.1-r4.ebuild
index d0229f26585..f6e46075e42 100644
--- a/app-misc/abook/abook-0.6.1-r3.ebuild
+++ b/app-misc/abook/abook-0.6.1-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_P="${P/_/}"
 DESCRIPTION="Abook is a text-based addressbook program designed to use with 
mutt mail client"
@@ -20,8 +20,9 @@ RDEPEND="
sys-libs/readline:=
dev-libs/libvformat
nls? ( virtual/libintl )"
-
-DEPEND="
+DEPEND="${RDEPEND}
+   nls? ( sys-devel/gettext )"
+BDEPEND="
sys-devel/autoconf-archive
virtual/pkgconfig
nls? ( sys-devel/gettext )
@@ -49,10 +50,8 @@ src_configure() {
 }
 
 src_compile() {
-   # bug 570428
-   emake CFLAGS="${CFLAGS} -std=gnu89"
-}
+   # bug #570428
+   append-cflags -std=gnu89
 
-src_install() {
-   default
+   emake CFLAGS="${CFLAGS}"
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/files/

2021-07-30 Thread Sam James
commit: 64dba3109dd18f5a239f63579b12a4d1b17a1c2e
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 02:23:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 03:25:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64dba310

app-misc/abook: fix linking order for ncurses

Closes: https://bugs.gentoo.org/803155
Signed-off-by: Sam James  gentoo.org>

 ...k-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch | 34 ++
 1 file changed, 29 insertions(+), 5 deletions(-)

diff --git 
a/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch 
b/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
index 00b8e444904..8d7a6cddd7c 100644
--- a/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
+++ b/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
@@ -1,11 +1,36 @@
+From 243d3c265289171f59de68f5da4de086afb58215 Mon Sep 17 00:00:00 2001
 From: Sam James 
-Date: Wed, 21 Apr 2021 06:06:13 +0100
-Subject: Use PKG_CHECK_MODULES for ncurses
+Date: Sat, 31 Jul 2021 03:21:28 +0100
+Subject: [PATCH] Use PKG_CHECK_MODULES for ncurses
 
 We don't _always_ have split tinfo, e.g. Prefix.
+
+Signed-off-by: Sam James 
+---
+ Makefile.am  |  4 ++--
+ configure.ac | 26 +-
+ 2 files changed, 3 insertions(+), 27 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8faaa11..18c6892 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -22,8 +22,8 @@ abook_SOURCES = abook.c abook_rl.c database.c edit.c \
+ EXTRA_DIST = config.rpath  ANNOUNCE BUGS FAQ abook.1 abookrc.5 sample.abookrc 
\
+   abook.spec contrib doc/HOWTO.translating_abook RELEASE_NOTES
+ 
+-abook_LDADD = @LIBINTL@
+-
++abook_CFLAGS = $(ncurses_CFLAGS)
++abook_LDADD = @LIBINTL@ $(ncurses_LIBS)
+ 
+ install-data-local:
+   $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
+diff --git a/configure.ac b/configure.ac
+index 5a9ae3b..73a7af0 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -74,31 +74,9 @@ dnl ---
+@@ -74,31 +74,7 @@ dnl ---
  dnl (n)curses detection
  dnl ---
  
@@ -35,10 +60,9 @@ We don't _always_ have split tinfo, e.g. Prefix.
 -  [CF_CURSES_LIBS])
 -  ])
 +PKG_CHECK_MODULES(ncurses, [ncursesw ncurses])
-+LDFLAGS="${ncurses_LIBS} $LDFLAGS"
-+CPPFLAGS="${ncurses_CFLAGS} $CPPFLAGS"
  
  dnl --
  dnl end of (n)curses detection
 -- 
+2.32.0
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2021-07-30 Thread Sam James
commit: 78a6a2fcafdb1a7e838ebfd3d6526f440758a1a8
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 31 02:24:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 31 03:25:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a6a2fc

app-misc/abook: update EAPI 6 -> 7

Signed-off-by: Sam James  gentoo.org>

 app-misc/abook/abook-0.6.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1-r3.ebuild 
b/app-misc/abook/abook-0.6.1-r3.ebuild
index 0d55af71738..d0229f26585 100644
--- a/app-misc/abook/abook-0.6.1-r3.ebuild
+++ b/app-misc/abook/abook-0.6.1-r3.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/files/

2021-07-17 Thread Cédric Krier
commit: 181f23e3460b37bb9d6142614e51abaf2b450d91
Author: Cédric Krier  gentoo  org>
AuthorDate: Wed Jul 14 14:46:50 2021 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat Jul 17 16:02:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181f23e3

app-misc/abook: Restore link to ncursesw

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Cédric Krier  gentoo.org>

 .../abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch 
b/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
index e6f98906af3..00b8e444904 100644
--- a/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
+++ b/app-misc/abook/files/abook-0.6.1-use-PKG_CHECK_MODULES-for-ncurses.patch
@@ -34,7 +34,7 @@ We don't _always_ have split tinfo, e.g. Prefix.
 -  AC_CHECK_HEADERS(ncurses.h)],
 -  [CF_CURSES_LIBS])
 -  ])
-+PKG_CHECK_MODULES(ncurses, ncurses)
++PKG_CHECK_MODULES(ncurses, [ncursesw ncurses])
 +LDFLAGS="${ncurses_LIBS} $LDFLAGS"
 +CPPFLAGS="${ncurses_CFLAGS} $CPPFLAGS"
  



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2020-07-11 Thread Cédric Krier
commit: a59f165b462be64747878762c4d76fc7bf10d33e
Author: Cédric Krier  gentoo  org>
AuthorDate: Sat Jul 11 07:21:44 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat Jul 11 07:21:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59f165b

app-misc/abook: clean old version

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Cédric Krier  gentoo.org>

 app-misc/abook/abook-0.6.1.ebuild | 46 ---
 app-misc/abook/metadata.xml   |  1 -
 2 files changed, 47 deletions(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
deleted file mode 100644
index 5833107d676..000
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools
-
-MY_P="${P/_/}"
-DESCRIPTION="Abook is a text-based addressbook program designed to use with 
mutt mail client"
-HOMEPAGE="http://abook.sourceforge.net/;
-SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
-IUSE="nls"
-
-RDEPEND="sys-libs/ncurses
-   sys-libs/readline
-   dev-libs/libvformat
-   nls? ( virtual/libintl )"
-DEPEND="nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   # TODO: do the right thing and find out whats wrong with Makefile.in
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --with-curses \
-   --with-readline \
-   --enable-vformat \
-   $(use_enable nls)
-}
-
-src_compile() {
-   # bug 570428
-   emake CFLAGS="${CFLAGS} -std=gnu89"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-   dodoc BUGS ChangeLog FAQ README TODO sample.abookrc
-}

diff --git a/app-misc/abook/metadata.xml b/app-misc/abook/metadata.xml
index 164d4e3717b..dd19a67bf75 100644
--- a/app-misc/abook/metadata.xml
+++ b/app-misc/abook/metadata.xml
@@ -4,7 +4,6 @@

c...@gentoo.org

-   abook is a text-based addressbook program for the mutt 
mail client.

abook




[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2020-05-28 Thread Agostino Sarubbo
commit: 674043c256959c9373d16e29117a867155838f1f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu May 28 15:43:13 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu May 28 15:43:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674043c2

app-misc/abook: sparc stable wrt bug #699968

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/abook/abook-0.6.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1-r2.ebuild 
b/app-misc/abook/abook-0.6.1-r2.ebuild
index 22e17e537e1..77cc9716f4f 100644
--- a/app-misc/abook/abook-0.6.1-r2.ebuild
+++ b/app-misc/abook/abook-0.6.1-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ppc ppc64 sparc ~x86"
 IUSE="nls"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2020-05-26 Thread Agostino Sarubbo
commit: 324956578bcd0aa07a7e01c12c4d7d28b2e51a1e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May 26 19:30:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May 26 19:31:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32495657

app-misc/abook: amd64 stable wrt bug #699968

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/abook/abook-0.6.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1-r2.ebuild 
b/app-misc/abook/abook-0.6.1-r2.ebuild
index 1fb0e60e2ec..22e17e537e1 100644
--- a/app-misc/abook/abook-0.6.1-r2.ebuild
+++ b/app-misc/abook/abook-0.6.1-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ppc ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2020-05-25 Thread Sergei Trofimovich
commit: 3822f67f01bfecc9ec0594d450da899d1f3cf9f8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:31:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:31:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3822f67f

app-misc/abook: stable 0.6.1-r2 for ppc, bug #699968

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/abook/abook-0.6.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1-r2.ebuild 
b/app-misc/abook/abook-0.6.1-r2.ebuild
index 9044f0bcee2..1fb0e60e2ec 100644
--- a/app-misc/abook/abook-0.6.1-r2.ebuild
+++ b/app-misc/abook/abook-0.6.1-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ppc ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2020-05-25 Thread Sergei Trofimovich
commit: 7f3fcc1f6c47e2fd0f2272995d66c3185cef57f8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon May 25 09:26:03 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon May 25 09:26:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f3fcc1f

app-misc/abook: stable 0.6.1-r2 for ppc64, bug #699968

Package-Manager: Portage-2.3.100, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/abook/abook-0.6.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1-r2.ebuild 
b/app-misc/abook/abook-0.6.1-r2.ebuild
index 787ecf2af56..9044f0bcee2 100644
--- a/app-misc/abook/abook-0.6.1-r2.ebuild
+++ b/app-misc/abook/abook-0.6.1-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/, app-misc/abook/files/

2020-05-24 Thread Cédric Krier
commit: 4005f7db3a9be036144792e24e1ab8446b52f3a2
Author: Cédric Krier  gentoo  org>
AuthorDate: Sun May 24 17:23:00 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sun May 24 17:23:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4005f7db

app-misc/abook: Fix link to tinfo and vformat

Closes: https://bugs.gentoo.org/679322
Bug: https://bugs.gentoo.org/699968
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Cédric Krier  gentoo.org>

 .../abook/{abook-0.6.1-r1.ebuild => abook-0.6.1-r2.ebuild}|  3 ++-
 app-misc/abook/files/abook-0.6.1-tinfo.patch  |  4 ++--
 app-misc/abook/files/abook-0.6.1-vformat.patch| 11 +++
 app-misc/abook/metadata.xml   |  4 +++-
 4 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/app-misc/abook/abook-0.6.1-r1.ebuild 
b/app-misc/abook/abook-0.6.1-r2.ebuild
similarity index 92%
rename from app-misc/abook/abook-0.6.1-r1.ebuild
rename to app-misc/abook/abook-0.6.1-r2.ebuild
index 37e0289c6c3..787ecf2af56 100644
--- a/app-misc/abook/abook-0.6.1-r1.ebuild
+++ b/app-misc/abook/abook-0.6.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,6 +28,7 @@ S="${WORKDIR}/${MY_P}"
 DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc )
 PATCHES=(
"${FILESDIR}"/${PN}-0.6.1-tinfo.patch
+   "${FILESDIR}"/${PN}-0.6.1-vformat.patch
 )
 
 src_prepare() {

diff --git a/app-misc/abook/files/abook-0.6.1-tinfo.patch 
b/app-misc/abook/files/abook-0.6.1-tinfo.patch
index e8c4585dbcb..3c12032932f 100644
--- a/app-misc/abook/files/abook-0.6.1-tinfo.patch
+++ b/app-misc/abook/files/abook-0.6.1-tinfo.patch
@@ -4,7 +4,7 @@
  
  AC_CHECK_LIB(ncursesw, initscr,
[LIBS="$LIBS -lncursesw"
-+  AC_SEARCH_LIBS(cbreak, tinfo)
++  AC_SEARCH_LIBS(cbreak, tinfow, LIBS="$LIBS -ltinfow")
if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then
CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
fi
@@ -12,7 +12,7 @@
ac_widec_possible=no
AC_CHECK_LIB(ncurses, initscr,
[LIBS="$LIBS -lncurses"
-+  AC_SEARCH_LIBS(cbreak, tinfo)
++  AC_SEARCH_LIBS(cbreak, tinfo, LIBS="$LIBS -ltinfo")
if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; 
then
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
fi

diff --git a/app-misc/abook/files/abook-0.6.1-vformat.patch 
b/app-misc/abook/files/abook-0.6.1-vformat.patch
new file mode 100644
index 000..0808852e6b2
--- /dev/null
+++ b/app-misc/abook/files/abook-0.6.1-vformat.patch
@@ -0,0 +1,11 @@
+diff -ru abook-0.6.1.orig/configure.ac abook-0.6.1/configure.ac
+--- abook-0.6.1.orig/configure.ac  2020-05-24 19:10:09.826143646 +0200
 abook-0.6.1/configure.ac   2020-05-24 19:10:52.088381318 +0200
+@@ -140,6 +140,7 @@
+ if test x$vformat = xtrue; then
+AC_CHECK_HEADER([vf_iface.h], [
+  AC_CHECK_LIB([vformat], [vf_read_file], [
++ LIBS="$LIBS -lvformat"
+  MODULES="$MODULES m_vcf"
+  AC_DEFINE(HAVE_VFORMAT,1,[Defined if the vformat library is available])
+  have_vformat=yes

diff --git a/app-misc/abook/metadata.xml b/app-misc/abook/metadata.xml
index d55809e3844..164d4e3717b 100644
--- a/app-misc/abook/metadata.xml
+++ b/app-misc/abook/metadata.xml
@@ -1,7 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   c...@gentoo.org
+   
abook is a text-based addressbook program for the mutt 
mail client.

abook



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/, app-misc/abook/files/

2018-03-02 Thread Jeroen Roovers
commit: 693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Mar  2 10:14:16 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Mar  2 10:14:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693c7eae

app-misc/abook: Fix building against sys-libs/ncurses[tinfo] (bug #606478).

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/abook/abook-0.6.1-r1.ebuild |  7 ---
 app-misc/abook/files/abook-0.6.1-tinfo.patch | 18 ++
 2 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/app-misc/abook/abook-0.6.1-r1.ebuild 
b/app-misc/abook/abook-0.6.1-r1.ebuild
index 4d1dccd13b8..37e0289c6c3 100644
--- a/app-misc/abook/abook-0.6.1-r1.ebuild
+++ b/app-misc/abook/abook-0.6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -26,11 +26,12 @@ DEPEND="nls? ( sys-devel/gettext )"
 S="${WORKDIR}/${MY_P}"
 
 DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc )
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.6.1-tinfo.patch
+)
 
 src_prepare() {
default
-
-   # TODO: do the right thing and find out whats wrong with Makefile.in
eautoreconf
 }
 

diff --git a/app-misc/abook/files/abook-0.6.1-tinfo.patch 
b/app-misc/abook/files/abook-0.6.1-tinfo.patch
new file mode 100644
index 000..e8c4585dbcb
--- /dev/null
+++ b/app-misc/abook/files/abook-0.6.1-tinfo.patch
@@ -0,0 +1,18 @@
+--- a/configure.ac
 b/configure.ac
+@@ -86,6 +86,7 @@
+ 
+ AC_CHECK_LIB(ncursesw, initscr,
+   [LIBS="$LIBS -lncursesw"
++  AC_SEARCH_LIBS(cbreak, tinfo)
+   if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then
+   CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+   fi
+@@ -93,6 +94,7 @@
+   ac_widec_possible=no
+   AC_CHECK_LIB(ncurses, initscr,
+   [LIBS="$LIBS -lncurses"
++  AC_SEARCH_LIBS(cbreak, tinfo)
+   if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; 
then
+   CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+   fi



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/files/

2017-09-02 Thread Michael Palimaka
commit: b99131d4b4f58921e7db75f145a53e0a17b3c57b
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Wed Aug 16 09:04:23 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 15:15:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99131d4

app-misc/abook: remove unused patches

 .../abook/files/abook-0.6.0_pre2-vcard-fix.patch   |  10 -
 .../files/abook-0.6.0_pre2-vcard-import.patch  | 325 -
 2 files changed, 335 deletions(-)

diff --git a/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch 
b/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch
deleted file mode 100644
index 8045909463a..000
--- a/app-misc/abook/files/abook-0.6.0_pre2-vcard-fix.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 abook-0.6.0pre2/abook.c.orig   2010-10-03 14:54:23.827767178 -0700
-+++ abook-0.6.0pre2/abook.c2010-10-03 14:54:55.738042419 -0700
-@@ -708,6 +708,7 @@
-   check_abook_directory();
-   init_opts();
-   load_opts(rcfile);
-+  init_standard_fields();
-   atexit(free_opts);
- 
-   /*

diff --git a/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch 
b/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch
deleted file mode 100644
index 316f1229fd9..000
--- a/app-misc/abook/files/abook-0.6.0_pre2-vcard-import.patch
+++ /dev/null
@@ -1,325 +0,0 @@
-diff -ru a/filter.c b/filter.c
 a/filter.c 2006-09-06 07:26:10.0 +0200
-+++ b/filter.c 2008-05-18 20:55:12.0 +0200
-@@ -44,6 +44,7 @@
- static intcsv_parse_file(FILE *in);
- static intallcsv_parse_file(FILE *in);
- static intpalmcsv_parse_file(FILE *in);
-+static intvcard_parse_file(FILE *in);
- 
- /*
-  * export filter prototypes
-@@ -75,6 +76,7 @@
-   { "csv", N_("comma separated values"), csv_parse_file },
-   { "allcsv", N_("comma separated values (all fields)"), 
allcsv_parse_file },
-   { "palmcsv", N_("Palm comma separated values"), palmcsv_parse_file },
-+  { "vcard", N_("vCard file"), vcard_parse_file },
-   { "\0", NULL, NULL }
- };
- 
-@@ -1331,6 +1333,262 @@
-  */
- 
- /*
-+ * vCard import filter
-+ */
-+
-+static char *vcard_fields[] = {
-+  "FN",   /* NAME */
-+  "EMAIL",/* EMAIL */
-+  "ADR",  /* ADDRESS */
-+  "ADR",  /* ADDRESS2 - not used */
-+  "ADR",  /* CITY */
-+  "ADR",  /* STATE */
-+  "ADR",  /* ZIP */
-+  "ADR",  /* COUNTRY */
-+  "TEL",  /* PHONE */
-+  "TEL",  /* WORKPHONE */
-+  "TEL",  /* FAX */
-+  "TEL",  /* MOBILEPHONE */
-+  "NICKNAME", /* NICK */
-+  "URL",  /* URL */
-+  "NOTE", /* NOTES */
-+  NULL/* not implemented: ANNIVERSARY, ITEM_FIELDS */
-+};
-+
-+/*
-+ * mappings between vCard ADR field and abook's ADDRESS
-+ * see rfc2426 section 3.2.1
-+ */
-+static int vcard_address_fields[] = {
-+  -1, /* vCard(post office box) - not used */
-+  -1, /* vCard(the extended address) - not used */
-+  2,  /* vCard(the street address) - ADDRESS */
-+  4,  /* vCard(the locality) - CITY */
-+  5,  /* vCard(the region) - STATE */
-+  6,  /* vCard(the postal code) - ZIP */
-+  7   /* vCard(the country name) - COUNTRY */
-+};
-+
-+enum {
-+  VCARD_KEY = 0,
-+  VCARD_KEY_ATTRIBUTE,
-+  VCARD_VALUE,
-+};
-+
-+static char *
-+vcard_get_line_element(char *line, int element)
-+{
-+  int i;
-+  char *line_copy = 0;
-+  char *result = 0;
-+  char *key = 0;
-+  char *key_attr = 0;
-+  char *value = 0;
-+
-+  line_copy = xstrdup(line);
-+
-+  /* make newline characters if exist end of string */
-+  for(i=0; line_copy[i]; i++) {
-+  if(line_copy[i] == '\r' || line_copy[i] == '\n') {
-+  line_copy[i] = '\0';
-+  break;
-+  }
-+  }
-+
-+  /* separate key from value */
-+  for(i=0; line_copy[i]; i++) {
-+  if(line_copy[i] == ':') {
-+  line_copy[i] = '\0';
-+  key = line_copy;
-+  value = _copy[i+1];
-+  break;
-+  }
-+  }
-+
-+  /* separate key from key attributes */
-+  if (key) {
-+  for(i=0; key[i]; i++) {
-+  if(key[i] == ';') {
-+  key[i] = '\0';
-+  key_attr = [i+1];
-+  break;
-+  }
-+  }
-+  }
-+
-+  switch(element) {
-+  case VCARD_KEY:
-+  if(key)
-+  

[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-07-03 Thread Patrice Clement
commit: bda5ac1e6b5dc149f7d0491b8089e1cb8fc80e82
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Jul  3 09:28:16 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Jul  3 09:29:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda5ac1e

app-misc/abook: EAPI 6 bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-misc/abook/abook-0.6.1-r1.ebuild | 52 
 1 file changed, 52 insertions(+)

diff --git a/app-misc/abook/abook-0.6.1-r1.ebuild 
b/app-misc/abook/abook-0.6.1-r1.ebuild
new file mode 100644
index 000..4d1dccd13b8
--- /dev/null
+++ b/app-misc/abook/abook-0.6.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${P/_/}"
+DESCRIPTION="Abook is a text-based addressbook program designed to use with 
mutt mail client"
+HOMEPAGE="http://abook.sourceforge.net/;
+SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="
+   sys-libs/ncurses
+   sys-libs/readline
+   dev-libs/libvformat
+   nls? ( virtual/libintl )"
+
+DEPEND="nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc )
+
+src_prepare() {
+   default
+
+   # TODO: do the right thing and find out whats wrong with Makefile.in
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-curses \
+   --with-readline \
+   --enable-vformat \
+   $(use_enable nls)
+}
+
+src_compile() {
+   # bug 570428
+   emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
+src_install() {
+   default
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-07-03 Thread Patrice Clement
commit: 3fce3df334f956a20f5f19d78821a138b54a4703
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Jul  3 09:26:23 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Jul  3 09:29:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fce3df3

app-misc/abook: improve long description.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-misc/abook/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/metadata.xml b/app-misc/abook/metadata.xml
index 01b60b52370..6a92d05f0ab 100644
--- a/app-misc/abook/metadata.xml
+++ b/app-misc/abook/metadata.xml
@@ -5,7 +5,7 @@
net-m...@gentoo.org
Net-Mail

-   Abook is a text-based addressbook program designed to 
use with mutt mail client.
+   abook is a text-based addressbook program for the mutt 
mail client.

abook




[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-04-09 Thread Andreas Hüttel
commit: 1096e9bfd952ec977cb1deea7f4c17daf4757618
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Apr  9 20:39:09 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sun Apr  9 20:47:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1096e9bf

app-misc/abook: Remove old, bug 605728

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 app-misc/abook/Manifest|  1 -
 app-misc/abook/abook-0.6.0_pre2.ebuild | 42 --
 2 files changed, 43 deletions(-)

diff --git a/app-misc/abook/Manifest b/app-misc/abook/Manifest
index c266294a5ae..08c5e9fb44a 100644
--- a/app-misc/abook/Manifest
+++ b/app-misc/abook/Manifest
@@ -1,2 +1 @@
-DIST abook-0.6.0pre2.tar.gz 411412 SHA256 
59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385 SHA512 
d1bc437981964a5dd873b12458833c60306d37b36904a04b072cefe7501175933dd7817ca51f8634bbd6722f79f768b39e00b68d0699086d5efaf28d0cbdf1ed
 WHIRLPOOL 
fbaed8cc4dff1b7b7786c4f5b4124e94893d59e97b67372b0b1f1cf176a16ef23141c37255589cfb352f1e4993ae69d1f77077f2396aaa2c482e85b3c617fc5f
 DIST abook-0.6.1.tar.gz 319558 SHA256 
f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9 SHA512 
993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66
 WHIRLPOOL 
5257a6000707ea58f21fa95841edcfcdb8a1f4921fa452b8aefdbd9bd2eecba01078d116d0e79316bde5b484a721640ffc501c0402a6601803c9312e1e4a2e6a

diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild 
b/app-misc/abook/abook-0.6.0_pre2.ebuild
deleted file mode 100644
index a5e495a203c..000
--- a/app-misc/abook/abook-0.6.0_pre2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=3
-
-inherit eutils
-
-MY_P="${P/_/}"
-DESCRIPTION="Abook is a text-based addressbook program designed to use with 
mutt mail client"
-HOMEPAGE="http://abook.sourceforge.net/;
-SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="nls"
-
-RDEPEND="sys-libs/ncurses
-   sys-libs/readline
-   nls? ( virtual/libintl )"
-DEPEND="nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-vcard-import.patch
-   epatch "${FILESDIR}"/${P}-vcard-fix.patch
-}
-
-src_configure() {
-   econf $(use_enable nls)
-}
-
-src_compile() {
-   # bug 570428
-   emake CFLAGS="${CFLAGS} -std=gnu89"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed"
-   dodoc BUGS ChangeLog FAQ README TODO sample.abookrc || die "dodoc 
failed"
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-01-20 Thread Agostino Sarubbo
commit: c2c878259c1bd423e377d285a6abe81a32f5c850
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan 20 11:02:56 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan 20 11:04:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c87825

app-misc/abook: ppc64 stable wrt bug #602076

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/abook/abook-0.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
index 2270f32..e7c548e 100644
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
 IUSE="nls"
 
 RDEPEND="sys-libs/ncurses



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-01-15 Thread Agostino Sarubbo
commit: 5463e3d819fa282a20c032ec566428491c74a48b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 15 15:46:37 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 15 15:49:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5463e3d8

app-misc/abook: ppc stable wrt bug #602076

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/abook/abook-0.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
index d80a9ec..2270f32 100644
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86"
 IUSE="nls"
 
 RDEPEND="sys-libs/ncurses



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2017-01-10 Thread Agostino Sarubbo
commit: dbef1e6a612d53ca06ec0afbc1a162cadd8201fb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 10 14:55:45 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 10 14:55:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbef1e6a

app-misc/abook: amd64 stable wrt bug #602076

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/abook/abook-0.6.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
index 80c70e8..9a558da 100644
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="sys-libs/ncurses



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2016-12-14 Thread Tobias Klausmann
commit: a7f77ef79160025c3733391bc556686dfc932c81
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 14 09:02:42 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 14 09:02:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f77ef7

app-misc/abook-0.6.1-r0: stable on alpha

Gentoo-Bug: 602076

 app-misc/abook/abook-0.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
index 65627e7..80c70e8 100644
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="sys-libs/ncurses



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2016-10-10 Thread Jeroen Roovers
commit: a3ed5265af797c98abc2ec99c77a3540f16d5920
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 10 09:28:28 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 10 09:28:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ed5265

app-misc/abook: Mark ~ppc64 (bug #570898).

Package-Manager: portage-2.3.1
RepoMan-Options: --ignore-arches

 app-misc/abook/abook-0.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
index ee129ac..65627e7 100644
--- a/app-misc/abook/abook-0.6.1.ebuild
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="nls"
 
 RDEPEND="sys-libs/ncurses



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2016-01-04 Thread Eray Aslan
commit: d3aca0904eb034b28601df9730d1671ec02987c0
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Jan  4 19:36:35 2016 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Jan  4 19:36:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3aca090

app-misc/abook: version bump to 0.6.1

Package-Manager: portage-2.2.26

 app-misc/abook/Manifest   |  1 +
 app-misc/abook/abook-0.6.1.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/app-misc/abook/Manifest b/app-misc/abook/Manifest
index e154d0f..c266294 100644
--- a/app-misc/abook/Manifest
+++ b/app-misc/abook/Manifest
@@ -1 +1,2 @@
 DIST abook-0.6.0pre2.tar.gz 411412 SHA256 
59d444504109dd96816e003b3023175981ae179af479349c34fa70bc12f6d385 SHA512 
d1bc437981964a5dd873b12458833c60306d37b36904a04b072cefe7501175933dd7817ca51f8634bbd6722f79f768b39e00b68d0699086d5efaf28d0cbdf1ed
 WHIRLPOOL 
fbaed8cc4dff1b7b7786c4f5b4124e94893d59e97b67372b0b1f1cf176a16ef23141c37255589cfb352f1e4993ae69d1f77077f2396aaa2c482e85b3c617fc5f
+DIST abook-0.6.1.tar.gz 319558 SHA256 
f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9 SHA512 
993895ef2fd6d98d50db610699f8f0a28112778065ac56484373eb814afd8ab7371201fc21506c090514f4b29570ec229dc62c606ab068301152567e2c47fe66
 WHIRLPOOL 
5257a6000707ea58f21fa95841edcfcdb8a1f4921fa452b8aefdbd9bd2eecba01078d116d0e79316bde5b484a721640ffc501c0402a6601803c9312e1e4a2e6a

diff --git a/app-misc/abook/abook-0.6.1.ebuild 
b/app-misc/abook/abook-0.6.1.ebuild
new file mode 100644
index 000..ee129ac
--- /dev/null
+++ b/app-misc/abook/abook-0.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools
+
+MY_P="${P/_/}"
+DESCRIPTION="Abook is a text-based addressbook program designed to use with 
mutt mail client"
+HOMEPAGE="http://abook.sourceforge.net/;
+SRC_URI="http://abook.sourceforge.net/devel/${MY_P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="sys-libs/ncurses
+   sys-libs/readline
+   dev-libs/libvformat
+   nls? ( virtual/libintl )"
+DEPEND="nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   # TODO: do the right thing and find out whats wrong with Makefile.in
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --with-curses \
+   --with-readline \
+   --enable-vformat \
+   $(use_enable nls)
+}
+
+src_compile() {
+   # bug 570428
+   emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   dodoc BUGS ChangeLog FAQ README TODO sample.abookrc
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2016-01-04 Thread Eray Aslan
commit: f98a4e09ecfafec1f6ac3de0b326cd005d3dfef6
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Jan  4 19:35:12 2016 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Jan  4 19:35:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98a4e09

app-misc/abook: QA: copyright 2016

Package-Manager: portage-2.2.26

 app-misc/abook/abook-0.6.0_pre2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild 
b/app-misc/abook/abook-0.6.0_pre2.ebuild
index e80a73b..e3d70b0 100644
--- a/app-misc/abook/abook-0.6.0_pre2.ebuild
+++ b/app-misc/abook/abook-0.6.0_pre2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/abook/

2016-01-04 Thread Eray Aslan
commit: 16bd94f05d1d06ecf97c3e33b07df44f2dde5636
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Jan  4 19:33:59 2016 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Jan  4 19:33:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bd94f0

app-misc/abook: fix building with gcc-5 (#570428)

Package-Manager: portage-2.2.26

 app-misc/abook/abook-0.6.0_pre2.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-misc/abook/abook-0.6.0_pre2.ebuild 
b/app-misc/abook/abook-0.6.0_pre2.ebuild
index e383d80..e80a73b 100644
--- a/app-misc/abook/abook-0.6.0_pre2.ebuild
+++ b/app-misc/abook/abook-0.6.0_pre2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -32,6 +32,11 @@ src_configure() {
econf $(use_enable nls)
 }
 
+src_compile() {
+   # bug 570428
+   emake CFLAGS="${CFLAGS} -std=gnu89"
+}
+
 src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc BUGS ChangeLog FAQ README TODO sample.abookrc || die "dodoc 
failed"