From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B76171382BD for ; Thu, 16 Jun 2016 09:31:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEFCAE0994; Thu, 16 Jun 2016 09:31:05 +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 75A8CE0994 for ; Thu, 16 Jun 2016 09:31:05 +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 ACD3034067D for ; Thu, 16 Jun 2016 09:31:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5983983 for ; Thu, 16 Jun 2016 09:30:59 +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: <1466069722.55be9b361f78ec9c35723219e1541df19fc07d87.nimiux@gentoo> Subject: [gentoo-commits] proj/lisp:master commit in: x11-wm/clfswm/files/, x11-wm/clfswm/ X-VCS-Repository: proj/lisp X-VCS-Files: x11-wm/clfswm/clfswm-1106.2.ebuild x11-wm/clfswm/files/clfswm-1106-2-configure.patch x11-wm/clfswm/files/clfswm-1106-2-makefile.patch x11-wm/clfswm/metadata.xml X-VCS-Directories: x11-wm/clfswm/ x11-wm/clfswm/files/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 55be9b361f78ec9c35723219e1541df19fc07d87 X-VCS-Branch: master Date: Thu, 16 Jun 2016 09:30:59 +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: 62c369c6-7ccb-49d8-ba05-24d5137eecf4 X-Archives-Hash: bef51c72e36e0d3dc9f8d4bd3a496104 commit: 55be9b361f78ec9c35723219e1541df19fc07d87 Author: Chema Alonso Josa gentoo org> AuthorDate: Thu Jun 16 09:35:22 2016 +0000 Commit: José María Alonso gentoo org> CommitDate: Thu Jun 16 09:35:22 2016 +0000 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=55be9b36 x11-wm/clfswm: Moved from the Sunrise Overlay (bug #398779) x11-wm/clfswm/clfswm-1106.2.ebuild | 49 +++++++++++++++++++++++ x11-wm/clfswm/files/clfswm-1106-2-configure.patch | 44 ++++++++++++++++++++ x11-wm/clfswm/files/clfswm-1106-2-makefile.patch | 38 ++++++++++++++++++ x11-wm/clfswm/metadata.xml | 5 +++ 4 files changed, 136 insertions(+) diff --git a/x11-wm/clfswm/clfswm-1106.2.ebuild b/x11-wm/clfswm/clfswm-1106.2.ebuild new file mode 100644 index 0000000..7893d1a --- /dev/null +++ b/x11-wm/clfswm/clfswm-1106.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +MY_P="${P/./-}" +DESCRIPTION="100% Common Lisp X11 window manager (based on Tinywm and Stumpwm)" +HOMEPAGE="http://common-lisp.net/project/clfswm" +SRC_URI="http://common-lisp.net/project/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lisp/clisp" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${MY_P}-configure.patch + epatch "${FILESDIR}"/${MY_P}-makefile.patch +} + +src_configure() { + ./configure --prefix "${EPREFIX}"/usr \ + --libdir $(get_libdir) \ + --with-lisp clisp \ + --with-clfswm "${EPREFIX}"/usr/$(get_libdir)/${PN} \ + --with-asdf "${EPREFIX}"/usr/$(get_libdir)/${PN}/contrib \ + --lisp-bin "${EPREFIX}"/usr/bin/clisp \ + --lisp-opt "-K full" || die +} + +src_install() { + emake DESTDIR="${ED}"/usr install + dodoc README ChangeLog +} + +pkg_postinst() { + elog "Clfswm will compile itself into \$XDG_CACHE_HOME!" + elog "Make sure the variable is set." + elog "" + elog "If you want to use different lisp-implementations" + elog "change the script '/usr/bin/clfswm'." +} diff --git a/x11-wm/clfswm/files/clfswm-1106-2-configure.patch b/x11-wm/clfswm/files/clfswm-1106-2-configure.patch new file mode 100644 index 0000000..8e6a6c2 --- /dev/null +++ b/x11-wm/clfswm/files/clfswm-1106-2-configure.patch @@ -0,0 +1,44 @@ +--- clfswm-1106-2/configure.old 2011-06-17 20:55:15.000000000 +0200 ++++ clfswm-1106-2/configure 2012-01-09 02:31:15.558044321 +0100 +@@ -3,6 +3,7 @@ + CONFIGURE_VERSION=0.2 + + PREFIX="/usr/local" ++LIBDIR="lib" + lisp=clisp + lisp_opt='' + lisp_bin='' +@@ -21,6 +22,7 @@ + -h, --help display this help and exit + -V, --version display version information and exit + --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] ++ --libdir=LIBDIR libdir path + -l, --with-lisp use as the common lisp implementation type [$lisp] + -b, --lisp-bin use as the common lisp program [$lisp_bin] (default: same as with-lisp type) + -o, --lisp-opt use as lisp option [$lisp_opt] +@@ -50,6 +52,9 @@ + --prefix) + shift + PREFIX="$1" ;; ++ --libdir) ++ shift ++ LIBDIR="$1" ;; + -d|--dump-path) + shift + dump_path="$1" ;; +@@ -98,6 +103,7 @@ + + + echo " prefix=$PREFIX ++ libdir=$LIBDIR + with-lisp=$lisp + lisp-bin=$lisp_bin + lisp-opt=$lisp_opt +@@ -117,6 +123,7 @@ + + sed -e "s#+DESTDIR+#$DESTDIR#g" \ + -e "s#+BUILD_PATH+#$(pwd)/#g" \ ++ -e "s#+LIBDIR+#$LIBDIR#g" \ + Makefile.template > Makefile + + diff --git a/x11-wm/clfswm/files/clfswm-1106-2-makefile.patch b/x11-wm/clfswm/files/clfswm-1106-2-makefile.patch new file mode 100644 index 0000000..1c5ba15 --- /dev/null +++ b/x11-wm/clfswm/files/clfswm-1106-2-makefile.patch @@ -0,0 +1,38 @@ +--- clfswm-1106-2/Makefile.template.old 2011-06-17 20:55:15.000000000 +0200 ++++ clfswm-1106-2/Makefile.template 2012-01-09 02:10:44.751959431 +0100 +@@ -1,6 +1,7 @@ + # -*- makefile -*- + DESTDIR=+DESTDIR+ + BUILD_PATH=+BUILD_PATH+ ++LIBDIR=+LIBDIR+ + + build: + @echo "Building" +@@ -11,13 +12,13 @@ + + install: + mkdir -p $(DESTDIR)/bin +- rm -rf $(DESTDIR)/lib/clfswm/ +- mkdir -p $(DESTDIR)/lib/clfswm/src ++ rm -rf $(DESTDIR)/$(LIBDIR)/clfswm/ ++ mkdir -p $(DESTDIR)/$(LIBDIR)/clfswm/src + mkdir -p $(DESTDIR)/share/doc/clfswm + cp $(BUILD_PATH)/clfswm $(DESTDIR)/bin +- cp $(BUILD_PATH)/clfswm.asd $(DESTDIR)/lib/clfswm/ +- cp -R $(BUILD_PATH)/src/*.lisp $(DESTDIR)/lib/clfswm/src +- cp -R $(BUILD_PATH)/contrib $(DESTDIR)/lib/clfswm/ ++ cp $(BUILD_PATH)/clfswm.asd $(DESTDIR)/$(LIBDIR)/clfswm/ ++ cp -R $(BUILD_PATH)/src/*.lisp $(DESTDIR)/$(LIBDIR)/clfswm/src ++ cp -R $(BUILD_PATH)/contrib $(DESTDIR)/$(LIBDIR)/clfswm/ + cp -R $(BUILD_PATH)/doc/* $(DESTDIR)/share/doc/clfswm/ + cp -R $(BUILD_PATH)/AUTHORS $(DESTDIR)/share/doc/clfswm/ + cp -R $(BUILD_PATH)/COPYING $(DESTDIR)/share/doc/clfswm/ +@@ -31,7 +32,7 @@ + + uninstall: + rm -rf $(DESTDIR)/bin/clfswm +- rm -rf $(DESTDIR)/lib/clfswm ++ rm -rf $(DESTDIR)/$(LIBDIR)/clfswm + rm -rf $(DESTDIR)/share/doc/clfswm + + clean: diff --git a/x11-wm/clfswm/metadata.xml b/x11-wm/clfswm/metadata.xml new file mode 100644 index 0000000..31dc017 --- /dev/null +++ b/x11-wm/clfswm/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted@gentoo.org +