Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30396 - New ebuild: tdtd, emacs major mode for editing DTD files
Summary: New ebuild: tdtd, emacs major mode for editing DTD files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL: http://www.menteith.com/tdtd/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-10-05 08:02 UTC by Matthieu Sozeau (RETIRED)
Modified: 2004-02-14 11:05 UTC (History)
2 users (show)

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


Attachments
ebuild package (tdtd.tar.gz,1001 bytes, application/octet-stream)
2003-10-05 08:05 UTC, Matthieu Sozeau (RETIRED)
Details
tdtd-0.7.1.ebuild (tdtd-0.7.1.ebuild,774 bytes, text/plain)
2003-10-05 15:31 UTC, Matthieu Sozeau (RETIRED)
Details
50tdtd-gentoo.el (50tdtd-gentoo.el,97 bytes, text/plain)
2003-10-05 15:31 UTC, Matthieu Sozeau (RETIRED)
Details
hard coded loadpath / batch emacs argument order fix (tdtd-0.7.1.ebuild.patch,847 bytes, patch)
2004-02-14 11:03 UTC, Matthias Foerste
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Sozeau (RETIRED) gentoo-dev 2003-10-05 08:02:22 UTC
Tdtd can be integrated with psgml to get a complete development environment for sgml editing.

The ebuild should go in app-emacs/
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2003-10-05 08:05:32 UTC
Created attachment 18786 [details]
ebuild package

The package contains an ebuild for version 0.7.1 of tdtd and a site file.
Comment 2 Matthieu Sozeau (RETIRED) gentoo-dev 2003-10-05 08:07:35 UTC
Added ebuild keyword. 
There is an 'undefined variable' warning when compiling tdtd. It seems harmless
but we should avoid it.
Comment 3 Matthieu Sozeau (RETIRED) gentoo-dev 2003-10-05 15:31:14 UTC
Created attachment 18807 [details]
tdtd-0.7.1.ebuild

Fix my bad habit of putting tarballs on bugzilla
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2003-10-05 15:31:29 UTC
Created attachment 18808 [details]
50tdtd-gentoo.el
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-07 10:28:07 UTC
Yeah, it is better to attach them separately.

I committed it with little modification. First, removed sgml IUSE flag
since it is not in /usr/portage/profiles/use.desc. You need to have
any USE flag in your ebuild in either use.desc or use.local.desc (it
would be helpful to describe any USE flags that are not listed there).
And I don't think sgml USE flag here is useful because it doesn't
actually depend on app-emacs/sgml (though it is recommended).
Second, I changed ${PN}.zip in SRC_URI to ${PN}${PV//./}.zip to use
versioned source (the upstream provides both). If you use versioned
source it will be easier to follow new release (suppose the upstream
release different sources in the same name and it corrupts ebuild
digests). Lastly, I added EMACSLOADPATH=.:/usr/share/emacs/21.3/lisp
otherwise it failed to compile ;-(

Anyhow, thanks for submitting the ebuild. I enjoy editting
/etc/fonts/fonts.dtd with this elisp ;-)
Comment 6 Matthias Foerste 2004-02-14 11:03:26 UTC
Created attachment 25611 [details, diff]
hard coded loadpath / batch emacs argument order fix

the hardcoded loadpath broke it for me (i am with emacs-cvs, so my load path is
21.3.50). it wouldnt build without at first, but reordering the arguments to
the batch emacs command fixed it for me