Version bump
authorCédric Krier <cedk@gentoo.org>
Sat, 27 Jan 2007 14:54:29 +0000 (14:54 +0000)
committerCédric Krier <cedk@gentoo.org>
Sat, 27 Jan 2007 14:54:29 +0000 (14:54 +0000)
Package-Manager: portage-2.1.1-r2

x11-wm/dwm/ChangeLog
x11-wm/dwm/Manifest
x11-wm/dwm/dwm-3.2.2.ebuild [new file with mode: 0644]
x11-wm/dwm/files/digest-dwm-3.2.2 [new file with mode: 0644]

index 00c554ad277a98f233168488e045072d8022c7e4..9b299b25eefea088781903f93aaf810680c83692 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for x11-wm/dwm
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.7 2007/01/21 11:28:08 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.8 2007/01/27 14:54:29 cedk Exp $
+
+*dwm-3.2.2 (27 Jan 2007)
+
+  27 Jan 2007; Cedric Krier <cedk@gentoo.org> +dwm-3.2.2.ebuild:
+  Version bump
 
   21 Jan 2007; Markus Rothe <corsair@gentoo.org> dwm-3.1.ebuild:
   Added ~ppc64
index 95b2d577583d7b2dd0e93103824569740736d64e..46d2f5807595a3066d9d82cd40b6128075d0b247 100644 (file)
@@ -10,6 +10,7 @@ DIST dwm-2.8.tar.gz 17669 RMD160 6f111b3ae52ea81142eb1a943725bad797ba4237 SHA1 2
 DIST dwm-2.9.tar.gz 17956 RMD160 ca32f2ec08bc6c5cb9cd61b1c868a9b159454a6f SHA1 fda748d6eda04ff541ee14c1627e6f09dfaddef0 SHA256 6af95423f8f88fc10307f2ffe1c08b37e2d2c3f64b7c389b8a79b06136266dd3
 DIST dwm-3.0.tar.gz 18049 RMD160 c402492c105f94d854c99230a16b13965b21b158 SHA1 e475343f8b463cdbc0bcdd8a3f2d17114205a38f SHA256 70c25d40b8cf3d4b160f50b84af0b5ec2ea32710a76b1847249e17f7d8e2202c
 DIST dwm-3.1.tar.gz 17492 RMD160 9ebe31e761617b113e3ab89b8aafa5adecc5d09e SHA1 bd75944d5dfeadea4a5062be9423c6f8ca2c2d43 SHA256 8000b7f1f171672c9a1163b1839aa5e321d76628b5ff0a2ca5d889713ef295ad
+DIST dwm-3.2.2.tar.gz 17388 RMD160 755433e752a2ef7574f16ef26303bf66766e6891 SHA1 e7200f5fde5862502da3928b6737e67438e1f248 SHA256 dc7086619242fe1e661dcb27e850a2f431fcee8dbf246b46ea9d5d23784fd6cc
 EBUILD dwm-2.8.ebuild 2496 RMD160 bdc6333cd3a2c86293282aa06ee2666f072b0a77 SHA1 00efdc70feed754039e2f2b88a84f85f0ae9804f SHA256 46f7e1d76f875fe665f5868df16d849208f6aaaaf5683d58b1ce1cfec943fea9
 MD5 dc1940c0fa09e79ecb3fc58d4d4e24fd dwm-2.8.ebuild 2496
 RMD160 bdc6333cd3a2c86293282aa06ee2666f072b0a77 dwm-2.8.ebuild 2496
@@ -26,10 +27,14 @@ EBUILD dwm-3.1.ebuild 2575 RMD160 42e58b4d7a1eda36aafde83d979db865ddf2ccd0 SHA1
 MD5 60bf5f72e5763eac657e464eb2476577 dwm-3.1.ebuild 2575
 RMD160 42e58b4d7a1eda36aafde83d979db865ddf2ccd0 dwm-3.1.ebuild 2575
 SHA256 7a23e60fb8ef0c6cf6ecdc507478e918cf4fbd3336126a36999d35395ca2aaef dwm-3.1.ebuild 2575
-MISC ChangeLog 912 RMD160 99565983db22d34513ca6fc40fdaa233a9604d7b SHA1 7b07421cf16a85ea4d619fe05b711fa71722a4fe SHA256 43384f49fae2ae4079d6c85f8eb8863b9d39d922c22fee4567917df054fb52d8
-MD5 d4e1bb528d62d2cff28bd2e860ae06ad ChangeLog 912
-RMD160 99565983db22d34513ca6fc40fdaa233a9604d7b ChangeLog 912
-SHA256 43384f49fae2ae4079d6c85f8eb8863b9d39d922c22fee4567917df054fb52d8 ChangeLog 912
+EBUILD dwm-3.2.2.ebuild 2574 RMD160 78534dffe3a28dea201145b093ca1140ce444b76 SHA1 4ca49eb73af2719b544a7da3c11c4bb983c1e1cf SHA256 b358fea5bf56642e5c1a16bc7ac0506abf8e67e5e1b4ddbe976a08f985ee3539
+MD5 0e092f9cfbab9633abaa87ec5352fed8 dwm-3.2.2.ebuild 2574
+RMD160 78534dffe3a28dea201145b093ca1140ce444b76 dwm-3.2.2.ebuild 2574
+SHA256 b358fea5bf56642e5c1a16bc7ac0506abf8e67e5e1b4ddbe976a08f985ee3539 dwm-3.2.2.ebuild 2574
+MISC ChangeLog 1016 RMD160 9e3b08296cefbf9c8bb7ed972b3a776423546a27 SHA1 9c61f000cfd4402b8872733464db49ad250542d2 SHA256 f69675c6a08b5b5272ceac502d84db6a88becabf193492a0ebed317cf3023e2e
+MD5 450285fd53b74d9056bd26ee627a2ed3 ChangeLog 1016
+RMD160 9e3b08296cefbf9c8bb7ed972b3a776423546a27 ChangeLog 1016
+SHA256 f69675c6a08b5b5272ceac502d84db6a88becabf193492a0ebed317cf3023e2e ChangeLog 1016
 MISC metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 SHA1 734881954c3c1fbef561df9eead496a99380e3d1 SHA256 35951214ca9ebfcb9bbc2822914bcef50153fac707e629ccadb6bee455b6a9bc
 MD5 b352d398a2b30d946f2ad2f2ae6c308c metadata.xml 461
 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 metadata.xml 461
@@ -46,3 +51,6 @@ SHA256 1ea26e70035484b30b42c9232d701883ef3e4371d65407a2a417837e64776234 files/di
 MD5 b2d8d46963c6d29e8a3a6f85fffead2e files/digest-dwm-3.1 220
 RMD160 45cde365b45a658ebb55894b05761d0c614326b2 files/digest-dwm-3.1 220
 SHA256 a2aaa7b911a174c8cb8c57ed4223993c848c8df3f57721f4092a8e7102c63307 files/digest-dwm-3.1 220
+MD5 8c3627f6dbfce78ecdbb183fd0d18342 files/digest-dwm-3.2.2 226
+RMD160 0c19cb2938e783c2900bac63ae62ff5f8fb25f31 files/digest-dwm-3.2.2 226
+SHA256 000d61c0f214c25e064ba431330b45c4b9b946d94abb572fd2a7e26c3514be61 files/digest-dwm-3.2.2 226
diff --git a/x11-wm/dwm/dwm-3.2.2.ebuild b/x11-wm/dwm/dwm-3.2.2.ebuild
new file mode 100644 (file)
index 0000000..bf5583a
--- /dev/null
@@ -0,0 +1,93 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/dwm-3.2.2.ebuild,v 1.1 2007/01/27 14:54:29 cedk Exp $
+
+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="~amd64 ~ppc ~ppc64 ~x86"
+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
+
+       insinto /usr/share/xsessions
+       doins "${FILESDIR}"/dwm.desktop
+
+       dodoc README
+}
+
+pkg_preinst() {
+       if use savedconfig; then
+               mv "${D}"/usr/share/${PN}/${PF}.config.h "${T}"/ || die
+       fi
+}
+
+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-3.2.2 b/x11-wm/dwm/files/digest-dwm-3.2.2
new file mode 100644 (file)
index 0000000..4626ab8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 14b9bbfc0d36117c135de5eaba50c880 dwm-3.2.2.tar.gz 17388
+RMD160 755433e752a2ef7574f16ef26303bf66766e6891 dwm-3.2.2.tar.gz 17388
+SHA256 dc7086619242fe1e661dcb27e850a2f431fcee8dbf246b46ea9d5d23784fd6cc dwm-3.2.2.tar.gz 17388