Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-base/gnustep-base/
Date: Tue, 14 Mar 2023 22:07:26
Message-Id: 1678831627.3e99d35addff4e2dc01486aee2a2b83b1156787d.voyageur@gentoo
1 commit: 3e99d35addff4e2dc01486aee2a2b83b1156787d
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 14 21:48:17 2023 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 14 22:07:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e99d35a
7
8 gnustep-base/gnustep-base: add 1.29.0
9
10 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>
11
12 gnustep-base/gnustep-base/Manifest | 1 +
13 .../gnustep-base/gnustep-base-1.29.0.ebuild | 71 ++++++++++++++++++++++
14 gnustep-base/gnustep-base/metadata.xml | 21 +++----
15 3 files changed, 79 insertions(+), 14 deletions(-)
16
17 diff --git a/gnustep-base/gnustep-base/Manifest b/gnustep-base/gnustep-base/Manifest
18 index 3c61aa7af1e9..3edc69493fb9 100644
19 --- a/gnustep-base/gnustep-base/Manifest
20 +++ b/gnustep-base/gnustep-base/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gnustep-base-1.27.0.tar.gz 4141163 BLAKE2B b27f7086949bcd5e43b8d6337c4f03eb87447baacb23de75b7df0d2ba769ff3e8cadd7035e78b35c91ccca83151cbe4b61b339aa265dcb53847089849b615f8b SHA512 bbdf45379dbb684f6bdb507b645e0f611cefb05caadff1bf620c2e85f104396cf91782bcce05ff2173078603b76b8a0ba2ea3b71bc56a84c220310910dbcb705
23 DIST gnustep-base-1.28.0.tar.gz 4246622 BLAKE2B fdaa834ea3cb13b1d4717c2c7e6b59eff05d16e6a404ffed5f4ccfa2ee3db93ecfee5b95cc30be6a388f56fa28c67f1278ea298f222260dcc24abadaa1cb5e8f SHA512 e173fab28aa1b1df38de4216916db18934422a1d372b9fe6a68a6ff21b2ac0be38aa02631179a8ad62a4f2848080223f34771b364b1c0eebc96c84778677c50b
24 +DIST gnustep-base-1.29.0.tar.gz 3697809 BLAKE2B 9810e6220df79e75130e8e3cdda5d8c42e1e05351461920549e3163752eccc9fa4bb375c36a8b987877cf557140e961dda7e0fac1c1c9affdb38893567695ddf SHA512 19e876f32e4dce403beeb5522ae942c23cc2b947217a38fd045a495d81b3734a8cf160fb768d8cff64c45d8ae63ba422658f705519786016d3e8216efe0a044c
25
26 diff --git a/gnustep-base/gnustep-base/gnustep-base-1.29.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.29.0.ebuild
27 new file mode 100644
28 index 000000000000..1b11436adb92
29 --- /dev/null
30 +++ b/gnustep-base/gnustep-base/gnustep-base-1.29.0.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +inherit gnustep-base toolchain-funcs
37 +
38 +DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
39 +HOMEPAGE="http://www.gnustep.org"
40 +SRC_URI="https://github.com/gnustep/libs-base/releases/download/base-${PV//./_}/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2 LGPL-2.1"
43 +SLOT="0/$(ver_cut 1-2)"
44 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
45 +IUSE="+gnutls +iconv +icu +libffi zeroconf"
46 +
47 +RDEPEND="${GNUSTEP_CORE_DEPEND}
48 + >=gnustep-base/gnustep-make-2.6.0
49 + gnutls? ( net-libs/gnutls:= )
50 + iconv? ( virtual/libiconv )
51 + icu? ( >=dev-libs/icu-49.0:= )
52 + !libffi? ( dev-libs/ffcall
53 + gnustep-base/gnustep-make[-native-exceptions] )
54 + libffi? ( dev-libs/libffi:= )
55 + >=dev-libs/libxml2-2.6
56 + >=dev-libs/libxslt-1.1
57 + >=dev-libs/gmp-4.1:=
58 + >=sys-libs/zlib-1.2
59 + zeroconf? ( net-dns/avahi )"
60 +DEPEND="${RDEPEND}
61 + virtual/pkgconfig"
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-1.26.0-no_compress_man.patch
65 +)
66 +
67 +src_configure() {
68 + egnustep_env
69 +
70 + local myconf
71 + if use libffi ; then
72 + myconf="--enable-libffi --disable-ffcall --with-ffi-include=$($(tc-getPKG_CONFIG) --variable=includedir libffi)"
73 + else
74 + myconf="--disable-libffi --enable-ffcall"
75 + fi
76 +
77 + myconf="$myconf $(use_enable gnutls tls)"
78 + myconf="$myconf $(use_enable iconv)"
79 + myconf="$myconf $(use_enable icu)"
80 + myconf="$myconf $(use_enable zeroconf)"
81 + myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
82 + myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
83 + myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
84 +
85 + econf $myconf
86 +}
87 +
88 +src_install() {
89 + # We need to set LD_LIBRARY_PATH because the doc generation program
90 + # uses the gnustep-base libraries. Since egnustep_env "cleans the
91 + # environment" including our LD_LIBRARY_PATH, we're left no choice
92 + # but doing it like this.
93 +
94 + egnustep_env
95 + egnustep_install
96 +
97 + if use doc ; then
98 + export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
99 + egnustep_doc
100 + fi
101 + egnustep_install_config
102 +}
103
104 diff --git a/gnustep-base/gnustep-base/metadata.xml b/gnustep-base/gnustep-base/metadata.xml
105 index a4265795efea..c4f9cc0a5b48 100644
106 --- a/gnustep-base/gnustep-base/metadata.xml
107 +++ b/gnustep-base/gnustep-base/metadata.xml
108 @@ -1,18 +1,11 @@
109 <?xml version="1.0" encoding="UTF-8"?>
110 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
111 <pkgmetadata>
112 -<maintainer type="project">
113 - <email>gnustep@g.o</email>
114 - <name>Gentoo GNUstep Project</name>
115 -</maintainer>
116 -<longdescription>
117 -The GNUstep Base Library is a library of general-purpose, non-graphical
118 -Objective C objects. For example, it includes classes for strings,
119 -object collections, byte streams, typed coders, invocations,
120 -notifications, notification dispatchers, moments in time, network ports,
121 -remote object messaging support (distributed objects), and event loops.
122 -
123 -It provides functionality that aims to implement the non-graphical
124 -portion of the OpenStep standard (the Foundation library).
125 -</longdescription>
126 + <maintainer type="project">
127 + <email>gnustep@g.o</email>
128 + <name>Gentoo GNUstep Project</name>
129 + </maintainer>
130 + <upstream>
131 + <remote-id type="github">gnustep/libs-base</remote-id>
132 + </upstream>
133 </pkgmetadata>