summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-12-08 20:08:56 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-12-08 20:08:56 +0000
commitfd72494a944c242c576357a1ed916d5b5dfde8e6 (patch)
tree66566fa0adfbd17e6766b87cbc8c69282bffaa17 /gnustep-base
parentRemove old versions (diff)
downloadgentoo-2-fd72494a944c242c576357a1ed916d5b5dfde8e6.tar.gz
gentoo-2-fd72494a944c242c576357a1ed916d5b5dfde8e6.tar.bz2
gentoo-2-fd72494a944c242c576357a1ed916d5b5dfde8e6.zip
Remove old versions
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-base/ChangeLog9
-rw-r--r--gnustep-base/gnustep-base/files/config-gnustep-base.sh14
-rw-r--r--gnustep-base/gnustep-base/files/digest-gnustep-base-1.12.03
-rw-r--r--gnustep-base/gnustep-base/files/digest-gnustep-base-1.13.0-r13
-rw-r--r--gnustep-base/gnustep-base/files/gnustep-base-1.12.0-obey_homedir.patch39
-rw-r--r--gnustep-base/gnustep-base/files/gnustep.initd57
-rw-r--r--gnustep-base/gnustep-base/files/gnustep.initd-1.13.056
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.12.0.ebuild99
-rw-r--r--gnustep-base/gnustep-base/gnustep-base-1.13.0-r1.ebuild137
9 files changed, 8 insertions, 409 deletions
diff --git a/gnustep-base/gnustep-base/ChangeLog b/gnustep-base/gnustep-base/ChangeLog
index 41f2f9d45fe5..c97b474ae11a 100644
--- a/gnustep-base/gnustep-base/ChangeLog
+++ b/gnustep-base/gnustep-base/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for gnustep-base/gnustep-base
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.55 2007/12/06 12:08:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/ChangeLog,v 1.56 2007/12/08 20:08:55 voyageur Exp $
+
+ 08 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org>
+ -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 <armin76@gentoo.org> gnustep-base-1.14.0.ebuild:
sparc stable wrt #195990
diff --git a/gnustep-base/gnustep-base/files/config-gnustep-base.sh b/gnustep-base/gnustep-base/files/config-gnustep-base.sh
deleted file mode 100644
index 2de8554a7a34..000000000000
--- a/gnustep-base/gnustep-base/files/config-gnustep-base.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-#
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/files/config-gnustep-base.sh,v 1.2 2004/09/28 00:51:18 swegener Exp $
-
-TIME_ZONE="America/New_York"
-LANGUAGE="English"
-
-echo "defaults write NSGlobalDomain \"Local Time Zone\" ${TIME_ZONE}"
-defaults write NSGlobalDomain "Local Time Zone" ${TIME_ZONE}
-echo "defaults write NSGlobalDomain NSLanguages \"(${LANGUAGE})\""
-defaults write NSGlobalDomain NSLanguages "(${LANGUAGE})"
-
diff --git a/gnustep-base/gnustep-base/files/digest-gnustep-base-1.12.0 b/gnustep-base/gnustep-base/files/digest-gnustep-base-1.12.0
deleted file mode 100644
index 2aaf0c2ac403..000000000000
--- a/gnustep-base/gnustep-base/files/digest-gnustep-base-1.12.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e2ab022f8312fbbc1a9cab938edf70c4 gnustep-base-1.12.0.tar.gz 2084468
-RMD160 2722b38fcc7df9e810e427b95e9471d747770eb3 gnustep-base-1.12.0.tar.gz 2084468
-SHA256 888b0283c7be8b137a1d6e13790784c8bdc0de5ba9969b6ff103c5488a6903b1 gnustep-base-1.12.0.tar.gz 2084468
diff --git a/gnustep-base/gnustep-base/files/digest-gnustep-base-1.13.0-r1 b/gnustep-base/gnustep-base/files/digest-gnustep-base-1.13.0-r1
deleted file mode 100644
index cbf466834908..000000000000
--- a/gnustep-base/gnustep-base/files/digest-gnustep-base-1.13.0-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 edd01516ba49915150f030848efc0baf gnustep-base-1.13.0.tar.gz 2282713
-RMD160 57a4dd3c9759e296d0a95304cd8b0624f1374bbf gnustep-base-1.13.0.tar.gz 2282713
-SHA256 6ed544682bb4512ca71230b76092fad90fd1c4e1cfee81f8a7871fd7fbba950b gnustep-base-1.13.0.tar.gz 2282713
diff --git a/gnustep-base/gnustep-base/files/gnustep-base-1.12.0-obey_homedir.patch b/gnustep-base/gnustep-base/files/gnustep-base-1.12.0-obey_homedir.patch
deleted file mode 100644
index 481c53718e85..000000000000
--- a/gnustep-base/gnustep-base/files/gnustep-base-1.12.0-obey_homedir.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-To avoid sandbox violations, we need GNUstep to obey the environment
-variables before digging around in the password database for the
-homedir.
--- grobian@gentoo.org
-
---- gnustep-base-1.12.0/Source/NSPathUtilities.m
-+++ gnustep-base-1.12.0/Source/NSPathUtilities.m
-@@ -1050,12 +1050,28 @@
-
- #if !defined(__MINGW32__)
- struct passwd *pw;
-+ char *env_var;
-
- [gnustep_global_lock lock];
-- pw = getpwnam ([loginName cString]);
-- if (pw != 0 && pw->pw_dir != NULL)
-+ /* First try to get the homedir from the environment; it may be more
-+ * up-to-date then the password backend. If this fails for some
-+ * reason, retrieve the homedir from the password backend. The first
-+ * step to obey the user's environment variables is at least necessary
-+ * for avoiding Gentoo portage's sandbox violations when building
-+ * other GNUstep applications.
-+ */
-+ if((env_var = getenv("HOME")) != NULL)
-+ {
-+ s = [NSString stringWithCString: (const char *)env_var];
-+ }
-+ else
- {
-- s = [NSString stringWithCString: pw->pw_dir];
-+ /* ok, homedir variable not found, do a lookup */
-+ pw = getpwnam ([loginName cString]);
-+ if (pw != 0 && pw->pw_dir != NULL)
-+ {
-+ s = [NSString stringWithCString: pw->pw_dir];
-+ }
- }
- [gnustep_global_lock unlock];
- #else
diff --git a/gnustep-base/gnustep-base/files/gnustep.initd b/gnustep-base/gnustep-base/files/gnustep.initd
deleted file mode 100644
index b640a3023150..000000000000
--- a/gnustep-base/gnustep-base/files/gnustep.initd
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/files/gnustep.initd,v 1.2 2006/12/05 19:51:34 grobian Exp $
-
-if [ -e /etc/GNUstep/GNUstep.conf ];
-then
- . /etc/GNUstep/GNUstep.conf
-else
- GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System"
-fi
-
-start() {
- ebegin "Starting GNUstep services"
-
- # Check for necessary files
- if [ -d ${GNUSTEP_SYSTEM_ROOT}/Makefiles ];
- then
- # Source GNUstep makefile
- . ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh
- else
- eend 0
- return 1
- fi
-
- if [ -z "$GNUSTEP_FLATTENED" ];
- then
- TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}
- else
- TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools
- fi
-
- # Start services
- if [ -x ${TDIR}/gdomap ];
- then
- ebegin " starting gdomap"
- ${TDIR}/gdomap
- eend $?
- fi
- if [ -x ${TDIR}/$LIBRARY_COMBO/gdnc ];
- then
- ebegin " starting gdomap"
- ${TDIR}/$LIBRARY_COMBO/gdnc
- eend $?
- fi
-}
-
-stop() {
- ebegin "Killing GNUstep services"
-
- # Kill processes
- killall gdomap
- killall gdnc
-
- # always succeeds
- eend 0
-}
diff --git a/gnustep-base/gnustep-base/files/gnustep.initd-1.13.0 b/gnustep-base/gnustep-base/files/gnustep.initd-1.13.0
deleted file mode 100644
index 6c4eecea3300..000000000000
--- a/gnustep-base/gnustep-base/files/gnustep.initd-1.13.0
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-base/files/gnustep.initd-1.13.0,v 1.1 2006/12/05 19:51:34 grobian Exp $
-
-if [ -e /etc/GNUstep/GNUstep.conf ] ; then
- . /etc/GNUstep/GNUstep.conf
-else
- GNUSTEP_SYSTEM_ROOT="/usr/GNUstep/System"
-fi
-
-start() {
- ebegin "Starting GNUstep services"
-
- # Check for necessary files
- if [ -d ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles ] ; then
- # Source GNUstep makefile
- . ${GNUSTEP_SYSTEM_ROOT}/Library/Makefiles/GNUstep.sh
- else
- eend 1
- return 1
- fi
-
- if [ -z "$GNUSTEP_FLATTENED" ] ; then
- TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}
- else
- TDIR=${GNUSTEP_SYSTEM_ROOT}/Tools
- fi
-
- # Start services
- eindent
-
- if [ -x ${TDIR}/gdomap ] ; then
- ebegin "starting gdomap"
- ${TDIR}/gdomap
- eend $?
- fi
- if [ -x ${TDIR}/$LIBRARY_COMBO/gdnc ] ; then
- ebegin "starting gdnc"
- ${TDIR}/$LIBRARY_COMBO/gdnc
- eend $?
- fi
-
- eoutdent
-}
-
-stop() {
- ebegin "Killing GNUstep services"
-
- # Kill processes
- killall gdomap >& /dev/null
- killall gdnc >& /dev/null
-
- # always succeeds
- eend 0
-}
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.12.0.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.12.0.ebuild
deleted file mode 100644
index 0864eddaf5a1..000000000000
--- a/gnustep-base/gnustep-base/gnustep-base-1.12.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2007 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.12.0.ebuild,v 1.10 2007/03/15 17:33:32 grobian Exp $
-
-inherit gnustep
-
-DESCRIPTION="The GNUstep Base Library: general-purpose, non-gui Obj-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"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2.1"
-
-# disable doc as it appears to be broken
-IUSE="gcc-libffi"
-DEPEND="${GNUSTEP_CORE_DEPEND}
- ~gnustep-base/gnustep-make-1.12.0
- gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
- !gcc-libffi? ( dev-libs/ffcall )
- >=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
- sys-apps/sed
- ${DOC_DEPEND}"
-RDEPEND="${DEPEND}
- ${DEBUG_DEPEND}
- ${DOC_RDEPEND}"
-
-egnustep_install_domain "System"
-
-pkg_setup() {
- # Order of preferences: ffcall, libffi from gcc
- if use gcc-libffi; then
- if [ "$(ffi_available)" == "no" ]; then
- ffi_not_available_info
- die "libffi is not available"
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}/${P}"-obey_homedir.patch
-}
-
-src_compile() {
- egnustep_env
- local myconf
- if ! use gcc-libffi; then
- einfo "Using ffcall for FFI, not libffi"
- myconf="--disable-libffi --enable-ffcall"
- else
- einfo "Using libffi for FFI, not ffcall"
- myconf="--enable-libffi --disable-ffcall"
- myconf="${myconf} --with-ffi-library=$(gcc-config -L) --with-ffi-include=$(gcc-config -L | sed 's/:.*//')/include"
- fi
-
- myconf="$myconf --with-xml-prefix=/usr"
- myconf="$myconf --with-gmp-include=/usr/include --with-gmp-library=/usr/lib"
- econf $myconf || die "configure failed"
-
- egnustep_make || die
-}
-
-src_install() {
- egnustep_env
- egnustep_install || die
-
- local base_temp_lib_path
- if [ ! -z $GNUSTEP_FLATTENED ]; then
- base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries"
- else
- base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO"
- fi
-
-# if use doc ; then
-# local make_eval="\
-# special_prefix=\"\${D}\$(egnustep_system_root)\" \
-# makedir=\${D}\$(egnustep_system_root)/Library/Makefiles \
-# GNUSTEP_USER_ROOT=\${TMP} \
-# -j1"
-#
-# if use debug ; then
-# make_eval="${make_eval} debug=yes"
-# fi
-# if use verbose ; then
-# make_eval="${make_eval} verbose=yes"
-# fi
-#
-# cd ${S}/Documentation
-# eval make ${make_eval} all || die "doc make has failed"
-# eval make ${make_eval} install || die "doc install has failed"
-# cd ..
-# fi
- egnustep_package_config
-}
diff --git a/gnustep-base/gnustep-base/gnustep-base-1.13.0-r1.ebuild b/gnustep-base/gnustep-base/gnustep-base-1.13.0-r1.ebuild
deleted file mode 100644
index 1985772a4f63..000000000000
--- a/gnustep-base/gnustep-base/gnustep-base-1.13.0-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2007 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.13.0-r1.ebuild,v 1.3 2007/09/05 19:36:14 josejx Exp $
-
-inherit gnustep autotools
-
-DESCRIPTION="The GNUstep Base Library is 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"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2.1"
-
-IUSE="${IUSE} doc gcc-libffi"
-
-DEPEND="${GNUSTEP_CORE_DEPEND}
- ~gnustep-base/gnustep-make-1.13.0
- gcc-libffi? ( >=sys-devel/gcc-3.3.5 )
- !gcc-libffi? ( dev-libs/ffcall )
- >=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
- sys-apps/sed
- ${DOC_DEPEND}"
-RDEPEND="${DEPEND}
- ${DEBUG_DEPEND}
- ${DOC_RDEPEND}"
-
-egnustep_install_domain "System"
-
-pkg_setup() {
- if use gcc-libffi; then
- export OBJC_INCLUDE_PATH="OBJC_INCLUDE_PATH:$(gcc-config -L | sed 's/:.*//')/include/libffi"
- if [ "$(ffi_available)" == "no" ]; then
- ffi_not_available_info
- die "libffi is not available"
- fi
- fi
-}
-
-src_unpack() {
- egnustep_env
- unpack ${A}
- # TODO: need for obey-homedir patch?
-
- cd ${S}
-
- # FIX non-flattened
- if [ -z $GNUSTEP_FLATTENED ];
- then
- sed -i -e 's:$GNUSTEP_MAKEFILES/config.make:$GNUSTEP_MAKEFILES/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/config.make:' \
- -e 's:$GNUSTEP_MAKEFILES/$obj_dir/config.make:$GNUSTEP_MAKEFILES/$obj_dir/$LIBRARY_COMBO/config.make:' \
- configure.ac
- eautoreconf
- fi
-}
-
-src_compile() {
- egnustep_env
- # why libffi over ffcall?
- # - libffi is known to work with 32 and 64 bit platforms
- # - libffi does not use trampolines
- # but upstream seems to prefer ffcall
- 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 || die
-}
-
-src_install() {
- egnustep_env
- egnustep_install || die
-
- local base_temp_lib_path
- if [ ! -z $GNUSTEP_FLATTENED ]; then
- base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries"
- else
- base_temp_lib_path="$(egnustep_install_domain)/Library/Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO"
- fi
-
- if use doc;
- then
- local make_eval="INSTALL_ROOT=\${D} \
- GNUSTEP_SYSTEM_ROOT=\${D}\$(egnustep_system_root) \
- GNUSTEP_NETWORK_ROOT=\$(egnustep_network_root) \
- GNUSTEP_LOCAL_ROOT=\$(egnustep_local_root) \
- GNUSTEP_MAKEFILES=\$(egnustep_system_root)/Library/Makefiles \
- GNUSTEP_USER_ROOT=\${TMP} \
- GNUSTEP_DEFAULTS_ROOT=\${TMP}/\${__GS_USER_ROOT_POSTFIX} \
- LD_LIBRARY_PATH=\"\${D}\${base_temp_lib_path}:\${LD_LIBRARY_PATH}\" \
- GNUSTEP_INSTALLATION_DIR=\${D}\$(egnustep_install_domain) \
- -j1"
- use debug && make_eval="${make_eval} debug=yes"
- use verbose && make_eval="${make_eval} verbose=yes"
-
- cd ${S}/Documentation
- eval emake ${make_eval} AUTOGSDOC="${S}/Tools/obj/autogsdoc" all \
- || die "doc make has failed"
- eval emake ${make_eval} install \
- || die "doc install has failed"
- cd ..
- fi
-
- newinitd "${FILESDIR}"/gnustep.initd-${PV} gnustep
-
- dodir /etc/revdep-rebuild
- sed -e 's|$GNUSTEP_SEARCH_DIRS|'"$GNUSTEP_PATHLIST"'|' \
- "${FILESDIR}"/50-gnustep-revdep \
- > "${D}/etc/revdep-rebuild/50-gnustep-revdep"
-
- egnustep_package_config
-}
-
-pkg_postinst() {
- egnustep_env
-
- 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[012]\""
-}