From f0de03c62596e21a3f75648be88723837913f463 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Krier?= Date: Wed, 17 Jan 2007 18:48:34 +0000 Subject: [PATCH] Version bump Package-Manager: portage-2.1.1-r2 --- x11-misc/dmenu/ChangeLog | 7 ++- x11-misc/dmenu/Manifest | 16 ++++-- x11-misc/dmenu/dmenu-2.1.ebuild | 80 +++++++++++++++++++++++++++ x11-misc/dmenu/files/digest-dmenu-2.1 | 3 + 4 files changed, 101 insertions(+), 5 deletions(-) create mode 100644 x11-misc/dmenu/dmenu-2.1.ebuild create mode 100644 x11-misc/dmenu/files/digest-dmenu-2.1 diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index a2f7025d8c25..4331492ddafa 100644 --- a/x11-misc/dmenu/ChangeLog +++ b/x11-misc/dmenu/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/dmenu # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.5 2007/01/16 19:32:47 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.6 2007/01/17 18:48:34 cedk Exp $ + +*dmenu-2.1 (17 Jan 2007) + + 17 Jan 2007; Cedric Krier +dmenu-2.1.ebuild: + Version bump *dmenu-2.0 (16 Jan 2007) diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest index 2bd7ce4544d6..41169a516802 100644 --- a/x11-misc/dmenu/Manifest +++ b/x11-misc/dmenu/Manifest @@ -1,6 +1,7 @@ DIST dmenu-1.8.tar.gz 7729 RMD160 4d25ecdbb5badd4e8123c1e72ba4dee2619e654f SHA1 f6db2a347bf797f35f1661b74486d0e469ef80a9 SHA256 1928dc70ed14216899fafdca598a27aeae7175ff0614d14091ab48d3dd1fc413 DIST dmenu-1.9.tar.gz 7993 RMD160 e8099be785a2e94161dea87c8ec91741c4ac9339 SHA1 c1b8b0b62e842f8ba452a77109ffbeaa28a68f07 SHA256 3126a58efa094660162a3af28a01b0a4b2c8f3aee7710fed8fcd5ba47527b121 DIST dmenu-2.0.tar.gz 7981 RMD160 64d1547cfdc24e320347bb3333dfdc113c273b84 SHA1 e42a571444c061797e48ac8d968061f5fb36d1f6 SHA256 575880a4ef903771ae884eb40bdfe06303a85190b3884a6b196b36883597d525 +DIST dmenu-2.1.tar.gz 7975 RMD160 ba8ec53d9084e921a525ba3c9595ceadb0f8c297 SHA1 20bf14e457934f84e71bb984092efdf7718e88ff SHA256 241ff05f9a1432ae93021060f48e76dfd4aaf138f4c969c695f4c057e7df3c09 EBUILD dmenu-1.8-r1.ebuild 2162 RMD160 9d0c71a23ef9fc4dbb33c086f7c4303cf7ec34f9 SHA1 2e0595091c82a918d57d1e9d743a2595bd0aa666 SHA256 2d049a2ef55673a70cfeac8e8836c9fb93b3aecbbae33b2a72c266ea51cb03d2 MD5 2adb14066a16d580536b2043967e21d4 dmenu-1.8-r1.ebuild 2162 RMD160 9d0c71a23ef9fc4dbb33c086f7c4303cf7ec34f9 dmenu-1.8-r1.ebuild 2162 @@ -17,10 +18,14 @@ EBUILD dmenu-2.0.ebuild 2159 RMD160 868982859225d3cb47be4f4b66877183672d6c3f SHA MD5 147b777a9dc90a0deb0728c093a79460 dmenu-2.0.ebuild 2159 RMD160 868982859225d3cb47be4f4b66877183672d6c3f dmenu-2.0.ebuild 2159 SHA256 c8d8029cb760e52637aba9c945ee662e80c6ec2253fcffcaf4ce1cfb6f949f1e dmenu-2.0.ebuild 2159 -MISC ChangeLog 755 RMD160 5f6948d90a6f1051ccba58e8e9912342316ccf4b SHA1 8045e372402d83f276b91071fdbaf94e23a63a3a SHA256 670970436e77742b0f429382bc2b33af75e359f490ab8983fddb76fd866a1d14 -MD5 a713b499efcf98c4ce3f5ec8893308fc ChangeLog 755 -RMD160 5f6948d90a6f1051ccba58e8e9912342316ccf4b ChangeLog 755 -SHA256 670970436e77742b0f429382bc2b33af75e359f490ab8983fddb76fd866a1d14 ChangeLog 755 +EBUILD dmenu-2.1.ebuild 2159 RMD160 b3a1dce8bddf91c422b8ff95e652fa65c2c2e60a SHA1 61d2f6fc8b98e6826f5f1660d4782865428e13a6 SHA256 aeb15a437c381fbc48013b1366d03c6027e414d5e5351a8347f34688e698cc0e +MD5 ab6010fbfdf7fc693fabd1fc2dea11cf dmenu-2.1.ebuild 2159 +RMD160 b3a1dce8bddf91c422b8ff95e652fa65c2c2e60a dmenu-2.1.ebuild 2159 +SHA256 aeb15a437c381fbc48013b1366d03c6027e414d5e5351a8347f34688e698cc0e dmenu-2.1.ebuild 2159 +MISC ChangeLog 862 RMD160 386decd53d40046a928a1df0205763432b7c09c2 SHA1 ea13641061eeab3d78e1f7dfa22af948b7a18431 SHA256 d5e58e9d627d01536e8fdf43f8241ddf296b9deb8049828fda9524d215ae63ca +MD5 2f0633106ada4a59723fb0959a556b85 ChangeLog 862 +RMD160 386decd53d40046a928a1df0205763432b7c09c2 ChangeLog 862 +SHA256 d5e58e9d627d01536e8fdf43f8241ddf296b9deb8049828fda9524d215ae63ca ChangeLog 862 MISC metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f SHA1 ef592e4169ca16e31a24d264c480722112b740e2 SHA256 341ef52d92764d360158c96773c3d73939970d958b8dd066204741f43ee7dd92 MD5 cebc51f16b631fdc38e0f97ffefe8ea4 metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f metadata.xml 362 @@ -37,3 +42,6 @@ SHA256 46d41149fe63631e64015c792dfd170d2646d57c1f33e3958d7667600684a11e files/di MD5 47f1635c7a63181a675cfe48e62a0728 files/digest-dmenu-2.0 223 RMD160 98d68c64abd32159a7421b4973a689763abccc9d files/digest-dmenu-2.0 223 SHA256 cb0a42a5bdb4766e4106aff1c50ce7d7a9a6f97470d7cb4f88ebbdbc9470d362 files/digest-dmenu-2.0 223 +MD5 6debffff691d9b54da65a183baed6874 files/digest-dmenu-2.1 223 +RMD160 0551cf373f004d9d4c75b28b0c5c30eabd3c8d6c files/digest-dmenu-2.1 223 +SHA256 6add71d054989b2b7d1cc917a3d2ea83bf89b082bff64d3dced7f02f393a106f files/digest-dmenu-2.1 223 diff --git a/x11-misc/dmenu/dmenu-2.1.ebuild b/x11-misc/dmenu/dmenu-2.1.ebuild new file mode 100644 index 000000000000..1af0a8e44418 --- /dev/null +++ b/x11-misc/dmenu/dmenu-2.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/dmenu-2.1.ebuild,v 1.1 2007/01/17 18:48:34 cedk Exp $ + +inherit toolchain-funcs + +DESCRIPTION="a generic, highly customizable, and efficient menu for the X Window System" +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 + 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 -f ${configfile} "${S}"/${PN}.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 ${PN}.h ${PF}.config.h + + dodoc README +} + +pkg_preinst() { + if use savedconfig; then + mv "${D}"/usr/share/${PN}/${PF}.config.h "${T}"/ + 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}" +} diff --git a/x11-misc/dmenu/files/digest-dmenu-2.1 b/x11-misc/dmenu/files/digest-dmenu-2.1 new file mode 100644 index 000000000000..da188fe172ea --- /dev/null +++ b/x11-misc/dmenu/files/digest-dmenu-2.1 @@ -0,0 +1,3 @@ +MD5 a343d90d2121b1723cdcbfbbaf296b82 dmenu-2.1.tar.gz 7975 +RMD160 ba8ec53d9084e921a525ba3c9595ceadb0f8c297 dmenu-2.1.tar.gz 7975 +SHA256 241ff05f9a1432ae93021060f48e76dfd4aaf138f4c969c695f4c057e7df3c09 dmenu-2.1.tar.gz 7975 -- 2.26.2