diff options
author | 2016-06-16 11:35:22 +0200 | |
---|---|---|
committer | 2018-03-09 22:33:47 +0100 | |
commit | 3e34c0bce670bbd0182f14972f75129ee3a2adf1 (patch) | |
tree | 9d12e0a42ab532cc6da9bcc73d8a59c2244804fc /x11-wm | |
parent | dev-lisp/cffi: Add missing CL systems (diff) | |
download | lisp-3e34c0bce670bbd0182f14972f75129ee3a2adf1.tar.gz lisp-3e34c0bce670bbd0182f14972f75129ee3a2adf1.tar.bz2 lisp-3e34c0bce670bbd0182f14972f75129ee3a2adf1.zip |
x11-wm/clfswm: Moved from the Sunrise Overlay (bug #398779)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/clfswm/Manifest | 5 | ||||
-rw-r--r-- | x11-wm/clfswm/clfswm-1106.2.ebuild | 49 | ||||
-rw-r--r-- | x11-wm/clfswm/files/clfswm-1106-2-configure.patch | 44 | ||||
-rw-r--r-- | x11-wm/clfswm/files/clfswm-1106-2-makefile.patch | 38 | ||||
-rw-r--r-- | x11-wm/clfswm/metadata.xml | 5 |
5 files changed, 141 insertions, 0 deletions
diff --git a/x11-wm/clfswm/Manifest b/x11-wm/clfswm/Manifest new file mode 100644 index 00000000..071d97c5 --- /dev/null +++ b/x11-wm/clfswm/Manifest @@ -0,0 +1,5 @@ +AUX clfswm-1106-2-configure.patch 1238 SHA256 74eeff59c5475df6d6609677c3ce96dbf1214ead6fb748522063943e55dbb123 SHA512 db4264fe98194842eb41124d6030167a4e685f07301c599c2c2b32d63d58d806727a2927b046b5ff74d4bcdf7c098ceab91041ad4b27fc4bc94341dfc9c11c59 WHIRLPOOL 69cc7b0375d4d39adeff0b1a7e383cf2392ed7518abc13976e32f684457b907aba3f534f3fd5693be789da2af67dec39cc1cd418511864bd786aa14f83671606 +AUX clfswm-1106-2-makefile.patch 1263 SHA256 c4697d5fbb14aba36522514febcbb44ea10a40faf88b34f938664272bf59bd54 SHA512 a87aec4cea254263f29061abe48ba0f3905d64eea3bcb94780b1adc446e64b64b7b00158f1a7972aea5812f1ba81c24d158eb7adb9132afa7ad9e7670ffd960a WHIRLPOOL 40d5af10f559a199fbb0d280fda20ab233c2c35091ee912272fbf1fe81cc2d1768b766c079b72ded634ed5928921e557b5a624f8a0ecd77cc4b555bae47e22b8 +DIST clfswm-1106-2.tar.gz 250463 SHA256 bf800debb4eea920417ce31dbb0f4e100aeb548dca3498b71eb43d1268741db4 SHA512 3ed6ed924de027075112e545de594a2674e8dd79333a2f8fc148c52408c214ac5d101255239d208ed84ca5124428d3f5a241f28c5a0b215c5fe36a62b6dc2082 WHIRLPOOL f15ce32bedfc9e9d0d20bf298cb65f8c8959c28c8aeebc19ed45cb876bfc00f7e1342c6269a4a124b2f75f8b24ed7427c3c162e550fb694e798d1eb40744ad63 +EBUILD clfswm-1106.2.ebuild 1176 SHA256 566c3f3b2d313f585adab22cd8d7df353c430afbabe04576a481b6cc2a179b55 SHA512 507d7a51d44cfee2dfe38207f674a73376b178f9f914c8b4c5964a33c801b615c0f572627780d7778efa1f3f8a0e668c34d0a2b7109d537006f2ae403c2a3756 WHIRLPOOL ae24d715ae648ef63fe787976da1c36389918d94dbb63d1227b0ae9a9c2b58764e0a38c10b5b709a563cf1ff0a8fc26128c21286e8163a63ebb39a67b1141a52 +MISC metadata.xml 208 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 SHA512 21d90d4547c76c80e50e134359dfbec42b158bbc16e4741738bdde5f67b7926d158dae1905948a477405b74e754ce4ed63cad910f220a709db8dfccf160e5288 WHIRLPOOL 33ec53f42c7a8c4c419989bd94e083c417574463e19c9c1322e6b96d0f5a6a52e3dd69fbedf2d11a7a77d24a93b81f3a604b6b33cac62548389537bf3e42df0e diff --git a/x11-wm/clfswm/clfswm-1106.2.ebuild b/x11-wm/clfswm/clfswm-1106.2.ebuild new file mode 100644 index 00000000..7893d1ae --- /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 00000000..8e6a6c26 --- /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 <lisp> as the common lisp implementation type [$lisp] + -b, --lisp-bin use <bin> as the common lisp program [$lisp_bin] (default: same as with-lisp type) + -o, --lisp-opt use <opt> 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 00000000..1c5ba15b --- /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 00000000..31dc017f --- /dev/null +++ b/x11-wm/clfswm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> +</pkgmetadata> |