diff options
Diffstat (limited to 'x11-misc/dmenu')
-rw-r--r-- | x11-misc/dmenu/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/dmenu/Manifest | 16 | ||||
-rw-r--r-- | x11-misc/dmenu/dmenu-1.9.ebuild | 80 | ||||
-rw-r--r-- | x11-misc/dmenu/files/digest-dmenu-1.9 | 3 |
4 files changed, 101 insertions, 5 deletions
diff --git a/x11-misc/dmenu/ChangeLog b/x11-misc/dmenu/ChangeLog index 2bc4328c1693..60b5ef996276 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.3 2007/01/07 14:53:07 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dmenu/ChangeLog,v 1.4 2007/01/13 14:10:36 cedk Exp $ + +*dmenu-1.9 (13 Jan 2007) + + 13 Jan 2007; Cedric Krier <cedk@gentoo.org> +dmenu-1.9.ebuild: + Version bump 07 Jan 2007; Cedric Krier <cedk@gentoo.org> dmenu-1.8-r1.ebuild: Improve pkg_preinst diff --git a/x11-misc/dmenu/Manifest b/x11-misc/dmenu/Manifest index 7e1615908fb1..4b82361a12e0 100644 --- a/x11-misc/dmenu/Manifest +++ b/x11-misc/dmenu/Manifest @@ -1,4 +1,5 @@ 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 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 @@ -7,10 +8,14 @@ EBUILD dmenu-1.8.ebuild 852 RMD160 92cb29816220431e717f4c7aa0e7b2171a4cdbd8 SHA1 MD5 708f6cabf88bd367d7c43c19c0b892c2 dmenu-1.8.ebuild 852 RMD160 92cb29816220431e717f4c7aa0e7b2171a4cdbd8 dmenu-1.8.ebuild 852 SHA256 7a020dd940e066edcd88d7f6517b36dd4aa688d89e25e0de49adad78e3c856df dmenu-1.8.ebuild 852 -MISC ChangeLog 541 RMD160 52318cd4412bdf95ab4c05d10b23bc981b186481 SHA1 399310c98732b70ee84b9bf0c5f97aa5194983be SHA256 5067bf8cc36df9b8789b0157d31ac7e86a8eba60c54edbce14a736e8db67409b -MD5 bbefed7798f528dc2c10431ab7cd6185 ChangeLog 541 -RMD160 52318cd4412bdf95ab4c05d10b23bc981b186481 ChangeLog 541 -SHA256 5067bf8cc36df9b8789b0157d31ac7e86a8eba60c54edbce14a736e8db67409b ChangeLog 541 +EBUILD dmenu-1.9.ebuild 2159 RMD160 d1a2ff5268fbe245e398dae56c3a2512f36c73c5 SHA1 34ade0cdcccd539802433911a53590baa0533f98 SHA256 82a2d8e7b71cae86e70bc54675c8c3ef048487b5de4e6b4bbe820bd5728e1531 +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 MISC metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f SHA1 ef592e4169ca16e31a24d264c480722112b740e2 SHA256 341ef52d92764d360158c96773c3d73939970d958b8dd066204741f43ee7dd92 MD5 cebc51f16b631fdc38e0f97ffefe8ea4 metadata.xml 362 RMD160 5f550b91126dc9e09be2d8bbdc20eaca796bbc0f metadata.xml 362 @@ -21,3 +26,6 @@ SHA256 965399a4a43406b1cef556f99f3fc2c1cd6237c93003db030b4b354226468fac files/di MD5 aaa97e88773876b293882d16cbc74ba2 files/digest-dmenu-1.8-r1 223 RMD160 14f552a44062adc03e902d9b113faeb057c341cd files/digest-dmenu-1.8-r1 223 SHA256 965399a4a43406b1cef556f99f3fc2c1cd6237c93003db030b4b354226468fac files/digest-dmenu-1.8-r1 223 +MD5 bb6da64eab79d80a51e67e0432cf85d0 files/digest-dmenu-1.9 223 +RMD160 5660a0ca661008ba2f3a6f7d78e540ce0411baf8 files/digest-dmenu-1.9 223 +SHA256 46d41149fe63631e64015c792dfd170d2646d57c1f33e3958d7667600684a11e files/digest-dmenu-1.9 223 diff --git a/x11-misc/dmenu/dmenu-1.9.ebuild b/x11-misc/dmenu/dmenu-1.9.ebuild new file mode 100644 index 000000000000..bea2548c5450 --- /dev/null +++ b/x11-misc/dmenu/dmenu-1.9.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-1.9.ebuild,v 1.1 2007/01/13 14:10:36 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-1.9 b/x11-misc/dmenu/files/digest-dmenu-1.9 new file mode 100644 index 000000000000..4a333422dbdf --- /dev/null +++ b/x11-misc/dmenu/files/digest-dmenu-1.9 @@ -0,0 +1,3 @@ +MD5 cdb83ce9bc937490e66289b951127263 dmenu-1.9.tar.gz 7993 +RMD160 e8099be785a2e94161dea87c8ec91741c4ac9339 dmenu-1.9.tar.gz 7993 +SHA256 3126a58efa094660162a3af28a01b0a4b2c8f3aee7710fed8fcd5ba47527b121 dmenu-1.9.tar.gz 7993 |