ChangeLog

# ChangeLog for gnustep-base/gnustep-base
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.69 2008/06/30 13:08:50 voyageur Exp $

30 Jun 2008; Bernard Cafarelli
+files/gnustep-base-1.16.1-libffi_fix.patch, gnustep-base-1.16.1.ebuild:
Fix libbfi support on amd64, bug #189205

*gnustep-base-1.16.1 (19 Jun 2008)

19 Jun 2008; Bernard Cafarelli
-gnustep-base-1.16.0.ebuild, +gnustep-base-1.16.1.ebuild:
Bugfix release. Fixes problem with notification observers on some 64bit
systems

*gnustep-base-1.16.0 (16 Jun 2008)

16 Jun 2008; Bernard Cafarelli
-gnustep-base-1.15.3.ebuild, +gnustep-base-1.16.0.ebuild:
New stable branch, remove unstable version

10 Jun 2008; Bernard Cafarelli
-gnustep-base-1.14.0.ebuild, -gnustep-base-1.14.2.ebuild:
Stable gnustep versions cleanup

*gnustep-base-1.14.3 (20 Mar 2008)

20 Mar 2008; Bernard Cafarelli
+gnustep-base-1.14.3.ebuild:
Stable version bump, bugfixes

*gnustep-base-1.15.3 (19 Mar 2008)

19 Mar 2008; Bernard Cafarelli
-gnustep-base-1.15.2.ebuild, +gnustep-base-1.15.3.ebuild:
Update unstable release, adds TLS/SSL and https support

08 Mar 2008; Santiago M. Mola
gnustep-base-1.14.1.ebuild:
amd64 stable wrt bug #207381

18 Feb 2008; Bernard Cafarelli
gnustep-base-1.14.0.ebuild, gnustep-base-1.14.1.ebuild,
gnustep-base-1.14.2.ebuild, gnustep-base-1.15.2.ebuild:
Add check for libffi USE-flag in gcc

30 Jan 2008; Brent Baude gnustep-base-1.14.1.ebuild:
Marking gnustep-base-1.14.1 ppc for bug 207381

25 Jan 2008; Raúl Porcel gnustep-base-1.14.1.ebuild:
sparc stable wrt #207381

25 Jan 2008; Christian Faulhammer
gnustep-base-1.14.1.ebuild:
stable x86, bug 207381

*gnustep-base-1.15.2 (09 Jan 2008)

09 Jan 2008; Bernard Cafarelli
+gnustep-base-1.15.2.ebuild:
Add unstable version

*gnustep-base-1.14.2 (03 Jan 2008)

03 Jan 2008; Bernard Cafarelli
+gnustep-base-1.14.2.ebuild:
Stable version bump

08 Dec 2007; Bernard Cafarelli
-files/gnustep-base-1.12.0-obey_homedir.patch,
-files/gnustep.initd-1.13.0, -files/config-gnustep-base.sh,
-files/gnustep.initd, -gnustep-base-1.12.0.ebuild,
-gnustep-base-1.13.0-r1.ebuild:
Remove old versions

06 Dec 2007; Raúl Porcel gnustep-base-1.14.0.ebuild:
sparc stable wrt #195990

*gnustep-base-1.14.1 (19 Nov 2007)

19 Nov 2007; Bernard Cafarelli
+gnustep-base-1.14.1.ebuild:
Stable version bump

16 Nov 2007; Steve Dibb gnustep-base-1.14.0.ebuild:
amd64 stable, bug 195990

27 Oct 2007; nixnut gnustep-base-1.14.0.ebuild:
Stable on ppc wrt bug 195990

17 Oct 2007; Christian Faulhammer
gnustep-base-1.14.0.ebuild:
stable x86, bug 195990

03 Oct 2007; Raúl Porcel gnustep-base-1.14.0.ebuild:
Re-add ~sparc wrt #189372

18 Sep 2007; Fabian Groffen
gnustep-base-1.14.0.ebuild:
Fix for bug #190744, make sure autogsdoc uses the just compiled gnustep-base
library

10 Sep 2007; Joseph Jezak gnustep-base-1.14.0.ebuild:
Marked ~ppc for bug #189372.

06 Sep 2007; Bernard Cafarelli
-files/base-user-defaults.patch-1.10.0, -gnustep-base-1.10.3.ebuild,
-gnustep-base-1.10.3-r1.ebuild:
Remove old versions, bug #139385

06 Sep 2007; Raúl Porcel gnustep-base-1.14.0.ebuild:
Add ~alpha wrt #189372

05 Sep 2007; Joseph Jezak
gnustep-base-1.13.0-r1.ebuild:
Marked ppc stable for bug #139385.

22 Aug 2007; Roy Marples gnustep-base-1.14.0.ebuild:
Keyworded ~x86-fbsd, #183467 thanks to Nathan Smith.

*gnustep-base-1.14.0 (18 Aug 2007)

18 Aug 2007; Fabian Groffen
+gnustep-base-1.14.0.ebuild:
Bump from GNUstep overlay. Using new gnustep eclasses

15 Mar 2007; Fabian Groffen
gnustep-base-1.10.3.ebuild, gnustep-base-1.10.3-r1.ebuild,
gnustep-base-1.12.0.ebuild, gnustep-base-1.13.0-r1.ebuild:
Fix QA issues as reported in bug #168179, with thanks to Ciaran McCreesh


*gnustep-base-1.13.0-r1 (05 Dec 2006)

05 Dec 2006; Fabian Groffen
+files/gnustep.initd-1.13.0, files/gnustep.initd,
-gnustep-base-1.13.0.ebuild, +gnustep-base-1.13.0-r1.ebuild:
Bump revision to include new init.d script to fix issues reported in bug
#154162

05 Dec 2006; Fabian Groffen
gnustep-base-1.13.0.ebuild:
Fix sed statement as pointed out by Axel Dyks in bug #153180

25 Oct 2006; Joshua Jackson
gnustep-base-1.12.0.ebuild:
Stable x86; bug #139385

24 Oct 2006; Simon Stelling gnustep-base-1.12.0.ebuild:
stable on amd64

*gnustep-base-1.13.0 (03 Sep 2006)

03 Sep 2006; Fabian Groffen +files/50-gnustep-revdep,
+files/gnustep.initd, -gnustep-base-1.10.1-r1.ebuild,
+gnustep-base-1.13.0.ebuild:
Upstream version bump and cleanup. Thanks to Dmitry S. Kulyabov (bug #145566)

16 Aug 2006; Jason Wever gnustep-base-1.12.0.ebuild:
Stable on SPARC wrt bug #139385.

28 Jul 2006; Fabian Groffen
gnustep-base-1.12.0.ebuild:
Remove libffi USE and use because it's buggy and should not be used.
Marked ppc-macos stable (bug #141975)

04 Jun 2006; Fabian Groffen
-files/base-path.patch-gsstartup-0.10.2,
-files/base-user-defaults.patch-1.10.2_pre20050312,
+files/gnustep-base-1.12.0-obey_homedir.patch, gnustep-base-1.12.0.ebuild:
Adding a patch for 1.12.0 to obey HOME env variable, which allows it to get
out of package.mask. Removed some stray files. Changed USE-flag ffcall
into libffi to change the default message passing method to ffcall, as
mentioned by Hypnos in http://forums.gentoo.org/viewtopic-t-462949.html.

*gnustep-base-1.12.0 (19 Mar 2006)

19 Mar 2006; Fabian Groffen
-gnustep-base-1.10.2_pre20050312.ebuild, -gnustep-base-1.10.2.ebuild,
-gnustep-base-1.10.2-r1.ebuild, +gnustep-base-1.12.0.ebuild:
Version bump to 1.12.0. Marked ~ppc-macos. Removed old and CVS based versions

26 Dec 2005; Simon Stelling gnustep-base-1.10.3.ebuild:
stable on amd64

14 Aug 2005; Michael Hanselmann
gnustep-base-1.10.3.ebuild:
Stable on ppc.

*gnustep-base-1.10.3-r1 (22 Jun 2005)

22 Jun 2005; Armando Di Cianno
+gnustep-base-1.10.3-r1.ebuild:
Added optional dependency for ffcall -- prefer ffcall over libffi; gnustep
user of libffi is buggy

09 Jun 2005; Gustavo Zacarias
gnustep-base-1.10.3.ebuild:
Stable on sparc

06 Jun 2005; Armando Di Cianno
gnustep-base-1.10.3.ebuild:
Stabilizations and bumps for core gnustep ebuilds.

05 May 2005; Sven Wegener
gnustep-base-1.10.1-r1.ebuild, gnustep-base-1.10.2_pre20050312.ebuild,
gnustep-base-1.10.2.ebuild, gnustep-base-1.10.2-r1.ebuild,
gnustep-base-1.10.3.ebuild:
Fixed [<>]=cat/pkg-ver* dependencies.

*gnustep-base-1.10.3 (15 Apr 2005)
*gnustep-base-1.10.2-r1 (15 Apr 2005)
*gnustep-base-1.10.2 (15 Apr 2005)

15 Apr 2005; Armando Di Cianno
+files/base-path.patch-gsstartup-0.10.2, +gnustep-base-1.10.2.ebuild,
+gnustep-base-1.10.2-r1.ebuild, +gnustep-base-1.10.3.ebuild:
Core GNUstep ebuild bumps; cleaned up dependencies of ancestors of gnustep-env

04 Apr 2005; Gustavo Zacarias
gnustep-base-1.10.1-r1.ebuild:
Stable on sparc

*gnustep-base-1.10.2_pre20050312 (17 Mar 2005)

17 Mar 2005; Armando Di Cianno
+files/base-user-defaults.patch-1.10.2_pre20050312,
-gnustep-base-1.10.2_pre20041203.ebuild,
-gnustep-base-1.10.2_pre20050106.ebuild,
+gnustep-base-1.10.2_pre20050312.ebuild:
ebuild updates for GNUstep base, libs, and apps across the board; proper
versions (to be stabilized, in due time) added where apropos, cvs-pull
versions updated where needed

10 Jan 2005; Armando Di Cianno
gnustep-base-1.10.1-r1.ebuild:
Marking stable for x86

*gnustep-base-1.10.2_pre20050106 (10 Jan 2005)

10 Jan 2005; Armando Di Cianno
+gnustep-base-1.10.2_pre20050106.ebuild:
cvs snapshot version bumps; cleaned out old cvs versioned ebuilds; fixed
date spec on ebuild headers as repoman was complaining

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

13 Dec 2004; Armando Di Cianno -files/tryffi.c,
-gnustep-base-1.10.0.ebuild, gnustep-base-1.10.1-r1.ebuild,
-gnustep-base-1.10.1.ebuild, -gnustep-base-1.10.1_pre20040928.ebuild,
-gnustep-base-1.10.2_pre20041116.ebuild,
gnustep-base-1.10.2_pre20041203.ebuild:
Cleaned up detection of objc and libff; general cleanups

05 Dec 2004; Armando Di Cianno +files/tryffi.c,
gnustep-base-1.10.2_pre20041203.ebuild:
Added a test where if gcc-libffi is USE flag on, then a test program is
compiled and linked, verifying the use of libffi

*gnustep-base-1.10.2_pre20041203 (03 Dec 2004)

03 Dec 2004; Armando Di Cianno
+gnustep-base-1.10.2_pre20041203.ebuild:
General version bump

*gnustep-base-1.10.2_pre20041116 (16 Nov 2004)

16 Nov 2004; Armando Di Cianno
+gnustep-base-1.10.2_pre20041116.ebuild:
Version bump

*gnustep-base-1.10.1-r1 (11 Nov 2004)

11 Nov 2004; Armando Di Cianno -files/gnustep,
+gnustep-base-1.10.1-r1.ebuild, gnustep-base-1.10.1.ebuild,
gnustep-base-1.10.1_pre20040928.ebuild, -gnustep-base-1.5.1.ebuild,
-gnustep-base-1.6.0-r1.ebuild, -gnustep-base-1.6.0.ebuild,
-gnustep-base-1.7.1.ebuild, -gnustep-base-1.7.2.ebuild:
Mass Update: gnustep.eclass revamped to allow configurable root install;
gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions
bumped where files would change); some KEYWORDS were accidentally dropped
between version bumps of packages -- this has been resolved; windowmaker
correctly supports gnustep now

02 Nov 2004; Simon Stelling gnustep-base-1.10.1.ebuild:
added ~amd64

31 Oct 2004; Bryan Østergaard
gnustep-base-1.10.1_pre20040928.ebuild:
~alpha keyword.

*gnustep-base-1.10.1 (30 Oct 2004)

30 Oct 2004; Armando Di Cianno
+gnustep-base-1.10.1.ebuild:
Version bump; keyworded for ~ppc

24 Oct 2004; Jason Wever
gnustep-base-1.10.1_pre20040928.ebuild:
Added ~sparc keyword wrt bug #68729.

09 Oct 2004; David Holm gnustep-base-1.10.0.ebuild,
gnustep-base-1.10.1_pre20040928.ebuild:
Added to ~ppc.

*gnustep-base-1.10.1_pre20040927 (28 Sep 2004)

28 Sep 2004; Armando Di Cianno
+gnustep-base-1.10.1_pre20040928.ebuild:
Version bump; pre release date specd live cvs pull.

28 Sep 2004; Sven Wegener
files/config-gnustep-base.sh:
Gentoo Technologies, Inc. -> Gentoo Foundation

25 Sep 2004; Armando Di Cianno
gnustep-base-1.10.0.ebuild:
Made library depends less strict.

*gnustep-base-1.10.0 (08 Sep 2004)

08 Sep 2004; Armando Di Cianno metadata.xml,
+files/base-user-defaults.patch-1.10.0, +files/config-gnustep-base.sh,
+gnustep-base-1.10.0.ebuild:
Version bump; key'd for ~x86.

23 Jul 2004; Armando Di Cianno
gnustep-base-1.5.1.ebuild, gnustep-base-1.6.0-r1.ebuild,
gnustep-base-1.6.0.ebuild, gnustep-base-1.7.1.ebuild,
gnustep-base-1.7.2.ebuild:
Changed referenced categories in ebuilds to reflect recent epkgmove changes.

*gnustep-base-1.7.2 (23 Jul 2004)

23 Jul 2004; Armando Di Cianno +metadata.xml,
+files/gnustep, +gnustep-base-1.5.1.ebuild, +gnustep-base-1.6.0-r1.ebuild,
+gnustep-base-1.6.0.ebuild, +gnustep-base-1.7.1.ebuild,
+gnustep-base-1.7.2.ebuild:
Moved from dev-util/gnustep-base to gnustep-base/gnustep-base.

22 Jul 2004; Armando Di Cianno
gnustep-base-1.6.0-r1.ebuild, gnustep-base-1.7.1.ebuild,
gnustep-base-1.7.2.ebuild:
Changing the eclass to gnustep-old

22 Jul 2004; Armando Di Cianno
gnustep-base-1.6.0-r1.ebuild, gnustep-base-1.7.1.ebuild,
gnustep-base-1.7.2.ebuild:
Changing the eclass to gnustep-old

01 Jul 2004; Jeremy Huddleston
gnustep-base-1.5.1.ebuild:
virtual/glibc -> virtual/libc

04 May 2004; Bryan Østergaard gnustep-base-1.7.2.ebuild:
Stable on alpha.

29 Jan 2004; Aron Griffis gnustep-base-1.7.2.ebuild:
add ~alpha

*gnustep-base-1.7.2 (30 Jul 2003)

30 Jul 2003; Nick Hadaway gnustep-base-1.7.2.ebuild:
Version bump of the unstable series.

26 Jul 2003; Nick Hadaway gnustep-base-1.7.1.ebuild:
Marked the build - for all arches as it breaks most apps.

*gnustep-base-1.7.1 (13 Jul 2003)

13 Jul 2003; Nick Hadaway gnustep-base-1.7.1.ebuild:
Added the latest unstable build.

*gnustep-base-1.6.0-r1 (02 Jul 2003)

02 Jul 2003; raker@gentoo.org gnustep-base-1.6.0-r1.ebuild:
Now depends on the gnustep eclass.

26 Jun 2003; raker@gentoo.org gnustep-base-1.6.0.ebuild:
marked stable for x86

*gnustep-base-1.6.0 (31 Mar 2003)

31 Mar 2003; Alastair Tse gnustep-base-1.6.0.ebuild,
files/gnustep:
version bump. thanks to Michael R. Taylor . Bug #18280.

*gnustep-base-1.5.1 (19 Jan 2003)

19 Jan 2003; Nick Hadaway gnustep-base-1.5.1.ebuild,
files/digest-gnustep-base-1.5.1 :
New "unstable" version.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*gnustep-base-1.4.0 (03 Sep 2002)

03 Sep 2002; Nick Hadaway gnustep-base-1.4.0.ebuild,
files/digest-gnustep-base-1.4.0 :
Version bump.

*gnustep-base-1.3.4-r1 (19 Jul 2002)

19 Jul 2002; Nick Hadaway
gnustep-base-1.3.4-r1.ebuild, files/digest-gnustep-base-1.3.4-r1 :
Figured out install variables. No longer doing manual file install.
Fixed some typos in the ChangeLog.

*gnustep-base-1.3.4 (05 Jul 2002)

05 Jul 2002; Nick Hadaway gnustep-base-1.3.4.ebuild:
Updated to the 1.3.4 package. libxml2 now appears to be detected.
Currently fails compiling, so masked in package.mask

*gnustep-base-1.3.3 (04 Jul 2002)

04 Jul 2002; Nick Hadaway gnustep-base-1.3.3.ebuild:
Updated to the 1.3.3 package. libxml2 is currently not detected correctly.

*gnustep-base-1.1.0 (04 Jul 2002)

07 Jul 2002; Nick Hadaway gnustep-base-1.1.0.ebuild:
Back to the stable version. Cleaned up the ebuild and should now install
properly.

04 Jul 2002; Nick Hadaway gnustep-base-1.1.0.ebuild:
This is the first ebuild for this package. The GNUstep base package.

Manifest

AUX 50-gnustep-revdep 35 RMD160 f9508891da2de58ef884baabf9206577653a409b SHA1 40e21ae24078afb92067f51ca82722f20b742512 SHA256 e0bde19a964f2ae01855b4353c3d2af7b0b0ca25231827798ebfea16e435d3a2
AUX gnustep-base-1.16.1-libffi_fix.patch 20197 RMD160 3c247213f0e90d84b1280cf7b57e3b6cab2baaba SHA1 0c1af11da6db40aaa7e3f63dd71ce284ce4b655f SHA256 76262c6145df9d6e02ce234b1a753f3cf4eb9e78625c4568a7003a80e1400f47
DIST gnustep-base-1.14.1.tar.gz 2368190 RMD160 43dc9fd0be2e0c35a9c4730843a284ca344859f1 SHA1 b1a280d7d9d729537a64ebfab7e304cf161c7f40 SHA256 ba8747db113f2d32d4666bb04aa06a092c153484e0943a43ad142b200939517d
DIST gnustep-base-1.14.3.tar.gz 2369272 RMD160 bf4d23acc75e3a762b71e74441959458246b262f SHA1 9867424fcefce914ac1d4dfcdca616673e9267d7 SHA256 07dcc4b750d2402fb4e2495c4afa806b6c6d277ecf2546748e9417db89fc7702
DIST gnustep-base-1.16.1.tar.gz 2473011 RMD160 90b46830f1bb0ffbd7cd16f81a6e1facc940fb0c SHA1 f714cc3a338d9a08d852fcf79a49786f2faeb0f5 SHA256 5a8cc78d4bf6f700e1217580bc4882cd3083672ffce0d60139db7f5178ea2a87
EBUILD gnustep-base-1.14.1.ebuild 2559 RMD160 908eb647d841291dea757592471cde88c9e51ace SHA1 72042a9360d119a32ea14625be206c77ad3dd1f5 SHA256 17d8590cde11dfc8ae212990c1855f764c876c98026c26edf0681af45a653253
EBUILD gnustep-base-1.14.3.ebuild 2563 RMD160 1226d9c6d7db4b8c5b68aeb157182412e8701d3a SHA1 1888bd5135b17da3a45a26028287329e7d9c006c SHA256 9f4c1284f229e3ed2df571d20673012c4efc90e636318e7ec8fe6e19ff1ae32c
EBUILD gnustep-base-1.16.1.ebuild 2730 RMD160 4c665d9804da1dbb19a07cfb5b5d696780c1c083 SHA1 27d87367a8ffcd6d7ac42c06ab5456dfcb874d98 SHA256 4bfcb28fea4b83607ed848b741df44db4302a77fc51cfd9f6fb28e6824c09b97
MISC ChangeLog 15513 RMD160 dfc2cdcd72cccff49bcc26f32baed4a075e785f8 SHA1 0bc057c061782f8a89efa17e5246c3d6156ba974 SHA256 1e25f22164367639e7121ac69802f1756591c3b5eb24a41abef232a9657c75c0
MISC metadata.xml 670 RMD160 5d5b88faf28b66aa5d5d3efd6fe5844e980604c9 SHA1 9582400efd6733f27beaf47fa801065838d86955 SHA256 e08343661cc7ecb6d963be62092a270a45f8af0201c9523d1feeddfa09a417fa

files

gnustep-base-1.14.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.14.1.ebuild,v 1.6 2008/03/08 13:08:07 coldwind Exp $

inherit gnustep-base

DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha amd64 ppc sparc x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"

IUSE="gcc-libffi"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=gnustep-base/gnustep-make-2.0
!gcc-libffi? ( dev-libs/ffcall )
gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
>=dev-libs/libxml2-2.6
>=dev-libs/libxslt-1.1
>=dev-libs/gmp-4.1
>=dev-libs/openssl-0.9.7
>=sys-libs/zlib-1.2"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if use gcc-libffi && ! built_with_use sys-devel/gcc libffi; then
eerror "You have enabled the gcc-libffi USE flag, however gcc was not compiled with USE=libffi"
eerror "Please recompile sys-libs/gcc with USE=libffi, or disable the gcc-libffi USE flag"
die "libffi support not available"
fi
}

src_compile() {
egnustep_env

local myconf
if use gcc-libffi;
then
myconf="--enable-libffi --disable-ffcall"
myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include/libffi"
else
myconf="--disable-libffi --enable-ffcall"
fi

myconf="$myconf --with-xml-prefix=/usr"
myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib"
myconf="$myconf --with-default-config=/etc/GNUstep/GNUstep.conf"

econf $myconf || die "configure failed"

egnustep_make
}

src_install() {
# We need to set LD_LIBRARY_PATH because the doc generation program
# uses the gnustep-base libraries. Since egnustep_env "cleans the
# environment" including our LD_LIBRARY_PATH, we're left no choice
# but doing it like this.

egnustep_env
egnustep_install

if use doc ; then
export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
egnustep_doc
fi
egnustep_install_config

dodir /etc/revdep-rebuild
sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_SYSTEM_ROOT $GNUSTEP_LOCAL_ROOT"'|' \
"${FILESDIR}"/50-gnustep-revdep \
> "${D}/etc/revdep-rebuild/50-gnustep-revdep"
}

pkg_postinst() {
ewarn "The shared library version has changed in this release."
ewarn "You will need to recompile all Applications/Tools/etc in order"
ewarn "to use this library."
ewarn "Run:"
ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-3]\""
}

gnustep-base-1.14.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.14.3.ebuild,v 1.1 2008/03/20 09:55:41 voyageur Exp $

inherit gnustep-base

DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"

IUSE="gcc-libffi"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=gnustep-base/gnustep-make-2.0
!gcc-libffi? ( dev-libs/ffcall )
gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
>=dev-libs/libxml2-2.6
>=dev-libs/libxslt-1.1
>=dev-libs/gmp-4.1
>=dev-libs/openssl-0.9.7
>=sys-libs/zlib-1.2"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if use gcc-libffi && ! built_with_use sys-devel/gcc libffi; then
eerror "You have enabled the gcc-libffi USE flag, however gcc was not compiled with USE=libffi"
eerror "Please recompile sys-libs/gcc with USE=libffi, or disable the gcc-libffi USE flag"
die "libffi support not available"
fi
}

src_compile() {
egnustep_env

local myconf
if use gcc-libffi;
then
myconf="--enable-libffi --disable-ffcall"
myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include/libffi"
else
myconf="--disable-libffi --enable-ffcall"
fi

myconf="$myconf --with-xml-prefix=/usr"
myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib"
myconf="$myconf --with-default-config=/etc/GNUstep/GNUstep.conf"

econf $myconf || die "configure failed"

egnustep_make
}

src_install() {
# We need to set LD_LIBRARY_PATH because the doc generation program
# uses the gnustep-base libraries. Since egnustep_env "cleans the
# environment" including our LD_LIBRARY_PATH, we're left no choice
# but doing it like this.

egnustep_env
egnustep_install

if use doc ; then
export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
egnustep_doc
fi
egnustep_install_config

dodir /etc/revdep-rebuild
sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_SYSTEM_ROOT $GNUSTEP_LOCAL_ROOT"'|' \
"${FILESDIR}"/50-gnustep-revdep \
> "${D}/etc/revdep-rebuild/50-gnustep-revdep"
}

pkg_postinst() {
ewarn "The shared library version has changed in this release."
ewarn "You will need to recompile all Applications/Tools/etc in order"
ewarn "to use this library."
ewarn "Run:"
ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-3]\""
}

gnustep-base-1.16.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/gnustep-base-1.16.1.ebuild,v 1.2 2008/06/30 13:08:50 voyageur Exp $

inherit gnustep-base

DESCRIPTION="A library of general-purpose, non-graphical Objective C objects."

HOMEPAGE="http://www.gnustep.org"
SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"

IUSE="gcc-libffi gnutls"

DEPEND="${GNUSTEP_CORE_DEPEND}
>=gnustep-base/gnustep-make-2.0
!gcc-libffi? ( dev-libs/ffcall )
gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
gnutls? ( net-libs/gnutls )
>=dev-libs/libxml2-2.6
>=dev-libs/libxslt-1.1
>=dev-libs/gmp-4.1
>=dev-libs/openssl-0.9.7
>=sys-libs/zlib-1.2"
RDEPEND="${DEPEND}"

pkg_setup() {
gnustep-base_pkg_setup

if use gcc-libffi && ! built_with_use sys-devel/gcc libffi; then
eerror "You have enabled the gcc-libffi USE flag, however gcc was not compiled with USE=libffi"
eerror "Please recompile sys-libs/gcc with USE=libffi, or disable the gcc-libffi USE flag"
die "libffi support not available"
fi
}

src_unpack() {
gnustep-base_src_unpack

epatch "${FILESDIR}"/${P}-libffi_fix.patch
}

src_compile() {
egnustep_env

local myconf
if use gcc-libffi;
then
myconf="--enable-libffi --disable-ffcall"
myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include/libffi"
else
myconf="--disable-libffi --enable-ffcall"
fi

myconf="$myconf $(use_enable gnutls tls)"
myconf="$myconf --with-xml-prefix=/usr"
myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib"
myconf="$myconf --with-default-config=/etc/GNUstep/GNUstep.conf"

econf $myconf || die "configure failed"

egnustep_make
}

src_install() {
# We need to set LD_LIBRARY_PATH because the doc generation program
# uses the gnustep-base libraries. Since egnustep_env "cleans the
# environment" including our LD_LIBRARY_PATH, we're left no choice
# but doing it like this.

egnustep_env
egnustep_install

if use doc ; then
export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
egnustep_doc
fi
egnustep_install_config

dodir /etc/revdep-rebuild
sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_SYSTEM_ROOT $GNUSTEP_LOCAL_ROOT"'|' \
"${FILESDIR}"/50-gnustep-revdep \
> "${D}/etc/revdep-rebuild/50-gnustep-revdep"
}

pkg_postinst() {
ewarn "The shared library version has changed in this release."
ewarn "You will need to recompile all Applications/Tools/etc in order"
ewarn "to use this library."
ewarn "Run:"
ewarn "revdep-rebuild --library \"libgnustep-base.so.1.1[0-4]\""
}

metadata.xml




gnustep

The GNUstep Base Library is a library of general-purpose, non-graphical
Objective C objects. For example, it includes classes for strings,
object collections, byte streams, typed coders, invocations,
notifications, notification dispatchers, moments in time, network ports,
remote object messaging support (distributed objects), and event loops.

It provides functionality that aims to implement the non-graphical
portion of the OpenStep standard (the Foundation library).