cairo-dock-2.1.0-alpha

С тех пор как я написал о cairo-dock в нем прошло уже много заметных изменений. Самое наверно заметное это то что отпала необходимость в gnome-extra/cairo-dock-themes

Итак собственно

cairo-dock-9999.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit autotools eutils gnome2 subversion

ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/${PN}/trunk/${PN}"
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/"

DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="http://www.cairo-dock.org"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="glitz"

DEPEND="dev-libs/dbus-glib
    >=dev-libs/glib-2.0.0
    dev-libs/libxml2
    gnome-base/librsvg
    sys-apps/dbus
    x11-libs/cairo[svg]
    >=x11-libs/gtk+-2.0.0
    glitz? (
    media-libs/glitz
    x11-libs/cairo[glitz]
    )
"

src_prepare() {
    intltoolize --force --copy || die "intltoolize failed"
    eautoreconf -isvf || die "eautoreconf failed"
}

src_configure() {
    G2CONF="${G2CONF} $(use_enable glitz)"

    econf \
    --enable-xextend \
    $(use_enable glitz) || die "econf failed"
}

src_compile() {
    emake || die "compile failure"
}

pkg_postinst() {
    gnome2_pkg_postinst

    ewarn "DO NOT report bugs to Gentoo's bugzilla"
    einfo "Please report all bugs to #gentoo-desktop-effects"
    einfo "Thank you on behalf of the Gentoo Desktop-Effects team"
}

cairo-dock-plugins-9999.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools eutils gnome2 subversion

RESTRICT="mirror"

DESCRIPTION="Official plugins for cairo-dock"
HOMEPAGE="http://www.cairo-dock.org"
SRC_URI=""

ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/${PN/-plugins/}/trunk/plug-ins"
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="alsa gnome xfce terminal laptop wifi tomboy rhythmbox nvidia compiz xgamma gmenu mail weblets exif keyboard"

DEPEND=""

RDEPEND="~gnome-extra/cairo-dock-${PV}
    x11-libs/vte
    net-libs/libetpan"

src_unpack() {
    subversion_src_unpack
    cd "${S}"

    intltoolize --force --copy || die "intltoolize failed"
    eautoreconf -isvf || die "eautoreconf failed"
}

src_compile() {
    econf \
        $(use_enable gnome gnome-integration) \
        $(use_enable xfce xfce-integration) \
        $(use_enable alsa alsa-mixer) \
        $(use_enable terminal terminal) \
        $(use_enable laptop powermanager) \
        $(use_enable wifi wifi) \
        $(use_enable tomboy tomboy) \
        $(use_enable rhythmbox rhythmbox) \
        $(use_enable nvidia nvidia) \
        $(use_enable compiz compiz-icon) \
        $(use_enable xgamma xgamma) \
        $(use_enable gmenu gmenu) \
        $(use_enable mail mail) \
        $(use_enable weblets weblets) \
        $(use_enable exif exif) \
        $(use_enable keyboard keyboard) \
        --disable-old-gnome-integration || die "econf failed"
}

src_install() {
    emake DESTDIR="${D}" install || die "emake failed"
}

pkg_postinst() {
    gnome2_pkg_postinst

    ewarn "DO NOT report bugs to Gentoo's bugzilla"
    einfo "Please report all bugs to #gentoo-desktop-effects"
    einfo "Thank you on behalf of the Gentoo Desktop-Effects team"
}

Лично мне по душе такой набор

emerge -pv cairo-dock cairo-dock-plugins

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-extra/cairo-dock-9999  USE="glitz -debug" 0 kB [1]
[ebuild   R   ] gnome-extra/cairo-dock-plugins-9999  USE="alsa compiz exif gmenu gnome laptop mail nvidia terminal weblets xgamma -debug -keyboard -rhythmbox -tomboy -wifi -xfce" 0 kB [1]

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

Остальное по тем или иным причинам не прижилось. После установки темы закачиваются автоматически. Точнее закачивается список всех существующих тем и тема по умолчанию. Остальные темы на ваше усмотрение.

Comments