From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- gnome-extra/nautilus-dropbox/Manifest | 1 + .../nautilus-dropbox-0.7.0-system-rst2man.patch | 13 ++++ gnome-extra/nautilus-dropbox/metadata.xml | 9 +++ .../nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild | 85 ++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 gnome-extra/nautilus-dropbox/Manifest create mode 100644 gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch create mode 100644 gnome-extra/nautilus-dropbox/metadata.xml create mode 100644 gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild (limited to 'gnome-extra/nautilus-dropbox') diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest new file mode 100644 index 000000000000..7b016e277d88 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/Manifest @@ -0,0 +1 @@ +DIST nautilus-dropbox-1.6.2.tar.bz2 354408 SHA256 63d53109c7d0efc0e83f36ac47be3be923115eaf0be56cfc9a1aa8e2ecc633e4 SHA512 696808a7e5a1d8bbe06903b5ab075e0aa32d0b35c44363d7874fcdd48d339650bdf80190e37cba5782b31565ca9b233573a3d2ee74866add169ff5ea1d0b62d3 WHIRLPOOL b6e7f91674d5a9163ab7b46f95ffdcbdaa5815e9f7e16e37f8da38ab9028eaa09076afc49978465d8547bbf20971825b2dbd356766e99ed756ba96b79aeda649 diff --git a/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch b/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch new file mode 100644 index 000000000000..ea0053b4bbb6 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch @@ -0,0 +1,13 @@ +Index: nautilus-dropbox-0.7.0/configure.in +=================================================================== +--- nautilus-dropbox-0.7.0.orig/configure.in ++++ nautilus-dropbox-0.7.0/configure.in +@@ -31,7 +31,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLI + + AC_PATH_PROG([PYTHON], [python]) + +-AC_PATH_PROG([RST2MAN], [rst2man], [python rst2man.py]) ++AC_PATH_PROG([RST2MAN], [rst2man.py], [python rst2man.py]) + AC_SUBST(RST2MAN) + + # define module checking macro diff --git a/gnome-extra/nautilus-dropbox/metadata.xml b/gnome-extra/nautilus-dropbox/metadata.xml new file mode 100644 index 000000000000..7db3cda78c1b --- /dev/null +++ b/gnome-extra/nautilus-dropbox/metadata.xml @@ -0,0 +1,9 @@ + + + + + maintainer-needed@gentoo.org + + + + diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild new file mode 100644 index 000000000000..a96c98c3990f --- /dev/null +++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils python-r1 linux-info gnome2 readme.gentoo user + +DESCRIPTION="Store, Sync and Share Files Online" +HOMEPAGE="http://www.dropbox.com/" +SRC_URI="http://www.dropbox.com/download?dl=packages/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="debug" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + gnome-base/nautilus + dev-libs/glib:2 + dev-python/pygtk:2[${PYTHON_USEDEP}] + net-misc/dropbox + x11-libs/gtk+:2 + x11-libs/libnotify + x11-libs/libXinerama" + +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-python/docutils[${PYTHON_USEDEP}]" + +CONFIG_CHECK="~INOTIFY_USER" + +pkg_setup () { + check_extra_config + enewgroup dropbox + + DOC_CONTENTS="Add any users who wish to have access to the dropbox nautilus + plugin to the group 'dropbox'. You need to setup a drobox account + before using this plugin. Visit ${HOMEPAGE} for more information." + + python_export_best +} + +src_prepare() { + G2CONF="${G2CONF} $(use_enable debug) --disable-static" + + gnome2_src_prepare + + # use sysem dropbox + sed \ + -e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \ + -e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \ + -i dropbox.in || die + # us system rst2man + epatch "${FILESDIR}"/${PN}-0.7.0-system-rst2man.patch + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + AT_NOELIBTOOLIZE=yes eautoreconf +} + +src_install () { + gnome2_src_install + + local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)" + [ -z ${extensiondir} ] && die "pkg-config unable to get nautilus extensions dir" + + # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D + extensiondir="${extensiondir#${EPREFIX}}" + + use prefix || fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.so + fperms o-rwx "${extensiondir}"/libnautilus-dropbox.so + + readme.gentoo_create_doc + + python_replicate_script "${ED}"/usr/bin/dropbox +} + +pkg_postinst () { + gnome2_pkg_postinst + readme.gentoo_print_elog +} -- cgit v1.2.3-65-gdbad