summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/dswm')
-rw-r--r--x11-wm/dswm/Manifest5
-rw-r--r--x11-wm/dswm/dswm-0.1.ebuild82
-rw-r--r--x11-wm/dswm/dswm-9999.ebuild84
-rw-r--r--x11-wm/dswm/metadata.xml16
4 files changed, 183 insertions, 4 deletions
diff --git a/x11-wm/dswm/Manifest b/x11-wm/dswm/Manifest
index a6600e6..08fd220 100644
--- a/x11-wm/dswm/Manifest
+++ b/x11-wm/dswm/Manifest
@@ -1,7 +1,4 @@
-AUX README.Gentoo 238 SHA256 14163e2306da972d198c6fdba60ab087497249a05b0bc27567cbf15588c67a15 SHA512 382903aeefc8f4b237e897003cbc9a6d17078507bc8dfec4d7a5bc2cff7049aee67ad89fd04aedc0b3db4ea8734ee3efc9a06add9a678fc71015f1bf5f9e1098 WHIRLPOOL d073323d458271134d5d53f05ed5f48509bdce6a8f03289e890e504a8c58deed19b0239c3476b9b4c6c6b1a70bdec00477ee80bee45b59aee9d72a1a6c9ec367
DIST dswm-0.0.3-git.tar.gz 258723 SHA256 4ccc063ac10fbd4f5b30c24988c2b35665677b3cdde9f483fbbf2bbe53905f78
DIST dswm-0.0.4.tar.gz 310377 SHA256 f5adc2f4fcd6d2f458a99f651da42544ab4cee4ce29852c7891c505e0bbaccb7
DIST dswm-0.0.5r2.tar.gz 600058 SHA256 4aec701f50970c632fb9c105e36bcda448a0569262b233c90dc9f9ee6c3116bc SHA512 a98194352d48b503b702181b375a414693b82274147a518a86ab9d3c1fe0adf88479d97cb4cad7fdbaab31292ae3aa319f69dda521fff9be595de83ff7f3aec4 WHIRLPOOL 6d6d9f69efaa9cf87d57bf03d7a776170e853546bfd391f26ffbfd270de66cba3e243b2343ee7d5dcacf43b26b2cca21b983243051a6072945407f1b2caab0c7
-EBUILD dswm-0.0.3.ebuild 1478 SHA256 9e9a9ff72e102e811db312202ff56679bd65013de536a9f87ae63595edeebac3 SHA512 4df816cdbe1019be0e866be434b11494d00f2f906a226d441607cc3a48a04ef26fff2f8115bca1e170c0b745b4fe5ceea03cfe0e7175ef388dab03d861780a6a WHIRLPOOL 74c97e2be01c9c4cf398d5c07dc5d27cee939fa5972e750d484e8de07ffb222ed5ce0d7ce82579e6e4427290bed046662b4cbc831c3bc0b4758adaaf699a05df
-EBUILD dswm-0.0.4.ebuild 1376 SHA256 ffc2e2c31a96b0291c197c57db4ef16e222cf99b4d8e7fff67c61c10b2321d7e SHA512 6070b31f7293c21f9877a84ffc1add126e9fadbb6547ac9f3217b9912b32eb8dc9c277975a37ff761a07c9346711148a08c99733c08f55afb727af951b729b4e WHIRLPOOL bfd5ab05852f95b69bd7014a3287d6f4db4c2fe69b3d3c8055263f56e2d1616d44872529cb0d9b508aaf8950670bf85fe70e2f1b94461cd3f81cbf640bad5e39
-EBUILD dswm-0.0.5-r2.ebuild 1514 SHA256 cf82d603b07d47809bbe4f0fcdcd368a65bbeec76bb551073cd9663f3dfc4400 SHA512 97389f33f03d2398f3c007ee1b73fdf5890a29f7be3bf43339721ddc2136fa596457647e2f5f6a805ade46b5ea8a5a646844627b60ef8102c6e177c9a29948d1 WHIRLPOOL b5726bd97266eb06126002812c385a3021eff562786acf1743de68f3cdc084e00518d5e2ed95396e74c7dcdee81744a83995fe736828930e9d544bd121fdd03f
+DIST v.0.1.tar.gz 251348 SHA256 06d64fb784d9d91fc916e24de493c4e4ee4b30fdb793475b4744aad4727c6737 SHA512 00096344f0ee4287fd106365c30183c4fcf281e8a3869ca50dd07aa47adb42934bf85dfb2a4149e49bed8ed01b2ef2310e09f53aa5dae5381ac0c0fc16e261d2 WHIRLPOOL 0650fd910aef629fbdc91983d0149576d7e213b8912d88cefbf7b09bcd6f2f1d845be35d03849d583331b305ebe4afe8e5214ad6818eea817aed337c13196eba
diff --git a/x11-wm/dswm/dswm-0.1.ebuild b/x11-wm/dswm/dswm-0.1.ebuild
new file mode 100644
index 0000000..b353ead
--- /dev/null
+++ b/x11-wm/dswm/dswm-0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dswm/dswm-0.0.3.ebuild,v 1.2 2011/04/25 20:36:20 betelgeuse Exp $
+
+EAPI="5"
+
+inherit common-lisp autotools eutils
+
+DESCRIPTION="DSWM is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp"
+HOMEPAGE="http://dss-project.org"
+SRC_URI="https://github.com/dss-project/dswm/archive/v.0.1.tar.gz"
+RESTRICT="mirror"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+sbcl +static shared clisp cmucl ecl emacs doc"
+
+CLPACKAGE="dswm"
+
+CDEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ dev-lisp/cl-ppcre
+ sbcl? ( >=dev-lisp/sbcl-1.0.58
+ >=dev-lisp/clx-0.7.4 )
+ >=dev-lisp/asdf-2.0
+ clisp? ( dev-lisp/clisp )
+ cmucl? ( dev-lisp/cmucl )
+ ecl? ( dev-lisp/ecls )
+ !dev-lisp/asdf-binary-locations"
+DEPEND="${CDEPEND}
+ doc? ( sys-apps/texinfo )"
+RDEPEND="x11-base/xorg-server
+ emacs? ( app-emacs/slime )
+ shared? ( ${CDEPEND} )"
+REQUIRED_USE="^^ ( sbcl clisp cmucl ecl )
+ || ( shared static )"
+
+S="${WORKDIR}/${P}"
+src_prepare() {
+ cd "${S}"/src
+ eautoconf
+ cd "${S}"
+}
+src_configure() {
+ local with_lisp
+ cd "${S}"/src
+ for flag in "sbcl" "clisp" "cmucl" "ecl"; do
+ use $flag && with_lisp="${flag}" && break
+ done
+ if [ "${with_lisp}" != "sbcl" ]; then
+ ewarn "${with_lisp} support in ebuild is untested."
+ ewarn "Write me if you got it to work."
+ fi
+ econf --with-lisp="${with_lisp}" \
+ --with-dswm-source-dir="${D}/usr/share/common-lisp/source/${PN}" \
+ $(use_enable static) $(use_enable shared)
+ cd "${S}"
+}
+src_compile() {
+ cd "${S}"/src
+ emake || die "Make failed"
+ cd "${S}"
+}
+src_install() {
+ cd "${S}/src"
+ common-lisp-install *.lisp dswm.asd
+ common-lisp-system-symlink
+ emake DESTDIR="${D}" install || die "Install failed"
+ cd "${S}"
+ dodoc README NEWS || die
+ use doc && doinfo doc/dswm.info
+}
+pkg_postinst() {
+ common-lisp_pkg_postinst
+ if use shared; then
+ elog "When both shared and static modes enabled, 'make install' creates 2 files:"
+ elog "/usr/bin/dswm - script, for loading DSWM"
+ elog "(you can use it with $LISP env variable: LISP=clisp dswm)"
+ elog "and /usr/bin/dswm.static - static binary,"
+ elog "else 'make install' creates only ${prefix}/bin/dswm"
+ fi
+}
diff --git a/x11-wm/dswm/dswm-9999.ebuild b/x11-wm/dswm/dswm-9999.ebuild
new file mode 100644
index 0000000..11599c0
--- /dev/null
+++ b/x11-wm/dswm/dswm-9999.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dswm/dswm-0.0.3.ebuild,v 1.2 2011/04/25 20:36:20 betelgeuse Exp $
+
+EAPI="5"
+
+inherit common-lisp autotools eutils git-2
+
+DESCRIPTION="DSWM is a tiling, keyboard driven X11 Window Manager written entirely in Common Lisp"
+HOMEPAGE="http://dss-project.org"
+EGIT_REPO_URI="git://github.com/dss-project/dswm.git"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="+lisp-overlay +sbcl +static shared clisp cmucl ecl emacs doc"
+
+CLPACKAGE="dswm"
+
+CDEPEND="dev-lisp/common-lisp-controller
+ virtual/commonlisp
+ dev-lisp/cl-ppcre
+ lisp-overlay? ( sbcl? ( >=dev-lisp/sbcl-1.0.58
+ >=dev-lisp/clx-0.7.4 )
+ >=dev-lisp/asdf-2.0 )
+ !lisp-overlay? ( sbcl? ( dev-lisp/sbcl
+ dev-lisp/cl-clx )
+ dev-lisp/asdf )
+ clisp? ( dev-lisp/clisp )
+ cmucl? ( dev-lisp/cmucl )
+ ecl? ( dev-lisp/ecls )
+ !dev-lisp/asdf-binary-locations"
+DEPEND="${CDEPEND}
+ doc? ( sys-apps/texinfo )"
+RDEPEND="x11-base/xorg-server
+ emacs? ( app-emacs/slime )
+ shared? ( ${CDEPEND} )"
+REQUIRED_USE="^^ ( sbcl clisp cmucl ecl )
+ || ( shared static )"
+
+S="${WORKDIR}/${P}-git"
+src_prepare() {
+ cd "${S}"/src
+ eautoconf
+ cd "${S}"
+}
+src_configure() {
+ local with_lisp
+ cd "${S}"/src
+ for flag in "sbcl" "clisp" "cmucl" "ecl"; do
+ use $flag && with_lisp="${flag}" && break
+ done
+ if [ "${with_lisp}" != "sbcl" ]; then
+ ewarn "${with_lisp} support in ebuild is untested."
+ ewarn "Write me if you got it to work."
+ fi
+ econf --with-lisp="${with_lisp}" \
+ --with-dswm-source-dir="${D}/usr/share/common-lisp/source/${PN}" \
+ $(use_enable static) $(use_enable shared)
+ cd "${S}"
+}
+src_compile() {
+ cd "${S}"/src
+ emake || die "Make failed"
+ cd "${S}"
+}
+src_install() {
+ cd "${S}/src"
+ common-lisp-install *.lisp dswm.asd
+ common-lisp-system-symlink
+ emake DESTDIR="${D}" install || die "Install failed"
+ cd "${S}"
+ dodoc README NEWS || die
+ use doc && doinfo doc/dswm.info
+}
+pkg_postinst() {
+ common-lisp_pkg_postinst
+ if use shared; then
+ elog "When both shared and static modes enabled, 'make install' creates 2 files:"
+ elog "/usr/bin/dswm - script, for loading DSWM"
+ elog "(you can use it with $LISP env variable: LISP=clisp dswm)"
+ elog "and /usr/bin/dswm.static - static binary,"
+ elog "else 'make install' creates only ${prefix}/bin/dswm"
+ fi
+}
diff --git a/x11-wm/dswm/metadata.xml b/x11-wm/dswm/metadata.xml
new file mode 100644
index 0000000..b2f6663
--- /dev/null
+++ b/x11-wm/dswm/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ki@baka.bakka.su</email>
+ <description>In baka-bakka overlay.</description>
+ </maintainer>
+ <use>
+ <flag name="lisp-overlay">Assume that we have added the lisp overlay (in layman)</flag>
+ <flag name="shared">Build shared dswm</flag>
+ <flag name="sbcl">Compile dswm with <pkg>dev-lisp/sbcl</pkg>.</flag>
+ <flag name="clisp">Compile dswm with <pkg>dev-lisp/clisp</pkg>. Ebuild support untested.</flag>
+ <flag name="cmucl">Compile dswm with <pkg>dev-lisp/cmucl</pkg>. Ebuild support untested.</flag>
+ <flag name="ecl">Compile dswm with <pkg>dev-lisp/ecls</pkg>. Ebuild support untested.</flag>
+ </use>
+</pkgmetadata>