Difference between pages "News:Testing GNOME 3.14" and "Package:Layman"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
{{News
{{Ebuild
|Summary=GNOME 3.14 is now available in Funtoo, masked for testing. Help us test it!
|Summary=Tool to manage Gentoo overlays
|News Format=Extended
|CatPkg=app-portage/layman
|News Category=General
|Homepage=http://layman.sourceforge.net/
|Author=Dantrell
|Publication Status=Published
|Deprecated By=GNOME 3.14 Unleashed
|Publication Date=2014/10/22
|Icon=File:Gnome.jpg
}}
}}
{{Note|This is a News item page, and you can comment using DISQUS at the bottom.}}
Layman is an "overlay" external repository management tool.


GNOME 3.14 is now available in Funtoo, masked for testing. Please help us test it. If you find bugs, or want more detailed information on what is included, please see  [https://bugs.funtoo.org/browse/FL-1637 FL-1637].
=== Installation ===
<console>###i## emerge layman</console>
[[make.conf]] must source laymans overlays for emerge to pull in packages from external sources.  This line needs to be below everything else in make.conf.
<console>###i## echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf</console>


== Preparing ==
=== Using Layman ===
Fetch, and display a list of overlays:
<console>###i## layman -L</console>


=== sync ===
Add an overlay to your system:
<console>###i## layman -a <overlay name></console>


First, sync the tree if you haven't recently as you need access to a file in the tree:
Delete an overlay from your system:
<console>###i## layman -d <overlay name></console>


<console>
==== Masking Overlay Packages ====
###i## emerge --sync
Overlays have the power to override distro packages.  To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.
</console>


=== unmask ===
{{file|name=/etc/portage/package.mask|lang=|desc=mask all packages in an overlay|body=
*/*::overlay-name
}}


Now, reverse the GNOME 3.14 mask file:
{{file|name=/etc/portage/package.unmask|lang=|desc=unmask packages to be used|body=
 
cat-egory/pack-age1
==== package.mask (directory) ====
cat-egory/pack-age2
 
}}
<console>
###i## cd /etc/portage/package.unmask
###i## ln -s /usr/portage/profiles/package.mask/funtoo-gnome .
</console>
 
==== package.mask (file) ====
 
<console>
###i## cat /usr/portage/profiles/package.mask/funtoo-gnome >> /etc/portage/package.unmask
</console>
 
=== USE flags ===
 
Then to simplify matters, enable the gnome mix-in:
 
<console>
###i## eselect profile list
##g##Currently available mix-ins profiles: 
  [11]  funtoo/1.0/linux-gnu/mix-ins/audio
  [12]  funtoo/1.0/linux-gnu/mix-ins/cinnamon
  [13]  funtoo/1.0/linux-gnu/mix-ins/console-extras
  [14]  funtoo/1.0/linux-gnu/mix-ins/dvd
  [15]  funtoo/1.0/linux-gnu/mix-ins/gnome
  [16]  funtoo/1.0/linux-gnu/mix-ins/kde
  [17]  funtoo/1.0/linux-gnu/mix-ins/mate
  [18]  funtoo/1.0/linux-gnu/mix-ins/media
  [19]  funtoo/1.0/linux-gnu/mix-ins/print
  [20]  funtoo/1.0/linux-gnu/mix-ins/python3-only
  [21]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
  [22]  funtoo/1.0/linux-gnu/mix-ins/server-db
  [23]  funtoo/1.0/linux-gnu/mix-ins/server-mail
  [24]  funtoo/1.0/linux-gnu/mix-ins/server-web
  [25]  funtoo/1.0/linux-gnu/mix-ins/X
  [26]  funtoo/1.0/linux-gnu/mix-ins/xfce
  [27]  funtoo/1.0/linux-gnu/mix-ins/vmware-guest
  [28]  funtoo/1.0/linux-gnu/mix-ins/hardened
</console>
 
<console>
###i## eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome
</console>
 
== Emerging ==
 
=== Installing GNOME 3.14 ===
 
===== gnome =====
 
To emerge ''gnome'' run the following command:
 
<console>
###i## emerge gnome
</console>
 
===== gnome-light =====
 
To emerge ''gnome-light'' run the following command:
 
<console>
###i## emerge gnome-light
</console>


=== Upgrading from GNOME 3.12 ===
==== Sync ====


To update "gnome" or "gnome-light" run the following command:
Sync a specific overlays ebuilds:
<console>###i## layman -s <overlay name></console>


<console>
Sync all overlays:
###i## emerge -vauDN world
<console>###i## layman -S</console>
</console>


== Finishing Touches ==
Sync all overlays via eix:
<console>###i## eix-sync</console>


=== Verify the inode/directory MimeType Handler ===
=== Troubleshooting ===
Problem:
Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']


In some odd instances, baobab might take priority over nautilus when handling the inode/directory MimeType. If this behavior is not desired, add the following to /home/~/.local/share/applications/mimeapps.list:
Solution:
<console>###i## layman -L</console>


<pre>
{{EbuildFooter}}
[Added Associations]
inode/directory=org.gnome.Nautilus.desktop;org.gnome.baobab.desktop;
</pre>
{{NewsFooter}}

Revision as of 12:00, February 3, 2015

Layman

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Layman is an "overlay" external repository management tool.

Installation

root # emerge layman

make.conf must source laymans overlays for emerge to pull in packages from external sources. This line needs to be below everything else in make.conf.

root # echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

Using Layman

Fetch, and display a list of overlays:

root # layman -L

Add an overlay to your system:

root # layman -a <overlay name>

Delete an overlay from your system:

root # layman -d <overlay name>

Masking Overlay Packages

Overlays have the power to override distro packages. To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.

   /etc/portage/package.mask - mask all packages in an overlay
*/*::overlay-name
   /etc/portage/package.unmask - unmask packages to be used
cat-egory/pack-age1
cat-egory/pack-age2

Sync

Sync a specific overlays ebuilds:

root # layman -s <overlay name>

Sync all overlays:

root # layman -S

Sync all overlays via eix:

root # eix-sync

Troubleshooting

Problem: Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']

Solution:

root # layman -L