diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-02-07 20:48:09 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-02-07 20:48:09 +0000 |
commit | 9fc669eeb4c74e2d270a4ae7563c9ce2a9a3767f (patch) | |
tree | 7515e0945dba1f9980510ff60a6142c2044cdd46 /x11-wm | |
parent | x11-wm/dwm: Version bump and add eclass savedconfig (diff) | |
download | gentoo-2-9fc669eeb4c74e2d270a4ae7563c9ce2a9a3767f.tar.gz gentoo-2-9fc669eeb4c74e2d270a4ae7563c9ce2a9a3767f.tar.bz2 gentoo-2-9fc669eeb4c74e2d270a4ae7563c9ce2a9a3767f.zip |
x11-wm/dwm: Version bump and add eclass savedconfig
(Portage version: 2.1.1-r2)
(Unsigned Manifest commit)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/dwm/Manifest | 24 | ||||
-rw-r--r-- | x11-wm/dwm/dwm-3.2.2.ebuild | 93 | ||||
-rw-r--r-- | x11-wm/dwm/files/digest-dwm-3.2.2 | 3 |
3 files changed, 12 insertions, 108 deletions
diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest index e9ec53e12299..3d1eb6af2d4b 100644 --- a/x11-wm/dwm/Manifest +++ b/x11-wm/dwm/Manifest @@ -6,27 +6,27 @@ AUX dwm.desktop 130 RMD160 b641ffda3dbd37915f7f24ca66cbd87f08dc9497 SHA1 a852b1b MD5 e6ba9e2f6c675103d28b22d520fe0bee files/dwm.desktop 130 RMD160 b641ffda3dbd37915f7f24ca66cbd87f08dc9497 files/dwm.desktop 130 SHA256 298bd3219e90be60bd7ad9b1170ee73a08a7b94375fda41642d8caa5b1298a2f files/dwm.desktop 130 -DIST dwm-3.2.2.tar.gz 17388 RMD160 755433e752a2ef7574f16ef26303bf66766e6891 SHA1 e7200f5fde5862502da3928b6737e67438e1f248 SHA256 dc7086619242fe1e661dcb27e850a2f431fcee8dbf246b46ea9d5d23784fd6cc DIST dwm-3.3.tar.gz 17450 RMD160 90b27981b28285461f130fb370a6c6abeefd6a08 SHA1 a9c97b3a1f9429ca8a02022e52d14e619d53a442 SHA256 caffe5ce38c8575341296b7a3f05f2e8b64763da0f288c16951f97a386cc081c -EBUILD dwm-3.2.2.ebuild 2551 RMD160 c945f5b89fb35ac8a8a9dea8c80bfc22a327c99e SHA1 e16de4fc63b3f23d1fe01dbc2dabefec0fe74452 SHA256 5c9ebef181c65ed44cc8cf04f370fb0acb46c8d313ab6d5c81ceca90841c01a9 -MD5 abd598b3c619d5bb437aebb443742de4 dwm-3.2.2.ebuild 2551 -RMD160 c945f5b89fb35ac8a8a9dea8c80bfc22a327c99e dwm-3.2.2.ebuild 2551 -SHA256 5c9ebef181c65ed44cc8cf04f370fb0acb46c8d313ab6d5c81ceca90841c01a9 dwm-3.2.2.ebuild 2551 +DIST dwm-3.4.tar.gz 17532 RMD160 cfffce02be942ef19d2bc4b030ef4acae30141e2 SHA1 a623b9c4af5c5646ea5c7cca7af5b4a1f6e5518f SHA256 654b300a8e63b8a88f93b304e08a50bae2d4261c8e9570a46aaa3d4f1675e4bb EBUILD dwm-3.3.ebuild 2549 RMD160 1eb13e5b744a9d5fe36cf55e280ae25f69888856 SHA1 4b0ac1aa7b26086ed9767b5546ecd206dec95e71 SHA256 76f8a73c8cbd33a7c8d10b4fa86b0a7ec35f3956b6ac8d3d2cba7b15890bcf56 MD5 4339ef7fd6a60e65573dac7109a64295 dwm-3.3.ebuild 2549 RMD160 1eb13e5b744a9d5fe36cf55e280ae25f69888856 dwm-3.3.ebuild 2549 SHA256 76f8a73c8cbd33a7c8d10b4fa86b0a7ec35f3956b6ac8d3d2cba7b15890bcf56 dwm-3.3.ebuild 2549 -MISC ChangeLog 1366 RMD160 77b73e6d6b9f0909bcb324ea8f970038c792ebb0 SHA1 775c5a21bddfc4b21b8bdbc22cabbf6a6310c09e SHA256 04b885a84b1f2bb0d104a3e49d29f165eb78b0fdafd515f50139502d3f1c6b68 -MD5 b8960370f5f5c15cb368bdb707e11122 ChangeLog 1366 -RMD160 77b73e6d6b9f0909bcb324ea8f970038c792ebb0 ChangeLog 1366 -SHA256 04b885a84b1f2bb0d104a3e49d29f165eb78b0fdafd515f50139502d3f1c6b68 ChangeLog 1366 +EBUILD dwm-3.4.ebuild 1711 RMD160 b36caf233067d9c59fbe3b30b7899bfd9aea8b78 SHA1 5c9416df00e835dd78ac200745537581985c1e58 SHA256 5173e87ea98deec5f43466c811d3eca6f9908f11840c941f7e66028ccc2b0311 +MD5 a01e39ec5c931412bd042a68da2e0830 dwm-3.4.ebuild 1711 +RMD160 b36caf233067d9c59fbe3b30b7899bfd9aea8b78 dwm-3.4.ebuild 1711 +SHA256 5173e87ea98deec5f43466c811d3eca6f9908f11840c941f7e66028ccc2b0311 dwm-3.4.ebuild 1711 +MISC ChangeLog 1517 RMD160 cf639c12032226d86e24cd30db5e165d12a1e1e3 SHA1 69b0bbeed17832188e1c5f002ebec819cafd767a SHA256 d83c9d8d8606e49ba9f3bfddf1832447260be37c45d55c4b5d858cc8b5ae1249 +MD5 3b1cc4b8cffe946036f01698ac799e6d ChangeLog 1517 +RMD160 cf639c12032226d86e24cd30db5e165d12a1e1e3 ChangeLog 1517 +SHA256 d83c9d8d8606e49ba9f3bfddf1832447260be37c45d55c4b5d858cc8b5ae1249 ChangeLog 1517 MISC metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 SHA1 734881954c3c1fbef561df9eead496a99380e3d1 SHA256 35951214ca9ebfcb9bbc2822914bcef50153fac707e629ccadb6bee455b6a9bc MD5 b352d398a2b30d946f2ad2f2ae6c308c metadata.xml 461 RMD160 65756f7110f56fca05c3ede6d6f7123612ef1f37 metadata.xml 461 SHA256 35951214ca9ebfcb9bbc2822914bcef50153fac707e629ccadb6bee455b6a9bc metadata.xml 461 -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 MD5 4f0ae887fef5cba56c45dea131a39de0 files/digest-dwm-3.3 220 RMD160 73fd19ba2ee6b72571d5647c64dae789e12cf96b files/digest-dwm-3.3 220 SHA256 4c3cd19a4354fe70bb912480d26c4005183a1f5e2629a7a26792552b5c5931d8 files/digest-dwm-3.3 220 +MD5 3a95e8e8f315081282c22aab1dfc6e43 files/digest-dwm-3.4 220 +RMD160 0f7b74384227e3ee32aa49659d0830f10178ebe2 files/digest-dwm-3.4 220 +SHA256 08c7786ed720d686f63cf6fc16d6773aa813f743aaa142b9a800efdf0ee9f0e5 files/digest-dwm-3.4 220 diff --git a/x11-wm/dwm/dwm-3.2.2.ebuild b/x11-wm/dwm/dwm-3.2.2.ebuild deleted file mode 100644 index ea7863db5568..000000000000 --- a/x11-wm/dwm/dwm-3.2.2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.2 2007/01/28 17:34:58 cedk Exp $ - -inherit toolchain-funcs - -DESCRIPTION="a dynamic window manager for X11" -HOMEPAGE="http://dwm.suckless.org/" -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 deleted file mode 100644 index 4626ab813100..000000000000 --- a/x11-wm/dwm/files/digest-dwm-3.2.2 +++ /dev/null @@ -1,3 +0,0 @@ -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 |