How to create packages for sabayon?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

How to create packages for sabayon?

Postby redeagle » Sun Aug 04, 2013 8:21

Hi

I'm new to Sabayon, and with changing the distribution, I also wanted to change the desktop-environment (from KDE4 to i3wm)

Unluckily the recommended i3status-package is not available in sabayons repository (as elvis already mentioned in this bug-report). So I want to create the package by myself, but I cannot find any information but this thread.
Regarding to this thread, I have to use portage. But the wiki contains lots of warnings to not mix portage and entropy/equo.

So, what's the best way to install software that is not available in the repository?
redeagle
Baby Hen
 
Posts: 2
Joined: Sun Aug 04, 2013 7:49
Location: Earth

Re: How to create packages for sabayon?

Postby svantoviit » Sun Aug 04, 2013 10:03

x11-wm/i3 is available in entropy
Code: Select all
$ equo search x11-wm/i3
>>  @@ Searching...
>>      @@ Package: x11-wm/i3-4.5.1 branch: 5, [sabayon-weekly]
>>         Available:     version: 4.5.1 ~ tag: NoTag ~ revision: 0
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          0
>>         Homepage:      http://i3wm.org/
>>         Description:   An improved dynamic tiling window
>>                        manager
>>         License:       BSD
>>  Keywords:  x11-wm/i3
>>  Found:     1 entry

i3lock and i3status are in Portage
Code: Select all
$ eix x11-misc/i3
* x11-misc/i3lock
     Available versions:  2.4.1 (~)2.5 {+cairo}
     Homepage:            http://i3wm.org/i3lock/
     Description:         Simple screen locker

* x11-misc/i3status
     Available versions:  2.6 (~)2.7 {+filecaps}
     Homepage:            http://i3wm.org/i3status/
     Description:         generates a status bar for dzen2, xmobar or similar

Found 2 matches.

You don't need to create packages for Sabayon, you can compile them directly. Check the wiki for details.
Except for x11-libs/libxkbcommon are all dependencies available in Entropy.

For creating entropy packages look into
Code: Select all
$ man equo-pkg
svantoviit
Old Dear Hen
 
Posts: 649
Joined: Sun Feb 28, 2010 17:55

Re: How to create packages for sabayon?

Postby redeagle » Mon Aug 05, 2013 15:43

Hi, Thanks for your response.
I (hopefully) installed it successfully with emerge.

A minor reasons I left Fedora was the two package repositories (Original, and RPM-Fusion) that sometimes causes problems. I really feel uncomfortable using two competing package managements :D

What about updates? From now on, I have to look with both emerge and equo for updates, right?
redeagle
Baby Hen
 
Posts: 2
Joined: Sun Aug 04, 2013 7:49
Location: Earth

Re: How to create packages for sabayon?

Postby svantoviit » Tue Aug 06, 2013 7:52

redeagle wrote:I (hopefully) installed it successfully with emerge.

If not, Portage would have thrown a bunch of errors at you.

redeagle wrote:I really feel uncomfortable using two competing package managements

Entropy and Portage play very well together… just think before you hit enter.

redeagle wrote:What about updates? From now on, I have to look with both emerge and equo for updates, right?

Until the packages don't get into Entropy. The best way is to maintain your own set of packages. Put a list of packages in /etc/portage/sets/. Assuming you've named it my-set, to update the packages you need to run
Code: Select all
emerge --sync && layman -S
emerge -au @my-set


A must-read: HOWTO: Safely mix Entropy and Portage
svantoviit
Old Dear Hen
 
Posts: 649
Joined: Sun Feb 28, 2010 17:55


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 3 guests

cron