public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/cdecl/, dev-util/cdecl/files/
@ 2021-05-22 13:27 Marco Sirabella
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Sirabella @ 2021-05-22 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e143d33cfa0217218c72b94f6db640eb42994f1e
Author:     Marco Sirabella <marco <AT> sirabella <DOT> org>
AuthorDate: Sat May 22 13:21:47 2021 +0000
Commit:     Marco Sirabella <marco <AT> sirabella <DOT> org>
CommitDate: Sat May 22 13:27:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e143d33c

dev-util/cdecl: Add new package

See #570454, this package is a continuation of dev-util/cdecl::gentoo
from the main repo's 7c81cf86, from a different up-to-date source.

Signed-off-by: Marco Sirabella <marco <AT> sirabella.org>

 dev-util/cdecl/Manifest                     |  1 +
 dev-util/cdecl/cdecl-9.10.ebuild            | 40 +++++++++++++++++++++++++++++
 dev-util/cdecl/files/cdecl-9.10-tinfo.patch | 26 +++++++++++++++++++
 dev-util/cdecl/metadata.xml                 | 13 ++++++++++
 4 files changed, 80 insertions(+)

diff --git a/dev-util/cdecl/Manifest b/dev-util/cdecl/Manifest
new file mode 100644
index 000000000..2c5aff452
--- /dev/null
+++ b/dev-util/cdecl/Manifest
@@ -0,0 +1 @@
+DIST cdecl-9.10.tar.gz 651328 BLAKE2B 1889fbd7cd387e7e7905f7fb9fb45b82053db18621d84ab4e10de8c4ed0863ea9087746eb85e8dc58d4319a48b3d7a1ead7310fed16b6361741e545aecbc2e71 SHA512 91af182ac736d7955121a6661f7a606b576a976d901256a2d7112b1a8f59f6978f86de019d1b7399fcf1aebffe8a8f93dee163955695c629cc961cd9fdf7a52c

diff --git a/dev-util/cdecl/cdecl-9.10.ebuild b/dev-util/cdecl/cdecl-9.10.ebuild
new file mode 100644
index 000000000..46923f4d9
--- /dev/null
+++ b/dev-util/cdecl/cdecl-9.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION='Composing and deciphering C (or C++) declarations or casts, aka "gibberish."'
+HOMEPAGE="https://github.com/paul-j-lucas/cdecl"
+SRC_URI="https://github.com/paul-j-lucas/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+readline"
+
+DEPEND="
+	sys-libs/ncurses:0=
+	readline? ( sys-libs/readline:0= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-tinfo.patch"
+)
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf $(use_with readline)
+}

diff --git a/dev-util/cdecl/files/cdecl-9.10-tinfo.patch b/dev-util/cdecl/files/cdecl-9.10-tinfo.patch
new file mode 100644
index 000000000..ddc8b628e
--- /dev/null
+++ b/dev-util/cdecl/files/cdecl-9.10-tinfo.patch
@@ -0,0 +1,26 @@
+From 948525fd0ca553d4fce84fc5b080278494c4f224 Mon Sep 17 00:00:00 2001
+From: Marco Sirabella <marco@sirabella.org>
+Date: Tue, 18 May 2021 17:43:35 -0400
+Subject: [PATCH] Search for the library containing: tigetnum (tinfo)
+
+For me, `tigetnum` is found in tinfo.so, ncurses has been split off into
+tinfo due to being compiled with the --with-termlib flag.
+
+pkg-config --libs automatically reports this, but this check is good
+enough to catch this specific problem.
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index b617f9b1..b892ffea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -113,6 +113,7 @@ AC_CHECK_FUNCS([geteuid getpwuid fmemopen strsep])
+ AC_SEARCH_LIBS([endwin],[curses ncurses])
+ AC_SEARCH_LIBS([readline],[readline])
+ AC_SEARCH_LIBS([add_history],[readline history])
++AC_SEARCH_LIBS([tigetnum],[curses ncurses tinfo])
+ 
+ # If readline wasn't disabled by the user, does it actually exist and is it a
+ # proper readline?

diff --git a/dev-util/cdecl/metadata.xml b/dev-util/cdecl/metadata.xml
new file mode 100644
index 000000000..4b1b1be6a
--- /dev/null
+++ b/dev-util/cdecl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marco@sirabella.org</email>
+		<name>Marco Sirabella</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">paul-j-lucas/cdecl</remote-id>
+		<bugs-to>https://github.com/paul-j-lucas/cdecl/issues</bugs-to>
+		<changelog>https://github.com/paul-j-lucas/cdecl/releases</changelog>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/cdecl/, dev-util/cdecl/files/
  2022-02-04 11:44 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
@ 2022-02-04 11:43 ` Florian Schmaus
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Schmaus @ 2022-02-04 11:43 UTC (permalink / raw
  To: gentoo-commits

commit:     981dcc270dbb4d85559af16ca6a557d8e6035332
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 11:43:21 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 11:43:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=981dcc27

dev-util/cdecl: add 11.11, drop 9.10

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-util/cdecl/Manifest                            |  2 +-
 .../{cdecl-9.10.ebuild => cdecl-11.11.ebuild}      |  8 ++-----
 dev-util/cdecl/files/cdecl-9.10-tinfo.patch        | 26 ----------------------
 3 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/dev-util/cdecl/Manifest b/dev-util/cdecl/Manifest
index 2c5aff452..4be916cd1 100644
--- a/dev-util/cdecl/Manifest
+++ b/dev-util/cdecl/Manifest
@@ -1 +1 @@
-DIST cdecl-9.10.tar.gz 651328 BLAKE2B 1889fbd7cd387e7e7905f7fb9fb45b82053db18621d84ab4e10de8c4ed0863ea9087746eb85e8dc58d4319a48b3d7a1ead7310fed16b6361741e545aecbc2e71 SHA512 91af182ac736d7955121a6661f7a606b576a976d901256a2d7112b1a8f59f6978f86de019d1b7399fcf1aebffe8a8f93dee163955695c629cc961cd9fdf7a52c
+DIST cdecl-11.11.tar.gz 765023 BLAKE2B c8847740339f0d9c977c43d9cbf4ea05061a428cef47bfa0cbf908548162eb328483a477e86b60525e39c3e59dc32a21fb093c3afecafb17da1943945c875d98 SHA512 32b95c51af4b1eaa2833777c3a63a807d63f754a766a5dbb215508c11bca99be0b3d3ef260b6bc52a9cbae7f99d82c27fe034f4c9acfcb0447ba1d1c9dba14f4

diff --git a/dev-util/cdecl/cdecl-9.10.ebuild b/dev-util/cdecl/cdecl-11.11.ebuild
similarity index 87%
rename from dev-util/cdecl/cdecl-9.10.ebuild
rename to dev-util/cdecl/cdecl-11.11.ebuild
index 46923f4d9..7e715e918 100644
--- a/dev-util/cdecl/cdecl-9.10.ebuild
+++ b/dev-util/cdecl/cdecl-11.11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
@@ -24,10 +24,6 @@ BDEPEND="
 	sys-devel/flex
 "
 
-PATCHES=(
-	"${FILESDIR}/${P}-tinfo.patch"
-)
-
 S="${WORKDIR}/${PN}-${P}"
 
 src_prepare() {

diff --git a/dev-util/cdecl/files/cdecl-9.10-tinfo.patch b/dev-util/cdecl/files/cdecl-9.10-tinfo.patch
deleted file mode 100644
index ddc8b628e..000000000
--- a/dev-util/cdecl/files/cdecl-9.10-tinfo.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 948525fd0ca553d4fce84fc5b080278494c4f224 Mon Sep 17 00:00:00 2001
-From: Marco Sirabella <marco@sirabella.org>
-Date: Tue, 18 May 2021 17:43:35 -0400
-Subject: [PATCH] Search for the library containing: tigetnum (tinfo)
-
-For me, `tigetnum` is found in tinfo.so, ncurses has been split off into
-tinfo due to being compiled with the --with-termlib flag.
-
-pkg-config --libs automatically reports this, but this check is good
-enough to catch this specific problem.
----
- configure.ac | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/configure.ac b/configure.ac
-index b617f9b1..b892ffea 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -113,6 +113,7 @@ AC_CHECK_FUNCS([geteuid getpwuid fmemopen strsep])
- AC_SEARCH_LIBS([endwin],[curses ncurses])
- AC_SEARCH_LIBS([readline],[readline])
- AC_SEARCH_LIBS([add_history],[readline history])
-+AC_SEARCH_LIBS([tigetnum],[curses ncurses tinfo])
- 
- # If readline wasn't disabled by the user, does it actually exist and is it a
- # proper readline?


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-04 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-22 13:27 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/cdecl/, dev-util/cdecl/files/ Marco Sirabella
  -- strict thread matches above, loose matches on Subject: below --
2022-02-04 11:44 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2022-02-04 11:43 ` [gentoo-commits] repo/proj/guru:dev " Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox