[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/files/, dev-tcltk/tclreadline/

2022-11-22 Thread Sam James
commit: 62fd83e4fe0ed20c7228a06acc880dc5a8d39224
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 00:24:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 00:29:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62fd83e4

dev-tcltk/tclreadline: fix configure w/ clang 16

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

 .../tclreadline-2.3.8-configure-clang16.patch  | 67 ++
 ...2.3.8-r1.ebuild => tclreadline-2.3.8-r2.ebuild} | 23 ++--
 2 files changed, 84 insertions(+), 6 deletions(-)

diff --git 
a/dev-tcltk/tclreadline/files/tclreadline-2.3.8-configure-clang16.patch 
b/dev-tcltk/tclreadline/files/tclreadline-2.3.8-configure-clang16.patch
new file mode 100644
index ..1454cf54f698
--- /dev/null
+++ b/dev-tcltk/tclreadline/files/tclreadline-2.3.8-configure-clang16.patch
@@ -0,0 +1,67 @@
+https://github.com/flightaware/tclreadline/pull/46
+
+From 8c75e01b814ac852167611f5edae9659a1f709d2 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Wed, 23 Nov 2022 00:19:55 +
+Subject: [PATCH 1/2] Fix configure.ac compatibility with Clang 16
+
+Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by 
default.
+
+Unfortunately, this can lead to misconfiguration or miscompilation of software 
as configure
+tests may then return the wrong result.
+
+We also fix -Wstrict-prototypes while here as it's easy to do and it prepares
+us for C23.
+
+For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki 
[2],
+or the (new) c-std-porting mailing list [3].
+
+[0] https://lwn.net/Articles/913505/
+[1] 
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
+[2] https://wiki.gentoo.org/wiki/Modern_C_porting
+[3] hosted at lists.linux.dev.
+
+Signed-off-by: Sam James 
+--- a/configure.ac
 b/configure.ac
+@@ -245,7 +245,8 @@ AC_TRY_LINK(,[
+ AC_MSG_CHECKING([for the readline version number])
+ AC_TRY_RUN([
+ #include 
+-int main () {
++#include 
++int main (void) {
+ FILE *fp = fopen("conftestversion", "w");
+ extern char *rl_library_version;
+ fprintf(fp, "%s", rl_library_version);
+
+From b64772750c7543fe66165fd7862b355d289412b6 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Wed, 23 Nov 2022 00:21:34 +
+Subject: [PATCH 2/2] Fix -Wint-conversion in readline configure test
+
+Fixes the following warning with Clang 16:
+```
+configure:12873: clang-16 -o conftest -g -O2   conftest.c -lreadline  >&5
+conftest.c:33:11: error: incompatible pointer to integer conversion passing 
'FILE *' (aka 'struct _IO_FILE *') to parameter of type 'int' [-Wint-conversion]
+close(fp);
+  ^~
+/usr/include/unistd.h:358:23: note: passing argument to parameter '__fd' here
+extern int close (int __fd);
+```
+
+fopen should be paired with fclose.
+
+Signed-off-by: Sam James 
+--- a/configure.ac
 b/configure.ac
+@@ -250,7 +250,7 @@ int main (void) {
+ FILE *fp = fopen("conftestversion", "w");
+ extern char *rl_library_version;
+ fprintf(fp, "%s", rl_library_version);
+-close(fp);
++fclose(fp);
+ return 0;
+ }],
+ READLINE_VERSION=`cat conftestversion`
+

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r2.ebuild
similarity index 74%
rename from dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
rename to dev-tcltk/tclreadline/tclreadline-2.3.8-r2.ebuild
index ff8d8154a93b..f19d330e2688 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
+inherit autotools
 
 DESCRIPTION="Readline extension to TCL"
 HOMEPAGE="https://github.com/flightaware/tclreadline;
@@ -13,14 +15,23 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
-DEPEND="dev-lang/tcl:0=
-   sys-libs/readline:0=
-   tk? ( dev-lang/tk:0= )"
+DEPEND="
+   dev-lang/tcl:=
+   sys-libs/readline:=
+   tk? ( dev-lang/tk:= )
+"
 RDEPEND="${DEPEND}"
-BDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.3.8-configure-clang16.patch
+)
 
 src_prepare() {
default
+
+   # Needed for Clang 16 patch, can drop once in a release
+   eautoreconf
+
sed -i \
-e 
"s|^\(TCLRL_LIBDIR\)=.*|\1=\"${EPREFIX}/usr/$(get_libdir)\"|" \
configure || die



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2022-11-22 Thread Sam James
commit: faada159c119ecae538d2dcfac0001e37b7787b5
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 00:48:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 00:48:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faada159

dev-tcltk/tclreadline: add github upstream metadata

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

 dev-tcltk/tclreadline/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-tcltk/tclreadline/metadata.xml 
b/dev-tcltk/tclreadline/metadata.xml
index 7c7e31e3a203..c218d179a43c 100644
--- a/dev-tcltk/tclreadline/metadata.xml
+++ b/dev-tcltk/tclreadline/metadata.xml
@@ -7,5 +7,6 @@


tclreadline
+   flightaware/tclreadline

 



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-11-03 Thread Alfredo Tupone
commit: 249ac95a4d3dc9f841138f3d8732cf1a90737a5d
Author: Felix Neumärker  posteo  de>
AuthorDate: Wed Aug 11 13:05:13 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Nov  3 18:44:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249ac95a

dev-tcltk/tclreadline: proper eprefix support

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Felix Neumärker  posteo.de>
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
index bf5c09d7376..ff8d8154a93 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -27,14 +27,16 @@ src_prepare() {
 }
 
 src_configure() {
-   local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
+   local myConf=(
+   --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+   --with-readline-includes="${EPREFIX}/usr/include/readline"
+   )
if ! use tk; then
-   myConf="$myConf --without-tk"
+   myConf+=(--without-tk)
fi
-   econf $myConf
+   econf "${myConf[@]}"
 }
-
 src_install() {
default
-   find "${D}" -name \*.la -delete
+   find "${ED}" -name \*.la -delete
 }



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-04-11 Thread Alfredo Tupone
commit: ca6e928ab7bccb76318b114f6ad3d3df9cf9b334
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sun Apr 11 13:40:50 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Apr 11 13:40:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6e928a

dev-tcltk/tclreadline: remove old version

Closes: https://bugs.gentoo.org/775773
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 40 --
 1 file changed, 40 deletions(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
deleted file mode 100644
index b162fd1c867..000
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Readline extension to TCL"
-HOMEPAGE="https://github.com/flightaware/tclreadline;
-SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
-   -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="tk"
-
-DEPEND="dev-lang/tcl:0=
-   sys-libs/readline:0=
-   tk? ( dev-lang/tk:0= )"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_prepare() {
-   default
-   sed -i \
-   -e "/TCLRL_LIBDIR/s|/usr/lib|/usr/$(get_libdir)|" \
-   configure || die
-}
-
-src_configure() {
-   local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
-   if ! use tk; then
-   myConf="$myConf --without-tk"
-   fi
-   econf $myConf
-}
-
-src_install() {
-   default
-   find "${D}" -name \*.la -delete
-}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-04-11 Thread Sam James
commit: 4c7e8b9f0ecbfdc63ee3b7c900c1b9597ab046fb
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 11 13:13:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 11 13:13:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7e8b9f

dev-tcltk/tclreadline: Stabilize 2.3.8-r1 ppc, #782070

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

 dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
index e9dfb16395d..bf5c09d7376 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-04-11 Thread Sam James
commit: 09ed04bea3db7a98595e967337d749a591953a45
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 11 11:13:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 11 11:13:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09ed04be

dev-tcltk/tclreadline: Stabilize 2.3.8-r1 amd64, #782070

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

 dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
index fb38e5fd772..e9dfb16395d 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-04-11 Thread Sam James
commit: 241bdeda360f0c0797da2f77ee557f8736a7b7fb
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 11 11:06:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 11 11:06:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241bdeda

dev-tcltk/tclreadline: Stabilize 2.3.8-r1 x86, #782070

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

 dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
index 8d94f9c47fb..fb38e5fd772 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-02-26 Thread Alfredo Tupone
commit: 31a27d4ac18f40f9a8bc25630271c2f13fd9fe51
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Feb 26 19:04:30 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Feb 26 19:10:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a27d4a

dev-tcltk/tclreadline: fix 64 bit location

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 40 +++
 1 file changed, 40 insertions(+)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
new file mode 100644
index 000..8d94f9c47fb
--- /dev/null
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Readline extension to TCL"
+HOMEPAGE="https://github.com/flightaware/tclreadline;
+SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="tk"
+
+DEPEND="dev-lang/tcl:0=
+   sys-libs/readline:0=
+   tk? ( dev-lang/tk:0= )"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+   default
+   sed -i \
+   -e 
"s|^\(TCLRL_LIBDIR\)=.*|\1=\"${EPREFIX}/usr/$(get_libdir)\"|" \
+   configure || die
+}
+
+src_configure() {
+   local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
+   if ! use tk; then
+   myConf="$myConf --without-tk"
+   fi
+   econf $myConf
+}
+
+src_install() {
+   default
+   find "${D}" -name \*.la -delete
+}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-02-16 Thread Alfredo Tupone
commit: 44bf837dedadb4a478e8592f91e4871f5a8d75b2
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Feb 16 08:05:02 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 16 08:05:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44bf837d

dev-tcltk/tclreadline: fix path for shared library

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index 60918d371b1..b162fd1c867 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -19,6 +19,13 @@ DEPEND="dev-lang/tcl:0=
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
+src_prepare() {
+   default
+   sed -i \
+   -e "/TCLRL_LIBDIR/s|/usr/lib|/usr/$(get_libdir)|" \
+   configure || die
+}
+
 src_configure() {
local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
if ! use tk; then



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-01-24 Thread Sam James
commit: c43b628324a6064c8facbdfb9cf24458f1ff7055
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 24 13:34:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 24 13:34:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43b6283

dev-tcltk/tclreadline: Stabilize 2.3.8 ppc, #72

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

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index bfc5177de34..60918d371b1 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-01-24 Thread Agostino Sarubbo
commit: 7eca2f0313064933b1e5d77bdc7b9806c0e0c9ca
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 24 12:09:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 24 12:09:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eca2f03

dev-tcltk/tclreadline: x86 stable wrt bug #72

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index c50b2b8dbea..bfc5177de34 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2021-01-24 Thread Agostino Sarubbo
commit: 6c6fa289dd9890451f30a27a3a35136f60f7a9bf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 24 11:58:45 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 24 11:58:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6fa289

dev-tcltk/tclreadline: amd64 stable wrt bug #72

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

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index 9ebdb8473d8..c50b2b8dbea 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-05-26 Thread Alfredo Tupone
commit: 3b796cc233524f8ef026478c645777953883da23
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue May 26 20:08:08 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue May 26 20:08:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b796cc2

dev-tcltk/tclreadline: fix dependency and add use tk

Closes: https://bugs.gentoo.org/724038
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index afd3eb3663d..9ebdb8473d8 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -11,16 +11,20 @@ 
SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="tk"
 
 DEPEND="dev-lang/tcl:0=
-   sys-libs/readline:0="
+   sys-libs/readline:0=
+   tk? ( dev-lang/tk:0= )"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
 src_configure() {
-   econf \
-   --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+   local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
+   if ! use tk; then
+   myConf="$myConf --without-tk"
+   fi
+   econf $myConf
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-05-05 Thread Alfredo Tupone
commit: 67cd2b1ff1748578330f477a75250d6a5d9105e1
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue May  5 06:00:45 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue May  5 06:00:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67cd2b1f

dev-tcltk/tclreadline: fix HomepageInSrcUri

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index 2e29445e85e..afd3eb3663d 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -5,7 +5,8 @@ EAPI=7
 
 DESCRIPTION="Readline extension to TCL"
 HOMEPAGE="https://github.com/flightaware/tclreadline;
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-05-04 Thread Alfredo Tupone
commit: ec431695792ed2f8026b5ba2595dbe2811ce9701
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Mon May  4 20:12:06 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon May  4 20:13:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec431695

dev-tcltk/tclreadline: version bump to 2.3.8

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/Manifest |  1 +
 dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 28 ++
 2 files changed, 29 insertions(+)

diff --git a/dev-tcltk/tclreadline/Manifest b/dev-tcltk/tclreadline/Manifest
index 87f5646b595..e1047715d42 100644
--- a/dev-tcltk/tclreadline/Manifest
+++ b/dev-tcltk/tclreadline/Manifest
@@ -1,2 +1,3 @@
 DIST tclreadline-2.1.0.tar.gz 160541 BLAKE2B 
44dfd7626b969d03343cfa768d0ad72b9322a13175ca7c713c3981c0abc27967e31a62f3451b5d007569a30a7279be7c2a8f1c7c78e8d0c310964ddba18fa5cb
 SHA512 
bd67a65fe2ec708834fb67fabf2e36e778a6aeeb7a7b69cda298f9e18acc9e03f3a379f81ff7d2d289bfbf1093bc86fecbf96fe5d04a2ca954899cc7df6fe4bf
+DIST tclreadline-2.3.8.tar.gz 393167 BLAKE2B 
e6a8d35904a0ed22fac01d7f6b6ecc9eef99acea149253ec9a0f7a3463a163ef17daa052bd4801fb9e365b056ab58d69fe2ec9884a9279881638c7b99c12f6a7
 SHA512 
0c5ce53a8f4cc222de013932698e442c63b36e3f07d10b962d127444f75c28b2caf7f06b5958150748f7a1d535c577c825b9a0dd525e077a348c3ff899a74e61
 DIST tclreadline_2.1.0-12.debian.tar.gz 9636 BLAKE2B 
b84487e2e05649c899f705ee4c4ea80a7b05c99440e9b905587300342ce54d48a7d32b750ec2c2a3a12f1aa991f2a47167243ec962f539e02383aac62530a3d9
 SHA512 
293e9ad14a469891f68b25caa78a99874de87df4c44af4ada7528cf74e898be42b7846fbb6eeabb2dec34995a9ccd9707c61f406b90b90dbca2c24df05f451eb

diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
new file mode 100644
index 000..2e29445e85e
--- /dev/null
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Readline extension to TCL"
+HOMEPAGE="https://github.com/flightaware/tclreadline;
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="dev-lang/tcl:0=
+   sys-libs/readline:0="
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+   econf \
+   --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+}
+
+src_install() {
+   default
+   find "${D}" -name \*.la -delete
+}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-02-11 Thread Alfredo Tupone
commit: 89f5848bda45c0b070aa213fe35cb5dd4de1341d
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Feb 11 17:48:41 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 11 17:48:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f5848b

dev-tcltk/tclreadline: remove old version

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild | 68 ---
 1 file changed, 68 deletions(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild
deleted file mode 100644
index 1fe69393789..000
--- a/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils multilib toolchain-funcs
-
-DEBIAN_PATCH=12
-
-DESCRIPTION="Readline extension to TCL"
-HOMEPAGE="http://tclreadline.sf.net/;
-SRC_URI="
-   mirror://sourceforge/${PN}/${P}.tar.gz
-   
mirror://debian/pool/main/t/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
-
-DEPEND="
-   dev-lang/tcl:0=
-   sys-libs/readline:0="
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-gold.patch
-   "${FILESDIR}"/${P}-alloc-free.patch
-   "${FILESDIR}"/${P}-rl-executing-macro.patch
-   "${FILESDIR}"/${P}-rl-history-expand.patch
-   "${FILESDIR}"/${P}-rl-prompt.patch
-   "${WORKDIR}"/debian/patches/complete_nontcl.patch
-   "${WORKDIR}"/debian/patches/completion_matches.patch
-   "${WORKDIR}"/debian/patches/completion_pbug.patch
-   "${WORKDIR}"/debian/patches/kfreebsd.patch
-   "${WORKDIR}"/debian/patches/link.patch
-   "${WORKDIR}"/debian/patches/manpage.patch
-   "${WORKDIR}"/debian/patches/memuse.patch
-#  "${WORKDIR}"/debian/patches/tclrldir.patch
-   "${WORKDIR}"/debian/patches/tclshpath.patch
-   "${WORKDIR}"/debian/patches/tinfo.patch
-   "${WORKDIR}"/debian/patches/varnames.patch
-
-   )
-
-src_prepare() {
-   sed \
-   -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
-   -e "/^TCLRL_LIBDIR/s:lib:$(get_libdir):g" \
-   -i configure.in || die
-   mv configure.{in,ac} || die
-   sed \
-   -e 's:configure.in:configure.ac:g' \
-   -i "${WORKDIR}"/debian/patches/* || die
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   local myeconfargs=(
-   --with-tcl="${EPREFIX}/usr/$(get_libdir)"
-   --with-tcl-includes="${EPREFIX}/usr/include"
-   --with-readline-includes="${EPREFIX}/usr/include"
-   --with-readline-library="-lreadline"
-   )
-   autotools-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-02-11 Thread Agostino Sarubbo
commit: 6461f7c6bd04142e7eeab76264223cdb72d6835f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 11 11:29:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 11 11:29:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6461f7c6

dev-tcltk/tclreadline: ppc stable wrt bug #709006

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
index 3e7080081c3..98333a816ae 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-02-11 Thread Agostino Sarubbo
commit: 643fd8171d7b8a2ea227404744505eafb96f319a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 11 11:09:00 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 11 11:09:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643fd817

dev-tcltk/tclreadline: amd64 stable wrt bug #709006

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

 dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
index 52bb95ee266..3e7080081c3 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-02-11 Thread Agostino Sarubbo
commit: 44edf75765642439c62b3dcab86d471be326cf0f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 11 09:51:33 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 11 09:51:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44edf757

dev-tcltk/tclreadline: x86 stable wrt bug #709006

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
index 148b7aefd19..52bb95ee266 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 SLOT="0"
 LICENSE="BSD"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/

2020-01-01 Thread Alfredo Tupone
commit: 9e7fdb7443803d886d3a079eed1e9b156dca05e9
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Wed Jan  1 15:53:12 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Jan  1 15:53:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7fdb74

dev-tcltk/tclreadline: EAPI 7

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild | 72 +++
 1 file changed, 72 insertions(+)

diff --git a/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild 
b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
new file mode 100644
index 000..148b7aefd19
--- /dev/null
+++ b/dev-tcltk/tclreadline/tclreadline-2.1.0-r5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools libtool
+
+DEBIAN_PATCH=12
+
+DESCRIPTION="Readline extension to TCL"
+HOMEPAGE="http://tclreadline.sf.net/;
+SRC_URI="
+   mirror://sourceforge/${PN}/${P}.tar.gz
+   
mirror://debian/pool/main/t/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND="
+   dev-lang/tcl:0=
+   sys-libs/readline:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-gold.patch
+   "${FILESDIR}"/${P}-alloc-free.patch
+   "${FILESDIR}"/${P}-rl-executing-macro.patch
+   "${FILESDIR}"/${P}-rl-history-expand.patch
+   "${FILESDIR}"/${P}-rl-prompt.patch
+   "${WORKDIR}"/debian/patches/complete_nontcl.patch
+   "${WORKDIR}"/debian/patches/completion_matches.patch
+   "${WORKDIR}"/debian/patches/completion_pbug.patch
+   "${WORKDIR}"/debian/patches/kfreebsd.patch
+   "${WORKDIR}"/debian/patches/link.patch
+   "${WORKDIR}"/debian/patches/manpage.patch
+   "${WORKDIR}"/debian/patches/memuse.patch
+   "${WORKDIR}"/debian/patches/tclshpath.patch
+   "${WORKDIR}"/debian/patches/tinfo.patch
+   "${WORKDIR}"/debian/patches/varnames.patch
+)
+
+src_prepare() {
+   sed \
+   -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
+   -e "/^TCLRL_LIBDIR/s:lib:$(get_libdir):g" \
+   -i configure.in || die
+   mv configure.{in,ac} || die
+   sed \
+   -e 's:configure.in:configure.ac:g' \
+   -i "${WORKDIR}"/debian/patches/* || die
+
+   default
+   eautoreconf
+   elibtoolize --patch-only
+}
+
+src_configure() {
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --with-tcl="${EPREFIX}/usr/$(get_libdir)" \
+   --with-tcl-includes="${EPREFIX}/usr/include" \
+   --with-readline-includes="${EPREFIX}/usr/include" \
+   --with-readline-library="-lreadline"
+}
+
+src_install() {
+   default
+   find "${D}" -name \*.la | xargs rm
+}