* [gentoo-dev] ebuild creation assistance...
@ 2004-05-09 1:21 John David Ratliff
2004-05-09 1:40 ` Brett I. Holcomb
2004-05-09 19:48 ` Joseph Booker
0 siblings, 2 replies; 9+ messages in thread
From: John David Ratliff @ 2004-05-09 1:21 UTC (permalink / raw
To: gentoo-dev
I want to create an ebuild for a software package, but I am confused on
the directions. The ebuild HOWTO tells me to checkout portage from CVS,
however, it lists no CVS server or what kind of authentication to use.
Is this restricted to 'official' developers? If so, can I still create
and submit an ebuild? If not, what is the CVSROOT setting so I can
checkout portage?
I also need to add the software to the gentoo mirrors. I read in one of
the HOWTOs that cvs snapshots could be added to the mirror. This is
similar, except they use the same filename for every new version, so
there is no way to know which version you are downloading from their
site. Additionally, each new version requires different a specific
version of another package to be downloaded, so it is crucial that the
version of the original package is known. So I thought maybe I could add
this with a version number to the gentoo mirror.
Finally, I am unsure where in portage it should be added. It is a
cross-compiler for C into native binaries for a specific kind of
calculator. The software is a modified version of GCC and binutils.
Thanks...
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 1:21 [gentoo-dev] ebuild creation assistance John David Ratliff
@ 2004-05-09 1:40 ` Brett I. Holcomb
2004-05-09 2:23 ` John David Ratliff
2004-05-09 19:48 ` Joseph Booker
1 sibling, 1 reply; 9+ messages in thread
From: Brett I. Holcomb @ 2004-05-09 1:40 UTC (permalink / raw
To: gentoo-dev
To just create an ebuild you don't need to check out the portage tree.
Use an existing one as a sample - there is a skel.ebuild to use as a
model. Once the ebuild works submit it on bugzilla. However, first check
bugzilla to make sure there isn't already one there for the app.
I would recommend setting the PORTDIR_OVERLAY in /etc/make.conf. Mine is
/usr/local/portage. Create the directory structure needed
(category/package) in PORTDIR_OVERLAY and do your work there. I copy an
existing ebuild that is close to what I want and modify it.
On Sat, 8 May 2004, John David Ratliff wrote:
> I want to create an ebuild for a software package, but I am confused on
> the directions. The ebuild HOWTO tells me to checkout portage from CVS,
> however, it lists no CVS server or what kind of authentication to use.
> Is this restricted to 'official' developers? If so, can I still create
> and submit an ebuild? If not, what is the CVSROOT setting so I can
> checkout portage?
>
> I also need to add the software to the gentoo mirrors. I read in one of
> the HOWTOs that cvs snapshots could be added to the mirror. This is
> similar, except they use the same filename for every new version, so
> there is no way to know which version you are downloading from their
> site. Additionally, each new version requires different a specific
> version of another package to be downloaded, so it is crucial that the
> version of the original package is known. So I thought maybe I could add
> this with a version number to the gentoo mirror.
>
> Finally, I am unsure where in portage it should be added. It is a
> cross-compiler for C into native binaries for a specific kind of
> calculator. The software is a modified version of GCC and binutils.
>
> Thanks...
>
>
> --
> gentoo-dev@gentoo.org mailing list
>
--
Brett I. Holcomb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 1:40 ` Brett I. Holcomb
@ 2004-05-09 2:23 ` John David Ratliff
2004-05-09 2:36 ` Peter Ruskin
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: John David Ratliff @ 2004-05-09 2:23 UTC (permalink / raw
To: gentoo-dev
Brett I. Holcomb wrote:
>To just create an ebuild you don't need to check out the portage tree.
>Use an existing one as a sample - there is a skel.ebuild to use as a
>model. Once the ebuild works submit it on bugzilla. However, first check
>bugzilla to make sure there isn't already one there for the app.
>
>I would recommend setting the PORTDIR_OVERLAY in /etc/make.conf. Mine is
>/usr/local/portage. Create the directory structure needed
>(category/package) in PORTDIR_OVERLAY and do your work there. I copy an
>existing ebuild that is close to what I want and modify it.
>
>
>
Thanks. This is mostly what I have done.
Another question. What is wrong with this name for an ebuild
tigcc-0.95_beta8r1.ebuild
The version is 0.95 beta 8r1 (This is what they call it).
Remove the r1, and there are no problems. Should I just change it to
maybe tigcc-0.95_beta8.ebuild
Thanks...
>
> On Sat, 8 May 2004, John David Ratliff wrote:
>
>
>
>>I want to create an ebuild for a software package, but I am confused on
>>the directions. The ebuild HOWTO tells me to checkout portage from CVS,
>>however, it lists no CVS server or what kind of authentication to use.
>>Is this restricted to 'official' developers? If so, can I still create
>>and submit an ebuild? If not, what is the CVSROOT setting so I can
>>checkout portage?
>>
>>I also need to add the software to the gentoo mirrors. I read in one of
>>the HOWTOs that cvs snapshots could be added to the mirror. This is
>>similar, except they use the same filename for every new version, so
>>there is no way to know which version you are downloading from their
>>site. Additionally, each new version requires different a specific
>>version of another package to be downloaded, so it is crucial that the
>>version of the original package is known. So I thought maybe I could add
>>this with a version number to the gentoo mirror.
>>
>>Finally, I am unsure where in portage it should be added. It is a
>>cross-compiler for C into native binaries for a specific kind of
>>calculator. The software is a modified version of GCC and binutils.
>>
>>Thanks...
>>
>>
>>--
>>gentoo-dev@gentoo.org mailing list
>>
>>
>>
>
>
>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 2:23 ` John David Ratliff
@ 2004-05-09 2:36 ` Peter Ruskin
2004-05-09 2:40 ` Brett I. Holcomb
2004-05-09 7:05 ` Drake Wyrm
2 siblings, 0 replies; 9+ messages in thread
From: Peter Ruskin @ 2004-05-09 2:36 UTC (permalink / raw
To: gentoo-dev
On Sunday 09 May 2004 03:23, John David Ratliff wrote:
> Another question. What is wrong with this name for an ebuild
>
> tigcc-0.95_beta8r1.ebuild
>
> The version is 0.95 beta 8r1 (This is what they call it).
>
> Remove the r1, and there are no problems. Should I just change it to
> maybe tigcc-0.95_beta8.ebuild
Errrm...RTFM before posting please.
http://www.gentoo.org/doc/en/policy.xml (3. Ebuild policy) to be
precise.
--
Peter
========================================================================
Gentoo Linux: Portage 2.0.50-r6. kernel-2.6.5-gentoo-r1.
i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.2.
KDE: 3.2.2. Qt: 3.3.2.
========================================================================
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 2:23 ` John David Ratliff
2004-05-09 2:36 ` Peter Ruskin
@ 2004-05-09 2:40 ` Brett I. Holcomb
2004-05-09 2:57 ` John David Ratliff
2004-05-09 7:05 ` Drake Wyrm
2 siblings, 1 reply; 9+ messages in thread
From: Brett I. Holcomb @ 2004-05-09 2:40 UTC (permalink / raw
To: gentoo-dev
On Sat, 8 May 2004, John David Ratliff wrote:
Check the docs on the Gentoo site for nameing convention. I ran into this
on an ebuild - currently emerge can't handle some of the names that are
used. As long as the various ${P} ${PN} variables get set correctly in
the ebuild you and change the name as you suggest. Whether or not it
works depends on how the source you're getting it from stores it. I had
one where the source needed the extra version info to retrieve it properly
but portage wouldn't handle it
> Brett I. Holcomb
wrote: >
> >To just create an ebuild you don't need to check out the portage tree.
> >
> >
> >
> Thanks. This is mostly what I have done.
>
> Another question. What is wrong with this name for an ebuild
>
> tigcc-0.95_beta8r1.ebuild
>
> The version is 0.95 beta 8r1 (This is what they call it).
>
> Remove the r1, and there are no problems. Should I just change it to
> maybe tigcc-0.95_beta8.ebuild
>
> Thanks...
>
> >
> > On Sat, 8 May 2004, John David Ratliff wrote:
> >
> >
> >
> >>I want to create an ebuild for a software package, but I am confused on
> >>the directions. The ebuild HOWTO tells me to checkout portage from CVS,
> >>however, it lists no CVS server or what kind of authentication to use.
> >>Is this restricted to 'official' developers? If so, can I still create
> >>and submit an ebuild? If not, what is the CVSROOT setting so I can
> >>checkout portage?
> >>
> >>I also need to add the software to the gentoo mirrors. I read in one of
> >>the HOWTOs that cvs snapshots could be added to the mirror. This is
> >>similar, except they use the same filename for every new version, so
> >>there is no way to know which version you are downloading from their
> >>site. Additionally, each new version requires different a specific
> >>version of another package to be downloaded, so it is crucial that the
> >>version of the original package is known. So I thought maybe I could add
> >>this with a version number to the gentoo mirror.
> >>
> >>Finally, I am unsure where in portage it should be added. It is a
> >>cross-compiler for C into native binaries for a specific kind of
> >>calculator. The software is a modified version of GCC and binutils.
> >>
> >>Thanks...
> >>
> >>
> >>--
> >>gentoo-dev@gentoo.org mailing list
> >>
> >>
> >>
> >
> >
> >
>
>
> --
> gentoo-dev@gentoo.org mailing list
>
--
Brett I. Holcomb
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 2:40 ` Brett I. Holcomb
@ 2004-05-09 2:57 ` John David Ratliff
2004-05-09 3:05 ` George Shapovalov
0 siblings, 1 reply; 9+ messages in thread
From: John David Ratliff @ 2004-05-09 2:57 UTC (permalink / raw
To: gentoo-dev
Brett I. Holcomb wrote:
>On Sat, 8 May 2004, John David Ratliff wrote:
>Check the docs on the Gentoo site for nameing convention. I ran into this
>on an ebuild - currently emerge can't handle some of the names that are
>used. As long as the various ${P} ${PN} variables get set correctly in
>the ebuild you and change the name as you suggest. Whether or not it
>works depends on how the source you're getting it from stores it. I had
>one where the source needed the extra version info to retrieve it properly
>but portage wouldn't handle it
>
>
Yes. I missed the word integer before. It doesn't seem there is anyway
to specify this revision 1 except in -r1, which seems reserved for
Gentoo Linux specifics. I will just drop the r1 I suppose.
John Ratliff
>
> > Brett I. Holcomb
>wrote: >
>
>
>>>To just create an ebuild you don't need to check out the portage tree.
>>>
>>>
>>>
>>>
>>>
>>Thanks. This is mostly what I have done.
>>
>>Another question. What is wrong with this name for an ebuild
>>
>>tigcc-0.95_beta8r1.ebuild
>>
>>The version is 0.95 beta 8r1 (This is what they call it).
>>
>>Remove the r1, and there are no problems. Should I just change it to
>>maybe tigcc-0.95_beta8.ebuild
>>
>>Thanks...
>>
>>
>>
>>>On Sat, 8 May 2004, John David Ratliff wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I want to create an ebuild for a software package, but I am confused on
>>>>the directions. The ebuild HOWTO tells me to checkout portage from CVS,
>>>>however, it lists no CVS server or what kind of authentication to use.
>>>>Is this restricted to 'official' developers? If so, can I still create
>>>>and submit an ebuild? If not, what is the CVSROOT setting so I can
>>>>checkout portage?
>>>>
>>>>I also need to add the software to the gentoo mirrors. I read in one of
>>>>the HOWTOs that cvs snapshots could be added to the mirror. This is
>>>>similar, except they use the same filename for every new version, so
>>>>there is no way to know which version you are downloading from their
>>>>site. Additionally, each new version requires different a specific
>>>>version of another package to be downloaded, so it is crucial that the
>>>>version of the original package is known. So I thought maybe I could add
>>>>this with a version number to the gentoo mirror.
>>>>
>>>>Finally, I am unsure where in portage it should be added. It is a
>>>>cross-compiler for C into native binaries for a specific kind of
>>>>calculator. The software is a modified version of GCC and binutils.
>>>>
>>>>Thanks...
>>>>
>>>>
>>>>--
>>>>gentoo-dev@gentoo.org mailing list
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>--
>>gentoo-dev@gentoo.org mailing list
>>
>>
>>
>
>
>
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 2:57 ` John David Ratliff
@ 2004-05-09 3:05 ` George Shapovalov
0 siblings, 0 replies; 9+ messages in thread
From: George Shapovalov @ 2004-05-09 3:05 UTC (permalink / raw
To: gentoo-dev
On Saturday 08 May 2004 19:57, John David Ratliff wrote:
> Yes. I missed the word integer before. It doesn't seem there is anyway
> to specify this revision 1 except in -r1, which seems reserved for
> Gentoo Linux specifics. I will just drop the r1 I suppose.
What are the chances of getting r2 and actually needing it in portage (rather
than beta9 or even release, that is)? If it is quite likely that r2 will be
needed, then you might consider adding it as r81 or even r081, if more than
r9 is likely to be created. Otherwise just dropping the r1 should be safe of
course
.
Yea, its getting complicated :), but I've been bitten by a few packages with
weird ideas on versioning and it is usually not very easy to "correct" your
shortcut if you want to keep the right secuence of majority when some new
unanticipated element in package version comes up...
George
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 2:23 ` John David Ratliff
2004-05-09 2:36 ` Peter Ruskin
2004-05-09 2:40 ` Brett I. Holcomb
@ 2004-05-09 7:05 ` Drake Wyrm
2 siblings, 0 replies; 9+ messages in thread
From: Drake Wyrm @ 2004-05-09 7:05 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
At Sat, 2004-05-08T21:23:53-0500, John David Ratliff <jdratlif@indiana.edu> wrote:
[snip]
> Another question. What is wrong with this name for an ebuild
>
> tigcc-0.95_beta8r1.ebuild
>
> The version is 0.95 beta 8r1 (This is what they call it).
>
> Remove the r1, and there are no problems. Should I just change it to
> maybe tigcc-0.95_beta8.ebuild
Portage supports trailing letters on the version numbers. Perhaps you
could translate "r1"="a", "r2"="b", etc.
--
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
--Ghost in the Shell
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] ebuild creation assistance...
2004-05-09 1:21 [gentoo-dev] ebuild creation assistance John David Ratliff
2004-05-09 1:40 ` Brett I. Holcomb
@ 2004-05-09 19:48 ` Joseph Booker
1 sibling, 0 replies; 9+ messages in thread
From: Joseph Booker @ 2004-05-09 19:48 UTC (permalink / raw
To: gentoo-dev
John David Ratliff said:
> I want to create an ebuild for a software package, but I am confused on
> the directions. The ebuild HOWTO tells me to checkout portage from CVS,
> however, it lists no CVS server or what kind of authentication to use.
> Is this restricted to 'official' developers? If so, can I still create
> and submit an ebuild? If not, what is the CVSROOT setting so I can
> checkout portage?
>
> I also need to add the software to the gentoo mirrors. I read in one of
> the HOWTOs that cvs snapshots could be added to the mirror. This is
> similar, except they use the same filename for every new version, so
> there is no way to know which version you are downloading from their
> site. Additionally, each new version requires different a specific
> version of another package to be downloaded, so it is crucial that the
> version of the original package is known. So I thought maybe I could add
> this with a version number to the gentoo mirror.
>
> Finally, I am unsure where in portage it should be added. It is a
> cross-compiler for C into native binaries for a specific kind of
> calculator. The software is a modified version of GCC and binutils.
>
> Thanks...
im gonna take a guess that since hes posted here:
http://smallurl.com?i=11612 the linux maintainer of tigcc is probly a
gentooian also, maybe you can get in contact with him over help with
naming the ebuild or maintaining it
--
Joe Booker
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-05-09 19:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-09 1:21 [gentoo-dev] ebuild creation assistance John David Ratliff
2004-05-09 1:40 ` Brett I. Holcomb
2004-05-09 2:23 ` John David Ratliff
2004-05-09 2:36 ` Peter Ruskin
2004-05-09 2:40 ` Brett I. Holcomb
2004-05-09 2:57 ` John David Ratliff
2004-05-09 3:05 ` George Shapovalov
2004-05-09 7:05 ` Drake Wyrm
2004-05-09 19:48 ` Joseph Booker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox