[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/

2023-09-22 Thread Arthur Zamarin
commit: 4df743c537639a1e1a7e03d7e9f22994b7b70caf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 22 09:47:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep 22 09:47:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df743c5

app-dicts/eblook: Stabilize 1.6.1_p16-r1 x86, #914517

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild 
b/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild
index ce4c207a67e0..0c9c953d7367 100644
--- a/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild
+++ b/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+KEYWORDS="~amd64 ~ppc ~riscv x86"
 
 DEPEND=">=dev-libs/eb-3.3.4"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/files/, app-dicts/eblook/

2023-07-30 Thread Sam James
commit: 0ba1fe984709fecbc6d538692e488bdfd383e3c5
Author: Brahmajit Das  gmail  com>
AuthorDate: Sun Jul 30 08:49:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 30 11:42:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba1fe98

app-dicts/eblook: Fix call to undeclared library function strcmp

Closes: https://bugs.gentoo.org/894360
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32100
Signed-off-by: Sam James  gentoo.org>

 app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild| 34 ++
 .../files/eblook-1.6.1-clang-16-buildfix.patch | 11 +++
 2 files changed, 45 insertions(+)

diff --git a/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild 
b/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild
new file mode 100644
index ..ce4c207a67e0
--- /dev/null
+++ b/app-dicts/eblook/eblook-1.6.1_p16-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Interactive search utility for electronic dictionaries"
+HOMEPAGE="http://openlab.ring.gr.jp/edict/eblook/;
+SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${PN}-$(ver_cut 
1-3).tar.gz"
+SRC_URI+=" mirror://debian/pool/main/e/eblook/eblook_$(ver_cut 1-3)-$(ver_cut 
5).debian.tar.xz"
+S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+
+DEPEND=">=dev-libs/eb-3.3.4"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${WORKDIR}"/debian/patches
+   "${FILESDIR}"/${PN}-1.6.1-clang-16-buildfix.patch
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf --with-eb-conf="${EPREFIX}"/etc/eb.conf
+}

diff --git a/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch 
b/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch
new file mode 100644
index ..cae0edcdb186
--- /dev/null
+++ b/app-dicts/eblook/files/eblook-1.6.1-clang-16-buildfix.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/894360
+--- a/getopt.c
 b/getopt.c
+@@ -40,6 +40,7 @@
+ #endif
+ 
+ #include 
++#include 
+ 
+ /* Comment out all this code if we are using the GNU C Library, and are not
+actually compiling the library itself.  This code is part of the GNU C



[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/

2022-12-18 Thread Sam James
commit: 89beea3adcecbf6e971437b1f2ba5b4094ec0d27
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 12:44:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 12:44:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89beea3a

app-dicts/eblook: Stabilize 1.6.1_p16 x86, #886661

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

 app-dicts/eblook/eblook-1.6.1_p16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-dicts/eblook/eblook-1.6.1_p16.ebuild 
b/app-dicts/eblook/eblook-1.6.1_p16.ebuild
index 802d730eb3d5..a1bbd6ec0699 100644
--- a/app-dicts/eblook/eblook-1.6.1_p16.ebuild
+++ b/app-dicts/eblook/eblook-1.6.1_p16.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+KEYWORDS="~amd64 ~ppc ~riscv x86"
 
 DEPEND=">=dev-libs/eb-3.3.4"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/

2022-10-02 Thread Sam James
commit: d9d172170b72c133c81edc803bd14c517730d078
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  2 22:22:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct  3 00:38:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d17217

app-dicts/eblook: add 1.6.1_p16 (Debian fork, fixes build w/ Clang 16+)

Includes a bunch of other warning fixes too.

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

 app-dicts/eblook/Manifest|  1 +
 app-dicts/eblook/eblook-1.6.1_p16.ebuild | 33 
 2 files changed, 34 insertions(+)

diff --git a/app-dicts/eblook/Manifest b/app-dicts/eblook/Manifest
index a2cc29521e69..fea1fa67e52f 100644
--- a/app-dicts/eblook/Manifest
+++ b/app-dicts/eblook/Manifest
@@ -1 +1,2 @@
 DIST eblook-1.6.1.tar.gz 440727 BLAKE2B 
313dcc89fea9dbc8dac8c9fda618cf4e39d0cfef4f67ba7cf2ab29e3b1c8dc0559407c1f1c68c9994594b784acb445c6fe988456e14da324bd38c89de23f3ffe
 SHA512 
36f4f383a53a0332a2dec0e40d2743c93d35c9f51a7de2d2706bbc18a4fde215d4e345feb175bebf428c1760cb32e73148fb9b336fcde8c0d8b924ee6ecfd6a4
+DIST eblook_1.6.1-16.debian.tar.xz 92044 BLAKE2B 
9a6b19541c910694b0b079cfb4bcb9ae38f4505e25a08f4c17dd7af6cf04a1b5e9a33aadbda7a4c5a8509699b0a5efe4eb5962b6cdd6f63a82105bacad5231a7
 SHA512 
538956ac54cedae76563bcbc6c8ac7f97be4cdc2d9cc506fc1dc3a7c9631040a1becf259c1f465b4e875333ffb43d6af5c8102b9fc8b862b7567cafc8d83

diff --git a/app-dicts/eblook/eblook-1.6.1_p16.ebuild 
b/app-dicts/eblook/eblook-1.6.1_p16.ebuild
new file mode 100644
index ..802d730eb3d5
--- /dev/null
+++ b/app-dicts/eblook/eblook-1.6.1_p16.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Interactive search utility for electronic dictionaries"
+HOMEPAGE="http://openlab.ring.gr.jp/edict/eblook/;
+SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${PN}-$(ver_cut 
1-3).tar.gz"
+SRC_URI+=" mirror://debian/pool/main/e/eblook/eblook_$(ver_cut 1-3)-$(ver_cut 
5).debian.tar.xz"
+S="${WORKDIR}"/${PN}-$(ver_cut 1-3)
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+
+DEPEND=">=dev-libs/eb-3.3.4"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${WORKDIR}"/debian/patches
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   econf --with-eb-conf="${EPREFIX}"/etc/eb.conf
+}



[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/

2021-09-29 Thread Yixun Lan
commit: 84a9cfa4e142d18d40b0420f1740406f257235c8
Author: Alex Fan  yahoo  com>
AuthorDate: Tue Sep 28 06:09:37 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Sep 29 14:11:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a9cfa4

app-dicts/eblook: keyword 1.6.1 for ~riscv

Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 app-dicts/eblook/eblook-1.6.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-dicts/eblook/eblook-1.6.1.ebuild 
b/app-dicts/eblook/eblook-1.6.1.ebuild
index 79e8ddff225..0ac5d0edc7d 100644
--- a/app-dicts/eblook/eblook-1.6.1.ebuild
+++ b/app-dicts/eblook/eblook-1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ 
SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${P/_/}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ppc x86"
+KEYWORDS="~amd64 ppc ~riscv x86"
 
 DEPEND=">=dev-libs/eb-3.3.4"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-dicts/eblook/files/, app-dicts/eblook/

2020-09-15 Thread David Seifert
commit: 137c26e86e2791c8cf73f0cb7b52cd7be965b659
Author: David Seifert  gentoo  org>
AuthorDate: Tue Sep 15 19:52:27 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Sep 15 19:52:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137c26e8

app-dicts/eblook: Port to EAPI 7

Closes: https://bugs.gentoo.org/742059
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert  gentoo.org>

 app-dicts/eblook/eblook-1.6.1.ebuild  | 13 -
 app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch | 20 
 2 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/app-dicts/eblook/eblook-1.6.1.ebuild 
b/app-dicts/eblook/eblook-1.6.1.ebuild
index c99eec6320c..79e8ddff225 100644
--- a/app-dicts/eblook/eblook-1.6.1.ebuild
+++ b/app-dicts/eblook/eblook-1.6.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="Interactive search utility for electronic dictionaries"
 HOMEPAGE="http://openlab.ring.gr.jp/edict/eblook/;
@@ -10,19 +10,14 @@ 
SRC_URI="http://openlab.ring.gr.jp/edict/eblook/dist/${P/_/}.tar.gz;
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ppc x86"
-IUSE=""
 
 DEPEND=">=dev-libs/eb-3.3.4"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${P%_*}"
 
-src_prepare() {
-   sed \
-   -e 's:LDFAGS:LDFLAGS:g' \
-   -i configure || die
-}
+PATCHES=( "${FILESDIR}"/${P}-LDFLAGS.patch )
 
 src_configure() {
-   econf --with-eb-conf=/etc/eb.conf
+   econf --with-eb-conf="${EPREFIX}"/etc/eb.conf
 }

diff --git a/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch 
b/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch
new file mode 100644
index 000..79bb33dd029
--- /dev/null
+++ b/app-dicts/eblook/files/eblook-1.6.1-LDFLAGS.patch
@@ -0,0 +1,20 @@
+--- a/configure
 b/configure
+@@ -21918,7 +21918,7 @@
+ save_LIBS=$LIBS
+ CPPFLAGS="$CPPFLAGS $EBCONF_PTHREAD_CPPFLAGS $EBCONF_EBINCS $EBCONF_ZLIBINCS 
$EBCONF_INTLINCS"
+ CFLAGS="$CFLAGS $EBCONF_PTHREAD_CFLAGS"
+-LDFLAGS="$LDFAGS $EBCONF_PTHREAD_LDFLAGS"
++LDFLAGS="$LDFLAGS $EBCONF_PTHREAD_LDFLAGS"
+ LIBS="$LIBS $EBCONF_EBLIBS $EBCONF_ZLIBLIBS $EBCONF_INTLLIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h.  */
+@@ -21981,7 +21981,7 @@
+ sysconfdir=$sysconfdir
+ CPPFLAGS="$CPPFLAGS $EBCONF_PTHREAD_CPPFLAGS $EBCONF_EBINCS $EBCONF_ZLIBINCS 
$EBCONF_INTLINCS"
+ CFLAGS="$CFLAGS $EBCONF_PTHREAD_CFLAGS"
+-LDFLAGS="$LDFAGS $EBCONF_PTHREAD_LDFLAGS"
++LDFLAGS="$LDFLAGS $EBCONF_PTHREAD_LDFLAGS"
+ LIBS="$LIBS $EBCONF_EBLIBS $EBCONF_ZLIBLIBS $EBCONF_INTLLIBS"
+ 
+