[notmuch] Gentoo ebuild for notmuch
On Fri, 20 Nov 2009 16:09:54 +, James Rowe wrote: > The patch that follows makes it easier to use the install target > within the ebuild. If this sort of change is acceptable then the ebuild > will be simpler, and it is more likely to stay working without me > kicking heaps of patches at you. Given that I'd say "yes, please include > it." That change looks just fine to me. Pushed now. Feel free to send me more if you'd like it integrated to our repository. -Carl
[notmuch] Gentoo ebuild for notmuch
On Fri, 20 Nov 2009 10:39:35 +0100, Carl Worth wrote: > If you think it makes sense, I can add this to the notmuch repository in > a packaging/gentoo directory. Just let me know if you'd like that. Hmm... The problem is the ebuild can't currently use the install target because the file locations are incorrect for Gentoo[1]. Which means it could require quite a bit of churn to keep it synced as the build process changes. The patch that follows makes it easier to use the install target within the ebuild. If this sort of change is acceptable then the ebuild will be simpler, and it is more likely to stay working without me kicking heaps of patches at you. Given that I'd say "yes, please include it." Thanks, James 1. fex. Bash completion files are installed in to /usr/share/bash-completion, then enabled via a link in /etc/bash_completion.d if desired
[notmuch] Gentoo ebuild for notmuch
On Thu, 19 Nov 2009 00:11:46 -0800 (PST), James Rowe wrote: > Just in case other Gentoo users are trying notmuch out I thought I'd post my > ebuild(perhaps you'll make it better for me too :). It is working well up to > at least e5da2b70. Hi James, Thanks for your contribution. > I won't bother the list if it requires changes, as it is available from my > main overlay[1] if you wish to check for updated versions. If you think it makes sense, I can add this to the notmuch repository in a packaging/gentoo directory. Just let me know if you'd like that. -Carl
[notmuch] Gentoo ebuild for notmuch
Hi, Just in case other Gentoo users are trying notmuch out I thought I'd post my ebuild(perhaps you'll make it better for me too :). It is working well up to at least e5da2b70. I won't bother the list if it requires changes, as it is available from my main overlay[1] if you wish to check for updated versions. Thanks, James 1. http://github.com/JNRowe/misc-overlay/tree/master/mail-client/notmuch/ -- next part -- # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit toolchain-funcs elisp-common bash-completion git EGIT_REPO_URI="git://notmuchmail.org/git/${PN}" DESCRIPTION="Thread-based email index, search and tagging." HOMEPAGE="http://notmuchmail.org/"; SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="emacs" DEPEND="dev-util/pkgconfig ${RDEPEND}" RDEPEND="sys-libs/talloc dev-libs/gmime dev-libs/xapian emacs? ( virtual/emacs )" SITEFILE="50${PN}-gentoo.el" src_prepare() { # Change ordering in case people are using as-needed sed -i 's,\($(LDFLAGS)\)\(.*\),\2 \1,' Makefile.local } src_compile() { emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" \ || die "emake failed" if use emacs; then elisp-compile ${PN}.el || die "elisp-compile failed" fi } src_install() { # Don't use make install, because it installs compressed man pages, # bash-completion in the wrong location and emacs files unconditionally. # Three commands are quicker than patching Makefile.local locally. dobin ${PN} doman ${PN}.1 dobashcompletion notmuch-completion.bash ${PN} dodoc AUTHORS README TODO if use emacs; then elisp-install ${PN}{,.el} elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi } -- next part -- ; notmuch site-list config (add-to-list 'load-path "@SITELISP@") (autoload 'notmuch "notmuch" "Start notmuch" t)