Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18694 - (emacs) ESS: Emacs Speaks Statistics (request for)
Summary: (emacs) ESS: Emacs Speaks Statistics (request for)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Emacs project
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-04-03 11:11 UTC by Matthew Kennedy (RETIRED)
Modified: 2004-03-14 01:07 UTC (History)
1 user (show)

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


Attachments
tarball with ess ebuild files. (ess-ebuild.tar.bz2,1.54 KB, application/octet-stream)
2003-04-20 02:06 UTC, Steve Juranich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kennedy (RETIRED) gentoo-dev 2003-04-03 11:11:55 UTC
Hi Matt, please add ESS (Emacs Speaks Statistics) to app-emacs. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Steve Juranich 2003-04-20 02:06:58 UTC
Created attachment 10896 [details]
tarball with ess ebuild files.

Contains ChangeLog, ess-5.1.24.ebuild, and files/digest-ess-5.1.24.
Comment 2 Steve Juranich 2003-04-20 02:09:03 UTC
I've uploaded an ebuild to make the ess package for GNU emacs.  This was my first one, so I might have botched some policy-related things.  But the script works (at least, it works for me).

Thanks.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-14 01:07:23 UTC
Steve, sorry for the delay. I looked at your ebuild and it looks
clean but has several problems. First, copying PDF files should be
done in src_install(), i.e.

src_install(){
	...

	insinto /usr/share/doc/${P}
	doins doc/ess-intro.pdf
	insinto /usr/share/doc/${P}/example
	doins etc/function-outline.S
	# doins doesn't support recursive operation atm...
	cp -Rf etc/other/S-spread ${D}/usr/share/doc/${P}/examples
}

would be better than doing it in pkg_postinst(). (If you copy files
in src_install(), you don't need to write pkg_prerm() ) Second, I
added 50ess-gentoo.el, which is missing from your ebuild tarball.
Third, I updated SRC_URI and HOMEPAGE to point the latest address
(I guess these variables pointed the right address when you updated
the ebuild almost a year ago. We are sorry for this).

After fixing these problems, your ebuild emerged and worked great.

I added it to CVS. Thanks for the contribution.