Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88528 - rmutt-1.3.ebuild (New)
Summary: rmutt-1.3.ebuild (New)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 17:57 UTC by Tyson Burghardt
Modified: 2018-06-07 18:24 UTC (History)
3 users (show)

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


Attachments
rmutt-1.3.ebuild (New) (rmutt-1.3.ebuild,639 bytes, text/plain)
2005-04-09 17:59 UTC, Tyson Burghardt
Details
rmutt-1.4.0_alpha1.ebuild (New) (rmutt-1.4.0_alpha1.ebuild,662 bytes, text/plain)
2005-04-09 18:00 UTC, Tyson Burghardt
Details
rmutt-1.3.ebuild (Update) (rmutt-1.3.ebuild,539 bytes, text/plain)
2005-04-11 08:31 UTC, Tyson Burghardt
Details
rmutt-1.4.0_alpha1.ebuild (Update) (rmutt-1.4.0_alpha1.ebuild,562 bytes, text/plain)
2005-04-11 08:32 UTC, Tyson Burghardt
Details
rmutt-1.3.ebuild (Update) (rmutt-1.3.ebuild,497 bytes, text/plain)
2005-04-11 11:27 UTC, Tyson Burghardt
Details
rmutt-1.4.0_alpha1.ebuild (Update) (rmutt-1.4.0_alpha1.ebuild,520 bytes, text/plain)
2005-04-11 11:27 UTC, Tyson Burghardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Burghardt 2005-04-09 17:57:36 UTC
Attached is rmutt-1.3.ebuild.

rmutt is a command-line application for creating random texts based on a user-specificed grammar, in much the same way as the fabled DaDa Engine.  Development has been stuck at 1.2.1 for a long time, but 1.3 is now the stable version.

rmutt-1.4.0_alpha1.ebuild is another submission

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tyson Burghardt 2005-04-09 17:59:09 UTC
Created attachment 55817 [details]
rmutt-1.3.ebuild (New)
Comment 2 Tyson Burghardt 2005-04-09 18:00:11 UTC
Created attachment 55818 [details]
rmutt-1.4.0_alpha1.ebuild (New)

this is the current unstable version; compiles and runs fine;
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-10 17:57:09 UTC
Tyson, there are a couple of things you can do to improve your ebuilds.  For starters, don't mkdir in src_install -- instead lookup the documentation for "dodir" and "bininto".   They're better for gentoo-ifying your ebuilds.  Also, in your sed expression in src_unpack, use a different delimiter than "/" for the portions of your sed.  In other words try: sed -i "s:find:replace:" instead.

Also, do you really need that sed?  Does the Makefile not define DESTDIR or PREFIX or some such that you can override in src_install like: make DESTDIR=${D} install?

Please re-open this bug when you've made those changes, and we'll see what we can do about getting this into portage.
Comment 4 Tyson Burghardt 2005-04-11 08:28:18 UTC
Comment on attachment 55817 [details]
rmutt-1.3.ebuild (New)

><HTML><HEAD><STYLE>u { text-decoration:none!important; font-style:italic!important; }</STYLE></HEAD><BODY><PRE><SPAN># Copyright 1999-2004 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>DESCRIPTION="A utility for generating random text from context-free grammars."
>HOMEPAGE="<A href="http://www.schneertz.com/rmutt/">http://www.schneertz.com/rmutt/</A>"
>SRC_URI="<A href="http://www.schneertz.com/rmutt/${P}.tar.gz">http://www.schneertz.com/rmutt/${P}.tar.gz</A>"
>
>LICENSE="CCPL-Attribution-2.0"
>SLOT="0"
>KEYWORDS="~x86"
>
>IUSE=""
>DEPEND=""
>S=${WORKDIR}/rmutt
>
>src_unpack() {
>	unpack ${A}
>	cd "${S}"
>}
>
>src_compile() {
>	emake || die "Make failed"
>}
>
>src_install() {
>	dobin rmutt
>	make install  || die
>	dodoc TODO README SYNTAX
>}
>
></SPAN>
Comment 5 Tyson Burghardt 2005-04-11 08:31:26 UTC
Created attachment 55993 [details]
rmutt-1.3.ebuild (Update)

removed sed script and mkdirs, simplified binary installation
Comment 6 Tyson Burghardt 2005-04-11 08:32:06 UTC
Created attachment 55994 [details]
rmutt-1.4.0_alpha1.ebuild (Update)

removed sed script and mkdirs; simplified binary installation
Comment 7 Tyson Burghardt 2005-04-11 08:37:10 UTC
I have changed the scripts as per your guidelines.  The original Makefile's installation procedure did a literal 'cp $(EXE) /usr/local/bin/$(EXE)'; i.e., no DESTDIR.  However, since there's only one file, the binary rmutt to move, 'dobin rmutt' works fine for installation.

Thank you for your input; these are my first ebuilds and I just sort of puzzled it out.
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-11 11:02:14 UTC
Tyson,  you did well for your first time out :)

The only final thing (sorry!) is the src_unpack() functions are redundant now, so they can be removed.
Comment 9 Tyson Burghardt 2005-04-11 11:27:13 UTC
Created attachment 56010 [details]
rmutt-1.3.ebuild (Update)

removed redundant src_unpack function
Comment 10 Tyson Burghardt 2005-04-11 11:27:43 UTC
Created attachment 56011 [details]
rmutt-1.4.0_alpha1.ebuild (Update)

removed redundant src_unpack function
Comment 11 Tyson Burghardt 2005-04-11 11:28:52 UTC
There's always something. :-)

I take it the src_compile function is not redundant, despite the fact that it's fairly generic?
Comment 12 Tyson Burghardt 2005-05-11 06:20:21 UTC
Will any action be taken on this?
Comment 13 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-07 17:57:17 UTC
Cleaning out older open bugs.

Bump, can a decision be made on this?

Can be re-assigned to maintainer-wanted if you can't take it...
Comment 14 Arnaud Launay 2017-04-16 16:01:41 UTC
I guess this one should be closed...

$ mutt -v
Mutt 1.5.24 (2015-08-30, Gentoo 1.5.24-r2)
Comment 15 Arnaud Launay 2017-04-16 16:07:17 UTC
Wooops... Too much chocolate...
Sorry about the noise :)