Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to add this ebuild??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Thu Feb 07, 2013 10:06 pm    Post subject: how to add this ebuild?? Reply with quote

hi,

I am trying to add an ebuild from a highly confusing overlay:

http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino/commits/arduide

could anyone help with this?

thanks
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Feb 07, 2013 10:35 pm    Post subject: Reply with quote

Briefly you,
  • Emerge layman if you haven't already.
  • Create your own overlay list that includes the one you're interested in. The format of the XML overlay lists is shown in the layman man page. Put your list in "/etc/layman/overlays"
  • Just use "layman --add overlayname" to add the overlay.
Of course, you can clone the git repository manually and add the variables to your make.conf but layman provides such a nice management framework, it's really not worth it.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 283

PostPosted: Thu Feb 07, 2013 10:36 pm    Post subject: Reply with quote

What do you mean 'add' do you mean "build it" or "add it to portage"?

In the former case assuming you've added the overlay with layman -a then you'll need to build it. What errors do you get? In the latter if it is in the overlay why do you need to add it to portage?
_________________
Linux, the OS for the obsessive-compulsive speed freak in all of us.
Back to top
View user's profile Send private message
DanneStrat
n00b
n00b


Joined: 05 Jan 2012
Posts: 73

PostPosted: Thu Feb 07, 2013 10:40 pm    Post subject: Reply with quote

If you wondered where the arduide ebuild was located, it's here: http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino/trees/master/dev-embedded/arduide
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Feb 08, 2013 9:09 am    Post subject: Reply with quote

I generally just add ebuilds by hand to /usr/local/portage/what-ever/whatever.
In the end it's simpler. You also need:
Code:

PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"

in /etc/portage/make.conf, but that's about it. "man ebuild" will show you
how to use "ebuild whatever.ebuild manifest" to update the manifest.

Will
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Feb 08, 2013 2:44 pm    Post subject: Reply with quote

The disadvantage of that approach is that, when the upstream ebuiild is updated, you don't easily get the updates. (Will, I know you know all this; writing for the benefit of others.) Layman has the mechanisms to keep the local copies fresh almost automatically. All it takes is
Code:
layman --sync
which is analogous (for overlays) to
Code:
emerge --sync
(for the main tree). I run them together.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Feb 13, 2013 4:57 pm    Post subject: Reply with quote

@_______0, thanks for the kind words. It's away nice to know that you're appreciated. ;)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum