Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnustep-base/gnustep-base: ChangeLog gnustep-base-1.20.0.ebuild
Date: Mon, 10 May 2010 19:02:51
Message-Id: 20100510190248.215442C5B6@corvid.gentoo.org
1 voyageur 10/05/10 19:02:47
2
3 Modified: ChangeLog
4 Added: gnustep-base-1.20.0.ebuild
5 Log:
6 Stable release bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.94 gnustep-base/gnustep-base/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?rev=1.94&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?rev=1.94&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/ChangeLog?r1=1.93&r2=1.94
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v
19 retrieving revision 1.93
20 retrieving revision 1.94
21 diff -u -r1.93 -r1.94
22 --- ChangeLog 9 Mar 2010 18:33:11 -0000 1.93
23 +++ ChangeLog 10 May 2010 19:02:47 -0000 1.94
24 @@ -1,6 +1,12 @@
25 # ChangeLog for gnustep-base/gnustep-base
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.93 2010/03/09 18:33:11 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.94 2010/05/10 19:02:47 voyageur Exp $
29 +
30 +*gnustep-base-1.20.0 (10 May 2010)
31 +
32 + 10 May 2010; Bernard Cafarelli <voyageur@g.o>
33 + +gnustep-base-1.20.0.ebuild:
34 + Stable release bump
35
36 *gnustep-base-1.18.0-r5 (09 Mar 2010)
37
38
39
40
41 1.1 gnustep-base/gnustep-base/gnustep-base-1.20.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.20.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.20.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gnustep-base-1.20.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.20.0.ebuild,v 1.1 2010/05/10 19:02:47 voyageur Exp $
51
52 EAPI="3"
53
54 inherit gnustep-base
55
56 DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."
57
58 HOMEPAGE="http://www.gnustep.org"
59 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
60 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
61 SLOT="0"
62 LICENSE="GPL-2 LGPL-2.1"
63
64 IUSE="libffi gnutls zeroconf"
65
66 RDEPEND="${GNUSTEP_CORE_DEPEND}
67 >=gnustep-base/gnustep-make-2.0.8
68 !libffi? ( dev-libs/ffcall
69 gnustep-base/gnustep-make[-native-exceptions] )
70 libffi? ( virtual/libffi )
71 gnutls? ( net-libs/gnutls )
72 >=dev-libs/libxml2-2.6
73 >=dev-libs/libxslt-1.1
74 >=dev-libs/gmp-4.1
75 >=dev-libs/openssl-0.9.7
76 >=sys-libs/zlib-1.2
77 zeroconf? ( || (
78 net-dns/avahi[mdnsresponder-compat]
79 net-misc/mDNSResponder ) )"
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig"
82
83 src_configure() {
84 egnustep_env
85
86 local myconf
87 if use libffi;
88 then
89 myconf="--enable-libffi --disable-ffcall --with-ffi-include=$(pkg-config --variable=includedir libffi)"
90 else
91 myconf="--disable-libffi --enable-ffcall"
92 fi
93
94 myconf="$myconf $(use_enable gnutls tls)"
95 myconf="$myconf $(use_enable zeroconf)"
96 myconf="$myconf --with-xml-prefix=${EPREFIX}/usr"
97 myconf="$myconf --with-gmp-include=${EPREFIX}/usr/include --with-gmp-library=${EPREFIX}/usr/lib"
98 myconf="$myconf --with-default-config=${EPREFIX}/etc/GNUstep/GNUstep.conf"
99
100 econf $myconf || die "configure failed"
101 }
102
103 src_install() {
104 # We need to set LD_LIBRARY_PATH because the doc generation program
105 # uses the gnustep-base libraries. Since egnustep_env "cleans the
106 # environment" including our LD_LIBRARY_PATH, we're left no choice
107 # but doing it like this.
108
109 egnustep_env
110 egnustep_install
111
112 if use doc ; then
113 export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
114 egnustep_doc
115 fi
116 egnustep_install_config
117
118 dodir /etc/revdep-rebuild
119 sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_SYSTEM_LIBRARIES $GNUSTEP_SYSTEM_TOOLS $GNUSTEP_LOCAL_LIBRARIES $GNUSTEP_LOCAL_TOOLS"'|' \
120 "${FILESDIR}"/50-gnustep-revdep \
121 > "${ED}/etc/revdep-rebuild/50-gnustep-revdep"
122 }
123
124 pkg_postinst() {
125 ewarn "The shared library version has changed in this release."
126 ewarn "You will need to recompile all Applications/Tools/etc in order"
127 ewarn "to use this library."
128 ewarn "Run:"
129 ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-6]\""
130 }