Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99733 - Add ebuild for webdot
Summary: Add ebuild for webdot
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-07-20 16:11 UTC by Kevin Quick
Modified: 2005-08-19 09:18 UTC (History)
0 users

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


Attachments
webdot ebuild tarball (webdot_2.2_ebuild.tbz2,1.79 KB, application/octet-stream)
2005-07-20 16:12 UTC, Kevin Quick
Details
Webdot 2.2 ebuild (webdot-2.2.ebuild,2.99 KB, text/plain)
2005-07-21 07:09 UTC, Kevin Quick
Details
webdot ChangeLog (ChangeLog,331 bytes, text/plain)
2005-07-21 07:13 UTC, Kevin Quick
Details
webdot 2.2 digest (digest,62 bytes, text/plain)
2005-07-21 07:14 UTC, Kevin Quick
Details
Webdot 2.2 ebuild (webdot-2.2.ebuild,2.87 KB, text/plain)
2005-08-19 07:13 UTC, Kevin Quick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Quick 2005-07-20 16:11:22 UTC
Attached is a candidate ebuild package for the webdot utility.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kevin Quick 2005-07-20 16:12:35 UTC
Created attachment 63934 [details]
webdot ebuild tarball

ebuild tarball for webdot 2.2
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-20 16:28:18 UTC
(In reply to comment #1)
> Created an attachment (id=63934) [edit]
> webdot ebuild tarball

No tarballs, please. Plaintext ebuild (and patches if needed) is all we need. 

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 01:10:57 UTC
Reopen once you've attached plaintext files. Thanks.
Comment 4 Kevin Quick 2005-07-21 07:09:44 UTC
Created attachment 63986 [details]
Webdot 2.2 ebuild
Comment 5 Kevin Quick 2005-07-21 07:13:08 UTC
Created attachment 63987 [details]
webdot ChangeLog

Initial ChangeLog submission; should be updated by gentoo
developer when package added to portage tree.

Suggested category for this ebuild: media-gfx
Comment 6 Kevin Quick 2005-07-21 07:14:15 UTC
Created attachment 63988 [details]
webdot 2.2 digest
Comment 7 Kevin Quick 2005-07-21 07:15:56 UTC
Sorry about that; I think the new attachments are in concordance with
the documentation now, so I've re-opened this issue for consideration.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 07:22:12 UTC
(In reply to comment #7)
> Sorry about that; I think the new attachments are in concordance with
> the documentation now, so I've re-opened this issue for consideration.

Thanks. Just for future, digests and Changelog are not needed. 
Comment 9 Ciaran McCreesh 2005-08-18 18:43:03 UTC
Please fix the following and reopen:

* KEYWORDS are against policy.
* ${S} needs quoting.
* You should probably be using webapp-config for the locations.
Comment 10 Kevin Quick 2005-08-18 21:45:14 UTC
* KEYWORDS are against policy.

All KEYWORDS are tilde-prefixed, as per:

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?
part=2&chap=3#doc_chap2

It's unclear what policy you are referring to.


* ${S} needs quoting.

Huh?

This statement needs quoting?!: cd ${S}
Or this one?!:                  cd ${S}/html/webdot

These (and similar) are the only uses of ${S} in the ebuild.
I'm afraid I don't understand your requirement.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-08-19 02:07:28 UTC
(In reply to comment #10)

> All KEYWORDS are tilde-prefixed, as per:
> 
> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?
> part=2&chap=3#doc_chap2

Ok, so I assume that you personally tested the ebuild on 

alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86
x86-fbsd x86-obsd x86-od

If you actually haven't, then remove all the keywords where this ebuild is untested.

Comment 12 Kevin Quick 2005-08-19 07:13:48 UTC
Created attachment 66318 [details]
Webdot 2.2 ebuild

trimmed keywords
Comment 13 Kevin Quick 2005-08-19 07:16:54 UTC
(In reply to comment #11)
> Ok, so I assume that you personally tested the ebuild on 
> 
> alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc 
x86
> x86-fbsd x86-obsd x86-od

No, I didn't specifically run it myself on all of those architectures.

However, it's a TCL script.  It's architecture independent.

> If you actually haven't, then remove all the keywords where this ebuild is 
untested.

Done.

Comment 14 Ciaran McCreesh 2005-08-19 07:56:28 UTC
Yeah, ${S} could potentially at some point in the distant future, so we're
trying (slowly) to get it quoted to avoid problems.

I can guarantee that your package won't work on at least some of your original
arch list. Keyword policy says ~ keywords only for things on which it has been
tested, not on things on which you think it might work.

This still needs to be switched to use webapp-config to determine webserver paths.

Thanks
Comment 15 Kevin Quick 2005-08-19 09:18:36 UTC
(In reply to comment #14)
> Yeah, ${S} could potentially at some point in the distant future, so we're
> trying (slowly) to get it quoted to avoid problems.

OK, so if I understand correctly, you are requesting the shell code in the
ebuild to change to:

   cd "${S}"

I'll make this change in the next update (or let me know if I've missed the mark 
here).

> This still needs to be switched to use webapp-config to determine webserver 
paths.

OK.  I was unaware of webapp-config (and lots of other stuff, obviously :-).
I knew the internal assumptions were a hack, but couldn't find any existing
ebuilds that pointed me in the right direction.

I'll work on getting it converted over before I re-open this one.

> Thanks

Thanks for the additional clarification.  BTW, it might help if there was some
documentation that gave more specifics about creating ebuilds.  The 
documentation that exists (that I've seen) is good but pretty general.
Adding links to sub-documents for specific categories of ebuilds (e.g. webtools,
python extensions, tetex packages, etc.) would be helpful.  Also, some notes 
about the intended direction of ebuilds, like adding the quoting to ${S} and
the like.  I assume most ebuilds are based on existing ebuilds; the latter
information could save some of the back-and-forth that I've caused on this one,
and which I suspect you're dealing with elsewhere as well.