diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2013-09-26 11:57:29 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2013-09-26 11:57:29 +0000 |
commit | 7949061ba11a891cea64409664a51d2dd7d26b11 (patch) | |
tree | f84acdc9a537fc3cd8f1b1db28fa6a15d251c63f /gnustep-base | |
parent | Version bump. Still uses old Makefile, should move to cmake build for next ve... (diff) | |
download | historical-7949061ba11a891cea64409664a51d2dd7d26b11.tar.gz historical-7949061ba11a891cea64409664a51d2dd7d26b11.tar.bz2 historical-7949061ba11a891cea64409664a51d2dd7d26b11.zip |
Version bump, bugfix release for non-fragile ABI
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xC74525F2
Diffstat (limited to 'gnustep-base')
-rw-r--r-- | gnustep-base/gnustep-make/ChangeLog | 8 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/Manifest | 12 | ||||
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.6.5.ebuild | 131 |
3 files changed, 145 insertions, 6 deletions
diff --git a/gnustep-base/gnustep-make/ChangeLog b/gnustep-base/gnustep-make/ChangeLog index 172b25b7ab9f..786af159ae4d 100644 --- a/gnustep-base/gnustep-make/ChangeLog +++ b/gnustep-base/gnustep-make/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnustep-base/gnustep-make # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.117 2013/04/05 21:12:35 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/ChangeLog,v 1.118 2013/09/26 11:57:23 voyageur Exp $ + +*gnustep-make-2.6.5 (26 Sep 2013) + + 26 Sep 2013; Bernard Cafarelli <voyageur@gentoo.org> + +gnustep-make-2.6.5.ebuild: + Version bump, bugfix release for non-fragile ABI *gnustep-make-2.6.4 (05 Apr 2013) diff --git a/gnustep-base/gnustep-make/Manifest b/gnustep-base/gnustep-make/Manifest index 722be7b8f451..9d8da765b5b5 100644 --- a/gnustep-base/gnustep-make/Manifest +++ b/gnustep-base/gnustep-make/Manifest @@ -8,16 +8,18 @@ AUX testlibobjc.m 229 SHA256 25543e39b6a1fac508439fa07036b37e7ec0068773c2c29d10a DIST gnustep-make-2.6.2.tar.gz 562770 SHA256 7a95b3fc5bf14f6b06c4f1f716b48e9de13a11c1fa972aa3cc87736cd98f3e3a SHA512 5ef7889418e7e5acc40cd045772b08d178333dd7cb396b46bfcc117b8953c868cffff5ad41153f6cf2029f1d78d7213516cf1c2cfc88f028ffb883d0e83ea6a4 WHIRLPOOL 73f0953ba044323349a60393ca644031bac13ea48dab6ccbbf533ee5e52daa8411f6b7bdc4fc8928536c37c5edcaf3a6ef40c3c2ee335c0608b5c8d3a6d890d5 DIST gnustep-make-2.6.3.tar.gz 569167 SHA256 aca6f87087289c62c0f68431ac86aae4cc859bae12c947c9dd9af6624c37de06 SHA512 27f5ba3815824ed2688318bad8b16d38c3703fb36bb68c122f2c6340846bcb65f9ec78e04521c96aa8acf0bf7d35c53e75737bf8a202e9b9a526c31aaf0c2c01 WHIRLPOOL 03e591c3456408641b8d3acc065744ad7383ed13cd0018d17b7f158a54e50e9b51e98c78d5c4538407f66aad9978217f725d0c9faa4fbaeddd811874bbcbd359 DIST gnustep-make-2.6.4.tar.gz 571004 SHA256 cd79284b7d7da627975724fd66943e4a699f00d11ef6e8e74725d70a7dafdc57 SHA512 6d3a6310f36f37961fde30eb12c2cd69f9e48a9a85a73d5731c9fc508fcb7f74cb12037cefc0d89c96b1bc4762fbef52439517b02290980e9d8899d411233645 WHIRLPOOL bae0b4dd0c3dc6b918f452219959bb06d2d966b422b698fbe43c0cf351c520329123df20256b36e0d032741c26281392498beb9b779ffa63717f46ed8ab63ff7 +DIST gnustep-make-2.6.5.tar.gz 572273 SHA256 a1b4b7fbe80d1195a8367d5e92201be35990585b60253966b509250d810f2118 SHA512 4cb02b420990d1a352d5749156d1dec162c4f6def9a3cc019ccd5fe6e1680c8bcd2502c1af4da18a2bbaa01cbdce3b65219279b9f9a217386b4834361fb387e6 WHIRLPOOL ed955559bb3e31be64770932583dc65ed71560ae29a9ea2c50b204a8118857e3924c76752c86fb0b7c3119e2fa83e174d40caa861641a054341bab9098fb4e34 EBUILD gnustep-make-2.6.2-r2.ebuild 3892 SHA256 9bf7474be3dbbc09753aadf4c99a53eb0e67242f4051155f71370c06e47d6681 SHA512 0e5bd786965c95529f95851e999793d915c18ed953b06d3bf5f59923a197e78ebf7bc23fedaeeb01732a3315dc7b490e5daa3d1918db9cd528c04123cf2f2282 WHIRLPOOL e2cc5d707a9f78fe9aa921cc9808a5bd30cc58fe8509790e4eb4dfcf9882ae4cd32abd5cfc31ce9c25c6e18817a4ab1e85e96b3258d9447ccecad83fe4b0280d EBUILD gnustep-make-2.6.2.ebuild 3794 SHA256 c82707db430df9af2e4e6c78305f7a468cea3ceb2ffc308941f50ba8b2e2506a SHA512 f11886beea99befdc538d4271fabc0400ae50e85270d6008d5dec81ac2de402714633b26fcabbb1862280d022cedef036728a025e295bc09c807f0bd4a22066b WHIRLPOOL 724f63628067f41190defd2299221cdd0e9dbd3897888bbe247142d5848aeadbdb3f7560cbdcb437ec8a944252549f7c2aa8816e6ad39c414ca924b5970b8d84 EBUILD gnustep-make-2.6.3.ebuild 3889 SHA256 12168e6a1c095d979c2e34bebd1276061a4a4714f211ac1c1b3f83f53f0aef91 SHA512 4cd2d473e061376437b8733a221eb4d12e4ef22189a1a4eb8854396955573702a10817198974c51dabe42512d87ac7946897326f693c4b9b3d6432c5cc7258e7 WHIRLPOOL bc0c49519d7132f0b3d73edc807aa309cbb1ec8408bae6804db366906fb774a00c9c3446269bfd1d5eeb0ab3e56f36bd253dc72f705b7b8584e6b7b48ad10020 EBUILD gnustep-make-2.6.4.ebuild 3889 SHA256 a1147c8ae52fb08ababafee41ff74bcdfc8c3b6ee7d902938750aa04a0f1cb56 SHA512 ecbc45b20f9eaed9738114de4c9cc009a90aa3c14e02762e238366b5d5d28b1020889dfd1f55ef8779412ce77802a05bdbaa42b35c16be61952c3b26613027c6 WHIRLPOOL 628ed9d739d6b68a17758ad2314e0d23059965bcde06d24a68c3012b5abfa1b0d7f974459e07f21496ecb46fcaba1a654a41a271e0b6df6303d71973de1851e7 -MISC ChangeLog 21525 SHA256 65eb527c6823e6b1b7901a1da12d1ac04456c88285a2746353d16f2b27f8a2bd SHA512 03f7266f49b468328c15f0b68379738a084365f7eceba31af25e669cd8a598c0654256f9715d5733c95ccb5bef388c9c94f40960b0ccebf36ab967cbff5a85e4 WHIRLPOOL 85ebca8800f922121aa54221e89d4141baa0bb893bf4c2d7ed965cb9782f5401a4bb30cf6f14310d858221175bb7d8318eb3167fa4c280069cb365a6d7d8eb30 +EBUILD gnustep-make-2.6.5.ebuild 3889 SHA256 0e21a10bd971a0b0e4488f8a53fd41576b4c5889e63bd902622d4b37dc63d4bf SHA512 4326107a6713188f5eefeacbbc66a45d44121fe8ab2947d52c754a7d312db1241f8c072d74c5417dd2acd96af08f3e75b0780f9a3412375e8f2ee18ba724b0dd WHIRLPOOL ef7138a15ab696bfc0c02ca35ade3f5a46df171747958c25d3045db4509437f6f1fa385ab4e71d07718aa85915d9884efc2d873357f0040301e2f4d9ee08ce78 +MISC ChangeLog 21697 SHA256 e77d10518a5332f0775a1826e47ef3460c0cef6e765ff33fb6161ecb184c9b01 SHA512 818f6ec4dd4147930bb8a48b3494257c2ce316ac83a86f3ee58787ed9c4319504912c4a0fcd41331e14788f47b984d49cdcef9ebe2531d4db11433cda8cbecec WHIRLPOOL c7a8dbcee8d4f64fa8330bf00241985bc8f472e8c9b802f14124cf6b0c37ea4b036cb4600cca7dc08a487a5b9cd03845f97c9cc63ffdfb016a06b8c8dc1663aa MISC metadata.xml 929 SHA256 9def40fd32c963254dca8c34cd47b3cec9505de5280d4581486268c554ccaa8e SHA512 ab8867e76c04c2b8f2d48b91c4f1da6bb53bb4755a617bbe17bb6d5e28c44ccb5b8947ad6661d19a2e358d6e1a35a737702d197f7e9edfd8a9681f8917172116 WHIRLPOOL 95d468383b12988b80e45c614f55ecf1f12e1a0f0b7b492ae10862c6d822706c42a2b7d3603eab9464d3b5319ae54f9f02732005e90bb138bd63015496027ac3 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.21 (GNU/Linux) -iF4EAREIAAYFAlFfPk0ACgkQFYEBGcdFJfJR9QD/WZsU96Xun8CgHlfK5IAjZadT -OefS4f2XeDG2tFWJaPIBAIf8eJb1wcYcLs7/GMhScR31XvpdIx/kQV/qxzkaAFjQ -=7hea +iF4EAREIAAYFAlJEIScACgkQFYEBGcdFJfIKKQD+IlKYB3CM7MeLOflEV81yfKRm +04wuBbZI9HofZp5YW4IA/j9EMdZMoM7H0LONekjY7DWV6I8YxCS3m+f054lYfFU5 +=GC/e -----END PGP SIGNATURE----- diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.5.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.5.ebuild new file mode 100644 index 000000000000..30a5a7a1406f --- /dev/null +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.5.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-make/gnustep-make-2.6.5.ebuild,v 1.1 2013/09/26 11:57:23 voyageur Exp $ + +EAPI=5 +inherit gnustep-base eutils prefix toolchain-funcs + +DESCRIPTION="GNUstep Makefile Package" +HOMEPAGE="http://www.gnustep.org" +SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" +IUSE="libobjc2 native-exceptions" + +DEPEND="${GNUSTEP_CORE_DEPEND} + >=sys-devel/make-3.75 + libobjc2? ( gnustep-base/libobjc2 + >=sys-devel/clang-2.9 ) + !libobjc2? ( >=sys-devel/gcc-3.3[objc] + !!gnustep-base/libobjc2 )" +RDEPEND="${DEPEND}" + +pkg_setup() { + # Determine libobjc.so to use + if use libobjc2; then + libobjc_version=libobjc.so.4 + else + # Find version in active gcc + for ver in {2..5}; + do + if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \ + "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null; + then + libobjc_version=libobjc.so.${ver} + fi + done + fi + + # Stop if we could not get libobjc.so + if [[ -z ${libobjc_version} ]]; then + die "Could not find Objective-C runtime" + fi + + # For existing installations, determine if we will use another libobjc.so + if has_version gnustep-base/gnustep-make; then + local current_libobjc="$(awk -F: '/^OBJC_LIB_FLAG/ {print $2}' ${EPREFIX}/usr/share/GNUstep/Makefiles/config.make)" + # Old installations did not set this explicitely + : ${current_libobjc:=libobjc.so.2} + + if [[ ${current_libobjc} != ${libobjc_version} ]]; then + ewarn "Warning: changed libobjc.so version!!" + ewarn "The libobjc.so version used for gnustep-make has changed" + ewarn "(either by the libojbc2 use-flag or a GCC upgrade)" + ewarn "You must rebuild all gnustep packages installed." + ewarn "" + ewarn "To do so, please emerge gnustep-base/gnustep-updater and run:" + ewarn "# gnustep-updater -l" + fi + fi + + if use libobjc2; then + export CC=clang + fi +} + +src_prepare() { + # Multilib-strict + sed -e "s#/lib#/$(get_libdir)#" -i FilesystemLayouts/fhs-system || die "sed failed" + epatch "${FILESDIR}"/${PN}-2.0.1-destdir.patch + cp "${FILESDIR}"/gnustep-4.{csh,sh} "${T}"/ + eprefixify "${T}"/gnustep-4.{csh,sh} +} + +src_configure() { + #--enable-objc-nonfragile-abi: only working in clang for now + econf \ + --with-layout=fhs-system \ + --with-config-file="${EPREFIX}"/etc/GNUstep/GNUstep.conf \ + --with-objc-lib-flag=-l:${libobjc_version} \ + $(use_enable libobjc2 objc-nonfragile-abi) \ + $(use_enable native-exceptions native-objc-exceptions) +} + +src_compile() { + emake + # Prepare doc here (needed when no gnustep-make is already installed) + if use doc ; then + # If a gnustep-1 environment is set + unset GNUSTEP_MAKEFILES + pushd Documentation &> /dev/null + emake all install + popd &> /dev/null + fi +} + +src_install() { + # Get GNUSTEP_* variables + . ./GNUstep.conf + + local make_eval + use debug || make_eval="${make_eval} debug=no" + make_eval="${make_eval} verbose=yes" + + emake ${make_eval} DESTDIR="${D}" install + + # Copy the documentation + if use doc ; then + dodir ${GNUSTEP_SYSTEM_DOC} + cp -r Documentation/tmp-installation/System/Library/Documentation/* \ + "${ED}"${GNUSTEP_SYSTEM_DOC=} + fi + + dodoc FAQ README RELEASENOTES + + exeinto /etc/profile.d + doexe "${T}"/gnustep-4.sh + doexe "${T}"/gnustep-4.csh +} + +pkg_postinst() { + # Warn about new layout if old GNUstep directory is still here + if [ -e /usr/GNUstep/System ]; then + ewarn "Old layout directory detected (/usr/GNUstep/System)" + ewarn "Gentoo has switched to FHS layout for GNUstep packages" + ewarn "You must first update the configuration files from this package," + ewarn "then remerge all packages still installed with the old layout" + ewarn "You can use gnustep-base/gnustep-updater for this task" + fi +} |