see attachments http://bugs.gentoo.org/show_bug.cgi?id=27752
*** Bug 90504 has been marked as a duplicate of this bug. ***
I created an ebuild for app-emacs/remember for the last release 1.9 (of a few days ago) based on the ebuild of app-emacs/planner.
Created attachment 93807 [details] ebuild for app-emacs/remember version 1.9
Created attachment 93808 [details] metadata for app-emacs/remember
Created attachment 93809 [details] site file for app-emacs/remember
Created attachment 94032 [details] remember-1.9.ebuild; removed explicit setting of ${S} Evan, pretty good ebuild. I uploaded a new one with just one difference: --- remember-1.9.ebuild 2006-08-12 15:28:32.060216571 +0900 +++ remember-1.9.ebuild.jmglov 2006-08-12 15:28:15.581898609 +0900 @@ -20,8 +20,6 @@ SITEFILE=50remember-gentoo.el -S="${WORKDIR}/${P}" - src_compile() { emake || die } No need to set S manually to the default. :) Now, here is what I get when I emerge it: >>> Compiling source in /var/tmp/portage/remember-1.9/work/remember-1.9 ... Wrote /var/tmp/portage/remember-1.9/work/remember-1.9/read-file-name.elc Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-bibl.el: !! File error (("Cannot open load file" "url")) Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-bbdb.el: !! File error (("Cannot open load file" "bbdb-com")) Done Wrote /var/tmp/portage/remember-1.9/work/remember-1.9/remember-diary.elc Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-blosxom.el: !! File error (("Cannot open load file" "emacs-wiki-blosxom")) Done Wrote /var/tmp/portage/remember-1.9/work/remember-1.9/remember.elc Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-emacs-wiki-journal.el: !! File error (("Cannot open load file" "emacs-wiki-journal")) Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-experimental.el: !! File error (("Cannot open load file" "planner")) Done While compiling toplevel forms in file /var/tmp/portage/remember-1.9/work/remember-1.9/remember-planner.el: !! File error (("Cannot open load file" "planner")) Done makeinfo remember-el.texi >>> Source compiled. This does not stop remember from being emerged, and it seems to work. Are these optional dependencies or something?
GNU Emacs Herd: I'll be happy to take this bug, as I am helping Evan with his first ebuild submission. Let me know if you guys are cool with this.
(In reply to comment #6) > No need to set S manually to the default. :) Thanks for the correction > Now, here is what I get when I emerge it: > [snip] > > This does not stop remember from being emerged, and it seems to work. Are these > optional dependencies or something? Yes, I had some of those also, although less than you because I have more app-emacs/... packages installed. remember-el works with several backends and can make back-links to several kind of buffers, so I think that these are optional dependencies, and we don't need to satisfy them by default. But I wonder what happens if we install one of those dependencies later and expect it to work together with remember-el. I just sent an email to check with the upstream mailing list.
I posted to the remember mailing list, and the current maintainer Michael Olson replied that they are all optional dependences [1]. Would the best approach be to generate separate packages? [1] https://mail.gna.org/public/remember-el-discuss/2006-08/msg00008.html
Created attachment 94605 [details] New version of remember-1.9.ebuild; added local USE flags for optional dependencies No, there is no need to create separate packages. This is a perfect application for local USE variables. See: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap2_sect5 However, there are not ebuilds for emacs-wiki-blosxom, emacs-wiki-journal, or app-emacs/url in Portage yet. Evan, your mission, should you choose to accept it, is to create ebuilds for each of them, so we can add three more local USE flags and thus provide support for all of remember's optional dependencies.
Created attachment 94606 [details, diff] Patch to use.local.desc containing new local USE flags
I have not heard any complaints from the GNU Emacs herd, so I am taking this bug.
Accepting bug.
Ebuild commited to Portage CVS.