Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177878 - app-emacs/mew-5.2 (version bump)
Summary: app-emacs/mew-5.2 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Emacs project
URL: http://mew.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-05-10 00:40 UTC by ArYiX
Modified: 2007-05-20 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mew-5.2.ebuild (mew-5.2.ebuild,1.16 KB, text/plain)
2007-05-10 03:39 UTC, ArYiX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ArYiX 2007-05-10 00:40:09 UTC
* Full S/MIME support based on GnuPG 2.
        http://www.mew.org/feature/smime.html.en
* Automatic resizing for large JPEG/PNG images.
* Hyper Estraier support.

Reproducible: Always
Comment 1 ArYiX 2007-05-10 03:39:22 UTC
Created attachment 118707 [details]
mew-5.2.ebuild
Comment 2 Ulrich Müller gentoo-dev 2007-05-10 07:57:32 UTC
Hi, thank you for submitting the ebuild. Some (very minor) comments:

- virtual/emacs is not needed in RDEPEND since it is already in the
  dependencies of elisp.eclass.
- It may be cleaner to introduce a variable instead of substituting ${P/_/}
  in several places. (Maybe use versionator.eclass, too?)
- Variables should be in canonical order, i.e. IUSE should be after KEYWORDS.
Comment 3 Ulrich Müller gentoo-dev 2007-05-10 09:23:42 UTC
Hm, there is the following patch in your src_unpack:
sed -i -e "s/CHECK = xemacs/CHECK = emacs/" Makefile.in || die "sed failed"

I believe $(CHECK) is only used in "make check" which is not called by the ebuild. So this patch is not needed? Or have I overlooked something?
Comment 4 Ulrich Müller gentoo-dev 2007-05-10 12:06:38 UTC
> I believe $(CHECK) is only used in "make check" which is not called by the
> ebuild. So this patch is not needed? Or have I overlooked something?

Sorry, of course it is needed with FEATURES=test ...
Comment 5 ArYiX 2007-05-10 13:13:42 UTC
(In reply to comment #4)
> > I believe $(CHECK) is only used in "make check" which is not called by the
> > ebuild. So this patch is not needed? Or have I overlooked something?
> 
> Sorry, of course it is needed with FEATURES=test ...
> 

(In reply to comment #3)
> Hm, there is the following patch in your src_unpack:
> sed -i -e "s/CHECK = xemacs/CHECK = emacs/" Makefile.in || die "sed failed"
> 
> I believe $(CHECK) is only used in "make check" which is not called by the
> ebuild. So this patch is not needed? Or have I overlooked something?
> 
using ebuild mew-5.2.ebuild test, this launch make check. i'm not sure if this is the right way.

Comment 6 Ulrich Müller gentoo-dev 2007-05-10 13:58:43 UTC
Could you please report this to upstream, too? They should either use CHECK=@emacsbin@ in Makefile.in, or add another option (like --with-check) to configure.
Comment 7 ArYiX 2007-05-10 14:14:03 UTC
(In reply to comment #6)
> Could you please report this to upstream, too? They should either use
> CHECK=@emacsbin@ in Makefile.in, or add another option (like --with-check) to
> configure.
> 

done, sended to the ML
Comment 8 Ulrich Müller gentoo-dev 2007-05-11 20:31:48 UTC
(In reply to comment #7)
> done, sended to the ML

For reference, here is upstream's answer:

   From: Kazu Yamamoto 山本和彦 <kazu <at> iij.ad.jp>
   Subject: [mew-int 2290] Re: changes request for Makefile.in on mew-5.2
   Newsgroups: gmane.mail.mew.general
   Date: 2007-05-10 14:48:47 GMT

   [...]

   I could not see what is the problem actually.

   "make check" is used only by me (the main programmer of Mew).
   This is used to detect unused local variables.
   Mew does not support XEmacs anymore. But since Emacs does not
   have this functionality, I'm still using XEmacs
   to detect unused variables.

   So, CHECK must be 'xemacs'. And people are not supposed to
   use 'make check'.

This means that we should just use RESTRICT="test" here.
Comment 9 Ulrich Müller gentoo-dev 2007-05-20 22:20:57 UTC
Version bumped (copying mew-5.1.ebuild). Thanks for reporting.