diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-03-23 18:49:09 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2006-03-23 18:49:09 +0000 |
commit | b45d277cfbff841d8fbdb375e81a947bd502e8fb (patch) | |
tree | b45b9fb8ee0700e7c029c6ee841ac13e665768dc /gnome-extra | |
parent | Adding gaim useflag for nautilus-sendto (diff) | |
download | gentoo-2-b45d277cfbff841d8fbdb375e81a947bd502e8fb.tar.gz gentoo-2-b45d277cfbff841d8fbdb375e81a947bd502e8fb.tar.bz2 gentoo-2-b45d277cfbff841d8fbdb375e81a947bd502e8fb.zip |
Initial import of nautilus-sendto extension (bug #78653)
(Portage version: 2.1_pre6-r5)
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/nautilus-sendto/ChangeLog | 11 | ||||
-rw-r--r-- | gnome-extra/nautilus-sendto/Manifest | 15 | ||||
-rw-r--r-- | gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.5 | 3 | ||||
-rw-r--r-- | gnome-extra/nautilus-sendto/files/nautilus-sendto-0.5-configure-options.patch | 101 | ||||
-rw-r--r-- | gnome-extra/nautilus-sendto/metadata.xml | 12 | ||||
-rw-r--r-- | gnome-extra/nautilus-sendto/nautilus-sendto-0.5.ebuild | 58 |
6 files changed, 200 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-sendto/ChangeLog b/gnome-extra/nautilus-sendto/ChangeLog new file mode 100644 index 000000000000..17c81a6a5ab5 --- /dev/null +++ b/gnome-extra/nautilus-sendto/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for gnome-extra/nautilus-sendto +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/ChangeLog,v 1.1 2006/03/23 18:49:09 compnerd Exp $ + +*nautilus-sendto-0.5 (23 Mar 2006) + + 23 Mar 2006; Saleem Abdulrasool <compnerd@gentoo.org> + +files/nautilus-sendto-0.5-configure-options.patch, + +nautilus-sendto-0.5.ebuild: + Initial import of nautilus-sendto (bug #78653). + diff --git a/gnome-extra/nautilus-sendto/Manifest b/gnome-extra/nautilus-sendto/Manifest new file mode 100644 index 000000000000..6b9a2935369c --- /dev/null +++ b/gnome-extra/nautilus-sendto/Manifest @@ -0,0 +1,15 @@ +MD5 eca45433485a3b48905da0218a6e08b3 ChangeLog 356 +RMD160 7bb6034e5d92ca17d6169d3be81883e641012ca8 ChangeLog 356 +SHA256 36799ec8891982c90cd90a7865408020c2fdd51e44d5320a3f5e07ebad6f4570 ChangeLog 356 +MD5 bac3e4b9e4e8655cd3744bc5d9048ad7 files/digest-nautilus-sendto-0.5 262 +RMD160 19e4b5243cb544cf4f4b64f7b806b6ebfd16df8c files/digest-nautilus-sendto-0.5 262 +SHA256 4b9d8aa3fcf35ae3c6ee2f7515d9eb1f964261cca0d278bdd433af3092de5989 files/digest-nautilus-sendto-0.5 262 +MD5 4f3ec780308ff2da4f83339d8168ad0b files/nautilus-sendto-0.5-configure-options.patch 2624 +RMD160 75b221db835608848d48e959b806aacc421b11ba files/nautilus-sendto-0.5-configure-options.patch 2624 +SHA256 2e60773e10c830bcb81c0f98f4c4c083893324c0dc84466974e0b04d44654fa5 files/nautilus-sendto-0.5-configure-options.patch 2624 +MD5 7058c3aae72cb72453f67a1d1f41d0a6 metadata.xml 304 +RMD160 6c356cf2024baa36b7462ea705b7e2b6603d906c metadata.xml 304 +SHA256 33f6aac6054f2a663a6349e206078025c47ad599ea45fabcde0a3a327a64d0d2 metadata.xml 304 +MD5 f498304cab40907b851234a810648c3a nautilus-sendto-0.5.ebuild 1331 +RMD160 02f22ab7ee625a73aa05c2f6e26b7120feac7ce7 nautilus-sendto-0.5.ebuild 1331 +SHA256 046e3567ff0e93f680b43ecccb4df14f2c703e1bb0c524dc4fdf376bd819aead nautilus-sendto-0.5.ebuild 1331 diff --git a/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.5 b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.5 new file mode 100644 index 000000000000..1413f2e2aa7c --- /dev/null +++ b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.5 @@ -0,0 +1,3 @@ +MD5 e43a5e51270ef3e0f4743ed4d23f7409 nautilus-sendto-0.5.tar.bz2 268518 +RMD160 588d889fde1dcdac436694f0730e1720d7e10e84 nautilus-sendto-0.5.tar.bz2 268518 +SHA256 63709f0b8dc4c8006c9aa792b2898c3e956cb457b1c49e9e552d2fd1c4df7d38 nautilus-sendto-0.5.tar.bz2 268518 diff --git a/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.5-configure-options.patch b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.5-configure-options.patch new file mode 100644 index 000000000000..4699059ddc23 --- /dev/null +++ b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.5-configure-options.patch @@ -0,0 +1,101 @@ +--- configure.in.orig 2006-01-07 16:55:04.000000000 -0600 ++++ configure.in 2006-01-07 17:05:38.000000000 -0600 +@@ -52,60 +52,57 @@ + AC_SUBST(NAUTILUS_SENDTO_CFLAGS) + AC_SUBST(NAUTILUS_SENDTO_LIBS) + +-dnl Libebook support ++dnl Evolution (libebook) Support + dnl --------------------------------- + +-PKG_CHECK_MODULES(NST_EBOOK, libebook-1.2 >= $EBOOK_REQUIRED, +- [ +- AC_SUBST(NST_EBOOK_CFLAGS) +- AC_SUBST(NST_EBOOK_LIBS) +- echo "Using libebook-1.2 !" +- enable_evolution=yes +- ], +- [ +- echo "Building without evolution" +- enable_evolution=no +- ] +-) ++AC_ARG_ENABLE([evolution], ++ AC_HELP_STRING([--enable-evolution],[enable support for evolution]),, ++ [enable_evolution=no]) ++ ++if test x$enable_evolution = xyes ; then ++ PKG_CHECK_MODULES(NST_EBOOK, [libebook-1.2 >= $EBOOK_REQUIRED]) ++ ++ AC_SUBST(NST_EBOOK_CFLAGS) ++ AC_SUBST(NST_EBOOK_LIBS) ++fi + + AM_CONDITIONAL(HAVE_EVOLUTION, test "x$enable_evolution" = "xyes") + +-dnl Gaim support if it's installed ++dnl Gaim Support + dnl --------------------------------- + ++AC_ARG_ENABLE([gaim], ++ AC_HELP_STRING([--enable-gaim],[enable support for gaim]),, ++ [enable_gaim=no]) ++ ++if test x$enable_gaim = xyes ; then ++ PKG_CHECK_MODULES(GAIM, gaim >= $GAIM_REQUIRED) ++ ++ AC_SUBST(GAIM_CFLAGS) ++ AC_SUBST(GAIM_LIBS) + +-PKG_CHECK_MODULES(GAIM, gaim >= $GAIM_REQUIRED, +- [ +- AC_SUBST(GAIM_CFLAGS) +- AC_SUBST(GAIM_LIBS) +- GAIM_LIBDIR=`pkg-config --variable=libdir gaim` +- GAIM_DATADIR=`pkg-config --variable=datadir gaim` +- AC_SUBST(GAIM_LIBDIR) +- AC_SUBST(GAIM_DATADIR) +- enable_gaim=yes +- ], +- [ +- echo "Building without gaim" +- enable_gaim=no +- ] +-) ++ GAIM_LIBDIR=`pkg-config --variable=libdir gaim` ++ GAIM_DATADIR=`pkg-config --variable=datadir gaim` ++ ++ AC_SUBST(GAIM_LIBDIR) ++ AC_SUBST(GAIM_DATADIR) ++fi + + AM_CONDITIONAL(HAVE_GAIM, test "x$enable_gaim" = "xyes") + +-dnl Bluetooth support if it's installed ++dnl Bluetooth Support + dnl ----------------------------------- + +-PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth >= $BLUETOOTH_REQUIRED, +- [ +- AC_SUBST(BLUETOOTH_CFLAGS) +- AC_SUBST(BLUETOOTH_LIBS) +- enable_bluetooth=yes +- ], +- [ +- echo "Building without Bluetooth" +- enable_bluetooth=no +- ] +-) ++AC_ARG_ENABLE([bluetooth], ++ AC_HELP_STRING([--enable-bluetooth],[enable support for bluetooth]),, ++ [enable_bluetooth=no]) ++ ++if test x$enable_bluetooth = xyes ; then ++ PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth >= $BLUETOOTH_REQUIRED) ++ ++ AC_SUBST(BLUETOOTH_CFLAGS) ++ AC_SUBST(BLUETOOTH_LIBS) ++fi + + AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes") + diff --git a/gnome-extra/nautilus-sendto/metadata.xml b/gnome-extra/nautilus-sendto/metadata.xml new file mode 100644 index 000000000000..e6557f298aa0 --- /dev/null +++ b/gnome-extra/nautilus-sendto/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd></herd> + <maintainer> + <email>compnerd@gentoo.org</email> + <name>Saleem Abdulrasool</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + diff --git a/gnome-extra/nautilus-sendto/nautilus-sendto-0.5.ebuild b/gnome-extra/nautilus-sendto/nautilus-sendto-0.5.ebuild new file mode 100644 index 000000000000..67bbc2dca03a --- /dev/null +++ b/gnome-extra/nautilus-sendto/nautilus-sendto-0.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/nautilus-sendto-0.5.ebuild,v 1.1 2006/03/23 18:49:09 compnerd Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="A nautilus extension for sending files to locations" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="bluetooth eds gaim" + +RDEPEND=">=dev-libs/glib-2.4 + >=x11-libs/gtk+-2.4 + >=gnome-base/libglade-2.5.1 + >=gnome-base/libbonobo-2.13.0 + >=gnome-base/libbonoboui-2.13.0 + >=gnome-base/libgnome-2.13.0 + >=gnome-base/libgnomeui-2.13.0 + >=gnome-base/nautilus-2.13.3 + bluetooth? ( >=net-wireless/gnome-bluetooth-0.6 ) + eds? ( >=gnome-extra/evolution-data-server-1.5.3 ) + gaim? ( =net-im/gaim-1.5* )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/gettext + dev-util/intltool" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup() { + G2CONF="${G2CONF} \ + $(use_enable bluetooth) \ + $(use_enable eds evolution) + $(use_enable gaim)" +} + +src_unpack() { + unpack ${A} + cd ${S} + + # Convert autodetection into hard options + epatch ${FILESDIR}/${PN}-0.5-configure-options.patch + + # Oh the joys of autotools + eautoreconf +} + +pkg_postinst() { + gnome2_pkg_postinst + + if use gaim ; then + einfo "To enable SendTo support in GAIM, you must enable the plugin in GAIM" + einfo "Check Tools -> Preferences -> Plugins in the GAIM menu." + fi +} |