Where did it fail? You could also justikshaar wrote:Thanks. I was able to get it that way.
I was not able to get it to work correctly however.
Code: Select all
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
GCONF_DEBUG="no"
inherit eutils gnome2 virtualx autotools bzr
EBZR_CACHE_DIR="nautilus-elementary-2.30"
EBZR_REPO_URI="lp:nautilus-elementary/2.30"
DESCRIPTION="A file manager for the GNOME desktop"
HOMEPAGE="http://www.gnome.org/projects/nautilus/"
SRC_URI="!elementary? ( ${SRC_URI} )"
LICENSE="GPL-2 LGPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc elementary gnome xmp"
RDEPEND=">=dev-libs/glib-2.24.0
>=gnome-base/gnome-desktop-2.29.91
>=x11-libs/pango-1.1.2
>=x11-libs/gtk+-2.20.0
>=dev-libs/libxml2-2.4.7
>=media-libs/libexif-0.5.12
>=gnome-base/gconf-2.0
dev-libs/libunique
dev-libs/dbus-glib
x11-libs/libXft
x11-libs/libXrender
xmp? ( >=media-libs/exempi-2 )"
DEPEND="${RDEPEND}
>=dev-lang/perl-5
sys-devel/gettext
>=dev-util/pkgconfig-0.9
>=dev-util/intltool-0.40.1
doc? ( >=dev-util/gtk-doc-1.4 )"
PDEPEND="gnome? ( >=x11-themes/gnome-icon-theme-1.1.91 )
>=gnome-base/gvfs-0.1.2"
DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
pkg_setup() {
G2CONF="${G2CONF}
--disable-update-mimedb
--disable-packagekit
--enable-empty-view
$(use_enable xmp)"
}
src_unpack() {
if use elementary; then
bzr_src_unpack
else
gnome2_src_unpack
fi
}
src_prepare() {
#epatch ${FILESDIR}/89_use_application_indicator.patch
gtkdocize || die "gtkdocize failed"
eautoreconf
intltoolize -f || die "intltoolize failed"
gnome2_src_prepare
# FIXME: tarball generated with broken gtk-doc, revisit me.
if use doc; then
sed "/^TARGET_DIR/i \GTKDOC_REBASE=/usr/bin/gtkdoc-rebase" \
-i gtk-doc.make || die "sed 1 failed"
else
sed "/^TARGET_DIR/i \GTKDOC_REBASE=/bin/true" \
-i gtk-doc.make || die "sed 2 failed"
fi
# Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|| die "sed 3 failed"
# Remove crazy CFLAGS
sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.in configure \
|| die "sed 4 failed"
# Fix nautilus flipping-out with --no-desktop -- bug 266398
epatch "${FILESDIR}/${PN}-2.27.4-change-reg-desktop-file-with-no-desktop.patch"
}
src_test() {
addwrite "/root/.gnome2_private"
unset SESSION_MANAGER
unset ORBIT_SOCKETDIR
unset DBUS_SESSION_BUS_ADDRESS
Xemake check || die "Test phase failed"
}
src_install() {
gnome2_src_install
find "${D}" -name "*.la" -delete || die "remove of la files failed"
}
pkg_postinst() {
gnome2_pkg_postinst
elog "nautilus can use gstreamer to preview audio files. Just make sure"
elog "to have the necessary plugins available to play the media type you"
elog "want to preview"
}Code: Select all
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
GCONF_DEBUG="no"
inherit eutils gnome2 virtualx autotools bzr
EBZR_CACHE_DIR="nautilus-elementary-2.31+"
EBZR_REPO_URI="lp:nautilus-elementary/2.31+"
DESCRIPTION="A file manager for the GNOME desktop"
HOMEPAGE="http://www.gnome.org/projects/nautilus/"
SRC_URI="mirror://gentoo/introspection.m4.bz2"
LICENSE="GPL-2 LGPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc gnome xmp"
RDEPEND=">=dev-libs/glib-2.25.9
>=gnome-base/gnome-desktop-2.29.91
>=x11-libs/pango-1.1.2
>=x11-libs/gtk+-2.21.2
>=dev-libs/libxml2-2.4.7
>=media-libs/libexif-0.5.12
>=gnome-base/gconf-2.0
dev-libs/libunique
dev-libs/dbus-glib
x11-libs/libXft
x11-libs/libXrender
xmp? ( >=media-libs/exempi-2 )"
DEPEND="${RDEPEND}
>=dev-lang/perl-5
sys-devel/gettext
>=dev-util/pkgconfig-0.9
>=dev-util/intltool-0.40.1
doc? ( >=dev-util/gtk-doc-1.4 )"
PDEPEND="gnome? ( >=x11-themes/gnome-icon-theme-1.1.91 )
>=gnome-base/gvfs-0.1.2"
DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
pkg_setup() {
G2CONF="${G2CONF}
--disable-static
--disable-introspection
--disable-update-mimedb
--disable-packagekit
--enable-empty-view
$(use_enable xmp)"
}
src_unpack() {
bzr_src_unpack
gnome2_src_unpack
}
src_prepare() {
#epatch ${FILESDIR}/89_use_application_indicator.patch
# eautoreconf needs introspection.m4, bug #324167
mv "${WORKDIR}"/introspection.m4 m4/
./autogen.sh || die "autogen.sh failed"
gnome2_src_prepare
# FIXME: tarball generated with broken gtk-doc, revisit me.
if use doc; then
sed "/^TARGET_DIR/i \GTKDOC_REBASE=/usr/bin/gtkdoc-rebase" \
-i gtk-doc.make || die "sed 1 failed"
else
sed "/^TARGET_DIR/i \GTKDOC_REBASE=/bin/true" \
-i gtk-doc.make || die "sed 2 failed"
fi
# Fix intltoolize broken file, see upstream #577133
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
|| die "sed 3 failed"
# Remove crazy CFLAGS
sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.in configure \
|| die "sed 4 failed"
# Fix nautilus flipping-out with --no-desktop -- bug 266398
epatch "${FILESDIR}/${PN}-2.27.4-change-reg-desktop-file-with-no-desktop.patch"
}
src_test() {
addwrite "/root/.gnome2_private"
unset SESSION_MANAGER
unset ORBIT_SOCKETDIR
unset DBUS_SESSION_BUS_ADDRESS
Xemake check || die "Test phase failed"
}
src_install() {
gnome2_src_install
find "${D}" -name "*.la" -delete || die "remove of la files failed"
}
pkg_postinst() {
gnome2_pkg_postinst
elog "nautilus can use gstreamer to preview audio files. Just make sure"
elog "to have the necessary plugins available to play the media type you"
elog "want to preview"
}
https://launchpad.net/nautilus-elementa ... ement/7221namelessmatt wrote:does not compile, configure fails with message "No package 'zeitgeist-1.0' found"
Full log -- /var/tmp/portage/gnome-base/nautilus-2.31.90/temp/build.log
Code: Select all
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit gnome2 eutils
DESCRIPTION="Zeitgeist Client Library"
HOMEPAGE="https://launchpad.net/libzeitgeist"
SRC_URI="http://launchpad.net/libzeitgeist/0.2/0.2.14/+download/libzeitgeist-0.2.14.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-libs/glib-2.15"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
pkg_setup() {
G2CONF="${G2CONF}
--enable-module=no"
}