Hi Please find attached texmacs-0.3.5.13.tar.gz, which contains texmacs-0.3.5.13.ebuild and a trivial patch so that it would compile on my system. (I'll send the patch upstream to the developer later tonight) GNU TeXmacs is a a very neat program, not entirely unlike LyX, in that it's used to write technical/scientific stuff with a 'What You See is What You Mean' kind of paradigm. It's inspired by TeX and Emacs, but it's got a pretty GUI, and is (IMO) nice to work with. The text rendering in it can be relatively slow on lower-end systems, as it renders text using latex's utilities. The upside is that the text (and equations) looks really good. TeXmacs depends on tetex (well, latex to be specific, but I put tetex in the ebuild because that seems to be the latex/TeX/etc distro Gentoo uses) and on guile. As it's a GUI program, it also depends on X, but on any toolkit that I'm aware of. I'm not sure what versions of latex and guile TeXmacs needs, but I know the ones I've got on my system work, so those are the ones I put in the ebuild. I'm almost certain TeXmacs would work on an old version of X, but I'm not sure, so again, I put the version I've installed, which I know works, in the ebuild. The reason I mention this in this detail is that I worry that it'll force emerge to update things when it doesn't strictly need to for some people. Is that something that's worth worrying about, and if so, what does one typically do about it? This is my first ebuild - I'm a newcomer to Gentoo, and Linux in general :) I'd appreciate if someone experienced would double-check the ebuild, and make sure I didn't make any obvious mistakes. Thanks. -AC
Created attachment 251 [details] texmacs-0.3.5.13.ebuild and a .diff patch
Ack, I've noticed that I didn't include a ChangeLog, or a digest, or even a suggested filing category. Not only that, but I flubbed the mime-type on the attachment. Mea culpa. Attached you'll find a new tar.gz, which has the same .ebuild and .diff in it as the previous one, but adds an initial ChangeLog and a digest for the .ebuild. Hopefully I'll pick a proper mime-type this time... As for filing category, I can suggest app-editors. Cheers, -AC
ok, I'm having trouble making attachments, so I'll put stuff in as plaintext. It's ugly, but hopefully it'll work. Here's texmacs-0.3.5.13.ebuild : ******************************************************************** # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Aleksey Cherman <ergodiczone@yahoo.com> # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:46:51 gbevin Exp # Source directory S=${WORKDIR}/${P} # Short one-line description of this package. DESCRIPTION="GNU TeXmacs is a free GUI scientific editor, inspired by TeX and GNU Emacs." SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${PV}-src.tar.gz" HOMEPAGE="http://www.texmacs.org/" DEPEND=">=app-text/tetex-1.0.7-r7 >=dev-util/guile-1.5.4 >=x11-base/xfree-4.2.0-r5" RDEPEND="" src_unpack() { cd ${WORKDIR} unpack TeXmacs-${PV}-src.tar.gz || die "unpack failed" mv TeXmacs-${PV}-src texmacs-${PV} cd ${S}/src/Guile/Scheme patch ./evaluate.gen.cc ${O}/files/${P}-gentoo.diff || die "patch failed" } src_compile() { ${S}/configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die "./configure failed" emake || die "make failed. Please see make's error messages for details." } src_install () { make DESTDIR=${D} install || die "make install failed" } ******************************************************************** Here's ChangeLog ******************************************************************** # ChangeLog for <CATEGORY>/texmacs # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL # /space/gentoo/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2002/02/05 00:57:47 gbevin Exp *texmacs-0.3.5.13 (27 Feb 2002) 27 Feb 2002; Aleksey Cherman <ergodiczone@yahoo.com> ChangeLog : Added initial ChangeLog. ******************************************************************** Here's texmacs-0.3.5.13-gentoo.diff : ******************************************************************** --- /var/tmp/portage/TeXmacs-0.3.5.13/work/TeXmacs-0.3.5.13-src/src/Guile/Scheme/evaluate.gen.cc Fri Feb 22 09:06:57 2002 +++ /home/alekseyc/texmacs-src/src/Guile/Scheme/evaluate.gen.cc Tue Feb 26 01:26:57 2002 @@ -100,7 +100,7 @@ SCM result= gh_eval_str (_s); delete[] _s; - int len_r; + size_t len_r; char* _r= gh_scm2newstr (result, &len_r); r= _r; free (_r); ******************************************************************** Here's digest-texmacs-0.3.5.13 : ******************************************************************** MD5 ce49f15c7dad8848615c67170a11d7d6 TeXmacs-0.3.5.13-src.tar.gz 1411108 ********************************************************************
looks good. Is there a new version out now?
Indeed :-) No real hurry now, so I'll do it when I have time == hopefully tomorrow.
1.0 now in portage under app-office.