summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:05:02 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:05:02 +0000
commit5f74988c1eb61ffdc8dcfbe54b4ccaf1aea79f3b (patch)
treefd5d61380bb56381cbc44e82b9f6ba685daec984 /gnome-extra/nautilus-sendto
parentadding new use flags for nautilus-sendto-0.7 (diff)
downloadgentoo-2-5f74988c1eb61ffdc8dcfbe54b4ccaf1aea79f3b.tar.gz
gentoo-2-5f74988c1eb61ffdc8dcfbe54b4ccaf1aea79f3b.tar.bz2
gentoo-2-5f74988c1eb61ffdc8dcfbe54b4ccaf1aea79f3b.zip
version bump from upstream
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'gnome-extra/nautilus-sendto')
-rw-r--r--gnome-extra/nautilus-sendto/ChangeLog10
-rw-r--r--gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.73
-rw-r--r--gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch211
-rw-r--r--gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch25
-rw-r--r--gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild69
5 files changed, 317 insertions, 1 deletions
diff --git a/gnome-extra/nautilus-sendto/ChangeLog b/gnome-extra/nautilus-sendto/ChangeLog
index eb615f3f6676..d4895b8743c2 100644
--- a/gnome-extra/nautilus-sendto/ChangeLog
+++ b/gnome-extra/nautilus-sendto/ChangeLog
@@ -1,6 +1,14 @@
# 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.2 2006/04/27 20:21:31 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/ChangeLog,v 1.3 2006/07/19 04:05:02 compnerd Exp $
+
+*nautilus-sendto-0.7 (19 Jul 2006)
+
+ 19 Jul 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +files/nautilus-sendto-0.7-configure-options.patch,
+ +files/nautilus-sendto-0.7-gaim-2.0-plugin.patch,
+ +nautilus-sendto-0.7.ebuild:
+ version bump from upstream
27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
Fixing SHA256 digest, pass four
diff --git a/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7 b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7
new file mode 100644
index 000000000000..ea14bbe34abb
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7
@@ -0,0 +1,3 @@
+MD5 c6988b7b10cf2350ed4db03c57136928 nautilus-sendto-0.7.tar.bz2 300584
+RMD160 5cc01b9ecb2d4ff38aee1fdeeb589695b1398128 nautilus-sendto-0.7.tar.bz2 300584
+SHA256 b182003855b2cf4e1f07b6291bfa1aec0639b3808dec32ae27a1301be0d80a1c nautilus-sendto-0.7.tar.bz2 300584
diff --git a/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch
new file mode 100644
index 000000000000..405baaaf0e12
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch
@@ -0,0 +1,211 @@
+--- configure.in.orig 2006-07-04 14:08:48.000000000 -0500
++++ configure.in 2006-07-04 14:46:41.000000000 -0500
+@@ -6,7 +6,7 @@
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+
+ AM_MAINTAINER_MODE
+-
++
+ AM_DISABLE_STATIC
+ AC_PROG_CC
+ AM_PROG_LIBTOOL
+@@ -54,120 +54,116 @@
+ AC_SUBST(NAUTILUS_SENDTO_CFLAGS)
+ AC_SUBST(NAUTILUS_SENDTO_LIBS)
+
+-dnl Libebook support
++dnl Evolution (libebook) support
+ dnl ---------------------------------
++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])
+
+-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_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)
++
++ GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
++ GAIM_DATADIR=`pkg-config --variable=datadir gaim`
+
+-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
+- ]
+-)
++ 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])
+
+-AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes")
++if test x$enable_bluetooth = xyes ; then
++ PKG_CHECK_MODULES(BLUETOOTH, [gnome-bluetooth >= $BLUETOOTH_REQUIRED])
+
+-dnl --------------------------------------------------
++ AC_SUBST(BLUETOOTH_CFLAGS)
++ AC_SUBST(BLUETOOTH_LIBS)
++fi
++
++AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes")
+
+ dnl Balsa support
+ dnl -------------------------------------------------
+
+-enable_balsa=no
+-AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
+-dnl -------------------------------------------------
++AC_ARG_ENABLE([balsa],
++ AC_HELP_STRING([--enable-balsa],[enable support for balsa]),,
++ [enable_balsa=no])
+
++AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
+
+ dnl Sylpheed support
+ dnl -------------------------------------------------
+
+-enable_sylpheed=yes
+-AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
+-dnl -------------------------------------------------
++AC_ARG_ENABLE([sylpheed],
++ AC_HELP_STRING([--enable-sylpheed],[enable support for sylpheed]),,
++ [enable_sylpheed=no])
+
++AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
+
+ dnl Thunderbird support
+ dnl -------------------------------------------------
+
+-enable_thunderbird=no
++AC_ARG_ENABLE([thunderbird],
++ AC_HELP_STRING([--enable-thunderbird],[enable support for thunderbird]),,
++ [enable_thunderbird=no])
++
+ AM_CONDITIONAL(HAVE_THUNDERBIRD, test "x$enable_thunderbird" = "xyes")
+-dnl -------------------------------------------------
+
+ dnl Gajim support
+ dnl -------------------------------------------------
+
+-AC_ARG_WITH(gajim,
+- [AS_HELP_STRING(--with-gajim,[Path to Gajim install prefix])],
+- [GAJIM_PATH="$withval"],[GAJIM_PATH="$prefix"])
++AC_ARG_WITH([gajim],
++ AS_HELP_STRING(--with-gajim,[Path to Gajim install prefix]),
++ [GAJIM_PATH="$withval"],
++ [GAJIM_PATH="$prefix"])
+
+ GAJIM_SHARE_DIR="$GAJIM_PATH"/share/gajim
+
+-PKG_CHECK_MODULES(DBUS, dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED,
+- [
+- AC_SUBST(DBUS_CFLAGS)
+- AC_SUBST(DBUS_LIBS)
+- if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ;
+- then
+- enable_gajim=yes
+- AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
+- else
+- echo "Building without Gajim support"
+- enable_gajim=no
+- fi
+- ],
+- [
+- echo "Building without Gajim support"
+- enable_gajim=no
+- ]
+-)
++AC_ARG_ENABLE([gajim],
++ AC_HELP_STRING([--enable-gajim],[enable support for gajim]),,
++ [enable_gajim=no])
++
++if test x$enable_gajim = xyes ; then
++ if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ; then
++ enable_gajim=yes
++ AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
++
++ PKG_CHECK_MODULES(DBUS, [dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED])
++
++ AC_SUBST(DBUS_CFLAGS)
++ AC_SUBST(DBUS_LIBS)
++ else
++ enable_gajim=no
++ fi
++fi
+
+ AM_CONDITIONAL(HAVE_GAJIM, test "x$enable_gajim" = "xyes")
+
+-dnl -------------------------------------------------
+-
+
+ GNOME_COMPILE_WARNINGS
+
+@@ -178,7 +174,7 @@
+ GETTEXT_PACKAGE=nautilus-sendto
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package])
+-
++
+ AM_GLIB_GNU_GETTEXT
+ AC_PROG_INTLTOOL
+
diff --git a/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch
new file mode 100644
index 000000000000..17a4efc41574
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch
@@ -0,0 +1,25 @@
+--- gaim_plugin/nautilus-sendto-plugin.c.orig 2006-07-04 14:37:15.000000000 -0500
++++ gaim_plugin/nautilus-sendto-plugin.c 2006-07-04 14:37:51.000000000 -0500
+@@ -37,7 +37,7 @@
+ #include <unistd.h>
+ #include <dirent.h>
+
+-#include "internal.h"
++#include "plugin.h"
+ #include "conversation.h"
+ #include "core.h"
+ #include "debug.h"
+@@ -300,10 +300,10 @@
+ GAIM_PRIORITY_DEFAULT, /* priority */
+
+ "gtk-nautilus", /* id */
+- N_("Nautilus Integration"), /* name */
++ "Nautilus Integration", /* name */
+ "0.2", /* version */
+- N_("Provides integration with Nautilus"), /* summary */
+- N_("Provides integration with Nautilus"), /* description */
++ "Provides integration with Nautilus", /* summary */
++ "Provides integration with Nautilus", /* description */
+
+ "Roberto Majadas <roberto@hispalinux.es>", /* author */
+ "www.gnome.org", /* homepage */
diff --git a/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild b/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild
new file mode 100644
index 000000000000..4e84f18c012c
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild
@@ -0,0 +1,69 @@
+# 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.7.ebuild,v 1.1 2006/07/19 04:05:02 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 gajim sylpheed thunderbird"
+
+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 )
+ gajim? ( net-im/gajim )
+ sylpheed? ( mail-client/sylpheed )
+ thunderbird? ( mail-client/mozilla-thunderbird )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/pkgconfig-0.19
+ >=dev-util/intltool-0.35"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+ G2CONF="${G2CONF} \
+ $(use_enable bluetooth) \
+ $(use_enable eds evolution) \
+ $(use_enable gaim) \
+ $(use_enable gajim) \
+ $(use_enable sylpheed) \
+ $(use_enable thunderbird)"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Convert autodetection into hard options
+ epatch ${FILESDIR}/${PN}-0.7-configure-options.patch
+
+ # Add support for gaim 2.0
+ if has_version '=net-im/gaim-2*' ; then
+ epatch ${FILESDIR}/${PN}-0.7-gaim-2.0-plugin.patch
+ fi
+
+ # 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
+}