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

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

index d57bac5906db8bd2fde2397e2ae8143662a2861a..bc137f859f72c6356fd675e300a20e90676ece79 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.3 2007/01/09 20:21:52 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.4 2007/01/13 14:01:48 cedk Exp $
+
+*dwm-3.0 (13 Jan 2007)
+
+  13 Jan 2007; Cedric Krier <cedk@gentoo.org> +dwm-3.0.ebuild:
+  Version bump
 
 *dwm-2.9 (09 Jan 2007)
 
index 320cbfa1eab00df42598e6f26c1b5abbba64b0d0..646a1cdd9349d0c6c4a010f015d32eed76bb795b 100644 (file)
@@ -8,6 +8,7 @@ RMD160 b641ffda3dbd37915f7f24ca66cbd87f08dc9497 files/dwm.desktop 130
 SHA256 298bd3219e90be60bd7ad9b1170ee73a08a7b94375fda41642d8caa5b1298a2f files/dwm.desktop 130
 DIST dwm-2.8.tar.gz 17669 RMD160 6f111b3ae52ea81142eb1a943725bad797ba4237 SHA1 2e0f53b72b2ab31b23c46546f236669e14906bb8 SHA256 b11c325132de4e95e81eaee23fe041c998fe16994912963d211bfc74e011aa19
 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
 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
@@ -16,10 +17,14 @@ EBUILD dwm-2.9.ebuild 2560 RMD160 d8c106752f4b213a7c8018b3d52796d6c55b16b1 SHA1
 MD5 c506f9829b05c1f39cea2f5e4b93b547 dwm-2.9.ebuild 2560
 RMD160 d8c106752f4b213a7c8018b3d52796d6c55b16b1 dwm-2.9.ebuild 2560
 SHA256 7e34362eff46fc9368fe1b96b747c06134ac6882e9ac20adbd3728f334c07e1b dwm-2.9.ebuild 2560
-MISC ChangeLog 535 RMD160 bb93c692f9672d60ad7bfa7bc9075396156fa726 SHA1 aee324bbd8749d242e474d9838764b4345615625 SHA256 72cc173e87c410c6b97193a7dc0f525120f4dfb280774a23e4f289b1a562318c
-MD5 c5c6ce40d8f3344a3f46eb894601f3f9 ChangeLog 535
-RMD160 bb93c692f9672d60ad7bfa7bc9075396156fa726 ChangeLog 535
-SHA256 72cc173e87c410c6b97193a7dc0f525120f4dfb280774a23e4f289b1a562318c ChangeLog 535
+EBUILD dwm-3.0.ebuild 2560 RMD160 793accf44e108357f73f9966f91c73c7e21b97f0 SHA1 36132d6c77667f65a1b38226279040320734253b SHA256 f2acfd317deff7f4cb365943c1370cac4de36f034453c517220b5f361227fb90
+MD5 3f2abe38120d042ba9206b41eecbe4b5 dwm-3.0.ebuild 2560
+RMD160 793accf44e108357f73f9966f91c73c7e21b97f0 dwm-3.0.ebuild 2560
+SHA256 f2acfd317deff7f4cb365943c1370cac4de36f034453c517220b5f361227fb90 dwm-3.0.ebuild 2560
+MISC ChangeLog 638 RMD160 4dd62f121ae19747a92a95dfda56a4537c93cf6c SHA1 eb90f800d794ef821c983fb84c32afc374e8611e SHA256 8b22ee04662a9a6a4ebb56515e13f509bd4028280d98bab285e1c40109053025
+MD5 b6cfd96b16c0abf8f7dcdf6b0926b1ec ChangeLog 638
+RMD160 4dd62f121ae19747a92a95dfda56a4537c93cf6c ChangeLog 638
+SHA256 8b22ee04662a9a6a4ebb56515e13f509bd4028280d98bab285e1c40109053025 ChangeLog 638
 MISC metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 SHA1 734881954c3c1fbef561df9eead496a99380e3d1 SHA256 35951214ca9ebfcb9bbc2822914bcef50153fac707e629ccadb6bee455b6a9bc
 MD5 b352d398a2b30d946f2ad2f2ae6c308c metadata.xml 461
 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 metadata.xml 461
@@ -30,3 +35,6 @@ SHA256 406b04e2da1a0d273b67ce24ed2d2891b898546befb42ca32fb95390acac1683 files/di
 MD5 5237fcf4da397401b5efd257dc417c26 files/digest-dwm-2.9 220
 RMD160 f3bc188124178c58138b80a6da38ef44bf55b068 files/digest-dwm-2.9 220
 SHA256 037d7a43206cb1d18935cc7714a47042d37b0d29ec79514998fa11ed216dcd5f files/digest-dwm-2.9 220
+MD5 0f8627863e38a9467a3a3e5b86117ad9 files/digest-dwm-3.0 220
+RMD160 ed2259df74419c2a524b88b2200cade5f8937e06 files/digest-dwm-3.0 220
+SHA256 1ea26e70035484b30b42c9232d701883ef3e4371d65407a2a417837e64776234 files/digest-dwm-3.0 220
diff --git a/x11-wm/dwm/dwm-3.0.ebuild b/x11-wm/dwm/dwm-3.0.ebuild
new file mode 100644 (file)
index 0000000..e49fc14
--- /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.0.ebuild,v 1.1 2007/01/13 14:01:48 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 ~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.0 b/x11-wm/dwm/files/digest-dwm-3.0
new file mode 100644 (file)
index 0000000..f1384d1
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d22a8c551e0b20d12cd05bf4d16d5a8b dwm-3.0.tar.gz 18049
+RMD160 c402492c105f94d854c99230a16b13965b21b158 dwm-3.0.tar.gz 18049
+SHA256 70c25d40b8cf3d4b160f50b84af0b5ec2ea32710a76b1847249e17f7d8e2202c dwm-3.0.tar.gz 18049