Re: [gentoo-user] Custom ebuilds and ebuild path not specified

2005-01-24 Thread Michael J. Barillier
> "nb" == Neil Bothwick <[EMAIL PROTECTED]> writes:

>> I'm trying to create custom ebuilds for a few packages for
>> which I'm always having to specify USE flags on the command
>> line.  (For example, I have ``+X +qt ...'' in make.conf, but I
>> want to emerge Nethack with ``USE='-X -gnome -qt''', Emacs with
>> ``USE='-X''', etc.)  I've set PORTDIR_OVERLAY to
>> /usr/local/portage in make.conf, created
>> /usr/local/portage/games-roguelike/nethack and copied
>> nethack-3.4.3-r1.ebuild over as nethack-3.4.3-custom.ebuild.  I
>> then edited the ebuild, removing the X-related bits,

nb> You should put, for example

nb> games-roguelike/nethack -X -gnome -qt

nb> into /etc/portage/package.use

I didn't realize that could be done, but now that I've actually *read*
the relevant parts of the Gentoo documentation I see that it'd be the
easier solution.  Amazing what a little reading will accomplish
... *groan* :)

Thanks, Neil!

-- 
Michael J. Barillier   | ``When you have to shoot, shoot.
 | Don't talk.''
Public key available on request.   | -- Tuco Ramirez


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Custom ebuilds and ebuild path not specified

2005-01-24 Thread James Hiscock
>   | !!! aux_get(): ebuild path for 'games-roguelike/nethack-3.4.3-custom' not 
> specified:
>   | !!!None

The problem's more than likely being caused by the '-custom' at the
end of your ebuild name. Try changing it to
nethack-custom-3.4.3.ebuild, instead, and see if that clears up your
issue.

...you'll also (more than likely) have to move the folder in your
PORTDIR_OVERLAY from games-roguelike/nethack to
games-roguelike/nethack-custom...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Custom ebuilds and ebuild path not specified

2005-01-24 Thread Neil Bothwick
On Mon, 24 Jan 2005 11:35:54 -0600, Michael J. Barillier wrote:

> I'm trying to create custom ebuilds for a few packages for which I'm
> always having to specify USE flags on the command line.  (For example,
> I have ``+X +qt ...'' in make.conf, but I want to emerge Nethack with
> ``USE='-X -gnome -qt''', Emacs with ``USE='-X''', etc.)  I've set
> PORTDIR_OVERLAY to /usr/local/portage in make.conf, created
> /usr/local/portage/games-roguelike/nethack and copied
> nethack-3.4.3-r1.ebuild over as nethack-3.4.3-custom.ebuild.  I then
> edited the ebuild, removing the X-related bits,

You should put, for example

games-roguelike/nethack -X -gnome -qt

into /etc/portage/package.use


-- 
Neil Bothwick

Do evangelists do more than lay people?

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Custom ebuilds and ebuild path not specified

2005-01-24 Thread Michael J. Barillier
I'm trying to create custom ebuilds for a few packages for which I'm
always having to specify USE flags on the command line.  (For example,
I have ``+X +qt ...'' in make.conf, but I want to emerge Nethack with
``USE='-X -gnome -qt''', Emacs with ``USE='-X''', etc.)  I've set
PORTDIR_OVERLAY to /usr/local/portage in make.conf, created
/usr/local/portage/games-roguelike/nethack and copied
nethack-3.4.3-r1.ebuild over as nethack-3.4.3-custom.ebuild.  I then
edited the ebuild, removing the X-related bits, but when I run `emerge
-s nethack' I get a message:

  ,[ # emerge -s nethack ]
  | !!! aux_get(): ebuild path for 'games-roguelike/nethack-3.4.3-custom' not 
specified:
  | !!!None
  `

I've googled for this message and checked the Gentoo forums, but the
solutions generally mention setting PORTDIR_OVERLAY, which I've
already done.  Anyone have any other ideas?

Also, when emerge looks for the ``latest'' revision to install, how
does it do this?  If I create a custom ebuild file will it always
override the latest ebuild in /usr/portage?

Thanks -

-- 
Michael J. Barillier   | ``When you have to shoot, shoot.
 | Don't talk.''
Public key available on request.   | -- Tuco Ramirez


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] custom ebuilds`

2003-12-24 Thread Andrew Cowie
On Wed, 2003-12-24 at 07:07, Ciaran McCreesh wrote:
> See the 'B' part? That's pretty appropriate. They break things. They
> break things badly.

It's certainly Buyer Beware.

I would like to point out at least one exception (which probably proves
the rule), which was the openoffice-ximian ebuild; that got developed
and tested a bit at BMG; and formed the substantive base for what is now
in Portage.

So it's not *all* bad, but I can appreciate Spider's comment about
idiots who bug Gentoo developers about problems they're having with
externally sourced ebuilds.

AfC
Toronto


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] custom ebuilds`

2003-12-24 Thread Spider
begin  quote
On Wed, 24 Dec 2003 12:42:49 +0100
mathieu perrenoud <[EMAIL PROTECTED]> wrote:

> On Wednesday 24 December 2003 04.20, Ciaran McCreesh wrote:
> > On Tue, 23 Dec 2003 18:59:02 -0800 (PST) Stephen Turner
> >
> > <[EMAIL PROTECTED]> wrote:
> > | hey guys i was curious where and how to save custom ebuilds i
> > | wanted
> > | to emerge? thanks
> >
> > If they're from BMG, /dev/null is a good place.
> 
> what's wrong with BMG's ebuilds?


The bugs we get from users who come around wanting
-SHINEY-SPARKLE-NEW-BROKEN-BROKEN-BADQUALITY- ebuilds who then think
that its ok to bug us on things that they in their limited scope of mind
consider "unrelated" because its "not the package I got from BMG.


Guess what?  
REFORMAT YOUR SYSTEM. REDO. REINSTALL.

We've had a lot of trouble with end users who take this, shiney,
sparkly, new, and KNOWN BROKEN. thing, install it, realize its BROKEN,
remove the ebuild and fix something up, then two weeks later their
system breaks when compiling, and lo and behold... They still had that
bad header file there, or it was that development library lying around
that wasn't useful.


That, together with their usually way off syntax errors, Mangled
KEYWORDS  and totally broken DEPEND section, makes me abhor and loathe
BMG ebuilds. 


So, 
   I want a contract, written in your blood, on your soul and with the
skin peeled from your back as parchment that you promise to wipe your
whole harddrive before ever touching the Gentoo bugzilla again.

No, I don't care that you think you know what you are doing,  others
thought so too. Insisted on it even.  Did that help? 



//Spider





-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] custom ebuilds`

2003-12-24 Thread Ciaran McCreesh
On Wed, 24 Dec 2003 12:42:49 +0100 mathieu perrenoud
<[EMAIL PROTECTED]> wrote:
| On Wednesday 24 December 2003 04.20, Ciaran McCreesh wrote:
| > On Tue, 23 Dec 2003 18:59:02 -0800 (PST) Stephen Turner
| >
| > <[EMAIL PROTECTED]> wrote:
| > | hey guys i was curious where and how to save custom ebuilds i
| > | wanted to emerge? thanks
| >
| > If they're from BMG, /dev/null is a good place.
| 
| what's wrong with BMG's ebuilds?

See the 'B' part? That's pretty appropriate. They break things. They
break things badly. They hose your system. Stuff in the official portage
tree doesn't usually do that (except on Tuesdays, and only if Spider
isn't looking).

-- 
Ciaran McCreesh
Mail:ciaranm at gentoo.org
Web: http://dev.gentoo.org/~ciaranm



pgp0.pgp
Description: PGP signature


Re: [gentoo-user] custom ebuilds`

2003-12-24 Thread mathieu perrenoud
On Wednesday 24 December 2003 04.20, Ciaran McCreesh wrote:
> On Tue, 23 Dec 2003 18:59:02 -0800 (PST) Stephen Turner
>
> <[EMAIL PROTECTED]> wrote:
> | hey guys i was curious where and how to save custom ebuilds i wanted
> | to emerge? thanks
>
> If they're from BMG, /dev/null is a good place.

what's wrong with BMG's ebuilds?

> Otherwise, set 
> PORTDIR_OVERLAY in /etc/make.conf to something sane (such as
> /home/overlay), make the relevant directories inside there (eg
> app-misc/newtoy) and place newtoy-1.23.ebuild there.
>
> The x/y directories bit is important, and catches a lot of people out.
> You need to have a sensible tree inside PORTDIR_OVERLAY.

-- 
mathieu

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] custom ebuilds`

2003-12-23 Thread Brian
look in /etc/make.conf  you will find an option to set or change if you
like the place to store local ebuilds.  Usually /usr/local/portage, just
uncomment the option. create the directory and then create any
categories needed to put your ebuilds in.  It needs to match the normal
portage tree or emerge won't find them.


On Tue, 2003-12-23 at 18:59, Stephen Turner wrote:
> hey guys i was curious where and how to save custom ebuilds i wanted to
> emerge? thanks
> 
> 
> =
> ::: common sense? does it come with a manual?:::
> 
> __
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
Brian <[EMAIL PROTECTED]>


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] custom ebuilds`

2003-12-23 Thread Ciaran McCreesh
On Tue, 23 Dec 2003 18:59:02 -0800 (PST) Stephen Turner
<[EMAIL PROTECTED]> wrote:
| hey guys i was curious where and how to save custom ebuilds i wanted
| to emerge? thanks

If they're from BMG, /dev/null is a good place. Otherwise, set
PORTDIR_OVERLAY in /etc/make.conf to something sane (such as
/home/overlay), make the relevant directories inside there (eg
app-misc/newtoy) and place newtoy-1.23.ebuild there.

The x/y directories bit is important, and catches a lot of people out.
You need to have a sensible tree inside PORTDIR_OVERLAY.

-- 
Ciaran McCreesh
Mail:ciaranm at gentoo.org
Web: http://dev.gentoo.org/~ciaranm



pgp0.pgp
Description: PGP signature


Re: [gentoo-user] custom ebuilds`

2003-12-23 Thread Brett I. Holcomb
Look in /etc/make.conf for a variable PORTDIR_OVERLAY which tells portage 
where else to look for ebuilds.  Also check out the docs on the Gentoo site.

On Tuesday 23 December 2003 21:59, you wrote:
> hey guys i was curious where and how to save custom ebuilds i wanted to
> emerge? thanks
>
>
> =
>
> ::: common sense? does it come with a manual?:::
>
> __
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing.
> http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list



[gentoo-user] custom ebuilds`

2003-12-23 Thread Stephen Turner
hey guys i was curious where and how to save custom ebuilds i wanted to
emerge? thanks


=
::: common sense? does it come with a manual?:::

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
[EMAIL PROTECTED] mailing list