[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2024-07-21 Thread Bernard Cafarelli
commit: 330de41b28c177e97b7d4f755391d5d494db8c9e
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Jul 21 21:34:08 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Jul 21 21:34:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330de41b

gnustep-base/libobjc2: add 2.2.1

Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/Manifest  |  1 +
 gnustep-base/libobjc2/libobjc2-2.2.1.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index b82c56d4e4f9..f416b7535beb 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1 +1,2 @@
+DIST libobjc2-2.2.1.tar.gz 205087 BLAKE2B 
84c09d4352d9db0de75531d46e542905617ba1b5df60ac718a32ec4eaeebc620ad1807d6480983a65f0a0a7863eff575568dfab3e32475cb8364d39d4a187587
 SHA512 
294db277da1ad929813cbb6c7ae1b5b9dfd9dcb6ceec157b9ec59bca85202c6f344ad8ba8ab3731b83abc5f72c2ab1cb88a79947e56eb92e87dcf62584169af9
 DIST libobjc2-2.2.tar.gz 203442 BLAKE2B 
87a1a50e97f27f347ea9edfbaed1e7938f9fd090e1726d5564215326a607b59cc763729396f4de7634a2f199ada822e8244950f6f77f501e59d1d2423cf75076
 SHA512 
4e49dc00be5a9282678b7cd4793ef1c4202e4a7f26dba2a170f0ff77b0f311c0f44eb72093a01367be34f12156ffd07fec40067162b9c0e4f561ec0784ab0643

diff --git a/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild
new file mode 100644
index ..6e91f4972f94
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="https://gnustep.github.io";
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/robin-map"
+BDEPEND="${RDEPEND}
+   sys-devel/clang"
+
+src_configure() {
+   export CC="clang"
+   export CXX="clang++"
+   local mycmakeargs=(
+   -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+   -DTESTS="$(usex test)"
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/files/, gnustep-base/libobjc2/

2024-03-26 Thread Andreas Sturmlechner
commit: b02998898847086488f018f869aea0ec35e2279c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Mar 26 11:13:20 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Mar 26 19:58:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0299889

gnustep-base/libobjc2: drop 2.1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 gnustep-base/libobjc2/Manifest |  2 --
 .../files/libobjc2-2.1-eh_trampoline.patch | 27 --
 .../libobjc2/files/libobjc2-2.1-pthread_link.patch | 12 ---
 gnustep-base/libobjc2/libobjc2-2.1.ebuild  | 42 --
 gnustep-base/libobjc2/metadata.xml |  4 ---
 5 files changed, 87 deletions(-)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index 3944d474ac36..b82c56d4e4f9 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,3 +1 @@
-DIST 757de82.tar.gz 63372 BLAKE2B 
74078c6c16d7ac1891ce63b21ae2f06c8759f3a95db74a6acef2d51d605a7631ac37b8c8698752699e5c30d2e95876b1967e6c2c429403f1094b6b99dd4d272c
 SHA512 
732e7f5b4ec0dc18c0c7b2b567e4fd65727918db76863aabb4433db22630e1e3c5ba3063de6dcf32f099c0d8cfd70b0d811d59f73a2cda362f6bd7054d14f999
-DIST libobjc2-2.1.tar.gz 200290 BLAKE2B 
67cd78238afad9afa4311669403be06ec8d001978e997128acc67cdba9c2b18482f66af4597c4a484556ce38bbfc4416b1b1cb8cde1d8f27f3b4d744d4581309
 SHA512 
a93c385f9ad53fce0f736088c3a18e72119c0128690725e435a35fe4250830d13e18899f98c7d80e6ea41cbfe1404f055d9d6c3d891ad7c770d47dcd0244fc7f
 DIST libobjc2-2.2.tar.gz 203442 BLAKE2B 
87a1a50e97f27f347ea9edfbaed1e7938f9fd090e1726d5564215326a607b59cc763729396f4de7634a2f199ada822e8244950f6f77f501e59d1d2423cf75076
 SHA512 
4e49dc00be5a9282678b7cd4793ef1c4202e4a7f26dba2a170f0ff77b0f311c0f44eb72093a01367be34f12156ffd07fec40067162b9c0e4f561ec0784ab0643

diff --git a/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch 
b/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch
deleted file mode 100644
index c956d15fbd59..
--- a/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 4e07fb8457266b76311b2bf3dc5dbe8db790c0b5 Mon Sep 17 00:00:00 2001
-From: David Chisnall 
-Date: Wed, 26 Aug 2020 16:37:06 +0100
-Subject: [PATCH] Don't use CXXFLAGS when compiling eh_trampoline.cc
-
-The way that we were doing this didn't handle multiple flags and we
-actually don't want the user to override these flags because that file
-needs to be compiled in a very specific way.
-
-Fixes #177

- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e2746e9..80b7dfe 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -317,7 +317,7 @@ if (ENABLE_OBJCXX)
-   endif()
-   endif ()
-   add_custom_command(OUTPUT eh_trampoline.s
--  COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} -fPIC 
-S "${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
-+  COMMAND ${CMAKE_CXX_COMPILER} -fPIC -S 
"${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
-   MAIN_DEPENDENCY eh_trampoline.cc)
-   list(APPEND libobjc_ASM_SRCS eh_trampoline.s)
-   list(APPEND libobjc_CXX_SRCS objcxx_eh.cc)

diff --git a/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch 
b/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch
deleted file mode 100644
index 4d6f1d517db1..
--- a/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur libobjc2-2.1.orig/CMakeLists.txt libobjc2-2.1/CMakeLists.txt
 libobjc2-2.1.orig/CMakeLists.txt   2020-08-23 17:10:20.0 +0200
-+++ libobjc2-2.1/CMakeLists.txt2020-09-03 10:51:38.716078009 +0200
-@@ -344,7 +344,7 @@
- # threading implementation (we do for everything except thread-local storage)
- set(CMAKE_THREAD_PREFER_PTHREAD)
- include(FindThreads)
--set(objc_LINK_FLAGS "${objc_LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
-+target_link_libraries(objc Threads::Threads)
- 
- 
- 

diff --git a/gnustep-base/libobjc2/libobjc2-2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
deleted file mode 100644
index cb88bdb54a2e..
--- a/gnustep-base/libobjc2/libobjc2-2.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake
-
-DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="https://gnustep.github.io";
-SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   https://github.com/Tessil/robin-map/archive/757de82.tar.

[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2024-03-12 Thread Bernard Cafarelli
commit: f7d03baafbb53470f94aa99040a2129d298f
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Tue Mar 12 21:26:49 2024 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Mar 12 21:26:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d03baa

gnustep-base/libobjc2: add 2.2

Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/Manifest|  1 +
 gnustep-base/libobjc2/libobjc2-2.2.ebuild | 29 +
 2 files changed, 30 insertions(+)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index 8b86ab509884..3944d474ac36 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,2 +1,3 @@
 DIST 757de82.tar.gz 63372 BLAKE2B 
74078c6c16d7ac1891ce63b21ae2f06c8759f3a95db74a6acef2d51d605a7631ac37b8c8698752699e5c30d2e95876b1967e6c2c429403f1094b6b99dd4d272c
 SHA512 
732e7f5b4ec0dc18c0c7b2b567e4fd65727918db76863aabb4433db22630e1e3c5ba3063de6dcf32f099c0d8cfd70b0d811d59f73a2cda362f6bd7054d14f999
 DIST libobjc2-2.1.tar.gz 200290 BLAKE2B 
67cd78238afad9afa4311669403be06ec8d001978e997128acc67cdba9c2b18482f66af4597c4a484556ce38bbfc4416b1b1cb8cde1d8f27f3b4d744d4581309
 SHA512 
a93c385f9ad53fce0f736088c3a18e72119c0128690725e435a35fe4250830d13e18899f98c7d80e6ea41cbfe1404f055d9d6c3d891ad7c770d47dcd0244fc7f
+DIST libobjc2-2.2.tar.gz 203442 BLAKE2B 
87a1a50e97f27f347ea9edfbaed1e7938f9fd090e1726d5564215326a607b59cc763729396f4de7634a2f199ada822e8244950f6f77f501e59d1d2423cf75076
 SHA512 
4e49dc00be5a9282678b7cd4793ef1c4202e4a7f26dba2a170f0ff77b0f311c0f44eb72093a01367be34f12156ffd07fec40067162b9c0e4f561ec0784ab0643

diff --git a/gnustep-base/libobjc2/libobjc2-2.2.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.2.ebuild
new file mode 100644
index ..6e91f4972f94
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="https://gnustep.github.io";
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/robin-map"
+BDEPEND="${RDEPEND}
+   sys-devel/clang"
+
+src_configure() {
+   export CC="clang"
+   export CXX="clang++"
+   local mycmakeargs=(
+   -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+   -DTESTS="$(usex test)"
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2023-08-21 Thread Bernard Cafarelli
commit: 14ef3822e11352927efb51f3cdd68dd59a7b7ee7
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Mon Aug 21 17:22:02 2023 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Mon Aug 21 17:23:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ef3822

gnustep-base/libobjc2: drop QA_PKGCONFIG_VERSION

Closes: https://bugs.gentoo.org/912324
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/libobjc2-2.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gnustep-base/libobjc2/libobjc2-2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
index 55dde1fa9e02..cb88bdb54a2e 100644
--- a/gnustep-base/libobjc2/libobjc2-2.1.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
@@ -11,7 +11,6 @@ 
SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
-QA_PKGCONFIG_VERSION="2.0.0"
 KEYWORDS="~amd64 ~x86"
 IUSE="boehm-gc test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2023-06-13 Thread Bernard Cafarelli
commit: 5984b9021bc4c9f79b21c0913b2ea81cb3b3e963
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Jun 10 15:53:35 2023 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Tue Jun 13 14:16:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5984b902

gnustep-base/libobjc2: update homepage

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/libobjc2-2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnustep-base/libobjc2/libobjc2-2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
index e0bfeb2fd6f7..55dde1fa9e02 100644
--- a/gnustep-base/libobjc2/libobjc2-2.1.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 inherit cmake
 
 DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="http://www.gnustep.org";
+HOMEPAGE="https://gnustep.github.io";
 SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/Tessil/robin-map/archive/757de82.tar.gz";
 



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2022-07-21 Thread Bernard Cafarelli
commit: 38759d6ac73b3e04f701c4ee071a9558e2b5c952
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Jul 21 20:48:44 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Jul 21 20:51:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38759d6a

gnustep-base/libobjc2: set QA_PKGCONFIG_VERSION

Closes: https://bugs.gentoo.org/859472
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/libobjc2-2.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnustep-base/libobjc2/libobjc2-2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
index 98b36a4a4fa1..e0bfeb2fd6f7 100644
--- a/gnustep-base/libobjc2/libobjc2-2.1.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,6 +11,7 @@ 
SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="MIT"
 SLOT="0"
+QA_PKGCONFIG_VERSION="2.0.0"
 KEYWORDS="~amd64 ~x86"
 IUSE="boehm-gc test"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2021-01-05 Thread Andreas K. Hüttel
commit: 90601df9fe60cff556d0836198d244342d377071
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Tue Jan  5 21:34:23 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan  5 21:58:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90601df9

gnustep-base/libobjc2: Remove old

Bug: https://bugs.gentoo.org/707780
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel  gentoo.org>

 gnustep-base/libobjc2/Manifest|  1 -
 gnustep-base/libobjc2/libobjc2-2.0.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index cfca9d8effe..8b86ab50988 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,3 +1,2 @@
 DIST 757de82.tar.gz 63372 BLAKE2B 
74078c6c16d7ac1891ce63b21ae2f06c8759f3a95db74a6acef2d51d605a7631ac37b8c8698752699e5c30d2e95876b1967e6c2c429403f1094b6b99dd4d272c
 SHA512 
732e7f5b4ec0dc18c0c7b2b567e4fd65727918db76863aabb4433db22630e1e3c5ba3063de6dcf32f099c0d8cfd70b0d811d59f73a2cda362f6bd7054d14f999
-DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 
71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278
 SHA512 
2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748
 DIST libobjc2-2.1.tar.gz 200290 BLAKE2B 
67cd78238afad9afa4311669403be06ec8d001978e997128acc67cdba9c2b18482f66af4597c4a484556ce38bbfc4416b1b1cb8cde1d8f27f3b4d744d4581309
 SHA512 
a93c385f9ad53fce0f736088c3a18e72119c0128690725e435a35fe4250830d13e18899f98c7d80e6ea41cbfe1404f055d9d6c3d891ad7c770d47dcd0244fc7f

diff --git a/gnustep-base/libobjc2/libobjc2-2.0.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.0.ebuild
deleted file mode 100644
index 68cf5e40dba..000
--- a/gnustep-base/libobjc2/libobjc2-2.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-utils eutils
-
-DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="http://www.gnustep.org";
-SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boehm-gc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
-   sys-libs/libcxx"
-BDEPEND="${RDEPEND}
-   sys-devel/clang"
-
-src_configure() {
-   export CC="clang"
-   export CXX="clang++"
-   local mycmakeargs=(
-   -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
-   -DBOEHM_GC="$(usex boehm-gc)"
-   -DTESTS="$(usex test)"
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/files/, gnustep-base/libobjc2/

2020-09-03 Thread Bernard Cafarelli
commit: f5d24ca24b89454e75c26959c97e2eb03f1b76d7
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Sep  3 07:57:06 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Sep  3 09:33:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5d24ca2

gnustep-base/libobjc2: drop old

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/Manifest |  2 -
 .../libobjc2/files/libobjc2-1.7-fix_soname.patch   | 58 --
 gnustep-base/libobjc2/libobjc2-1.8.1.ebuild| 45 -
 gnustep-base/libobjc2/libobjc2-1.8.ebuild  | 45 -
 4 files changed, 150 deletions(-)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index 8de99af580c..a9afd544951 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,3 +1 @@
-DIST libobjc2-1.8.1.tar.gz 173635 BLAKE2B 
1ed9df6ee934a56dd8565904f9a402f5687bac6f876bcef538fed60c4ebd34af8f35921bdabbdf1ad97fb371e591aea3e47170afaffe65056af07c88e01f0b37
 SHA512 
518f36e96a82a076fc67fe384226bd97310cd10a53c7b0951db9f3658aa534582b245d5cb97956fe91c38338c3fc8f1e569dd8af36f6d12e32bf1460251d02eb
-DIST libobjc2-1.8.tar.gz 173512 BLAKE2B 
ba494dd2db2bfdcc2cfce906014d75146368f049ebe4ea6b83024705af2b78f916252a084b95be43c245c5fd6574d00db75853d291193ea70cc48a6b5dbeab93
 SHA512 
1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d
 DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 
71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278
 SHA512 
2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748

diff --git a/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch 
b/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch
deleted file mode 100644
index ba1aa8ecea9..000
--- a/gnustep-base/libobjc2/files/libobjc2-1.7-fix_soname.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff -Naur libobjc2-1.7.orig/CMakeLists.txt libobjc2-1.7/CMakeLists.txt
 libobjc2-1.7.orig/CMakeLists.txt   2013-06-27 13:30:41.0 +0200
-+++ libobjc2-1.7/CMakeLists.txt2015-05-20 13:20:55.214244088 +0200
-@@ -8,7 +8,8 @@
- set(CMAKE_C_FLAGS_RELEASE "-O3 ${CMAKE_C_FLAGS_RELEASE}")
- set(CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
- 
--set(libobjc_VERSION 4.6)
-+set(libobjc_SOVERSION 4)
-+set(libobjc_VERSION 4.6.0)
- 
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexceptions")
- # Build configuration
-@@ -204,7 +205,8 @@
-   add_library(objcxx SHARED ${libobjcxx_CXX_SRCS})
-   set_target_properties(objcxx PROPERTIES
-   LINKER_LANGUAGE C
--  SOVERSION ${libobjc_VERSION}
-+SOVERSION ${libobjc_SOVERSION}
-+VERSION ${libobjc_VERSION}
-   )
-   target_link_libraries(objcxx ${CXX_RUNTIME})
-   set(CXX_RUNTIME "")
-@@ -220,7 +222,8 @@
-   add_library(objcxx SHARED ${libobjcxx_CXX_SRCS})
-   set_target_properties(objcxx PROPERTIES
-   LINKER_LANGUAGE C
--  SOVERSION ${libobjc_VERSION}
-+ SOVERSION ${libobjc_SOVERSION}
-+ VERSION ${libobjc_VERSION}
-   )
-   set(CXX_RUNTIME "")
-   list(APPEND INSTALL_TARGETS objcxx)
-@@ -241,7 +244,8 @@
- 
- set_target_properties(objc PROPERTIES
-   LINKER_LANGUAGE C
--  SOVERSION ${libobjc_VERSION}
-+   SOVERSION ${libobjc_SOVERSION}
-+   VERSION ${libobjc_VERSION}
-   OUTPUT_NAME ${LIBOBJC_NAME}
-   LINK_FLAGS "${objc_LINK_FLAGS}"
-   )
-@@ -349,3 +353,14 @@
-   add_subdirectory(Test)
- endif (TESTS)
- 
-+
-+MESSAGE(STATUS "<<< Gentoo configuration >>>
-+Build type  ${CMAKE_BUILD_TYPE}
-+Install path${CMAKE_INSTALL_PREFIX}
-+Compiler flags:
-+C   ${CMAKE_C_FLAGS}
-+C++ ${CMAKE_CXX_FLAGS}
-+Linker flags:
-+Executable  ${CMAKE_EXE_LINKER_FLAGS}
-+Module  ${CMAKE_MODULE_LINKER_FLAGS}
-+Shared  ${CMAKE_SHARED_LINKER_FLAGS}\n")

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
deleted file mode 100644
index 5f701cd27c0..000
--- a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils
-
-DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="http://www.gnustep.org";
-SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boehm-gc cxx test"
-RESTRICT="!test? ( te

[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/files/, gnustep-base/libobjc2/

2020-09-03 Thread Bernard Cafarelli
commit: 857dd9c2e19f23e46a0b3e9121eb417caa858693
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Sep  3 09:32:49 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Sep  3 09:33:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=857dd9c2

gnustep-base/libobjc2: 2.1 bump

Fixes quite a few bugs
Migrated to cmake eclass
No longer depends on libcxx

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/Manifest |  2 ++
 .../files/libobjc2-2.1-eh_trampoline.patch | 27 ++
 .../libobjc2/files/libobjc2-2.1-pthread_link.patch | 12 +++
 gnustep-base/libobjc2/libobjc2-2.1.ebuild  | 42 ++
 4 files changed, 83 insertions(+)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index a9afd544951..cfca9d8effe 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1 +1,3 @@
+DIST 757de82.tar.gz 63372 BLAKE2B 
74078c6c16d7ac1891ce63b21ae2f06c8759f3a95db74a6acef2d51d605a7631ac37b8c8698752699e5c30d2e95876b1967e6c2c429403f1094b6b99dd4d272c
 SHA512 
732e7f5b4ec0dc18c0c7b2b567e4fd65727918db76863aabb4433db22630e1e3c5ba3063de6dcf32f099c0d8cfd70b0d811d59f73a2cda362f6bd7054d14f999
 DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 
71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278
 SHA512 
2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748
+DIST libobjc2-2.1.tar.gz 200290 BLAKE2B 
67cd78238afad9afa4311669403be06ec8d001978e997128acc67cdba9c2b18482f66af4597c4a484556ce38bbfc4416b1b1cb8cde1d8f27f3b4d744d4581309
 SHA512 
a93c385f9ad53fce0f736088c3a18e72119c0128690725e435a35fe4250830d13e18899f98c7d80e6ea41cbfe1404f055d9d6c3d891ad7c770d47dcd0244fc7f

diff --git a/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch 
b/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch
new file mode 100644
index 000..c956d15fbd5
--- /dev/null
+++ b/gnustep-base/libobjc2/files/libobjc2-2.1-eh_trampoline.patch
@@ -0,0 +1,27 @@
+From 4e07fb8457266b76311b2bf3dc5dbe8db790c0b5 Mon Sep 17 00:00:00 2001
+From: David Chisnall 
+Date: Wed, 26 Aug 2020 16:37:06 +0100
+Subject: [PATCH] Don't use CXXFLAGS when compiling eh_trampoline.cc
+
+The way that we were doing this didn't handle multiple flags and we
+actually don't want the user to override these flags because that file
+needs to be compiled in a very specific way.
+
+Fixes #177
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e2746e9..80b7dfe 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -317,7 +317,7 @@ if (ENABLE_OBJCXX)
+   endif()
+   endif ()
+   add_custom_command(OUTPUT eh_trampoline.s
+-  COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} -fPIC 
-S "${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
++  COMMAND ${CMAKE_CXX_COMPILER} -fPIC -S 
"${CMAKE_SOURCE_DIR}/eh_trampoline.cc" -o - -fexceptions -fno-inline | sed 
"s/__gxx_personality_v0/test_eh_personality/g" > 
"${CMAKE_BINARY_DIR}/eh_trampoline.s"
+   MAIN_DEPENDENCY eh_trampoline.cc)
+   list(APPEND libobjc_ASM_SRCS eh_trampoline.s)
+   list(APPEND libobjc_CXX_SRCS objcxx_eh.cc)

diff --git a/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch 
b/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch
new file mode 100644
index 000..4d6f1d517db
--- /dev/null
+++ b/gnustep-base/libobjc2/files/libobjc2-2.1-pthread_link.patch
@@ -0,0 +1,12 @@
+diff -Naur libobjc2-2.1.orig/CMakeLists.txt libobjc2-2.1/CMakeLists.txt
+--- libobjc2-2.1.orig/CMakeLists.txt   2020-08-23 17:10:20.0 +0200
 libobjc2-2.1/CMakeLists.txt2020-09-03 10:51:38.716078009 +0200
+@@ -344,7 +344,7 @@
+ # threading implementation (we do for everything except thread-local storage)
+ set(CMAKE_THREAD_PREFER_PTHREAD)
+ include(FindThreads)
+-set(objc_LINK_FLAGS "${objc_LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
++target_link_libraries(objc Threads::Threads)
+ 
+ 
+ 

diff --git a/gnustep-base/libobjc2/libobjc2-2.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
new file mode 100644
index 000..98b36a4a4fa
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org";
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   https://github.com/Tessil

[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2019-08-23 Thread Bernard Cafarelli
commit: e5a49a93f520369ebeff4a9e44c2d72e96944a26
Author: Ralph Seichter  seichter  de>
AuthorDate: Sat Aug 10 16:49:24 2019 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Aug 23 11:49:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a49a93

gnustep-base/libobjc2: bump to release 2.0 and EAPI 7

GNUstep Objective-C Runtime release 2.0. Ebuild now uses EAPI 7.
See also bug #687368.

Bug: https://bugs.gentoo.org/687368
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Ralph Seichter  seichter.de>
Signed-off-by: Bernard Cafarelli  gentoo.org>

 gnustep-base/libobjc2/Manifest|  1 +
 gnustep-base/libobjc2/libobjc2-2.0.ebuild | 30 ++
 2 files changed, 31 insertions(+)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index b3b22714df2..8de99af580c 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,2 +1,3 @@
 DIST libobjc2-1.8.1.tar.gz 173635 BLAKE2B 
1ed9df6ee934a56dd8565904f9a402f5687bac6f876bcef538fed60c4ebd34af8f35921bdabbdf1ad97fb371e591aea3e47170afaffe65056af07c88e01f0b37
 SHA512 
518f36e96a82a076fc67fe384226bd97310cd10a53c7b0951db9f3658aa534582b245d5cb97956fe91c38338c3fc8f1e569dd8af36f6d12e32bf1460251d02eb
 DIST libobjc2-1.8.tar.gz 173512 BLAKE2B 
ba494dd2db2bfdcc2cfce906014d75146368f049ebe4ea6b83024705af2b78f916252a084b95be43c245c5fd6574d00db75853d291193ea70cc48a6b5dbeab93
 SHA512 
1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d
+DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 
71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278
 SHA512 
2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748

diff --git a/gnustep-base/libobjc2/libobjc2-2.0.ebuild 
b/gnustep-base/libobjc2/libobjc2-2.0.ebuild
new file mode 100644
index 000..2d26e238d11
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils eutils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org";
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+   sys-libs/libcxx"
+BDEPEND="${RDEPEND}
+   sys-devel/clang"
+
+src_configure() {
+   export CC="clang"
+   export CXX="clang++"
+   local mycmakeargs=(
+   -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+   -DBOEHM_GC="$(usex boehm-gc)"
+   -DTESTS="$(usex test)"
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2017-12-02 Thread David Seifert
commit: 321e690348a96825b038450da15feaadfab1674b
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec  2 11:25:16 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec  2 11:28:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=321e6903

gnustep-base/libobjc2: [QA] Consistent whitespace in metadata.xml

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 gnustep-base/libobjc2/metadata.xml | 36 
 1 file changed, 16 insertions(+), 20 deletions(-)

diff --git a/gnustep-base/libobjc2/metadata.xml 
b/gnustep-base/libobjc2/metadata.xml
index fdf8cfb7ce1..b347a3b6348 100644
--- a/gnustep-base/libobjc2/metadata.xml
+++ b/gnustep-base/libobjc2/metadata.xml
@@ -6,27 +6,23 @@
Gentoo GNUstep Project


-The GNUstep Objective-C runtime is designed as a drop-in replacement for the
-GCC runtime.  It supports both a legacy and a modern ABI, allowing code
-compiled with old versions of GCC to be supported without requiring
-recompilation.  The modern ABI adds the following features:
+   The GNUstep Objective-C runtime is designed as a drop-in 
replacement for the
+   GCC runtime.  It supports both a legacy and a modern ABI, 
allowing code
+   compiled with old versions of GCC to be supported without 
requiring
+   recompilation.  The modern ABI adds the following features:
+   - Non-fragile instance variables.
+   - Protocol uniquing.
+   - Object planes support.
+   - Declared property introspection.
 
-- Non-fragile instance variables.
-- Protocol uniquing.
-- Object planes support.
-- Declared property introspection.
-
-Both ABIs support the following feature above and beyond the GCC runtime:
-
-- The modern Objective-C runtime APIs, introduced with OS X 10.5.
-- Blocks (closures).
-- Low memory profile for platforms where memory usage is more important than
-  speed.
-- Synthesised property accessors.
-- Efficient support for @synchronized()
-- Type-dependent dispatch, eliminating stack corruption from mismatched
-  selectors.
-
+   Both ABIs support the following feature above and beyond the 
GCC runtime:
+   - The modern Objective-C runtime APIs, introduced with OS X 
10.5.
+   - Blocks (closures).
+   - Low memory profile for platforms where memory usage is more 
important than speed.
+   - Synthesised property accessors.
+   - Efficient support for @synchronized()
+   - Type-dependent dispatch, eliminating stack corruption from 
mismatched selectors.
+   

Enable Hans Boehm's garbage collector
(dev-libs/boehm-gc). Not recommended by 
upstream



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2017-10-19 Thread Jonas Stein
commit: 73488bcc6c9f637c657f17e487d29530f52ff951
Author: Jonas Stein  gentoo  org>
AuthorDate: Thu Oct 19 21:34:34 2017 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Thu Oct 19 21:34:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73488bcc

gnustep-base/libobjc2: Remove proxy-maint

Remove proxy maintainer project from metadata, because there was no
proxied maintainer left.
Reported-By: Michael Mair-Keimberger
Package-Manager: Portage-2.3.11, Repoman-2.3.3

 gnustep-base/libobjc2/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/gnustep-base/libobjc2/metadata.xml 
b/gnustep-base/libobjc2/metadata.xml
index 60bb055a4c4..fdf8cfb7ce1 100644
--- a/gnustep-base/libobjc2/metadata.xml
+++ b/gnustep-base/libobjc2/metadata.xml
@@ -5,10 +5,6 @@
gnus...@gentoo.org
Gentoo GNUstep Project

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

 The GNUstep Objective-C runtime is designed as a drop-in replacement for the
 GCC runtime.  It supports both a legacy and a modern ABI, allowing code



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2017-10-15 Thread David Seifert
commit: 32df8e888bf274864a436dac733cc7d9d9bb2d87
Author: David Seifert  gentoo  org>
AuthorDate: Mon Oct 16 00:02:50 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Oct 16 00:08:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32df8e88

gnustep-base/libobjc2: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 gnustep-base/libobjc2/libobjc2-1.8.1.ebuild | 4 +++-
 gnustep-base/libobjc2/libobjc2-1.8.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
index a82b0cf0f77..a6d1aa12387 100644
--- a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
@@ -18,8 +18,10 @@ RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
 DEPEND="${DEPEND}
>=sys-devel/clang-2.9"
 
+PATCHES=( "${FILESDIR}"/${PN}-1.7-fix_soname.patch )
+
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.7-fix_soname.patch
+   cmake-utils_src_prepare
 
if ! use cxx;
then

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
index a82b0cf0f77..a6d1aa12387 100644
--- a/gnustep-base/libobjc2/libobjc2-1.8.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
@@ -18,8 +18,10 @@ RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
 DEPEND="${DEPEND}
>=sys-devel/clang-2.9"
 
+PATCHES=( "${FILESDIR}"/${PN}-1.7-fix_soname.patch )
+
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.7-fix_soname.patch
+   cmake-utils_src_prepare
 
if ! use cxx;
then



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2017-05-03 Thread David Seifert
commit: fc65568fe5b5dc227c7bc3590587cd1309082c36
Author: David Seifert  gentoo  org>
AuthorDate: Wed May  3 20:45:30 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed May  3 20:45:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc65568f

gnustep-base/libobjc2: [QA] Remove PREFIX setting for CMake

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 gnustep-base/libobjc2/libobjc2-1.8.1.ebuild | 3 +--
 gnustep-base/libobjc2/libobjc2-1.8.ebuild   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
index 40e6b673050..a82b0cf0f77 100644
--- a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,7 +32,6 @@ src_configure() {
export CC=clang
export CXX=clang++
 
-   export PREFIX=/usr
local mycmakeargs=(
-DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
$(cmake-utils_use boehm-gc BOEHM_GC)

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
index 40e6b673050..a82b0cf0f77 100644
--- a/gnustep-base/libobjc2/libobjc2-1.8.ebuild
+++ b/gnustep-base/libobjc2/libobjc2-1.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -32,7 +32,6 @@ src_configure() {
export CC=clang
export CXX=clang++
 
-   export PREFIX=/usr
local mycmakeargs=(
-DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
$(cmake-utils_use boehm-gc BOEHM_GC)



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2015-10-01 Thread Bernard Cafarelli
commit: 161b74ae4e439726bab5aa25ca376b1429175151
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Oct  1 13:51:50 2015 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Oct  1 13:51:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=161b74ae

gnustep-base/libobjc2: version bump

Package-Manager: portage-2.2.22

 gnustep-base/libobjc2/Manifest  |  1 +
 gnustep-base/libobjc2/libobjc2-1.8.1.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index 73a7073..5e465aa 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1 +1,2 @@
+DIST libobjc2-1.8.1.tar.gz 173635 SHA256 
472bd684070c4dc6e78293836f426c1c6981c3818b546f74ec400bb8f13df925 SHA512 
518f36e96a82a076fc67fe384226bd97310cd10a53c7b0951db9f3658aa534582b245d5cb97956fe91c38338c3fc8f1e569dd8af36f6d12e32bf1460251d02eb
 WHIRLPOOL 
88ec154f12ae95dcd1e570d5b6b0f23608153c558090654798abf60d0f78a911ed4583e67c0df2de5c87ee43d68f2ec47f558002d91f9589989a1093c3c3
 DIST libobjc2-1.8.tar.gz 173512 SHA256 
b11957c58a08b97f314b410bcafaa4eacabdc417e8e865e5b802a621c3147bbe SHA512 
1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d
 WHIRLPOOL 
7bbbfee09b1c4e24cc08a6d2b70449343d1245677e68023a374490e6bd2548fe39600a5c61c3e0534aacd338e775a200f37160f177f2fee197f5fd36ba0eaaa4

diff --git a/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
new file mode 100644
index 000..a04f02b
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-1.8.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org";
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc cxx test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+   cxx? ( sys-libs/libcxx )"
+DEPEND="${DEPEND}
+   >=sys-devel/clang-2.9"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-1.7-fix_soname.patch
+
+   if ! use cxx;
+   then
+   sed -e 's/addtest_flags(CXXExceptions.*//' \
+   -i Test/CMakeLists.txt || die "test sed failed"
+   fi
+}
+
+src_configure() {
+   export CC=clang
+   export CXX=clang++
+
+   export PREFIX=/usr
+   local mycmakeargs=(
+   -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+   $(cmake-utils_use boehm-gc BOEHM_GC)
+   $(cmake-utils_use_enable cxx OBJCXX)
+   $(cmake-utils_use test TESTS)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: gnustep-base/libobjc2/

2015-10-01 Thread Bernard Cafarelli
commit: c285de20597ccde44faec1bd8f20fd913b20a443
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Thu Oct  1 13:47:25 2015 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Oct  1 13:51:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c285de20

gnustep-base/libobjc2: drop some old versions

Package-Manager: portage-2.2.22

 gnustep-base/libobjc2/Manifest   |  3 --
 gnustep-base/libobjc2/libobjc2-1.6.1.ebuild  | 57 
 gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild | 44 -
 gnustep-base/libobjc2/libobjc2-1.7.ebuild| 42 
 4 files changed, 146 deletions(-)

diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index bd1867f..73a7073 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,4 +1 @@
-DIST gnustep-make-2.6.2.tar.gz 562770 SHA256 
7a95b3fc5bf14f6b06c4f1f716b48e9de13a11c1fa972aa3cc87736cd98f3e3a SHA512 
5ef7889418e7e5acc40cd045772b08d178333dd7cb396b46bfcc117b8953c868c5ad41153f6cf2029f1d78d7213516cf1c2cfc88f028ffb883d0e83ea6a4
 WHIRLPOOL 
73f0953ba044323349a60393ca644031bac13ea48dab6ccbbf533ee5e52daa8411f6b7bdc4fc8928536c37c5edcaf3a6ef40c3c2ee335c0608b5c8d3a6d890d5
-DIST libobjc2-1.6.1.tar.bz2 116263 SHA256 
941764684e764f25864d3f318d5cac80b5b899df40d485c521742431fc13e2f9 SHA512 
e43bf867ca734e76274826a222a10e9b603e085a9dd245912ee16603bb61e276fcd9388918f61aba7d0bded0c045bc9799f7e24b309d670d144175707662f9c8
 WHIRLPOOL 
e3c259ffdbc6978d531f0e91ccc522fcc9832f95f173dfe0be67650654b1e048ea14b49c2ac0b81df916aafd712b084a004fd13e970bbbc0c03e8a6d7a206d3e
-DIST libobjc2-1.7.tar.bz2 132662 SHA256 
3a1b4af6ff6f3d8e57bfb27401d1b249670ac2e92ba54ad5683ff3d4439d3cc1 SHA512 
d44631ec39533128d4d4a1138cfb3c00c9383cd1b722c3dcb8ed679832c00b559516072af6fdd5e464aa1de493358127a37c295994244a1573f4ff86056c24a9
 WHIRLPOOL 
1dabe89e48cc446c56a509b07c5b3fba84686116bf57d456ed29fd583b8ab6cd035712c24f9c584a8433b72347fa3f4e412bc22ea2ce6985793f7d93cf6758eb
 DIST libobjc2-1.8.tar.gz 173512 SHA256 
b11957c58a08b97f314b410bcafaa4eacabdc417e8e865e5b802a621c3147bbe SHA512 
1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d
 WHIRLPOOL 
7bbbfee09b1c4e24cc08a6d2b70449343d1245677e68023a374490e6bd2548fe39600a5c61c3e0534aacd338e775a200f37160f177f2fee197f5fd36ba0eaaa4

diff --git a/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild
deleted file mode 100644
index b090c2b..000
--- a/gnustep-base/libobjc2/libobjc2-1.6.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit multilib
-
-# We need gnustep-make, but gnustep-make can depend on libobjc
-# Use a temporary setup to install in /usr/
-GSMAKE=gnustep-make-2.6.2
-DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="http://www.gnustep.org";
-SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2
-   ftp://ftp.gnustep.org/pub/gnustep/core/${GSMAKE}.tar.gz";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+boehm-gc"
-
-RDEPEND="boehm-gc? ( dev-libs/boehm-gc )"
-DEPEND="${DEPEND}
-   >=sys-devel/clang-2.9"
-
-GSMAKE_S=${WORKDIR}/${GSMAKE}
-
-src_prepare() {
-   # Remove CFLAGS from assembly calls
-   sed -e "s/\$(ALL_CFLAGS)//" -i GNUmakefile || die "Assembly sed failed"
-   # Multilib-strict
-   cd "${GSMAKE_S}"
-   sed -e "s/lib/$(get_libdir)/g" \
-   -i FilesystemLayouts/fhs-system || die "multilib path sed 
failed"
-}
-
-src_configure() {
-   export CC=clang
-
-   cd "${GSMAKE_S}"
-   econf --with-layout=fhs-system
-}
-
-src_compile() {
-   local gb
-   use boehm-gc \
-   && gb="boehm_gc=yes" \
-   || gb="boehm_gc=no"
-   emake GNUSTEP_MAKEFILES="${GSMAKE_S}" messages=yes ${gb}
-}
-
-src_install() {
-   emake GNUSTEP_MAKEFILES="${GSMAKE_S}" \
-   GNUSTEP_CONFIG_FILE="${GSMAKE_S}"/GNUstep.conf \
-   GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
-   messages=yes \
-   DESTDIR="${D}" install
-}

diff --git a/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild 
b/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild
deleted file mode 100644
index 258d25c..000
--- a/gnustep-base/libobjc2/libobjc2-1.7-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils
-
-DESCRIPTION="GNUstep Objective-C runtime"
-HOMEPAGE="http://www.gnustep.org";
-SRC_URI="http://download.gna.org/gnustep/${P}.tar.bz2";
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="boehm-gc cxx test"
-
-RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
-   cxx? ( sys-libs/libcxx )"
-DEPEND="${DEPEND}
-   >=sys-devel/clang-2.9"
-
-src_prepare()