From: Cédric Krier Date: Tue, 16 Jan 2007 19:29:28 +0000 (+0000) Subject: Version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8190fb408fd7ae2e505ce1c890486a0a54ba5e06;p=gentoo.git Version bump Package-Manager: portage-2.1.1-r2 --- diff --git a/x11-wm/dwm/ChangeLog b/x11-wm/dwm/ChangeLog index bc137f859f72..04e2cf68c6da 100644 --- a/x11-wm/dwm/ChangeLog +++ b/x11-wm/dwm/ChangeLog @@ -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.4 2007/01/13 14:01:48 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/dwm/ChangeLog,v 1.5 2007/01/16 19:29:28 cedk Exp $ + +*dwm-3.1 (16 Jan 2007) + + 16 Jan 2007; Cedric Krier +dwm-3.1.ebuild: + Version bump *dwm-3.0 (13 Jan 2007) diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest index 646a1cdd9349..10c97bd0bec3 100644 --- a/x11-wm/dwm/Manifest +++ b/x11-wm/dwm/Manifest @@ -9,6 +9,7 @@ SHA256 298bd3219e90be60bd7ad9b1170ee73a08a7b94375fda41642d8caa5b1298a2f files/dw 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 +DIST dwm-3.1.tar.gz 17492 RMD160 9ebe31e761617b113e3ab89b8aafa5adecc5d09e SHA1 bd75944d5dfeadea4a5062be9423c6f8ca2c2d43 SHA256 8000b7f1f171672c9a1163b1839aa5e321d76628b5ff0a2ca5d889713ef295ad 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 @@ -21,10 +22,14 @@ EBUILD dwm-3.0.ebuild 2560 RMD160 793accf44e108357f73f9966f91c73c7e21b97f0 SHA1 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 +EBUILD dwm-3.1.ebuild 2560 RMD160 d63f74c60471d54d476858f164105a6614547cdd SHA1 3b0a9db73e40fc36ba636d41f5a44316899fdbad SHA256 dbf4e27da59070775b42266a1bfd9e2f700936d460df4dd2511f585c2bfec271 +MD5 288e651bd3e02db9ff5baf6bd8c74d3b dwm-3.1.ebuild 2560 +RMD160 d63f74c60471d54d476858f164105a6614547cdd dwm-3.1.ebuild 2560 +SHA256 dbf4e27da59070775b42266a1bfd9e2f700936d460df4dd2511f585c2bfec271 dwm-3.1.ebuild 2560 +MISC ChangeLog 741 RMD160 67013053316f57cbec3204e815d2f4ce7d1ee996 SHA1 a56197f9c105a35fb2bbad6659cef6e7df51e500 SHA256 019240bd97e65586937e6860fb99615a64d0648176bfe3b7df1a9a42a90af6f0 +MD5 23b6ea58829a4137593954b0020e5acd ChangeLog 741 +RMD160 67013053316f57cbec3204e815d2f4ce7d1ee996 ChangeLog 741 +SHA256 019240bd97e65586937e6860fb99615a64d0648176bfe3b7df1a9a42a90af6f0 ChangeLog 741 MISC metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 SHA1 734881954c3c1fbef561df9eead496a99380e3d1 SHA256 35951214ca9ebfcb9bbc2822914bcef50153fac707e629ccadb6bee455b6a9bc MD5 b352d398a2b30d946f2ad2f2ae6c308c metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 metadata.xml 461 @@ -38,3 +43,6 @@ SHA256 037d7a43206cb1d18935cc7714a47042d37b0d29ec79514998fa11ed216dcd5f files/di MD5 0f8627863e38a9467a3a3e5b86117ad9 files/digest-dwm-3.0 220 RMD160 ed2259df74419c2a524b88b2200cade5f8937e06 files/digest-dwm-3.0 220 SHA256 1ea26e70035484b30b42c9232d701883ef3e4371d65407a2a417837e64776234 files/digest-dwm-3.0 220 +MD5 b2d8d46963c6d29e8a3a6f85fffead2e files/digest-dwm-3.1 220 +RMD160 45cde365b45a658ebb55894b05761d0c614326b2 files/digest-dwm-3.1 220 +SHA256 a2aaa7b911a174c8cb8c57ed4223993c848c8df3f57721f4092a8e7102c63307 files/digest-dwm-3.1 220 diff --git a/x11-wm/dwm/dwm-3.1.ebuild b/x11-wm/dwm/dwm-3.1.ebuild new file mode 100644 index 000000000000..fc1c8d632300 --- /dev/null +++ b/x11-wm/dwm/dwm-3.1.ebuild @@ -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.1.ebuild,v 1.1 2007/01/16 19:29:28 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.1 b/x11-wm/dwm/files/digest-dwm-3.1 new file mode 100644 index 000000000000..a085a8c0ef6e --- /dev/null +++ b/x11-wm/dwm/files/digest-dwm-3.1 @@ -0,0 +1,3 @@ +MD5 da36256461f98bfa9d4ae0a4b9bf988f dwm-3.1.tar.gz 17492 +RMD160 9ebe31e761617b113e3ab89b8aafa5adecc5d09e dwm-3.1.tar.gz 17492 +SHA256 8000b7f1f171672c9a1163b1839aa5e321d76628b5ff0a2ca5d889713ef295ad dwm-3.1.tar.gz 17492