Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 2.88 KB

build_instructions.md

File metadata and controls

67 lines (44 loc) · 2.88 KB

Build instructions

  1. Switch to systemd⬀ init system or use stage3-amd64-systemd⬀ tarball.

  2. Add the overlay using eselect-repository⬀ module and synchronize it:

    eselect repository enable gentoo-unity7
    emaint sync -r gentoo-unity7

    NOTE: Package dev-vcs/git⬀ is required.

  3. Set gentoo-unity7:amd64/23.0/desktop/unity/systemd (stable) profile⬀ listed with eselect profile list.

  4. Add EHOOKS_ACCEPT="yes" variable into /etc/portage/make.conf configuration file.

    WARNING: Some overlay patches will be applied to packages from the Gentoo tree via ehooks patching system. For more details, see ehooks - Chapter I. Set the variable to confirm you agree with it.

  5. Setup Gentoo Unity⁷ Desktop build environment:

    emerge -av gentoo-unity-env

    WARNING: Don't use portage variable EMERGE_DEFAULT_OPTS with --jobs N option as it causes informational and warning messages to be ignored. Such messages are important mainly in the next step.

  6. Previous emerge command installs 'unity-base/gentoo-unity-env' package. The package, among other things, generates emerge command needed to be applied and displays it as a warning message in pkg_postinst phase. Rebuild all affected packages, if any.

    FOR EXAMPLE, YOU CAN SEE:

    >>> Looking for ehooks changes... done!
    
     * Rebuild the following packages affected by ehooks changes:
     * emerge -av1 app-i18n/ibus gnome-base/gnome-menus gnome-base/gnome-session gnome-base/gsettings-desktop-schemas gnome-extra/polkit-gnome x11-libs/gtk+:2 x11-libs/gtk+:3
    
  7. Update the whole system:

    emerge -avuDU --with-bdeps=y @world

    NOTE: Circular dependencies error may appear between 'media-libs/freetype' and 'media-libs/harfbuzz'. Before the update, try:
    USE="-harfbuzz" emerge -av1 media-libs/freetype

  8. Install the Unity7:

    emerge -av unity-meta

NOTES: