summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2008-07-30 18:22:33 +0000
committerCédric Krier <cedk@gentoo.org>2008-07-30 18:22:33 +0000
commit779fb72ffa7d905ea37621b31db8dce34311c322 (patch)
tree2215d3f40e5b99c2bfeefc4f8b829f75d6450c3d /x11-wm
parentVersion bump. (diff)
downloadhistorical-779fb72ffa7d905ea37621b31db8dce34311c322.tar.gz
historical-779fb72ffa7d905ea37621b31db8dce34311c322.tar.bz2
historical-779fb72ffa7d905ea37621b31db8dce34311c322.zip
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/dwm/ChangeLog7
-rw-r--r--x11-wm/dwm/Manifest4
-rw-r--r--x11-wm/dwm/dwm-5.1.ebuild75
3 files changed, 84 insertions, 2 deletions
diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog
index 0a83d32a75fe..229566ccc619 100644
--- a/x11-wm/dwm/ChangeLog
+++ b/x11-wm/dwm/ChangeLog
@@ -1,6 +1,11 @@
# 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.44 2008/07/22 20:03:27 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.45 2008/07/30 18:22:33 cedk Exp $
+
+*dwm-5.1 (30 Jul 2008)
+
+ 30 Jul 2008; Cédric Krier <cedk@gentoo.org> +dwm-5.1.ebuild:
+ Version bump
22 Jul 2008; Markus Rothe <corsair@gentoo.org> dwm-5.0.1.ebuild:
Stable on ppc64; bug #232477
diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest
index 66dc11b9b3c0..5c5f68528cd4 100644
--- a/x11-wm/dwm/Manifest
+++ b/x11-wm/dwm/Manifest
@@ -2,7 +2,9 @@ AUX dwm-session 312 RMD160 6d3792a0f5374ba6bd8aeb84aa31a86b598e2416 SHA1 a87590c
AUX dwm.desktop 133 RMD160 b03ed0e17001e58a94e7034e33d42ba50500b72c SHA1 26f764cdaa5bde8284a0cd22c08e67ce11d169b2 SHA256 1a1ae9d1d5eb4747a1241798969c5b151ec66901a62af683304c6f23e4ccc30e
DIST dwm-4.2.tar.gz 19337 RMD160 24257387ac85b573a1fa44ffcd756962f76ef746 SHA1 023630e503fe5ac9534380b895395906326e04f0 SHA256 b2f9684f267d8c417296211d91b780a9d36edf557d02741d3785cdb277ca1023
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
EBUILD dwm-4.2.ebuild 1658 RMD160 f7b99656c245c5df33177488f98a984b83838362 SHA1 9868324209064fd2fdbc5ba2c157692ed2e34281 SHA256 d910656435bd285919dcdf6b77fabfe205c98ffa7c3bcc4d4d24d5878ce43e36
EBUILD dwm-5.0.1.ebuild 2020 RMD160 966f3e07a57f78699ee945152322eae1b07527ba SHA1 f29d5ed8c74655cf9a7af07c413103567c6911e7 SHA256 b15f9f403473856a26cf5971c4e781c3a846127e3f4ac79eb859b3872588fb3e
-MISC ChangeLog 4961 RMD160 a17d32e1af56c9281c4413fc1065d2f2b367fefc SHA1 1487295f1647762fbbc6dabc635a6f3fd899c702 SHA256 75a09dc36c613a8d266211ab885a4ec7d89d220704572d9c4944da4026832c2a
+EBUILD dwm-5.1.ebuild 2019 RMD160 989727e9c8fc4cd073d32cefd79565d3703997d7 SHA1 fdd6e626551c87bbab6027283b9eb81a2b259856 SHA256 e699fbfdaad28a394efa31ba24b9860195364a806d4d78c3aec953530efdcf22
+MISC ChangeLog 5062 RMD160 4ee2b9c2727393e79fd0139db5524a8bdeb11a42 SHA1 0e5441c9866fd585058d2d1022561c785dcb3384 SHA256 b956b1aa3bab0a792bdc266136b15f534a8e08385af8f7dd43fdec795694e977
MISC metadata.xml 464 RMD160 6a015eb09888ce94ac15fa060db3245003086bd3 SHA1 ce1903fc125b85fb2d17a1586dad6e2a634908d2 SHA256 2fc98596b93f4b722956c930fc9bc1dc52cd51c316e6c4ff21fd8e5086d2f0d4
diff --git a/x11-wm/dwm/dwm-5.1.ebuild b/x11-wm/dwm/dwm-5.1.ebuild
new file mode 100644
index 000000000000..7651a5a9e230
--- /dev/null
+++ b/x11-wm/dwm/dwm-5.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/dwm-5.1.ebuild,v 1.1 2008/07/30 18:22:33 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"
+
+RDEPEND="x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )"
+DEPEND="${RDEPEND}
+ xinerama? ( x11-proto/xineramaproto )"
+
+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-session 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"
+}