summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2009-02-08 23:08:38 +0000
committerCédric Krier <cedk@gentoo.org>2009-02-08 23:08:38 +0000
commit37e2126115f6417e743d81abd57ee7e2b7ab0549 (patch)
tree506ddb9e87e965ee7673017227a706c117209ea2 /x11-wm/dwm
parentInvalid aRts dependency, proper desktop file fix, missing eclass function cal... (diff)
downloadhistorical-37e2126115f6417e743d81abd57ee7e2b7ab0549.tar.gz
historical-37e2126115f6417e743d81abd57ee7e2b7ab0549.tar.bz2
historical-37e2126115f6417e743d81abd57ee7e2b7ab0549.zip
Version bump
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-hardened-r3 i686
Diffstat (limited to 'x11-wm/dwm')
-rw-r--r--x11-wm/dwm/ChangeLog10
-rw-r--r--x11-wm/dwm/Manifest5
-rw-r--r--x11-wm/dwm/dwm-5.4.1.ebuild80
-rw-r--r--x11-wm/dwm/files/dwm-session211
4 files changed, 103 insertions, 3 deletions
diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog
index 7c9908451e18..6e4ee9501fe3 100644
--- a/x11-wm/dwm/ChangeLog
+++ b/x11-wm/dwm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-wm/dwm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.52 2008/12/21 12:34:39 cedk Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.53 2009/02/08 23:08:38 cedk Exp $
+
+*dwm-5.4.1 (08 Feb 2009)
+
+ 08 Feb 2009; Cédric Krier <cedk@gentoo.org> +files/dwm-session2,
+ +dwm-5.4.1.ebuild:
+ Version bump
*dwm-5.3.1 (21 Dec 2008)
diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest
index d0e502e24d63..23ddea4a48db 100644
--- a/x11-wm/dwm/Manifest
+++ b/x11-wm/dwm/Manifest
@@ -1,12 +1,15 @@
AUX dwm-session 312 RMD160 6d3792a0f5374ba6bd8aeb84aa31a86b598e2416 SHA1 a87590c2cbb5a857e8875c88fa4d2e8090cf31d1 SHA256 bc0e60687f719f2613492f15180c3327b7b9560f53f09a52f0e763548f2221ac
+AUX dwm-session2 159 RMD160 ca5fc80c75cd95ee71e18b8ea375ea463b672d5b SHA1 fbb1d748255993445198ead7a7f1e311ee735d12 SHA256 ba20f29e990603d241e81d192620d5de9a291364a3d0e1b8f6ee9231a90a0c6b
AUX dwm.desktop 133 RMD160 b03ed0e17001e58a94e7034e33d42ba50500b72c SHA1 26f764cdaa5bde8284a0cd22c08e67ce11d169b2 SHA256 1a1ae9d1d5eb4747a1241798969c5b151ec66901a62af683304c6f23e4ccc30e
DIST dwm-5.0.1.tar.gz 17954 RMD160 66847b275517c07530e785188f8d950e08de0d1b SHA1 724846584f20c854481923c77cfcc3f3514b3caf SHA256 f39e2b62d75b79489c535dc3cfcd6ea2b9c412857448519f29a4eed7af2f33a3
DIST dwm-5.1.tar.gz 18099 RMD160 22b6c5acc73af130cc6416961b728ecf457e5501 SHA1 23d0f40c0755fd28b8bf68bf20e828e57f99fa3e SHA256 d8dca894c4805a845baca1c3f9b16299e1eaeab661fd3827b374e57b4c603bf8
DIST dwm-5.2.tar.gz 18372 RMD160 2f3d74c2d588501df1770cbb23cf27567ee0926c SHA1 cb606e4c581eafa7e911d6531537d7719b50e834 SHA256 ece6ecd8150e53c4704305eab902b2b84f6e1432df4c1cf846cbb5c3800465a7
DIST dwm-5.3.1.tar.gz 18403 RMD160 add0e8d07acaed9f4f1a0799d320c1f8f2172470 SHA1 e68a4b4714de434c106e28146dd541d183c1e821 SHA256 9d65d97bd3bcc440f9d13c279eca7db9808ac763a1f0cfdf0610d557155c2bec
+DIST dwm-5.4.1.tar.gz 17970 RMD160 3d2cc1a3ae365fbe7b37eb6ca26caceb0f45af78 SHA1 0328b00ecfdd58dc16e891759bd6a1dd45f1678c SHA256 883c2687064a550904a77fc229bb95713a2bf9b9eb5e2997266cf463610bd142
EBUILD dwm-5.0.1.ebuild 2020 RMD160 966f3e07a57f78699ee945152322eae1b07527ba SHA1 f29d5ed8c74655cf9a7af07c413103567c6911e7 SHA256 b15f9f403473856a26cf5971c4e781c3a846127e3f4ac79eb859b3872588fb3e
EBUILD dwm-5.1.ebuild 2019 RMD160 989727e9c8fc4cd073d32cefd79565d3703997d7 SHA1 fdd6e626551c87bbab6027283b9eb81a2b259856 SHA256 e699fbfdaad28a394efa31ba24b9860195364a806d4d78c3aec953530efdcf22
EBUILD dwm-5.2.ebuild 2017 RMD160 cd42cc515aebc9c770c698e3211213c2703ab9f6 SHA1 4691523d04f11a04d00344532fe899f030e22165 SHA256 66dffe04a7d8db2cc25b5798faa27573b1cacb51385580fde358612b383e1ff5
EBUILD dwm-5.3.1.ebuild 2023 RMD160 ba0bb1960298ef82d357dcf8697a9ea33da46848 SHA1 8646a9e6a5e28649571150b4cecd16c92662f29f SHA256 89558d7ecc25e3652da760fd9bdbb2496a3e243f40dca3591cd93e4c4e293aff
-MISC ChangeLog 5694 RMD160 ac04f3a454cabade0a1195f8c12228f50724b0db SHA1 119ce5d88aee33704925f15522c0a6be4d1df709 SHA256 61f8db5ab1410bf0539360305f067d57aadb598c481e5fc07ed06cb803539d0c
+EBUILD dwm-5.4.1.ebuild 2167 RMD160 08e67935c63e6b5ff52f21ebfce30f99c9af7b4e SHA1 240c8d220f4503305a8ef96ca2734588fd183e81 SHA256 a9c9a36414cbeabe6481f7b0fb01cb94f22219852f506c38d7f43ae1c235f524
+MISC ChangeLog 5825 RMD160 864ff7c996749f1f4479794ad96c669273ed6bc3 SHA1 4ea16ee95f8692cf1e34b8e797ed85ba7024b069 SHA256 c06b88972328b66dac249563c13a09fdb45b43e8c969f8e7ef3ecfcb26e45f9c
MISC metadata.xml 464 RMD160 6a015eb09888ce94ac15fa060db3245003086bd3 SHA1 ce1903fc125b85fb2d17a1586dad6e2a634908d2 SHA256 2fc98596b93f4b722956c930fc9bc1dc52cd51c316e6c4ff21fd8e5086d2f0d4
diff --git a/x11-wm/dwm/dwm-5.4.1.ebuild b/x11-wm/dwm/dwm-5.4.1.ebuild
new file mode 100644
index 000000000000..f423a9df0470
--- /dev/null
+++ b/x11-wm/dwm/dwm-5.4.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/dwm-5.4.1.ebuild,v 1.1 2009/02/08 23:08:38 cedk Exp $
+
+inherit toolchain-funcs savedconfig
+
+DESCRIPTION="a dynamic window manager for X11"
+HOMEPAGE="http://www.suckless.org/dwm/"
+SRC_URI="http://code.suckless.org/dl/dwm/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="xinerama"
+
+DEPEND="x11-libs/libX11
+ xinerama? (
+ x11-proto/xineramaproto
+ x11-libs/libXinerama
+ )"
+RDEPEND="${DEPEND}
+ x11-apps/xsetroot"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall -g/" \
+ -e "s/LDFLAGS = -s/LDFLAGS += -g/" \
+ -e "s/#XINERAMALIBS =/XINERAMALIBS ?=/" \
+ -e "s/#XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \
+ config.mk || die "sed failed"
+
+ if use savedconfig; then
+ restore_config config.h
+ fi
+}
+
+src_compile() {
+ local msg
+ use savedconfig && msg=", please check the configfile"
+ if use xinerama; then
+ emake CC=$(tc-getCC) || die "emake failed${msg}"
+ else
+ emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" \
+ || die "emake failed${msg}"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+
+ insinto /usr/share/${PN}
+ newins config.h ${PF}.config.h
+
+ exeinto /etc/X11/Sessions
+ newexe "${FILESDIR}"/dwm-session2 dwm
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}"/dwm.desktop
+
+ dodoc README
+
+ save_config config.h
+}
+
+pkg_postinst() {
+ einfo "This ebuild has support for user defined configs"
+ einfo "Please read this ebuild for more details and re-emerge as needed"
+ einfo "if you want to add or remove functionality for ${PN}"
+ if ! has_version x11-misc/dmenu; then
+ elog "Installing ${PN} without x11-misc/dmenu"
+ einfo "To have a menu you can install x11-misc/dmenu"
+ fi
+ einfo "You can custom status bar with a script in HOME/.dwm/dwmrc"
+ einfo "the ouput is redirected to the standard input of dwm"
+ einfo "Since dwm-5.4, status info in the bar must be set like this:"
+ einfo "xsetroot -name \"\`date\` \`uptime | sed 's/.*,//'\`\""
+}
diff --git a/x11-wm/dwm/files/dwm-session2 b/x11-wm/dwm/files/dwm-session2
new file mode 100644
index 000000000000..bbf1cfd83a3f
--- /dev/null
+++ b/x11-wm/dwm/files/dwm-session2
@@ -0,0 +1,11 @@
+#!/bin/sh
+DIR=${HOME}/.dwm
+if [ -f "${DIR}"/dwmrc ]; then
+ /bin/sh "${DIR}"/dwmrc &
+else
+ (while true; do
+ echo `date`
+ sleep 1
+ done)&
+fi
+exec /usr/bin/dwm