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 AC8AB139085 for ; Thu, 2 Feb 2017 22:23:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF093E0DE0; Thu, 2 Feb 2017 22:23:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A294DE0DE0 for ; Thu, 2 Feb 2017 22:23:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6C1EF340DC7 for ; Thu, 2 Feb 2017 22:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D05AE7EE for ; Thu, 2 Feb 2017 22:23:54 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1486074228.1dbb79f225cc68b8837d82e37f05778043c374ef.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: x11-wm/stumpwm/ X-VCS-Repository: proj/lisp X-VCS-Files: x11-wm/stumpwm/stumpwm-1.0.0.ebuild X-VCS-Directories: x11-wm/stumpwm/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 1dbb79f225cc68b8837d82e37f05778043c374ef X-VCS-Branch: master Date: Thu, 2 Feb 2017 22:23:54 +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: 28bd673e-613e-4575-8943-3730c04b1eeb X-Archives-Hash: 5012e31984c98609af2313ce9e21030c commit: 1dbb79f225cc68b8837d82e37f05778043c374ef Author: Chema Alonso Josa gentoo org> AuthorDate: Thu Feb 2 22:23:48 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Thu Feb 2 22:23:48 2017 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=1dbb79f2 dev-lisp/stumpwm: Adds dependency on stumpwm-contrib x11-wm/stumpwm/stumpwm-1.0.0.ebuild | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/x11-wm/stumpwm/stumpwm-1.0.0.ebuild b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild index b3c7548..c01e80b 100644 --- a/x11-wm/stumpwm/stumpwm-1.0.0.ebuild +++ b/x11-wm/stumpwm/stumpwm-1.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit common-lisp-3 eutils elisp-common autotools xdg-utils +inherit common-lisp-3 autotools elisp-common xdg-utils DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp." HOMEPAGE="https://stumpwm.github.io/" @@ -23,14 +23,14 @@ RDEPEND="dev-lisp/cl-ppcre !sbcl? ( !clisp? ( !ecl? ( >=dev-lisp/sbcl-1.0.32 ) ) ) !sbcl? ( !clisp? ( ecl? ( >=dev-lisp/ecls-10.4.1 ) ) ) !sbcl? ( clisp? ( >=dev-lisp/clisp-2.44[X,new-clx] ) ) - emacs? ( virtual/emacs app-emacs/slime )" + emacs? ( virtual/emacs app-emacs/slime ) + contrib? ( x11-wm/stumpwm-contrib )" DEPEND="${RDEPEND} sys-apps/texinfo doc? ( virtual/texi2dvi )" SITEFILE=70${PN}-gentoo.el CLPKGDIR="${CLSOURCEROOT}/${CLPACKAGE}" -CONTRIBDIR="${CLPKGDIR}/contrib" get_lisp() { local lisp @@ -50,32 +50,18 @@ do_doc() { docinto examples ; dodoc sample-stumpwmrc.lisp } -do_contrib() { - emake install-modules - rm -r "${D}${CONTRIBDIR}"/.git* || die -} - src_prepare() { default # Upstream didn't change the version before packaging sed -i -e 's/:version "0.9.8"/:version "0.9.9"/' "${PN}.asd" || die # Bug 534592. Does not build with asdf:oos, using require to load the package sed -i "load-${PN}.lisp.in" -e "s/asdf:oos 'asdf:load-op/require/" || die - if use contrib ; then - # Fix contrib directory - sed -i -e "s|@CONTRIB_DIR@|@MODULE_DIR@|" make-image.lisp.in || die - sed -i -e "s|\~\/.${CLPACKAGE}\.d/modules|${D}${CONTRIBDIR}|" Makefile.in || die - sed -i -e "s|\${HOME}/\.${CLPACKAGE}\.d/modules|${CONTRIBDIR}|" configure.ac || die - fi eautoreconf } src_configure() { - local moduleconfig - xdg_environment_reset - use contrib && moduleconfig="--with-module-dir=${CONTRIBDIR}/contrib" - econf --with-lisp=$(get_lisp sbcl clisp ecl) "${moduleconfig}" + econf --with-lisp=$(get_lisp sbcl clisp ecl) } src_compile() { @@ -93,7 +79,6 @@ src_install() { sed -i -e "/(:directory/c\ (:directory \"${CLPKGDIR}\")" \ "${D}${CLPKGDIR}/load-stumpwm.lisp" || die use doc && do_doc - use contrib && do_contrib } pkg_postinst() {