From 87d17acdcb034ade23e782319bb29c8908979802 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Krier?= Date: Tue, 16 Jan 2007 19:32:47 +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.0.ebuild | 80 +++++++++++++++++++++++++++ x11-misc/dmenu/files/digest-dmenu-2.0 | 3 + 4 files changed, 101 insertions(+), 5 deletions(-) create mode 100644 x11-misc/dmenu/dmenu-2.0.ebuild create mode 100644 x11-misc/dmenu/files/digest-dmenu-2.0 diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index 60b5ef996276..a2f7025d8c25 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.4 2007/01/13 14:10:36 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.5 2007/01/16 19:32:47 cedk Exp $ + +*dmenu-2.0 (16 Jan 2007) + + 16 Jan 2007; Cedric Krier +dmenu-2.0.ebuild: + Version bump *dmenu-1.9 (13 Jan 2007) diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest index 4b82361a12e0..2bd7ce4544d6 100644 --- a/x11-misc/dmenu/Manifest +++ b/x11-misc/dmenu/Manifest @@ -1,5 +1,6 @@ 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 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 @@ -12,10 +13,14 @@ EBUILD dmenu-1.9.ebuild 2159 RMD160 d1a2ff5268fbe245e398dae56c3a2512f36c73c5 SHA MD5 67dddd69e5f896a5f1a855762e3df007 dmenu-1.9.ebuild 2159 RMD160 d1a2ff5268fbe245e398dae56c3a2512f36c73c5 dmenu-1.9.ebuild 2159 SHA256 82a2d8e7b71cae86e70bc54675c8c3ef048487b5de4e6b4bbe820bd5728e1531 dmenu-1.9.ebuild 2159 -MISC ChangeLog 648 RMD160 dfda76ec9bb313f49876b17efb234fc867d42fde SHA1 6a64a685b950010d6d41c4fe62fa17fdc898044b SHA256 9589c607d84d3d5e34de6114f71ae37790dbcea8095581ece14750ef0a3621dd -MD5 918915af5bb2abc59c8ecd2132a56457 ChangeLog 648 -RMD160 dfda76ec9bb313f49876b17efb234fc867d42fde ChangeLog 648 -SHA256 9589c607d84d3d5e34de6114f71ae37790dbcea8095581ece14750ef0a3621dd ChangeLog 648 +EBUILD dmenu-2.0.ebuild 2159 RMD160 868982859225d3cb47be4f4b66877183672d6c3f SHA1 abc56e1c575435f9ea790efbfae078e01c678b7f SHA256 c8d8029cb760e52637aba9c945ee662e80c6ec2253fcffcaf4ce1cfb6f949f1e +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 MISC metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f SHA1 ef592e4169ca16e31a24d264c480722112b740e2 SHA256 341ef52d92764d360158c96773c3d73939970d958b8dd066204741f43ee7dd92 MD5 cebc51f16b631fdc38e0f97ffefe8ea4 metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f metadata.xml 362 @@ -29,3 +34,6 @@ SHA256 965399a4a43406b1cef556f99f3fc2c1cd6237c93003db030b4b354226468fac files/di MD5 bb6da64eab79d80a51e67e0432cf85d0 files/digest-dmenu-1.9 223 RMD160 5660a0ca661008ba2f3a6f7d78e540ce0411baf8 files/digest-dmenu-1.9 223 SHA256 46d41149fe63631e64015c792dfd170d2646d57c1f33e3958d7667600684a11e files/digest-dmenu-1.9 223 +MD5 47f1635c7a63181a675cfe48e62a0728 files/digest-dmenu-2.0 223 +RMD160 98d68c64abd32159a7421b4973a689763abccc9d files/digest-dmenu-2.0 223 +SHA256 cb0a42a5bdb4766e4106aff1c50ce7d7a9a6f97470d7cb4f88ebbdbc9470d362 files/digest-dmenu-2.0 223 diff --git a/x11-misc/dmenu/dmenu-2.0.ebuild b/x11-misc/dmenu/dmenu-2.0.ebuild new file mode 100644 index 000000000000..d56eb7fe0ede --- /dev/null +++ b/x11-misc/dmenu/dmenu-2.0.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.0.ebuild,v 1.1 2007/01/16 19:32:47 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.0 b/x11-misc/dmenu/files/digest-dmenu-2.0 new file mode 100644 index 000000000000..c7ca5784c52c --- /dev/null +++ b/x11-misc/dmenu/files/digest-dmenu-2.0 @@ -0,0 +1,3 @@ +MD5 af6fc317c6ea309346108f7e235bb29c dmenu-2.0.tar.gz 7981 +RMD160 64d1547cfdc24e320347bb3333dfdc113c273b84 dmenu-2.0.tar.gz 7981 +SHA256 575880a4ef903771ae884eb40bdfe06303a85190b3884a6b196b36883597d525 dmenu-2.0.tar.gz 7981 -- 2.26.2