summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-12-04 21:09:31 +0000
committerCédric Krier <cedk@gentoo.org>2006-12-04 21:09:31 +0000
commit7516c5eaa4e2adf78a2322c3d86e0778824b1c06 (patch)
treec8f39c18886b664203868c39106ed3ad190c51f2 /x11-wm
parentapp-misc/emelfm2: QA fix (diff)
downloadsunrise-reviewed-7516c5eaa4e2adf78a2322c3d86e0778824b1c06.tar.gz
sunrise-reviewed-7516c5eaa4e2adf78a2322c3d86e0778824b1c06.tar.bz2
sunrise-reviewed-7516c5eaa4e2adf78a2322c3d86e0778824b1c06.zip
x11-wm/dwm: Version bump
svn path=/sunrise/; revision=2111
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/dwm/ChangeLog3
-rw-r--r--x11-wm/dwm/Manifest16
-rw-r--r--x11-wm/dwm/dwm-2.5.1.ebuild88
-rw-r--r--x11-wm/dwm/files/digest-dwm-2.5.13
4 files changed, 106 insertions, 4 deletions
diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog
index ae623e4dd..52eb6e23f 100644
--- a/x11-wm/dwm/ChangeLog
+++ b/x11-wm/dwm/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 04 Dec 2006; Cedric Krier <cedk@gentoo.org> +dwm-2.5.1.ebuild:
+ Version bump
+
01 Dec 2006; Cedric Krier <cedk@gentoo.org> -dwm-2.3.ebuild,
+dwm-2.4.ebuild:
Version bump
diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest
index c2098b042..170967995 100644
--- a/x11-wm/dwm/Manifest
+++ b/x11-wm/dwm/Manifest
@@ -3,14 +3,19 @@ MD5 be5c842ec4259bd3546b8d6568a000f4 files/dwm-session 312
RMD160 6d3792a0f5374ba6bd8aeb84aa31a86b598e2416 files/dwm-session 312
SHA256 bc0e60687f719f2613492f15180c3327b7b9560f53f09a52f0e763548f2221ac files/dwm-session 312
DIST dwm-2.4.tar.gz 17628 RMD160 339b649ad3adc8dcad86b28f4a2445d9a7566d69 SHA1 04a55c92365da5adc8b2b67a42e44bc8dc917b32 SHA256 00e4014911717bd3cba621188cdb59c94f4d23ae091c35869377220e6a7f5191
+DIST dwm-2.5.1.tar.gz 17726 RMD160 4c907d5589b130f6df6432de03ffdd963ddf67f3 SHA1 33cb185a49d5ef59d27d2557fc26294fa71fa507 SHA256 24958679c667ea062552175d61399793d44fcc204718becef620d33ea260c712
EBUILD dwm-2.4.ebuild 2373 RMD160 4ddfcea2bcb62556053b1064a425aa1ca2689432 SHA1 39a9ee2121ed3df7a70ac0c8eb47dbf4414da539 SHA256 4bdc2417822f141d2c1661b1e5238560ff0c228e8b24a067fbf7380c069fd060
MD5 261070100eb65602ae0de7c1b38d9cbe dwm-2.4.ebuild 2373
RMD160 4ddfcea2bcb62556053b1064a425aa1ca2689432 dwm-2.4.ebuild 2373
SHA256 4bdc2417822f141d2c1661b1e5238560ff0c228e8b24a067fbf7380c069fd060 dwm-2.4.ebuild 2373
-MISC ChangeLog 5023 RMD160 0cd9ac31fa3fa8ae37091277188f55fbb1664112 SHA1 fcbb6b20bac310a592490bca3c6bab25ff02eb0c SHA256 6482986f40248e297180343c5302fa4fdabf972d42e85bf2e177e6f4a46c020e
-MD5 9e56104aaf229c5147d25435349a9cff ChangeLog 5023
-RMD160 0cd9ac31fa3fa8ae37091277188f55fbb1664112 ChangeLog 5023
-SHA256 6482986f40248e297180343c5302fa4fdabf972d42e85bf2e177e6f4a46c020e ChangeLog 5023
+EBUILD dwm-2.5.1.ebuild 2373 RMD160 4ddfcea2bcb62556053b1064a425aa1ca2689432 SHA1 39a9ee2121ed3df7a70ac0c8eb47dbf4414da539 SHA256 4bdc2417822f141d2c1661b1e5238560ff0c228e8b24a067fbf7380c069fd060
+MD5 261070100eb65602ae0de7c1b38d9cbe dwm-2.5.1.ebuild 2373
+RMD160 4ddfcea2bcb62556053b1064a425aa1ca2689432 dwm-2.5.1.ebuild 2373
+SHA256 4bdc2417822f141d2c1661b1e5238560ff0c228e8b24a067fbf7380c069fd060 dwm-2.5.1.ebuild 2373
+MISC ChangeLog 5104 RMD160 e96504653c0556c783b4bbbf2a9d21a6825f50a1 SHA1 af83957b563f5ae05dc2cadfc28a622f72a8312c SHA256 f00f0bc35ca16ff137b842956968586830c18600c4eaf433e220cd10d59882c1
+MD5 3696eb9200b22392f6168f9a16778797 ChangeLog 5104
+RMD160 e96504653c0556c783b4bbbf2a9d21a6825f50a1 ChangeLog 5104
+SHA256 f00f0bc35ca16ff137b842956968586830c18600c4eaf433e220cd10d59882c1 ChangeLog 5104
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -18,3 +23,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 9a5fb1700eef41ea8bd3e45caca8a7a0 files/digest-dwm-2.4 220
RMD160 ca5cc4acc2d6e6a0066d06fadc7e3d21c525dde5 files/digest-dwm-2.4 220
SHA256 4b1eddcb72d674676fb10b74767f81f464f6cf164782dadacd0d1120d01ca9a7 files/digest-dwm-2.4 220
+MD5 1b0440ab3f4a8ba11517ce669a3ecb55 files/digest-dwm-2.5.1 226
+RMD160 613d8eb72c30965019983d7015eb395732b8085e files/digest-dwm-2.5.1 226
+SHA256 91a7a51da809aab0e6efe9c5a6d13a6b1d442a021a2239bcb03eed813a567547 files/digest-dwm-2.5.1 226
diff --git a/x11-wm/dwm/dwm-2.5.1.ebuild b/x11-wm/dwm/dwm-2.5.1.ebuild
new file mode 100644
index 000000000..a1f83ed56
--- /dev/null
+++ b/x11-wm/dwm/dwm-2.5.1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit toolchain-funcs
+
+DESCRIPTION="a dynamic window manager for X11"
+HOMEPAGE="http://suckless.org/view/dynamic+window+manager"
+SRC_URI="http://suckless.org/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="savedconfig"
+
+DEPEND="x11-libs/libX11"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s/.*strip.*//" \
+ Makefile || die "sed failed"
+
+ sed -i \
+ -e "s/CFLAGS = -Os/CFLAGS +=/" \
+ -e "s/LDFLAGS =/LDFLAGS +=/" \
+ config.mk || die "sed failed"
+
+ if use savedconfig; then
+ local conf root
+ [[ -r config.h ]] && rm config.h
+ for conf in ${PF} ${P} ${PN}; do
+ for root in "${PORTAGE_CONFIGROOT}" "${ROOT}" /; do
+ configfile=${root}etc/portage/savedconfig/${conf}.config.h
+ if [[ -r ${configfile} ]]; then
+ elog "Found your ${configfile} and using it."
+ cp ${configfile} "${S}"/config.h
+ return 0
+ fi
+ done
+ done
+ ewarn "Could not locate user configfile, so we will save a default one."
+ fi
+}
+
+src_compile() {
+ local msg
+ use savedconfig && msg=", please check the configfile"
+ emake CC=$(tc-getCC) || die "emake failed${msg}"
+}
+
+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
+
+ dodoc README
+}
+
+pkg_preinst() {
+ mv "${D}"/usr/share/${PN}/${PF}.config.h "${T}"/
+}
+
+pkg_postinst() {
+ if use savedconfig; then
+ local config_dir="${PORTAGE_CONFIGROOT:-${ROOT}}/etc/portage/savedconfig"
+ elog "Saving this build config to ${config_dir}/${PF}.config.h"
+ einfo "Read this ebuild for more info on how to take advantage of this option."
+ mkdir -p "${config_dir}"
+ cp "${T}"/${PF}.config.h "${config_dir}"/${PF}.config.h
+ fi
+ 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"
+}
diff --git a/x11-wm/dwm/files/digest-dwm-2.5.1 b/x11-wm/dwm/files/digest-dwm-2.5.1
new file mode 100644
index 000000000..af86e0a53
--- /dev/null
+++ b/x11-wm/dwm/files/digest-dwm-2.5.1
@@ -0,0 +1,3 @@
+MD5 11cc6322ca1275f759ced8c75356fca4 dwm-2.5.1.tar.gz 17726
+RMD160 4c907d5589b130f6df6432de03ffdd963ddf67f3 dwm-2.5.1.tar.gz 17726
+SHA256 24958679c667ea062552175d61399793d44fcc204718becef620d33ea260c712 dwm-2.5.1.tar.gz 17726