aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-09-27 23:11:24 +0800
committerDan Winship <danw@src.gnome.org>2001-09-27 23:11:24 +0800
commitbc4de6574433fb7bf1c18a94934d26d2a5fed1a9 (patch)
tree7811fd8f209d0c20a8880d9ef62ab9049a43b3a8
parentac54446b56cc61726a675b51cd07305956643fbc (diff)
downloadgsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar.gz
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar.bz2
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar.lz
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar.xz
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.tar.zst
gsoc2013-evolution-bc4de6574433fb7bf1c18a94934d26d2a5fed1a9.zip
Remove references to the "compose" program, since that functionality went
* configure.in: Remove references to the "compose" program, since that functionality went into the shell. (AC_OUTPUT): Sort and remove duplicates. * cmdline/*: gone svn path=/trunk/; revision=13193
-rw-r--r--ChangeLog8
-rw-r--r--cmdline/.cvsignore5
-rw-r--r--cmdline/Makefile.am18
-rw-r--r--cmdline/compose.151
-rw-r--r--cmdline/compose.c152
-rw-r--r--configure.in131
6 files changed, 68 insertions, 297 deletions
diff --git a/ChangeLog b/ChangeLog
index 64ec4fc974..737a28a405 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-09-27 Dan Winship <danw@ximian.com>
+
+ * configure.in: Remove references to the "compose" program, since
+ that functionality went into the shell.
+ (AC_OUTPUT): Sort and remove duplicates.
+
+ * cmdline/*: gone
+
2001-09-26 Jeffrey Stedfast <fejj@ximian.com>
* configure.in: Added a flag to enable pedantic PGP/MIME - this is
diff --git a/cmdline/.cvsignore b/cmdline/.cvsignore
deleted file mode 100644
index b29b403eec..0000000000
--- a/cmdline/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-Makefile.in
-Makefile
-.deps
-.libs
-compose
diff --git a/cmdline/Makefile.am b/cmdline/Makefile.am
deleted file mode 100644
index 6a888e7468..0000000000
--- a/cmdline/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-
-man_MANS = compose.1
-
-bin_PROGRAMS = compose
-
-INCLUDES = \
- -I$(top_builddir) \
- $(COMPOSE_CFLAGS) \
- $(INTLLIBS)
-
-compose_LDADD = \
- ../composer/libcomposer.a \
- $(COMPOSE_LIBS)
-
-compose_SOURCES = \
- compose.c \
- ../composer/Composer-stubs.c \
- ../composer/Composer-common.c
diff --git a/cmdline/compose.1 b/cmdline/compose.1
deleted file mode 100644
index 946eb01eaa..0000000000
--- a/cmdline/compose.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.\"
-.\" Evolution's compose command line utility manual page.
-.\" (C) Ximian, Inc. http://www.ximian.com
-.\"
-.\" Author:
-.\" Miguel de Icaza (miguel@kernel.org)
-.\"
-.TH Evolution 1 "Evolution 1.0"
-.SH NAME
-compose \- invokes the Evolution Mail composer tool.
-.SH SYNOPSIS
-.PP
-.B compose
-[\-\-subject SUBJECT] [\-s SUBJECT] [\-\-cc LIST] [\-c LIST] [\-\-bcc
-LIST] [\-b LIST] [\-\-body FNAME] to...
-.SH DESCRIPTION
-The
-.I compose
-program is a command line tool that can be used to invoke the
-Evolution Mail composer directly from the command line, and allows for
-simple configuration trough a number of flags.
-.SH OPTIONS
-The following options are supported
-.TP
-.I \-\-subject SUBJECT, \-s SUBJECT
-Both forms are used to specify the subject to be used in the mail
-message.
-.TP
-.I \-\-cc LIST, \-c LIST
-Both forms are used to specify a comma separated list of addresses to
-CC the message to.
-.TP
-.I \-\-bcc LIST, \-b LIST
-Both forms are used to specify a comma separated list of addresses
-that this message will be blind copied to.
-.TP
-.I \-\-body FNAME
-Loads the filename FNAME as the contents for the Evolution Mail
-composer.
-.SH OTHERS
-If these options are not enough, you might want to look into accessing
-the Evolution Mail Composer directly by using CORBA.
-.SH INTERFACES
-The Evolution Mail Composer supports the
-IDL:GNOME/Evolution/Composer:1.0 interface and is implemented as the
-component OAFIID:GNOME_Evolution_Mail_Composer.
-.SH SEE ALSO
-Evolution-Composer.idl
-.SH BUGS
-If you find bugs in the Evolution groupware suite, please report these
-using the \fIbug-buddy\fP program in the GNOME distribution. \ No newline at end of file
diff --git a/cmdline/compose.c b/cmdline/compose.c
deleted file mode 100644
index 95a39a3dec..0000000000
--- a/cmdline/compose.c
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * compose.c: A commnand line tool to invoke the Evolution mail composer
- *
- * Author:
- * Miguel de Icaza (miguel@ximian.com)
- *
- * (C) 2001 Ximian, Inc.
- */
-#include <config.h>
-#include <gnome.h>
-#include <liboaf/liboaf.h>
-#include <bonobo.h>
-#include "composer/Composer.h"
-
-static char *subject;
-static char *cc;
-static char *bcc;
-static char *body;
-static char *to = "";
-
-const struct poptOption compose_popt_options [] = {
- { "subject", 's', POPT_ARG_STRING,
- &subject, 0, N_("Subject for the mail message"), N_("SUBJECT") },
- { "cc", 'c', POPT_ARG_STRING,
- &cc, 0, N_("List of people that will be Carbo Copied"), N_("CC-LIST") },
- { "bcc", 'b', POPT_ARG_STRING,
- &bcc, 0, N_("List of people to Blind Carbon Copy this mail to"), N_("BCC-LIST") },
- { "body", 0, POPT_ARG_STRING,
- &body, 0, N_("Filename containing the body of the message"), N_("BODY-FILE") },
- { NULL, 0, 0, NULL, 0 }
-};
-
-static void
-error (const char *msg)
-{
- GtkWidget *dialog;
-
- dialog = gnome_message_box_new (
- msg,
- GNOME_MESSAGE_BOX_ERROR,
- GNOME_STOCK_BUTTON_OK,
- NULL);
-
- gnome_dialog_run_and_close (GNOME_DIALOG (dialog));
- exit (1);
- g_assert_not_reached ();
-}
-
-GNOME_Evolution_Composer_RecipientList *
-make_list (char *str)
-{
- GNOME_Evolution_Composer_RecipientList *list;
- char *p;
- int count = 0;
-
- if (str == NULL)
- str = "";
-
- list = GNOME_Evolution_Composer_RecipientList__alloc();
-
- if (*str)
- count = 1;
-
- for (p = str; *p; p++){
- if (*p == ',')
- count++;
- }
- list->_maximum = count;
- list->_length = count;
- list->_buffer = CORBA_sequence_GNOME_Evolution_Composer_Recipient_allocbuf (count);
-
- for (count = 0; (p = strtok (str, ",")) != NULL; count++){
- GNOME_Evolution_Composer_Recipient *x;
-
- x = GNOME_Evolution_Composer_Recipient__alloc ();
-
- list->_buffer [count].name = CORBA_string_dup ("");
- list->_buffer [count].address = CORBA_string_dup (p);
- count++;
- str = NULL;
- }
-
- return list;
-}
-
-gint
-do_launch (void)
-{
- GNOME_Evolution_Composer_RecipientList *to_list, *cc_list, *bcc_list;
- GNOME_Evolution_Composer composer;
- CORBA_Environment ev;
-
- CORBA_exception_init (&ev);
- composer = bonobo_get_object (
- "OAFIID:GNOME_Evolution_Mail_Composer",
- "GNOME/Evolution/Composer", &ev);
- CORBA_exception_free (&ev);
-
- if (composer == CORBA_OBJECT_NIL)
- error (_("It was not possible to start up the Evolution Mail Composer"));
-
- to_list = make_list (to);
- cc_list = make_list (cc);
- bcc_list = make_list (bcc);
-
- if (subject == NULL)
- subject = "";
-
- GNOME_Evolution_Composer_setHeaders (composer, to_list, cc_list, bcc_list, subject, &ev);
- GNOME_Evolution_Composer_show (composer, &ev);
-
- return FALSE;
-}
-
-int
-main (int argc, char *argv [])
-{
- poptContext ctxt = NULL;
- CORBA_ORB orb;
-
- gnomelib_register_popt_table (oaf_popt_options, _("Oaf options"));
- gnome_init_with_popt_table ("Compose", "1.0", argc, argv,
- compose_popt_options, 0, &ctxt);
-
- orb = oaf_init (argc, argv);
- if (bonobo_init (NULL, NULL, NULL) == FALSE)
- error (_("It was not possible to initialize the Bonobo component system"));
-
- if (ctxt){
- const char **to_args = NULL;
- GString *to_str = g_string_new ("");
- int i;
-
- to_args = poptGetArgs (ctxt);
-
- if (to_args){
- for (i = 0; to_args [i]; i++) {
- if (i > 1)
- g_string_append_c (to_str, ',');
-
- g_string_append (to_str, to_args [i]);
- }
- }
- to = to_str->str;
- }
-
- gtk_idle_add (GTK_SIGNAL_FUNC (do_launch), NULL);
-
- bonobo_main ();
-
- return 0;
-}
diff --git a/configure.in b/configure.in
index 1f67e045ff..48836f4b7e 100644
--- a/configure.in
+++ b/configure.in
@@ -1046,15 +1046,6 @@ else
esac
fi
-dnl
-dnl Compose program
-dnl
-compose_libs="bonobo gnomeui"
-COMPOSE_LIBS="`gnome-config --libs $compose_libs`"
-COMPOSE_CFLAGS="`gnome-config --cflags $compose_libs`"
-AC_SUBST(COMPOSE_LIBS)
-AC_SUBST(COMPOSE_CFLAGS)
-
dnl ******************
dnl Sub-version number
dnl ******************
@@ -1072,100 +1063,98 @@ AC_SUBST(EVOLUTION_DIR)
AC_OUTPUT([
Makefile
-macros/Makefile
-intl/Makefile
-po/Makefile.in
-e-util/Makefile
-e-util/ename/Makefile
-libibex/Makefile
-my-evolution/Makefile
-camel/Makefile
-camel/providers/Makefile
-camel/providers/pop3/Makefile
-camel/providers/sendmail/Makefile
-camel/providers/smtp/Makefile
-camel/providers/imap/Makefile
-camel/providers/nntp/Makefile
-camel/providers/local/Makefile
-camel/tests/Makefile
-camel/tests/lib/Makefile
-camel/tests/message/Makefile
-camel/tests/mime-filter/Makefile
-camel/tests/misc/Makefile
-camel/tests/folder/Makefile
-camel/tests/smime/Makefile
-camel/tests/stream/Makefile
-composer/Makefile
-widgets/Makefile
-widgets/e-timezone-dialog/Makefile
-widgets/misc/Makefile
-widgets/menus/Makefile
addressbook/Makefile
-addressbook/conduit/Makefile
-addressbook/printing/Makefile
addressbook/backend/Makefile
+addressbook/backend/ebook/Makefile
addressbook/backend/idl/Makefile
addressbook/backend/pas/Makefile
-addressbook/backend/ebook/Makefile
+addressbook/conduit/Makefile
addressbook/gui/Makefile
+addressbook/gui/component/Makefile
+addressbook/gui/component/select-names/Makefile
addressbook/gui/contact-editor/Makefile
addressbook/gui/contact-list-editor/Makefile
addressbook/gui/merging/Makefile
-addressbook/gui/widgets/Makefile
addressbook/gui/search/Makefile
-addressbook/gui/component/Makefile
-addressbook/gui/component/select-names/Makefile
-shell/Makefile
-shell/glade/Makefile
-shell/importer/Makefile
-mail/Makefile
-mail/importers/Makefile
-data/Makefile
-libversit/Makefile
-libwombat/Makefile
-libibex/Makefile
+addressbook/gui/widgets/Makefile
+addressbook/printing/Makefile
+art/Makefile
calendar/Makefile
-calendar/idl/Makefile
-calendar/cal-util/Makefile
calendar/cal-client/Makefile
-calendar/pcs/Makefile
-calendar/gui/Makefile
-calendar/gui/alarm-notify/Makefile
-calendar/gui/dialogs/Makefile
+calendar/cal-util/Makefile
calendar/conduits/Makefile
calendar/conduits/calendar/Makefile
calendar/conduits/todo/Makefile
-filter/Makefile
-wombat/Makefile
+calendar/gui/Makefile
+calendar/gui/alarm-notify/Makefile
+calendar/gui/dialogs/Makefile
+calendar/idl/Makefile
+calendar/pcs/Makefile
+camel/Makefile
+camel/providers/Makefile
+camel/providers/imap/Makefile
+camel/providers/local/Makefile
+camel/providers/nntp/Makefile
+camel/providers/pop3/Makefile
+camel/providers/sendmail/Makefile
+camel/providers/smtp/Makefile
+camel/tests/Makefile
+camel/tests/folder/Makefile
+camel/tests/lib/Makefile
+camel/tests/message/Makefile
+camel/tests/mime-filter/Makefile
+camel/tests/misc/Makefile
+camel/tests/smime/Makefile
+camel/tests/stream/Makefile
composer/Makefile
-importers/Makefile
-art/Makefile
-ui/Makefile
+data/Makefile
default_user/Makefile
-default_user/local/Makefile
default_user/local/Calendar/Makefile
default_user/local/Contacts/Makefile
default_user/local/Drafts/Makefile
default_user/local/Inbox/Makefile
+default_user/local/Makefile
default_user/local/Outbox/Makefile
default_user/local/Sent/Makefile
default_user/local/Tasks/Makefile
default_user/local/Trash/Makefile
-views/Makefile
-views/addressbook/Makefile
-views/mail/Makefile
-views/tasks/Makefile
-views/calendar/Makefile
-tools/Makefile
doc/Makefile
doc/devel/Makefile
doc/devel/calendar/Makefile
doc/devel/calendar/cal-client/Makefile
doc/devel/calendar/cal-util/Makefile
-help/Makefile
+e-util/Makefile
+e-util/ename/Makefile
+filter/Makefile
help/C/Makefile
+help/Makefile
help/no/Makefile
+importers/Makefile
+intl/Makefile
+libibex/Makefile
+libversit/Makefile
+libwombat/Makefile
+macros/Makefile
+mail/Makefile
+mail/importers/Makefile
+my-evolution/Makefile
omf-install/Makefile
+po/Makefile.in
+shell/Makefile
+shell/glade/Makefile
+shell/importer/Makefile
+tools/Makefile
+ui/Makefile
+views/Makefile
+views/addressbook/Makefile
+views/calendar/Makefile
+views/mail/Makefile
+views/tasks/Makefile
+widgets/Makefile
+widgets/e-timezone-dialog/Makefile
+widgets/menus/Makefile
+widgets/misc/Makefile
+wombat/Makefile
])
if test "x$with_sub_version" != "x"; then