From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1520A138330 for ; Mon, 12 Sep 2016 08:17:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08B4AE0BBF; Mon, 12 Sep 2016 08:17:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD2B3E0BBF for ; Mon, 12 Sep 2016 08:17:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 458E2340815 for ; Mon, 12 Sep 2016 08:17:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BE63245E for ; Mon, 12 Sep 2016 08:17:03 +0000 (UTC) From: "Daniel Campbell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Campbell" Message-ID: <1473668204.5564fdddd2866333589db0216a1787d2a7301267.zlg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/gnu-smalltalk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/gnu-smalltalk/Manifest dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild X-VCS-Directories: dev-lang/gnu-smalltalk/ X-VCS-Committer: zlg X-VCS-Committer-Name: Daniel Campbell X-VCS-Revision: 5564fdddd2866333589db0216a1787d2a7301267 X-VCS-Branch: master Date: Mon, 12 Sep 2016 08:17:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ca27c076-5ebf-4042-96db-75de2a8c2538 X-Archives-Hash: 521c66591d4cc4d772069e8f6ba49bd0 commit: 5564fdddd2866333589db0216a1787d2a7301267 Author: Daniel Campbell gentoo org> AuthorDate: Mon Sep 12 08:16:44 2016 +0000 Commit: Daniel Campbell gentoo org> CommitDate: Mon Sep 12 08:16:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5564fddd dev-lang/gnu-smalltalk: version bump Package-Manager: portage-2.3.0 dev-lang/gnu-smalltalk/Manifest | 1 + dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild | 80 +++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest index 8f45cf0..7c80855 100644 --- a/dev-lang/gnu-smalltalk/Manifest +++ b/dev-lang/gnu-smalltalk/Manifest @@ -1 +1,2 @@ DIST smalltalk-3.2.4.tar.gz 5877496 SHA256 901cc7090a1fa44bc60900a970d207de4aa3bdfdce72bea55114e243bc1eb1b3 SHA512 0854e95fb29c79a9844304651e9b2e3997ced88d7f1a704345f72aedfbae1562df0a2a2cc92ed7909e0ce22e275bb37d1592fe16079e3895cd8b79f3212cea3e WHIRLPOOL 461f07278737fbb0e5f08d18ef4f5c3678a19aef61c895e7ede7c1f74720e99bc44d347730e68a94827abfaf24c69317e2acc67ccc4bdc8cdb05ec164d5894cb +DIST smalltalk-3.2.5.tar.gz 5779293 SHA256 06e574e818ec49f0555d948ae53b1453d8c1df59ef597dad911a4fd1ffba1cce SHA512 385e5fba2acb8870759e5178282210c09c45685d0cf776bc50f4ed10c9afacf9164547ba8099ea3ed9a92a2a253aa9c2b011a7a9f2dff47ea9cfdf3b42029ebc WHIRLPOOL 3c7f1bd451eae1372d06196e1dc8408a83d8a717e67f09be4b6172d0243bca71a11d298ac9e5946a2599c6322b2ef7c204fd54d41c818151661c04af4aa89f08 diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild new file mode 100644 index 00000000..bd46fcd --- /dev/null +++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-3.2.5.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit elisp-common flag-o-matic eutils multilib + +DESCRIPTION="GNU Smalltalk" +HOMEPAGE="http://smalltalk.gnu.org" +SRC_URI="mirror://gnu/smalltalk/smalltalk-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="tk readline emacs gtk gmp" + +DEPEND="app-arch/zip + sys-libs/gdbm + sys-apps/debianutils + dev-libs/libsigsegv + virtual/libffi + emacs? ( virtual/emacs ) + readline? ( sys-libs/readline ) + tk? ( dev-lang/tk ) + gtk? ( =x11-libs/gtk+-2* ) + gmp? ( dev-libs/gmp )" +RDEPEND="" + +S="${WORKDIR}/smalltalk-${PV}" + +SITEFILE=50gnu-smalltalk-gentoo.el + +src_prepare() { + # fix misuse of the Tcl API, bug 492710 + epatch "${FILESDIR}"/${PN}-3.2_use-result.patch +} + +src_configure() { + replace-flags '-O3' '-O2' + econf \ + --libdir=/usr/$(get_libdir) \ + --with-system-libsigsegv \ + --with-system-libffi \ + --with-system-libltdl \ + $(use_with emacs emacs) \ + $(use_with readline readline) \ + $(use_with gmp gmp) \ + $(use_with tk tcl /usr/$(get_libdir)) \ + $(use_with tk tk /usr/$(get_libdir)) \ + $(use_enable gtk gtk) +} + +src_compile() { + emake || die "emake failed" + use emacs && elisp-compile *.el +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO + if use emacs; then + elisp-install "${PN}" *.el *.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + fperms 0444 /usr/share/smalltalk/packages.xml + # Fix QA notice complaining about dangling symlink. + # There's probably a better way to do this but I couldn't find it. + pushd "${D}"/usr/share/man/man1 + rm gst-reload.1 + ln -s $(find . -name "gst-load*") gst-reload.1 + popd +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}