Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding to Layman (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Sun Dec 11, 2011 9:10 am    Post subject: Adding to Layman (solved) Reply with quote

hi all

i need some help with the Instructions to add iphoneoverlay to Layman ( http://code.google.com/p/iphoneoverlay/wiki/AddingToLayman ).i dont know what to do with :

"Lastly, open your overlays.xml file and be sure you add this code inside or your <overlays>...</overlays> block: "

i dont know where overlays.xml is .


thanks

hedmo


Last edited by hedmo on Sun Dec 11, 2011 10:50 am; edited 1 time in total
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5326

PostPosted: Sun Dec 11, 2011 9:25 am    Post subject: Reply with quote

first you can use locate overlays.xml

second I think that you can do it with layman -o <address>
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
hedmo
l33t
l33t


Joined: 29 Aug 2009
Posts: 923
Location: halmstad

PostPosted: Sun Dec 11, 2011 10:50 am    Post subject: Reply with quote

thanks DaggyStyle
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2803
Location: Richmond, BC, Canada

PostPosted: Mon Dec 12, 2011 12:48 am    Post subject: Reply with quote

Ok, I just saw this thread. First off, those instructions are only good for the original poster, developer. Those instructions are bypassing all layman's code and performing the individual actions manually on files that shouldn't be messed with. Something fraught with hazards :evil:

That is something he had to do on his system as an afterthought so as to not destroy his svn checkout.

If all you want is to add that overlay, he just needs to post a new overlay definition for you to link to or download, then and add it to /etc/layman/layman.cfg.

Here is his overlay information properly formed into an overlay xml file for layman to use like it was meant to. It is still the old xml format, but I'll send him the one in the new format:
Code:
<?xml version="1.0" ?>
<layman>
  <overlay contact="juswilliams@gmail.com" name="iphoneoverlay" src="http://iphoneoverlay.googlecode.com/svn/trunk/" type="svn">
        <link>
                http://iphoneoverlay.googlecode.com/
        </link>
        <description>
                A Gentoo overlay for iPhone related tools such as: redsn0w, xpwn, iphonelinux, openiboot, etc.
        </description>
  </overlay>
</layman>


Save it to a file somewhere eg: /etc/layman/overlays/iphone.xml

If you are using >=layman-2.0.0_rc* your done. It will automatically look in /etc/layman/overlays for any xml files defining overlays.
If you are using layman-1.4.* you will need to edit /etc/layman/layman.cfg and add that file to the list. here is where to edit in layman.cfg
Code:

...[snip]
#-----------------------------------------------------------
# URLs of the remote lists of overlays (one per line) or
# local overlay definitions
#
#overlays  : http://www.gentoo.org/proj/en/overlays/repositories.xml
#            http://dev.gentoo.org/~wrobel/layman/global-overlays.xml
#            http://mydomain.org/my-layman-list.xml
#            file:///var/lib/layman/my-list.xml

overlays  : http://www.gentoo.org/proj/en/overlays/repositories.xml
                file:///etc/layman/overlays/iphone.xml

...[snip]



When that is done, just do a
Code:
layman -f
for it to fetch (update the overlays definitions) and it's ready for use.

Code:
big_daddy layman # layman -i iphoneoverlay

 * iphoneoverlay
 * ~~~~~~~~~~~~~
 * Source  : http://iphoneoverlay.googlecode.com/svn/trunk/
 * Contact : juswilliams@gmail.com
 * Type    : Subversion; Priority: 50
 * Quality : experimental
 *
 * Description:
 *   A Gentoo overlay for iPhone related tools such as: redsn0w, xpwn, iphonelinux, openiboot, etc.
 *
 * Link:
 *   http://iphoneoverlay.googlecode.com/
 *

big_daddy layman # layman -a iphoneoverlay

 * Adding overlay,...
 * Running Subversion... # /usr/bin/svn co http://iphoneoverlay.googlecode.com/svn/trunk//@ /var/lib/layman/iphoneoverlay
A    /var/lib/layman/iphoneoverlay/app-mobilephone
A    /var/lib/layman/iphoneoverlay/app-mobilephone/redsn0w
A    /var/lib/layman/iphoneoverlay/app-mobilephone/redsn0w/Manifest
A    /var/lib/layman/iphoneoverlay/app-mobilephone/redsn0w/redsn0w-0.8.ebuild
A    /var/lib/layman/iphoneoverlay/app-mobilephone/irecovery
A    /var/lib/layman/iphoneoverlay/app-mobilephone/irecovery/Manifest
A    /var/lib/layman/iphoneoverlay/app-mobilephone/irecovery/irecovery-9999.ebuild
Checked out revision 11.
 * Successfully added overlay(s) iphoneoverlay.

big_daddy layman # layman -d iphoneoverlay

 * Deleting selected overlays,...
 * Deleting directory "/var/lib/layman/iphoneoverlay"

big_daddy layman #

_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2803
Location: Richmond, BC, Canada

PostPosted: Mon Dec 12, 2011 1:24 am    Post subject: Reply with quote

I was just poking around his site. It has not seen any changes in just over 2 years, so I'm not sure how useful those 2 program ebuilds will be, or if they will need updating.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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