diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /mate-extra/caja-dropbox | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
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 <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'mate-extra/caja-dropbox')
5 files changed, 125 insertions, 0 deletions
diff --git a/mate-extra/caja-dropbox/Manifest b/mate-extra/caja-dropbox/Manifest new file mode 100644 index 000000000000..98df5d0d08b4 --- /dev/null +++ b/mate-extra/caja-dropbox/Manifest @@ -0,0 +1 @@ +DIST caja-dropbox-1.8.0.tar.xz 310592 SHA256 bb26151cad68e910979af6dd8b323434462a2457998ad67529660135c0caa513 SHA512 33c0804ba756ec50b531e4992b74577848f52fef60b8c69b96f307a2b8a57fd42ff951d6d3fdd55a6b1e260c4f46d0a26f90f730a88dc45a66e2d78888492fbc WHIRLPOOL 3b200e6a1b5e6f9926566962c48b9585fa0f9cc1ccc8ee89e45489d87c41cbf50a2b1bd62036140ba7492edf5a2812b918c4c4596b17c4674e0821a72d29550f diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.8.0.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.8.0.ebuild new file mode 100644 index 000000000000..50c54844b47f --- /dev/null +++ b/mate-extra/caja-dropbox/caja-dropbox-1.8.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 python-single-r1 linux-info user versionator + +MATE_BRANCH="1.8" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="Store, Sync and Share Files Online" +HOMEPAGE="http://www.dropbox.com/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="debug" + +RDEPEND=" + dev-libs/atk:0 + >=dev-libs/glib-2.14:2 + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=mate-base/caja-1.8:0 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + net-misc/dropbox:0 + x11-libs/cairo:0 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libXinerama:0 + x11-libs/pango:0" + +DEPEND="${RDEPEND} + dev-python/docutils:0 + virtual/pkgconfig:*" + +G2CONF="${G2CONF} $(use_enable debug) --disable-static" + +CONFIG_CHECK="~INOTIFY_USER" + +pkg_setup () { + python-single-r1_pkg_setup + check_extra_config + enewgroup dropbox +} + +src_prepare() { + gnome2_src_prepare + + # Use system dropbox. + sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \ + -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \ + -i caja-dropbox.in || die + + # Use system rst2man. + epatch "${FILESDIR}"/${P}-system-rst2man.patch + + AT_NOELIBTOOLIZE=yes eautoreconf +} + +DOCS="AUTHORS ChangeLog NEWS README" + +src_install () { + python_fix_shebang caja-dropbox.in + + gnome2_src_install + + local extensiondir="$(pkg-config --variable=extensiondir libcaja-extension)" + [ -z ${extensiondir} ] && die "pkg-config unable to get caja extensions dir" + + # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D. + extensiondir="${extensiondir#${EPREFIX}}" + use prefix || fowners root:dropbox "${extensiondir}"/libcaja-dropbox.so + fperms o-rwx "${extensiondir}"/libcaja-dropbox.so +} + +pkg_postinst () { + gnome2_pkg_postinst + + elog + elog "Add any users who wish to have access to the dropbox caja" + elog "plugin to the group 'dropbox'. You need to setup a drobox account" + elog "before using this plugin. Visit ${HOMEPAGE} for more information." + elog +} diff --git a/mate-extra/caja-dropbox/files/caja-dropbox-0.7.0-system-rst2man.patch b/mate-extra/caja-dropbox/files/caja-dropbox-0.7.0-system-rst2man.patch new file mode 100644 index 000000000000..ea0053b4bbb6 --- /dev/null +++ b/mate-extra/caja-dropbox/files/caja-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/mate-extra/caja-dropbox/files/caja-dropbox-1.8.0-system-rst2man.patch b/mate-extra/caja-dropbox/files/caja-dropbox-1.8.0-system-rst2man.patch new file mode 100644 index 000000000000..740418249d8d --- /dev/null +++ b/mate-extra/caja-dropbox/files/caja-dropbox-1.8.0-system-rst2man.patch @@ -0,0 +1,13 @@ +Index: nautilus-dropbox-0.7.0/configure.ac +=================================================================== +--- nautilus-dropbox-0.7.0.orig/configure.ac ++++ nautilus-dropbox-0.7.0/configure.ac +@@ -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/mate-extra/caja-dropbox/metadata.xml b/mate-extra/caja-dropbox/metadata.xml new file mode 100644 index 000000000000..8f12c89e5cd3 --- /dev/null +++ b/mate-extra/caja-dropbox/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mate</herd> + <upstream> + <remote-id type="github">mate-desktop/caja-dropbox</remote-id> + </upstream> +</pkgmetadata> |