From: "Hans de Graaff (graaff)" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/gnome-do-plugins/files: do-plugins-optional-ext-dep.patch
Date: Mon, 03 Mar 2008 20:46:04 +0000 [thread overview]
Message-ID: <E1JWHXw-0008NB-LX@stork.gentoo.org> (raw)
graaff 08/03/03 20:46:04
Added: do-plugins-optional-ext-dep.patch
Log:
Initial version
(Portage version: 2.1.4.4)
Revision Changes Path
1.1 gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-do-plugins/files/do-plugins-optional-ext-dep.patch?rev=1.1&content-type=text/plain
Index: do-plugins-optional-ext-dep.patch
===================================================================
diff -urN do-plugins-0.3.0-orig/Makefile.am do-plugins-0.3.0/Makefile.am
--- do-plugins-0.3.0-orig/Makefile.am 2008-02-26 10:16:37.000000000 +0530
+++ do-plugins-0.3.0/Makefile.am 2008-02-27 10:35:14.000000000 +0530
@@ -1,3 +1,21 @@
-SUBDIRS = Evolution Epiphany Rhythmbox Pidgin LocateFiles Thunderbird GoogleCalculator OpenSearch Pastebin Templates Amarok GNOME-Session SimplePlugins
+ENABLED_SUBDIRS =
+
+if ENABLE_EVO_PLUGIN
+ENABLED_SUBDIRS += Evolution
+endif
+
+if ENABLE_AMAROK_PLUGIN
+ENABLED_SUBDIRS += Amarok
+endif
+
+if ENABLE_OPENSEARCH_PLUGIN
+ENABLED_SUBDIRS += OpenSearch
+endif
+
+if ENABLE_PASTEBIN_PLUGIN
+ENABLED_SUBDIRS += Pastebin
+endif
+
+SUBDIRS = $(ENABLED_SUBDIRS) Epiphany Rhythmbox Pidgin LocateFiles Thunderbird GoogleCalculator Templates GNOME-Session SimplePlugins
EXTRA_DIST = DoPlugins.mds Packages.mdse COPYRIGHT
diff -urN do-plugins-0.3.0-orig/configure.ac do-plugins-0.3.0/configure.ac
--- do-plugins-0.3.0-orig/configure.ac 2008-02-26 10:16:37.000000000 +0530
+++ do-plugins-0.3.0/configure.ac 2008-02-27 10:34:42.000000000 +0530
@@ -38,11 +38,61 @@
PKG_CHECK_MODULES([DO_ADDINS], [do.addins])
PKG_CHECK_MODULES([DO_DBUS], [do.dbus])
-PKG_CHECK_MODULES([EVOLUTION_SHARP], [evolution-sharp])
-
AC_SUBST(DO_ADDINS_LIBS)
AC_SUBST(DO_DBUS_LIBS)
+
+dnl - Evolution plugin
+
+AC_ARG_ENABLE([evolution-plugin],
+ AC_HELP_STRING([--enable-evolution-plugin], [Enable the Evolution plugin]),
+ enable_evo_plugin=$enableval,
+ enable_evo_plugin=yes)
+
+if test "x$enable_evo_plugin" = "xyes" ; then
+PKG_CHECK_MODULES([EVOLUTION_SHARP],
+ [evolution-sharp],
+ has_evo_deps=yes,
+ has_evo_deps=no)
AC_SUBST(EVOLUTION_SHARP_LIBS)
+fi
+
+if test "x$has_evo_deps" != "xyes" ; then
+ if test "x$enable_evo_plugin" = "xyes" ; then
+ dnl Error out if explicitly asked for the Evolution plugin
+ AC_MSG_ERROR([Could not find evolution-sharp])
+ fi
+ enable_evo_plugin="no"
+else
+ if test "x$enable_evo_plugin" != "xyes" ; then
+ enable_evo_plugin="no"
+ fi
+fi
+
+AM_CONDITIONAL(ENABLE_EVO_PLUGIN, test "x$enable_evo_plugin" = "xyes")
+
+dnl - Amarok plugin
+AC_ARG_ENABLE([amarok-plugin],
+ AC_HELP_STRING([--enable-amarok-plugin], [Enable the Amarok plugin]),
+ enable_amarok_plugin=$enableval,
+ enable_amarok_plugin=yes)
+
+AM_CONDITIONAL(ENABLE_AMAROK_PLUGIN, test "x$enable_amarok_plugin" = "xyes")
+
+dnl - OpenSearch plugin
+AC_ARG_ENABLE([opensearch-plugin],
+ AC_HELP_STRING([--enable-opensearch-plugin], [Enable the OpenSearch plugin]),
+ enable_opensearch_plugin=$enableval,
+ enable_opensearch_plugin=yes)
+
+AM_CONDITIONAL(ENABLE_OPENSEARCH_PLUGIN, test "x$enable_opensearch_plugin" = "xyes")
+
+dnl - Pastebin plugin
+AC_ARG_ENABLE([pastebin-plugin],
+ AC_HELP_STRING([--enable-pastebin-plugin], [Enable the Pastebin plugin]),
+ enable_pastebin_plugin=$enableval,
+ enable_pastebin_plugin=yes)
+
+AM_CONDITIONAL(ENABLE_PASTEBIN_PLUGIN, test "x$enable_pastebin_plugin" = "xyes")
dnl Plugin install paths
--
gentoo-commits@lists.gentoo.org mailing list
reply other threads:[~2008-03-03 20:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JWHXw-0008NB-LX@stork.gentoo.org \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox