[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-05-27 Thread Pacho Ramos
commit: 39c286c79e8e6db395c6109e2a3245936f6f903b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat May 27 15:05:50 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat May 27 15:05:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39c286c7

dev-cpp/antlr-cpp: drop 4.7.2

Closes: https://bugs.gentoo.org/892285
Signed-off-by: Pacho Ramos  gentoo.org>

 dev-cpp/antlr-cpp/Manifest   |  1 -
 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 27 ---
 2 files changed, 28 deletions(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 11c2ebb8722f..c5e406866b43 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,3 +1,2 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 DIST antlr-cpp-4.11.1.zip 534105 BLAKE2B 
acf854bb8f10f8afdb8df9aa1fa92176edc66bfe3e33ca4b57e138e29f7d8512dc0a31aee057e5997ca9e37ca7934c459ef725e831d34166c189a2ed7e6fbc51
 SHA512 
47a4f714cf195e454b4f66cace58f6dbaa144f44c25594735fc91b37289e9b3c8b5259c03925316754d3eb33af3e0b3d3fb0c5c9aef818b239799e4f1fb49ce6
-DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
deleted file mode 100644
index 52506025d51d..
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="The ANTLR 4 C++ Runtime"
-HOMEPAGE="https://www.antlr.org/;
-SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
-S="${WORKDIR}"
-
-LICENSE="BSD"
-SLOT="4"
-KEYWORDS="amd64 ~arm ~ppc x86"
-
-BDEPEND="app-arch/unzip"
-
-src_prepare() {
-   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
-   "${S}"/runtime/CMakeLists.txt || die "failed sed"
-
-   sed -i -e "s#share/doc/libantlr4#share/doc/${PF}#g" \
-   "${S}"/CMakeLists.txt || die "failed sed"
-
-   cmake_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-02-07 Thread Andreas Sturmlechner
commit: 2de480c1daabf3f344f99fed5bd06221f968e872
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb  7 17:39:11 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb  7 17:41:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de480c1

dev-cpp/antlr-cpp: Revert "drop 4.7.2"

Required by https://bugs.gentoo.org/892285
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-cpp/antlr-cpp/Manifest   |  1 +
 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 27 +++
 2 files changed, 28 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index c5e406866b43..11c2ebb8722f 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,2 +1,3 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 DIST antlr-cpp-4.11.1.zip 534105 BLAKE2B 
acf854bb8f10f8afdb8df9aa1fa92176edc66bfe3e33ca4b57e138e29f7d8512dc0a31aee057e5997ca9e37ca7934c459ef725e831d34166c189a2ed7e6fbc51
 SHA512 
47a4f714cf195e454b4f66cace58f6dbaa144f44c25594735fc91b37289e9b3c8b5259c03925316754d3eb33af3e0b3d3fb0c5c9aef818b239799e4f1fb49ce6
+DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
new file mode 100644
index ..52506025d51d
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="The ANTLR 4 C++ Runtime"
+HOMEPAGE="https://www.antlr.org/;
+SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="BSD"
+SLOT="4"
+KEYWORDS="amd64 ~arm ~ppc x86"
+
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
+   "${S}"/runtime/CMakeLists.txt || die "failed sed"
+
+   sed -i -e "s#share/doc/libantlr4#share/doc/${PF}#g" \
+   "${S}"/CMakeLists.txt || die "failed sed"
+
+   cmake_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-02-07 Thread Andreas Sturmlechner
commit: 8bff20bcee1e139be8137e22edd836db56161a83
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb  7 16:55:37 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb  7 17:25:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bff20bc

dev-cpp/antlr-cpp: drop 4.7.2

Closes: https://bugs.gentoo.org/892285
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-cpp/antlr-cpp/Manifest   |  1 -
 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 27 ---
 2 files changed, 28 deletions(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 11c2ebb8722f..c5e406866b43 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,3 +1,2 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 DIST antlr-cpp-4.11.1.zip 534105 BLAKE2B 
acf854bb8f10f8afdb8df9aa1fa92176edc66bfe3e33ca4b57e138e29f7d8512dc0a31aee057e5997ca9e37ca7934c459ef725e831d34166c189a2ed7e6fbc51
 SHA512 
47a4f714cf195e454b4f66cace58f6dbaa144f44c25594735fc91b37289e9b3c8b5259c03925316754d3eb33af3e0b3d3fb0c5c9aef818b239799e4f1fb49ce6
-DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
deleted file mode 100644
index 674acf4c9f29..
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="The ANTLR 4 C++ Runtime"
-HOMEPAGE="https://www.antlr.org/;
-SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
-S="${WORKDIR}"
-
-LICENSE="BSD"
-SLOT="4"
-KEYWORDS="amd64 ~arm ~ppc x86"
-
-BDEPEND="app-arch/unzip"
-
-src_prepare() {
-   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
-   "${S}"/runtime/CMakeLists.txt || die "failed sed"
-
-   sed -i -e "s#share/doc/libantlr4#share/doc/${PF}#g" \
-   "${S}"/CMakeLists.txt || die "failed sed"
-
-   cmake_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-02-07 Thread Sam James
commit: 4d5507c80c76a7ce4d8096a004e2307f34535e8d
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  7 16:53:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  7 16:53:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d5507c8

dev-cpp/antlr-cpp: Stabilize 4.11.1 x86, #892285

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

 dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
index f184f2fc1c2c..ecc4e6d42d20 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"
 
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-02-07 Thread Sam James
commit: a73c875fc63399c74ed848d3abc621b23732a6f8
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  7 16:53:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  7 16:53:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a73c875f

dev-cpp/antlr-cpp: Stabilize 4.11.1 amd64, #892285

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

 dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
index ecc4e6d42d20..ace89b93bc8a 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"
 
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="~amd64 ~arm ~ppc x86"
+KEYWORDS="amd64 ~arm ~ppc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2023-02-07 Thread Sam James
commit: 34c27e54b4ba1e128e1b69098c0c82b49fbee39b
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  7 16:53:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  7 16:53:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c27e54

dev-cpp/antlr-cpp: Stabilize 4.11.1 ppc, #892285

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

 dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
index ace89b93bc8a..242d1a1613f1 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"
 
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="amd64 ~arm ~ppc x86"
+KEYWORDS="amd64 ~arm ppc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/, dev-cpp/antlr-cpp/files/

2023-01-02 Thread David Seifert
commit: 676a9635b3be275ba6ce4c28b60f37d1ad5a8bf4
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan  2 22:01:33 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan  2 22:01:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676a9635

dev-cpp/antlr-cpp: add 4.11.1

Bug: https://bugs.gentoo.org/726866
Bug: https://bugs.gentoo.org/881317
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/antlr-cpp/Manifest |   1 +
 dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild  |  29 +
 .../antlr-cpp/files/4.11.1-GNUInstallDirs.patch| 139 +
 3 files changed, 169 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index d2f49651c27d..11c2ebb8722f 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,2 +1,3 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
+DIST antlr-cpp-4.11.1.zip 534105 BLAKE2B 
acf854bb8f10f8afdb8df9aa1fa92176edc66bfe3e33ca4b57e138e29f7d8512dc0a31aee057e5997ca9e37ca7934c459ef725e831d34166c189a2ed7e6fbc51
 SHA512 
47a4f714cf195e454b4f66cace58f6dbaa144f44c25594735fc91b37289e9b3c8b5259c03925316754d3eb33af3e0b3d3fb0c5c9aef818b239799e4f1fb49ce6
 DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
new file mode 100644
index ..f184f2fc1c2c
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.11.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="The ANTLR 4 C++ Runtime"
+HOMEPAGE="https://www.antlr.org/;
+SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="BSD"
+SLOT="4"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest )"
+BDEPEND="app-arch/unzip"
+
+PATCHES=( "${FILESDIR}"/${PV}-GNUInstallDirs.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DANTLR_BUILD_CPP_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}

diff --git a/dev-cpp/antlr-cpp/files/4.11.1-GNUInstallDirs.patch 
b/dev-cpp/antlr-cpp/files/4.11.1-GNUInstallDirs.patch
new file mode 100644
index ..c8795e0b033c
--- /dev/null
+++ b/dev-cpp/antlr-cpp/files/4.11.1-GNUInstallDirs.patch
@@ -0,0 +1,139 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -113,11 +113,6 @@
+   set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} /O1 /Oi 
/Ob2 /Gy /MP /DNDEBUG ${MY_CXX_WARNING_FLAGS}")
+   set(CMAKE_CXX_FLAGS_RELEASE"${CMAKE_CXX_FLAGS_RELEASE} /O2 /Oi /Ob2 
/Gy /MP /DNDEBUG ${MY_CXX_WARNING_FLGAS}")
+   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /O2 
/Oi /Ob2 /Gy /MP /Zi ${MY_CXX_WARNING_FLAGS}")
+-else()
+-  set(CMAKE_CXX_FLAGS_DEBUG  "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g 
${MY_CXX_WARNING_FLAGS}")
+-  set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Os 
-DNDEBUG ${MY_CXX_WARNING_FLAGS}")
+-  set(CMAKE_CXX_FLAGS_RELEASE"${CMAKE_CXX_FLAGS_RELEASE} -O3 -DNDEBUG 
${MY_CXX_WARNING_FLGAS}")
+-  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2 
-g ${MY_CXX_WARNING_FLAGS}")
+ endif()
+ 
+ # Compiler-specific C++17 activation.
+@@ -220,16 +215,8 @@
+ 
+ endif(ANTLR4_INSTALL)
+ 
+-if(EXISTS LICENSE.txt)
+-install(FILES LICENSE.txt
+-DESTINATION "share/doc/libantlr4")
+-elseif(EXISTS ../../LICENSE.txt)
+-install(FILES ../../LICENSE.txt
+-DESTINATION "share/doc/libantlr4")
+-endif()
+-
+ install(FILES README.md VERSION
+-DESTINATION "share/doc/libantlr4")
++DESTINATION ${CMAKE_INSTALL_DOCDIR})
+ 
+ set(CPACK_PACKAGE_CONTACT "antlr-discuss...@googlegroups.com")
+ set(CPACK_PACKAGE_VERSION ${ANTLR_VERSION})
+--- a/runtime/CMakeLists.txt
 b/runtime/CMakeLists.txt
+@@ -26,29 +26,14 @@
+ )
+ 
+ add_library(antlr4_shared SHARED ${libantlrcpp_SRC})
+-add_library(antlr4_static STATIC ${libantlrcpp_SRC})
+ 
+ # Make sure to link against threads (pthreads) library in order to be able to
+ # make use of std::call_once in the code without producing runtime errors
+ # (see also https://github.com/antlr/antlr4/issues/3708 and/or 
https://stackoverflow.com/q/51584960).
+ find_package(Threads REQUIRED)
+ target_link_libraries(antlr4_shared Threads::Threads)

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/, dev-cpp/antlr-cpp/files/

2023-01-02 Thread David Seifert
commit: 4c36d3a0bddc15e3714070f8b7ecbe612412bf35
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan  2 14:52:44 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan  2 14:52:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c36d3a0

dev-cpp/antlr-cpp: update EAPI 6 -> 8

Closes: https://bugs.gentoo.org/735708
Closes: https://bugs.gentoo.org/842075
Closes: https://bugs.gentoo.org/843170
Closes: https://bugs.gentoo.org/866278
Signed-off-by: David Seifert  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild   | 105 -
 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r2.ebuild   |  82 +
 dev-cpp/antlr-cpp/files/2.7.7-autotools.patch | 159 ++
 dev-cpp/antlr-cpp/files/2.7.7-libtool.patch   |  21 
 4 files changed, 241 insertions(+), 126 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
deleted file mode 100644
index c6fa2c9550b5..
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Upstream only installs a static library. The original antlr ebuild
-# built a shared library manually, which isn't so great either. This
-# ebuild applies libtool instead and therefore an autoreconf is
-# required. A couple of errors concerning tr have been seen but the
-# final result still looks good. This also sidesteps bug #554344 plus
-# the need to call einstall.
-
-inherit autotools multilib-minimal
-
-MY_P="${PN%-cpp}-${PV}"
-DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="https://www.antlr2.org/;
-SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
-LICENSE="public-domain"
-SLOT="2"
-KEYWORDS="amd64 ~arm ppc x86"
-IUSE="doc examples static-libs"
-RESTRICT="test" # No tests but test target blows up!
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="!dev-java/antlr:0[cxx]"
-
-S="${WORKDIR}/${MY_P}"
-ECONF_SOURCE="${S}"
-PATCHES=( "${FILESDIR}"/${PV}-{gcc,libtool}.patch )
-DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )
-
-src_prepare() {
-   # Turn Makefile.in files into libtool-style Makefile.am
-   # files. Countable.hpp is actually missing.
-   local HPP=$(grep -E -o "\w+\.hpp" lib/cpp/antlr/Makefile.in | grep -v 
"Countable\.hpp" | tr "\n" " " || die)
-   local CPP=$(grep -E -o "\w+\.cpp" lib/cpp/src/Makefile.in | tr "\n" " " 
|| die)
-
-   cat < lib/cpp/antlr/Makefile.am || die
-antlr_includedir = \$(includedir)/antlr
-antlr_include_HEADERS = ${HPP}
-EOF
-
-   cat < lib/cpp/src/Makefile.am || die
-AM_CPPFLAGS = -I\$(abs_top_srcdir)/lib/cpp
-lib_LTLIBRARIES = libantlr.la
-libantlr_la_LDFLAGS = -version-info 2
-libantlr_la_SOURCES = ${CPP}
-EOF
-
-   default
-
-   mv -v configure.in configure.ac || die
-   mv -v aclocal.m4 acinclude.m4 || die
-
-   # These silly test -z lines break badly under recent autoconfs.
-   sed -i '/AC_PATH_PROG/s/test -z "\$[^"]*" *&& *//' configure.ac || die
-
-   # Delete build files from examples.
-   find examples -name Makefile.in -delete || die
-
-   # Fix make invocations. See bug #256880.
-   find -name "*.in" -exec sed -i 's/@MAKE@/$(MAKE)/g' {} + || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   CONFIG_SHELL="${BASH}" econf \
-   --disable-csharp \
-   --enable-cxx \
-   --disable-examples \
-   --disable-java \
-   --disable-python \
-   --enable-shared \
-   --enable-verbose \
-   $(use_enable static-libs static)
-}
-
-src_compile() {
-   multilib-minimal_src_compile
-
-   if use doc; then
-   cd "${S}/lib/cpp" || die
-   doxygen -u doxygen.cfg || die
-   doxygen doxygen.cfg || die
-   fi
-}
-
-multilib_src_install() {
-   # We only care about the C++ stuff.
-   emake -C lib/cpp install DESTDIR="${D}"
-}
-
-src_install() {
-   multilib-minimal_src_install
-
-   cd "${S}" || die
-   use doc && dohtml -r lib/cpp/gen_doc/html/
-
-   if use examples; then
-   docinto examples
-   dodoc -r examples/cpp/*
-   fi
-}

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r2.ebuild
new file mode 100644
index ..525a0ee06a08
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+MY_P="${PN%-cpp}-${PV}"
+
+DESCRIPTION="The ANTLR 2 C++ Runtime"
+HOMEPAGE="https://www.antlr2.org/;
+SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="public-domain"
+SLOT="2"
+KEYWORDS="amd64 ~arm ppc x86"
+IUSE="doc 

[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2021-03-10 Thread Miroslav Šulc
commit: ec73018be18cce2c61a999636388e24f20652bcc
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Mar  9 16:42:11 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Mar 10 11:04:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec73018b

dev-cpp/antlr-cpp: depend on app-arch/unzip

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/19849
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 37ace99caa9..955e60af6ca 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.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
@@ -12,7 +12,7 @@ LICENSE="BSD"
 SLOT="4"
 KEYWORDS="amd64 ~arm ~ppc x86"
 
-DEPEND="app-arch/zip"
+DEPEND="app-arch/unzip"
 
 S="${WORKDIR}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2021-03-10 Thread Miroslav Šulc
commit: d378d3a2af7ca08a915eb85b45d33c42eab1b814
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Wed Mar 10 11:04:24 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Mar 10 11:04:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d378d3a2

dev-cpp/antlr-cpp: migrated from cmake-utils to cmake in 4.7.2

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 955e60af6ca..9f123f01790 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="The ANTLR 4 C++ Runtime"
 HOMEPAGE="https://www.antlr.org/;
@@ -23,5 +23,5 @@ src_prepare() {
sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
"${S}"/CMakeLists.txt || die "failed sed"
 
-   cmake-utils_src_prepare
+   cmake_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2020-06-06 Thread Michał Górny
commit: 94239193e0f019cc00919dabb33a5d3f9c8be98c
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun  4 07:21:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  6 18:01:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94239193

dev-cpp/antlr-cpp: arm keyworded (bug #726418)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 1f45e536e21..37ace99caa9 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ~arm ~ppc x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2020-05-31 Thread Sergei Trofimovich
commit: fcaf9fe4dec1a44d948835e05bada56507bc582c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 31 19:08:32 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 31 19:09:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcaf9fe4

dev-cpp/antlr-cpp: keyworded 4.7.2 for ppc

keyworded wrt , bug #726418

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

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 93dee6e7c91..1f45e536e21 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~ppc x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-13 Thread Miroslav Šulc
commit: 7005fe919e43ff12768571f6f0e77fcfe695b9f8
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Wed Nov 13 08:26:41 2019 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Wed Nov 13 08:26:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7005fe91

dev-cpp/antlr-cpp-2.7.7: removed obsolete

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 105 ---
 1 file changed, 105 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
deleted file mode 100644
index 9c93c56179e..000
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-# Upstream only installs a static library. The original antlr ebuild
-# built a shared library manually, which isn't so great either. This
-# ebuild applies libtool instead and therefore an autoreconf is
-# required. A couple of errors concerning tr have been seen but the
-# final result still looks good. This also sidesteps bug #554344 plus
-# the need to call einstall.
-AUTOTOOLS_AUTORECONF=1
-
-inherit eutils autotools-multilib
-
-MY_P="${PN%-cpp}-${PV}"
-DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="https://www.antlr2.org/;
-SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
-LICENSE="public-domain"
-SLOT="2"
-KEYWORDS="amd64 ~arm ppc x86"
-IUSE="doc examples static-libs"
-RESTRICT="test" # No tests but test target blows up!
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="!dev-java/antlr:0[cxx]"
-
-S="${WORKDIR}/${MY_P}"
-DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PV}-{gcc,libtool}.patch
-
-   mv -v configure.in configure.ac || die
-   mv -v aclocal.m4 acinclude.m4 || die
-
-   # These silly test -z lines break badly under recent autoconfs.
-   sed -i '/AC_PATH_PROG/s/test -z "\$[^"]*" *&& *//' configure.ac || die
-
-   # Delete build files from examples.
-   find examples -name Makefile.in -delete || die
-
-   # Fix make invocations. See bug #256880.
-   find -name "*.in" -exec sed -i 's/@MAKE@/$(MAKE)/g' {} + || die
-
-   # Turn Makefile.in files into libtool-style Makefile.am
-   # files. Countable.hpp is actually missing.
-   local HPP=$(grep -E -o "\w+\.hpp" lib/cpp/antlr/Makefile.in | grep -v 
"Countable\.hpp" | tr "\n" " " || die)
-   local CPP=$(grep -E -o "\w+\.cpp" lib/cpp/src/Makefile.in | tr "\n" " " 
|| die)
-
-   cat < lib/cpp/antlr/Makefile.am || die
-antlr_includedir = \$(includedir)/antlr
-antlr_include_HEADERS = ${HPP}
-EOF
-
-   cat < lib/cpp/src/Makefile.am || die
-AM_CPPFLAGS = -I\$(abs_top_srcdir)/lib/cpp
-lib_LTLIBRARIES = libantlr.la
-libantlr_la_LDFLAGS = -version-info 2
-libantlr_la_SOURCES = ${CPP}
-EOF
-
-   autotools-multilib_src_prepare
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --disable-csharp
-   --enable-cxx
-   --disable-examples
-   --disable-java
-   --disable-python
-   --enable-verbose
-   )
-
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-multilib_src_compile
-
-   if use doc; then
-   cd "${S}/lib/cpp" || die
-   doxygen -u doxygen.cfg || die
-   doxygen doxygen.cfg || die
-   fi
-}
-
-multilib_src_install() {
-   # We only care about the C++ stuff.
-   emake -C lib/cpp install DESTDIR="${D}"
-}
-
-src_install() {
-   autotools-multilib_src_install
-
-   cd "${S}" || die
-   use doc && dohtml -r lib/cpp/gen_doc/html/
-
-   if use examples; then
-   docinto examples
-   dodoc -r examples/cpp/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-12 Thread Agostino Sarubbo
commit: 2d505cb75d52c824711eed8fa3908f2c884853f8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 13 07:39:36 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 13 07:39:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d505cb7

dev-cpp/antlr-cpp: ppc stable wrt bug #699084

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

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index 3c9b37ce91b..c6fa2c9550b 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.antlr2.org/;
 SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="amd64 ~arm ~ppc x86"
+KEYWORDS="amd64 ~arm ppc x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-02 Thread Miroslav Šulc
commit: 12ee35580f4c6339f352b4960e9db9e500acc032
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Nov  2 09:03:40 2019 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Nov  2 09:03:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ee3558

dev-cpp/antlr-cpp-4.7.1: removed obsolete

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/Manifest   |  1 -
 dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild | 27 ---
 2 files changed, 28 deletions(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index d4e9e63cdbd..d2f49651c27 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,3 +1,2 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
-DIST antlr-cpp-4.7.1.zip 462076 BLAKE2B 
209e7a4f50ae0686a21a85728f5a7478305971ac6653941e19b34a9fdd367fbcf87300c32a83cd6cc021216d564f6348e589ede7a3491a5411f16ca8fe373569
 SHA512 
24d53278db56b199e6787242f22339f74e07d2cd3ed56f851ad905b110c2ba3cb001e1e2fcbc8624f0e93e00ba1fe1b23630dd1a736558c694655aeb1c3129da
 DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
deleted file mode 100644
index 597e1ad2dc4..000
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="The ANTLR 4 C++ Runtime"
-HOMEPAGE="https://www.antlr.org/;
-SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
-LICENSE="BSD"
-SLOT="4"
-KEYWORDS="amd64 x86"
-
-DEPEND="app-arch/zip"
-
-S="${WORKDIR}"
-
-src_prepare() {
-   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
-   "${S}"/runtime/CMakeLists.txt || die "failed sed"
-
-   sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
-   "${S}"/CMakeLists.txt || die "failed sed"
-
-   cmake-utils_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-02 Thread Agostino Sarubbo
commit: 7c574f10aa6efab7da39307666467363ad4843f2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov  2 08:49:02 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov  2 08:49:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c574f10

dev-cpp/antlr-cpp: x86 stable wrt bug #699082

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

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 7f1949fe303..93dee6e7c91 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-02 Thread Agostino Sarubbo
commit: fb7eaf89da851e929ba3e16730e58dee22a92b6a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov  2 08:49:06 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov  2 08:49:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb7eaf89

dev-cpp/antlr-cpp: x86 stable wrt bug #699084

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

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index ce64e8f1b99..3c9b37ce91b 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.antlr2.org/;
 SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~ppc x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-02 Thread Agostino Sarubbo
commit: cd9485b11568f3448032c763faabd1a46edfccc4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov  2 08:41:56 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov  2 08:41:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9485b1

dev-cpp/antlr-cpp: amd64 stable wrt bug #699084

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

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index 6e13d098deb..ce64e8f1b99 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.antlr2.org/;
 SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-02 Thread Agostino Sarubbo
commit: a090f5f9c5995ec96554f152ad2a64377ecd82ba
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov  2 08:41:50 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov  2 08:41:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a090f5f9

dev-cpp/antlr-cpp: amd64 stable wrt bug #699082

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

 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
index 9315e626e84..7f1949fe303 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-11-01 Thread Miroslav Šulc
commit: 320e50c3fa5a7a7c4a6acea3d9c02d8b11121ca5
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Fri Nov  1 11:11:29 2019 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Nov  1 11:11:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320e50c3

dev-cpp/antlr-cpp:3.5: removed (not used)

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/Manifest  |  1 -
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild | 20 
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild| 23 ---
 3 files changed, 44 deletions(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 7d5a00bbae3..d4e9e63cdbd 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,4 +1,3 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
-DIST antlr-cpp-3.5.2.tar.gz 6927136 BLAKE2B 
754d98614945692d122c54f2a9b4b694723794c1061982107ae3ca471ffb0967d67c4004b53490d0db10c4332adc8d7482c8567324dfa2c5fd1a67e12c228b3e
 SHA512 
796150c569320793614b9cab45f507e9e22947314c38eb8f8601823cd0e6fe1ac08f4433c7600d511bf822e46f5e8a21d193633192ae68f1bb64b8354eec250e
 DIST antlr-cpp-4.7.1.zip 462076 BLAKE2B 
209e7a4f50ae0686a21a85728f5a7478305971ac6653941e19b34a9fdd367fbcf87300c32a83cd6cc021216d564f6348e589ede7a3491a5411f16ca8fe373569
 SHA512 
24d53278db56b199e6787242f22339f74e07d2cd3ed56f851ad905b110c2ba3cb001e1e2fcbc8624f0e93e00ba1fe1b23630dd1a736558c694655aeb1c3129da
 DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
deleted file mode 100644
index 28b296c9b47..000
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN%-cpp}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="https://www.antlr3.org/;
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="BSD"
-SLOT="3.5"
-KEYWORDS="~amd64 ~x86"
-
-S="${WORKDIR}/${MY_PN}3-${PV}"
-
-src_install() {
-   doheader "${S}"/runtime/Cpp/include/*
-}

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
deleted file mode 100644
index dfc84291767..000
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN%-cpp}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="https://www.antlr3.org/;
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-LICENSE="BSD"
-SLOT="3.5"
-KEYWORDS="~amd64 ~x86"
-
-S="${WORKDIR}/${MY_PN}3-${PV}"
-
-RDEPEND="!dev-java/antlr:0[cxx]"
-
-src_install() {
-   insinto /usr/include/antlr3
-   doins "${S}"/runtime/Cpp/include/*
-}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-10-22 Thread Miroslav Šulc
commit: 3c4cec8e1ae28a86d77aa7c5d63893ec2739e6fc
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Tue Oct 22 18:27:10 2019 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Oct 22 18:27:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c4cec8e

dev-cpp/antlr-cpp-4.7.2: bump

Bug: https://bugs.gentoo.org/692162
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Miroslav Šulc  gentoo.org>

 dev-cpp/antlr-cpp/Manifest   |  1 +
 dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 27 +++
 2 files changed, 28 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 05796d5f851..7d5a00bbae3 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,3 +1,4 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 DIST antlr-cpp-3.5.2.tar.gz 6927136 BLAKE2B 
754d98614945692d122c54f2a9b4b694723794c1061982107ae3ca471ffb0967d67c4004b53490d0db10c4332adc8d7482c8567324dfa2c5fd1a67e12c228b3e
 SHA512 
796150c569320793614b9cab45f507e9e22947314c38eb8f8601823cd0e6fe1ac08f4433c7600d511bf822e46f5e8a21d193633192ae68f1bb64b8354eec250e
 DIST antlr-cpp-4.7.1.zip 462076 BLAKE2B 
209e7a4f50ae0686a21a85728f5a7478305971ac6653941e19b34a9fdd367fbcf87300c32a83cd6cc021216d564f6348e589ede7a3491a5411f16ca8fe373569
 SHA512 
24d53278db56b199e6787242f22339f74e07d2cd3ed56f851ad905b110c2ba3cb001e1e2fcbc8624f0e93e00ba1fe1b23630dd1a736558c694655aeb1c3129da
+DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 
007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b
 SHA512 
3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
new file mode 100644
index 000..9315e626e84
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+DESCRIPTION="The ANTLR 4 C++ Runtime"
+HOMEPAGE="https://www.antlr.org/;
+SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
+LICENSE="BSD"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/zip"
+
+S="${WORKDIR}"
+
+src_prepare() {
+   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
+   "${S}"/runtime/CMakeLists.txt || die "failed sed"
+
+   sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
+   "${S}"/CMakeLists.txt || die "failed sed"
+
+   cmake-utils_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-06-05 Thread Agostino Sarubbo
commit: 4c267cd1491c5ae982181e4f64e2ea0500be9888
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  5 07:45:05 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  5 07:45:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c267cd1

dev-cpp/antlr-cpp: x86 stable wrt bug #683942

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

 dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
index 44be13003a2..597e1ad2dc4 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-05-26 Thread Mikle Kolyada
commit: 8a90f2477c28c0b7540fafeacf8dae919d253268
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May 26 11:50:20 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May 26 11:50:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a90f247

dev-cpp/antlr-cpp: amd64 stable wrt bug #683942

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
index 4c54326473f..44be13003a2 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.antlr.org/;
 SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
 LICENSE="BSD"
 SLOT="4"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DEPEND="app-arch/zip"
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2019-04-20 Thread Aaron Bauman
commit: 52fc4a3c7ec1a99cc3edfef92a8da74b678adc33
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Apr 14 12:00:29 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Apr 20 01:28:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52fc4a3c

dev-cpp/antlr-cpp: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11679
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 6 +++---
 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild| 6 +++---
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild | 4 ++--
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild| 4 ++--
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index 576b9c51d9d..6e13d098deb 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,8 +14,8 @@ inherit autotools multilib-minimal
 
 MY_P="${PN%-cpp}-${PV}"
 DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="http://www.antlr2.org/;
-SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
+HOMEPAGE="https://www.antlr2.org/;
+SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
 KEYWORDS="~amd64 ~arm ~ppc ~x86"

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index 38f0da79540..9c93c56179e 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -15,8 +15,8 @@ inherit eutils autotools-multilib
 
 MY_P="${PN%-cpp}-${PV}"
 DESCRIPTION="The ANTLR 2 C++ Runtime"
-HOMEPAGE="http://www.antlr2.org/;
-SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
+HOMEPAGE="https://www.antlr2.org/;
+SRC_URI="https://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
 KEYWORDS="amd64 ~arm ppc x86"

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
index 22d8b1075d1..28b296c9b47 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ MY_PN="${PN%-cpp}"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="http://www.antlr3.org/;
+HOMEPAGE="https://www.antlr3.org/;
 SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 LICENSE="BSD"
 SLOT="3.5"

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
index de73a6f9bc4..dfc84291767 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ MY_PN="${PN%-cpp}"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="The ANTLR 3 C++ Runtime"
-HOMEPAGE="http://www.antlr3.org/;
+HOMEPAGE="https://www.antlr3.org/;
 SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
 LICENSE="BSD"
 SLOT="3.5"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2018-11-21 Thread Patrice Clement
commit: 17f9cef4bbab888ace1350b115be96b79e2ea046
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Nov 21 10:28:06 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Nov 21 10:28:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f9cef4

dev-cpp/antlr-cpp: rebuild Manifest file.

Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-cpp/antlr-cpp/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 60baa459b58..05796d5f851 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,3 +1,3 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
-DIST antlr-cpp-3.5.2.tar.gz 6927126 BLAKE2B 
1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161
 SHA512 
e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
+DIST antlr-cpp-3.5.2.tar.gz 6927136 BLAKE2B 
754d98614945692d122c54f2a9b4b694723794c1061982107ae3ca471ffb0967d67c4004b53490d0db10c4332adc8d7482c8567324dfa2c5fd1a67e12c228b3e
 SHA512 
796150c569320793614b9cab45f507e9e22947314c38eb8f8601823cd0e6fe1ac08f4433c7600d511bf822e46f5e8a21d193633192ae68f1bb64b8354eec250e
 DIST antlr-cpp-4.7.1.zip 462076 BLAKE2B 
209e7a4f50ae0686a21a85728f5a7478305971ac6653941e19b34a9fdd367fbcf87300c32a83cd6cc021216d564f6348e589ede7a3491a5411f16ca8fe373569
 SHA512 
24d53278db56b199e6787242f22339f74e07d2cd3ed56f851ad905b110c2ba3cb001e1e2fcbc8624f0e93e00ba1fe1b23630dd1a736558c694655aeb1c3129da



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2018-11-04 Thread Patrice Clement
commit: c6fb513d73c00ddcbe2bae4d453317b35437087f
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Nov  4 18:08:55 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Nov  4 18:09:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6fb513d

dev-cpp/antlr-cpp: clear QA warnings.

Closes: https://bugs.gentoo.org/663892
Signed-off-by: Patrice Clement  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
index 173656e8e08..4c54326473f 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,3 +15,13 @@ KEYWORDS="~amd64 ~x86"
 DEPEND="app-arch/zip"
 
 S="${WORKDIR}"
+
+src_prepare() {
+   sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \
+   "${S}"/runtime/CMakeLists.txt || die "failed sed"
+
+   sed -i -e "s#share/doc/libantlr4#share/doc/${P}#g" \
+   "${S}"/CMakeLists.txt || die "failed sed"
+
+   cmake-utils_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2018-08-07 Thread Patrice Clement
commit: 076b3f4c1db890d99978d32077241fbb076ce738
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Aug  6 19:12:02 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Aug  7 12:21:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=076b3f4c

dev-cpp/antlr-cpp: version bump.

Courtesy of Hans de Graff  gentoo.org>.

Closes: https://bugs.gentoo.org/635644
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-cpp/antlr-cpp/Manifest   |  1 +
 dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild | 17 +
 2 files changed, 18 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 94d1b9b9f45..60baa459b58 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,2 +1,3 @@
 DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 DIST antlr-cpp-3.5.2.tar.gz 6927126 BLAKE2B 
1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161
 SHA512 
e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
+DIST antlr-cpp-4.7.1.zip 462076 BLAKE2B 
209e7a4f50ae0686a21a85728f5a7478305971ac6653941e19b34a9fdd367fbcf87300c32a83cd6cc021216d564f6348e589ede7a3491a5411f16ca8fe373569
 SHA512 
24d53278db56b199e6787242f22339f74e07d2cd3ed56f851ad905b110c2ba3cb001e1e2fcbc8624f0e93e00ba1fe1b23630dd1a736558c694655aeb1c3129da

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
new file mode 100644
index 000..173656e8e08
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="The ANTLR 4 C++ Runtime"
+HOMEPAGE="https://www.antlr.org/;
+SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> 
${P}.zip"
+LICENSE="BSD"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/zip"
+
+S="${WORKDIR}"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2017-11-25 Thread Patrick Lauer
commit: 503a32ef4c73c7c963557c61061b56485975a8ce
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Nov 25 14:04:17 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Nov 25 14:08:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=503a32ef

dev-cpp/antlr-cpp: Whitespace

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-cpp/antlr-cpp/Manifest  | 4 ++--
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild | 3 ++-
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild| 3 ++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index b9482fd08ba..94d1b9b9f45 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1,2 +1,2 @@
-DIST antlr-2.7.7.tar.gz 1816180 SHA256 
853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 WHIRLPOOL 
def5ac0ddfe5a65f9f7d5489d039048c5d630b46cd5626593bd12e9b393d5ec26884f90b013bcdf58511e26abbf06e0d7b3789a11298b017f7e70af2ec8dde4a
-DIST antlr-cpp-3.5.2.tar.gz 6927126 SHA256 
529baf7d11f06b773543e25271c1a6e1735d2f8061f4866d1ea5c99a5d71ee1f SHA512 
e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
 WHIRLPOOL 
a3a2bf81cc91a332725a4ce15dcccf10df5395b27a521656b1f3e80fed10197edc132fa2a8b9a259b2ee603320492b4b1f664692a967fdfdbb574d919b9aa20e
+DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 
3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c
 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
+DIST antlr-cpp-3.5.2.tar.gz 6927126 BLAKE2B 
1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161
 SHA512 
e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
index b054cde396b..22d8b1075d1 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
@@ -1,5 +1,6 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=6
 
 MY_PN="${PN%-cpp}"

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
index 17febffa40d..de73a6f9bc4 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
@@ -1,5 +1,6 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=6
 
 MY_PN="${PN%-cpp}"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2017-07-15 Thread James Le Cuirot
commit: 74cefeb97600d6d2ae01d9f14ce483ab4b3dd885
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jul 15 10:00:08 2017 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jul 15 18:17:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74cefeb9

dev-cpp/antlr-cpp: Fix 2.7.7 configure when /bin/sh isn't Bash

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
index 905cf314f4f..576b9c51d9d 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.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
 
 EAPI=6
@@ -66,7 +66,7 @@ EOF
 }
 
 multilib_src_configure() {
-   econf \
+   CONFIG_SHELL="${BASH}" econf \
--disable-csharp \
--enable-cxx \
--disable-examples \



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-12-20 Thread Patrice Clement
commit: 689a911e44a9c096afc659ebd1466616ba2ec8ac
Author: Patrice Clement  gentoo  org>
AuthorDate: Tue Dec 20 11:35:22 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Dec 20 11:36:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689a911e

dev-cpp/antlr-cpp: install CXX headers in /usr/include instead of 
/usr/include/antlr3.

Package-Manager: portage-2.3.0

 dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild | 20 
 1 file changed, 20 insertions(+)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
new file mode 100644
index ..9d9560e
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+MY_PN="${PN%-cpp}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="The ANTLR 3 C++ Runtime"
+HOMEPAGE="http://www.antlr3.org/;
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="3.5"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${MY_PN}3-${PV}"
+
+src_install() {
+   doheader "${S}"/runtime/Cpp/include/*
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-12-12 Thread Patrice Clement
commit: 774e50789bf3506a2cf7237bff3358ea75e548a5
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Dec 12 11:06:35 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Dec 12 11:07:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=774e5078

dev-cpp/antlr-cpp: version bump.

Package-Manager: portage-2.3.0

 dev-cpp/antlr-cpp/Manifest   |  1 +
 dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild | 23 +++
 2 files changed, 24 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
index 220142f..b9482fd 100644
--- a/dev-cpp/antlr-cpp/Manifest
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -1 +1,2 @@
 DIST antlr-2.7.7.tar.gz 1816180 SHA256 
853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 WHIRLPOOL 
def5ac0ddfe5a65f9f7d5489d039048c5d630b46cd5626593bd12e9b393d5ec26884f90b013bcdf58511e26abbf06e0d7b3789a11298b017f7e70af2ec8dde4a
+DIST antlr-cpp-3.5.2.tar.gz 6927126 SHA256 
529baf7d11f06b773543e25271c1a6e1735d2f8061f4866d1ea5c99a5d71ee1f SHA512 
e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
 WHIRLPOOL 
a3a2bf81cc91a332725a4ce15dcccf10df5395b27a521656b1f3e80fed10197edc132fa2a8b9a259b2ee603320492b4b1f664692a967fdfdbb574d919b9aa20e

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
new file mode 100644
index ..24195f4
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-3.5.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+MY_PN="${PN%-cpp}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="The ANTLR 3 C++ Runtime"
+HOMEPAGE="http://www.antlr3.org/;
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT="3.5"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${MY_PN}3-${PV}"
+
+RDEPEND="!dev-java/antlr:0[cxx]"
+
+src_install() {
+   insinto /usr/include/antlr3
+   doins "${S}"/runtime/Cpp/include/*
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-12-05 Thread James Le Cuirot
commit: 4a7cc97647e358a76e530d205cb383ad18f98e7f
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Dec  5 21:47:09 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Dec  5 21:47:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7cc976

dev-cpp/antlr-cpp: EAPI bump, migration away from autotools-multilib

Package-Manager: portage-2.3.2

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild | 106 
 1 file changed, 106 insertions(+)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
new file mode 100644
index ..f25d87c
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# Upstream only installs a static library. The original antlr ebuild
+# built a shared library manually, which isn't so great either. This
+# ebuild applies libtool instead and therefore an autoreconf is
+# required. A couple of errors concerning tr have been seen but the
+# final result still looks good. This also sidesteps bug #554344 plus
+# the need to call einstall.
+
+inherit autotools multilib-minimal
+
+MY_P="${PN%-cpp}-${PV}"
+DESCRIPTION="The ANTLR 2 C++ Runtime"
+HOMEPAGE="http://www.antlr2.org/;
+SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
+LICENSE="public-domain"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="doc examples static-libs"
+RESTRICT="test" # No tests but test target blows up!
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="!dev-java/antlr:0[cxx]"
+
+S="${WORKDIR}/${MY_P}"
+ECONF_SOURCE="${S}"
+PATCHES=( "${FILESDIR}"/${PV}-{gcc,libtool}.patch )
+DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )
+
+src_prepare() {
+   # Turn Makefile.in files into libtool-style Makefile.am
+   # files. Countable.hpp is actually missing.
+   local HPP=$(grep -E -o "\w+\.hpp" lib/cpp/antlr/Makefile.in | grep -v 
"Countable\.hpp" | tr "\n" " " || die)
+   local CPP=$(grep -E -o "\w+\.cpp" lib/cpp/src/Makefile.in | tr "\n" " " 
|| die)
+
+   cat < lib/cpp/antlr/Makefile.am || die
+antlr_includedir = \$(includedir)/antlr
+antlr_include_HEADERS = ${HPP}
+EOF
+
+   cat < lib/cpp/src/Makefile.am || die
+AM_CPPFLAGS = -I\$(abs_top_srcdir)/lib/cpp
+lib_LTLIBRARIES = libantlr.la
+libantlr_la_LDFLAGS = -version-info 2
+libantlr_la_SOURCES = ${CPP}
+EOF
+
+   default
+
+   mv -v configure.in configure.ac || die
+   mv -v aclocal.m4 acinclude.m4 || die
+
+   # These silly test -z lines break badly under recent autoconfs.
+   sed -i '/AC_PATH_PROG/s/test -z "\$[^"]*" *&& *//' configure.ac || die
+
+   # Delete build files from examples.
+   find examples -name Makefile.in -delete || die
+
+   # Fix make invocations. See bug #256880.
+   find -name "*.in" -exec sed -i 's/@MAKE@/$(MAKE)/g' {} + || die
+
+   eautoreconf
+}
+
+multilib_src_configure() {
+   econf \
+   --disable-csharp \
+   --enable-cxx \
+   --disable-examples \
+   --disable-java \
+   --disable-python \
+   --enable-shared \
+   --enable-verbose \
+   $(use_enable static-libs static)
+}
+
+src_compile() {
+   multilib-minimal_src_compile
+
+   if use doc; then
+   cd "${S}/lib/cpp" || die
+   doxygen -u doxygen.cfg || die
+   doxygen doxygen.cfg || die
+   fi
+}
+
+multilib_src_install() {
+   # We only care about the C++ stuff.
+   emake -C lib/cpp install DESTDIR="${D}"
+}
+
+src_install() {
+   multilib-minimal_src_install
+
+   cd "${S}" || die
+   use doc && dohtml -r lib/cpp/gen_doc/html/
+
+   if use examples; then
+   docinto examples
+   dodoc -r examples/cpp/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-02-17 Thread Richard Farina
commit: 8d06a3e2ee0368c37fa283fe03688daa861059bb
Author: Zero_Chaos  gentoo  org>
AuthorDate: Wed Feb 17 14:41:38 2016 +
Commit: Richard Farina  gentoo  org>
CommitDate: Wed Feb 17 14:41:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d06a3e2

dev-cpp/antlr-cpp: hard block isn't needed, use soft block

Package-Manager: portage-2.2.27

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index 9d1bd4f..afd6d3e 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -25,7 +25,7 @@ IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 
 DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND="!!dev-java/antlr:0[cxx]"
+RDEPEND="!dev-java/antlr:0[cxx]"
 
 S="${WORKDIR}/${MY_P}"
 DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-01-23 Thread Agostino Sarubbo
commit: a2d040063c1a407c69d94b969d265b85d3cd1a74
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan 23 16:57:51 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan 23 16:59:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d04006

dev-cpp/antlr-cpp: amd64 stable wrt bug #571954

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

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index c159ab5..ae27eb2 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.antlr2.org/;
 SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="~amd64 ~arm ppc ~x86"
+KEYWORDS="amd64 ~arm ppc ~x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-01-17 Thread Agostino Sarubbo
commit: a6d6ac69e5c1cd3a78c5cc9c425e54d7bcd67256
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 17 17:52:00 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 17 17:52:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d6ac69

dev-cpp/antlr-cpp: ppc stable wrt bug #571954

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

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index 25e2a82..c159ab5 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.antlr2.org/;
 SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ppc ~x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2016-01-16 Thread James Le Cuirot
commit: ca594fba1f673cf1372c8cfcfb4ec07a6eb4238b
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jan 16 13:57:23 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jan 16 13:57:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca594fba

dev-cpp/antlr-cpp: Add ~arm keyword, closes bug #572028

Package-Manager: portage-2.2.26

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index da15ded..25e2a82 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.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$
 
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.antlr2.org/;
 SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
 LICENSE="public-domain"
 SLOT="2"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
 IUSE="doc examples static-libs"
 RESTRICT="test" # No tests but test target blows up!
 



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/

2015-12-25 Thread James Le Cuirot
commit: 3c476ce475241ecbf4831a0e4e623cf8be537020
Author: James Le Cuirot  gentoo  org>
AuthorDate: Fri Dec 25 13:13:24 2015 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri Dec 25 13:14:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c476ce4

dev-cpp/antlr-cpp: Fix src_test breakage, closes bug #569230

There actually aren't any tests but the test target blows up.

Package-Manager: portage-2.2.26

 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
index b425c2d..da15ded 100644
--- a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -22,6 +22,7 @@ LICENSE="public-domain"
 SLOT="2"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="doc examples static-libs"
+RESTRICT="test" # No tests but test target blows up!
 
 DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND="!!dev-java/antlr:0[cxx]"



[gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/, dev-cpp/antlr-cpp/files/

2015-10-14 Thread James Le Cuirot
commit: 28eb80ad21b60fd4b785d0397bd8ae00a016c8a9
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Oct 14 13:35:05 2015 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Oct 14 15:22:14 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28eb80ad

dev-cpp/antlr-cpp: New package, split from dev-java/antlr

The old ANTLR 2 ebuild tried to cram all the runtimes together, which
was messy. The C++ runtime does not need any Java components at build
time or runtime so it makes sense to split this out. The C++ runtime
for ANTLR 4 is maintained separately by upstream anyway.

This new package does a better job of building the shared library with
the help of libtool. It also supports multilib.

Package-Manager: portage-2.2.20.1

 dev-cpp/antlr-cpp/Manifest  |   1 +
 dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild| 105 
 dev-cpp/antlr-cpp/files/2.7.7-gcc.patch |  12 
 dev-cpp/antlr-cpp/files/2.7.7-libtool.patch |  21 ++
 dev-cpp/antlr-cpp/metadata.xml  |   5 ++
 5 files changed, 144 insertions(+)

diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest
new file mode 100644
index 000..220142f
--- /dev/null
+++ b/dev-cpp/antlr-cpp/Manifest
@@ -0,0 +1 @@
+DIST antlr-2.7.7.tar.gz 1816180 SHA256 
853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9 SHA512 
faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
 WHIRLPOOL 
def5ac0ddfe5a65f9f7d5489d039048c5d630b46cd5626593bd12e9b393d5ec26884f90b013bcdf58511e26abbf06e0d7b3789a11298b017f7e70af2ec8dde4a

diff --git a/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild 
b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
new file mode 100644
index 000..b425c2d
--- /dev/null
+++ b/dev-cpp/antlr-cpp/antlr-cpp-2.7.7.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+# Upstream only installs a static library. The original antlr ebuild
+# built a shared library manually, which isn't so great either. This
+# ebuild applies libtool instead and therefore an autoreconf is
+# required. A couple of errors concerning tr have been seen but the
+# final result still looks good. This also sidesteps bug #554344 plus
+# the need to call einstall.
+AUTOTOOLS_AUTORECONF=1
+
+inherit eutils autotools-multilib
+
+MY_P="${PN%-cpp}-${PV}"
+DESCRIPTION="The ANTLR 2 C++ Runtime"
+HOMEPAGE="http://www.antlr2.org/;
+SRC_URI="http://www.antlr2.org/download/${MY_P}.tar.gz;
+LICENSE="public-domain"
+SLOT="2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc examples static-libs"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND="!!dev-java/antlr:0[cxx]"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( lib/cpp/AUTHORS lib/cpp/ChangeLog lib/cpp/README lib/cpp/TODO )
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PV}-{gcc,libtool}.patch
+
+   mv -v configure.in configure.ac || die
+   mv -v aclocal.m4 acinclude.m4 || die
+
+   # These silly test -z lines break badly under recent autoconfs.
+   sed -i '/AC_PATH_PROG/s/test -z "\$[^"]*" *&& *//' configure.ac || die
+
+   # Delete build files from examples.
+   find examples -name Makefile.in -delete || die
+
+   # Fix make invocations. See bug #256880.
+   find -name "*.in" -exec sed -i 's/@MAKE@/$(MAKE)/g' {} + || die
+
+   # Turn Makefile.in files into libtool-style Makefile.am
+   # files. Countable.hpp is actually missing.
+   local HPP=$(grep -E -o "\w+\.hpp" lib/cpp/antlr/Makefile.in | grep -v 
"Countable\.hpp" | tr "\n" " " || die)
+   local CPP=$(grep -E -o "\w+\.cpp" lib/cpp/src/Makefile.in | tr "\n" " " 
|| die)
+
+   cat < lib/cpp/antlr/Makefile.am || die
+antlr_includedir = \$(includedir)/antlr
+antlr_include_HEADERS = ${HPP}
+EOF
+
+   cat < lib/cpp/src/Makefile.am || die
+AM_CPPFLAGS = -I\$(abs_top_srcdir)/lib/cpp
+lib_LTLIBRARIES = libantlr.la
+libantlr_la_LDFLAGS = -version-info 2
+libantlr_la_SOURCES = ${CPP}
+EOF
+
+   autotools-multilib_src_prepare
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-csharp
+   --enable-cxx
+   --disable-examples
+   --disable-java
+   --disable-python
+   --enable-verbose
+   )
+
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-multilib_src_compile
+
+   if use doc; then
+   cd "${S}/lib/cpp" || die
+   doxygen -u doxygen.cfg || die
+   doxygen doxygen.cfg || die
+   fi
+}
+
+multilib_src_install() {
+   # We only care about the C++ stuff.
+   emake -C lib/cpp install DESTDIR="${D}"
+}
+
+src_install() {
+   autotools-multilib_src_install
+
+   cd "${S}" || die
+   use doc && dohtml -r lib/cpp/gen_doc/html/
+
+   if use examples; then
+   docinto examples
+