'everything'

- everything plugins are now e-modules.


SVN revision: 47895
This commit is contained in:
Hannes Janetzek 2010-04-10 20:05:57 +00:00
parent 6b520fb445
commit c9c75b2420
55 changed files with 2898 additions and 2566 deletions

View File

@ -476,6 +476,62 @@ group "E_Config" struct {
group "E_Config_Module" struct {
value "name" string: "everything";
value "enabled" uchar: 1;
value "delayed" uchar: 0;
value "priority" int: -1000;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-files";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-apps";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-calc";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-aspell";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-wallpaper";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-settings";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}
}
group "modules" list {
group "E_Config_Module" struct {
value "name" string: "everything-windows";
value "enabled" uchar: 1;
value "delayed" uchar: 1;
value "priority" int: 0;
}

View File

@ -532,6 +532,13 @@ AC_E_OPTIONAL_MODULE([illume], true)
AC_E_OPTIONAL_MODULE([illume2], true)
AC_E_OPTIONAL_MODULE([syscon], true)
AC_E_OPTIONAL_MODULE([everything], true)
AC_E_OPTIONAL_MODULE([everything-files], true)
AC_E_OPTIONAL_MODULE([everything-apps], true)
AC_E_OPTIONAL_MODULE([everything-calc], true)
AC_E_OPTIONAL_MODULE([everything-aspell], true)
AC_E_OPTIONAL_MODULE([everything-wallpaper], true)
AC_E_OPTIONAL_MODULE([everything-settings], true)
AC_E_OPTIONAL_MODULE([everything-windows], true)
AC_E_OPTIONAL_MODULE([systray], true)
AC_E_OPTIONAL_MODULE([comp], true)
@ -697,11 +704,22 @@ src/modules/illume2/policies/illume/Makefile
src/modules/syscon/Makefile
src/modules/syscon/module.desktop
src/modules/everything/Makefile
src/modules/everything/sources/Makefile
src/modules/everything/actions/Makefile
src/modules/everything/views/Makefile
src/modules/everything/module.desktop
src/modules/everything/everything.pc
src/modules/everything-files/Makefile
src/modules/everything-files/module.desktop
src/modules/everything-apps/Makefile
src/modules/everything-apps/module.desktop
src/modules/everything-windows/Makefile
src/modules/everything-windows/module.desktop
src/modules/everything-settings/Makefile
src/modules/everything-settings/module.desktop
src/modules/everything-calc/Makefile
src/modules/everything-calc/module.desktop
src/modules/everything-aspell/Makefile
src/modules/everything-aspell/module.desktop
src/modules/everything-wallpaper/Makefile
src/modules/everything-wallpaper/module.desktop
src/modules/systray/Makefile
src/modules/systray/module.desktop
src/modules/comp/Makefile

View File

@ -258,6 +258,38 @@ if USE_MODULE_EVERYTHING
SUBDIRS += everything
endif
if USE_MODULE_EVERYTHING_FILES
SUBDIRS += everything-files
endif
if USE_MODULE_EVERYTHING_APPS
SUBDIRS += everything-apps
endif
if USE_MODULE_EVERYTHING_FILES
SUBDIRS += everything-calc
endif
if USE_MODULE_EVERYTHING_ASPELL
SUBDIRS += everything-aspell
endif
if USE_MODULE_EVERYTHING_SETTINGS
SUBDIRS += everything-settings
endif
if USE_MODULE_EVERYTHING_WALLPAPER
SUBDIRS += everything-wallpaper
endif
if USE_MODULE_EVERYTHING_CALC
SUBDIRS += everything-calc
endif
if USE_MODULE_EVERYTHING_CALC
SUBDIRS += everything-windows
endif
if USE_MODULE_SYSTRAY
SUBDIRS += systray
endif
@ -342,6 +374,7 @@ illume-kbd-toggle \
illume-mode-toggle \
syscon \
everything \
everything-files \
systray \
comp \
ofono

View File

@ -0,0 +1,30 @@
MAINTAINERCLEANFILES = Makefile.in
MODULE = everything-apps
# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
e-module.edj module.desktop
EXTRA_DIST = $(files_DATA)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/src/modules/$(MODULE) \
-I$(top_srcdir)/src/bin \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/modules \
-I$(top_srcdir)/src/modules/everything \
@e_cflags@
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
uninstall:
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)

Binary file not shown.

View File

@ -1,5 +1,9 @@
#include "e_mod_main.h"
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "Evry.h"
#include "e_mod_main.h"
typedef struct _Plugin Plugin;
@ -290,13 +294,13 @@ _item_add(Plugin *p, Efreet_Desktop *desktop, char *file, int match)
if (desktop)
{
evry_item_new(EVRY_ITEM(app), EVRY_PLUGIN(p), desktop->name, _item_free);
EVRY_ITEM(app)->id = eina_stringshare_add(desktop->exec);
evry_item_new(EVRY_ITEM(app), EVRY_PLUGIN(p), desktop->name, _item_free);
EVRY_ITEM(app)->id = eina_stringshare_add(desktop->exec);
}
else
{
evry_item_new(EVRY_ITEM(app), EVRY_PLUGIN(p), file, _item_free);
EVRY_ITEM(app)->id = eina_stringshare_add(file);
evry_item_new(EVRY_ITEM(app), EVRY_PLUGIN(p), file, _item_free);
EVRY_ITEM(app)->id = eina_stringshare_add(file);
}
app->desktop = desktop;
@ -390,37 +394,37 @@ _cb_sort(const void *data1, const void *data2)
static Eina_Bool
_hist_items_add_cb(const Eina_Hash *hash, const void *key, void *data, void *fdata)
{
History_Entry *he = data;
History_Item *hi;
Plugin *p = fdata;
Efreet_Desktop *d;
Eina_List *l;
Evry_Item_App *app;
History_Entry *he = data;
History_Item *hi;
Plugin *p = fdata;
Efreet_Desktop *d;
Eina_List *l;
Evry_Item_App *app;
EINA_LIST_FOREACH(he->items, l, hi)
{
if (hi->plugin != p->base.name)
continue;
EINA_LIST_FOREACH(he->items, l, hi)
{
if (hi->plugin != p->base.name)
continue;
if ((d = efreet_util_desktop_exec_find(key)))
{
app = _item_add(p, d, NULL, 1);
}
else
{
app = _item_add(p, NULL, (char *) key, 1);
if (app && app->desktop)
efreet_desktop_ref(app->desktop);
}
if ((d = efreet_util_desktop_exec_find(key)))
{
app = _item_add(p, d, NULL, 1);
}
else
{
app = _item_add(p, NULL, (char *) key, 1);
if (app && app->desktop)
efreet_desktop_ref(app->desktop);
}
if (app && app->desktop)
{
p->apps_hist = eina_list_append(p->apps_hist, app->desktop);
}
if (app && app->desktop)
{
p->apps_hist = eina_list_append(p->apps_hist, app->desktop);
}
if (app) break;
}
return EINA_TRUE;
if (app) break;
}
return EINA_TRUE;
}
static int
@ -731,7 +735,7 @@ _new_app_action(Evry_Action *act)
//#define TIME_FACTOR(_now) (1.0 - (evry_hist->begin / _now)) / 1000000000000000.0
static Eina_Bool
_init(void)
module_init(void)
{
if (!evry_api_version_check(EVRY_API_VERSION))
return EINA_FALSE;
@ -785,56 +789,56 @@ _init(void)
evry_action_register(act5, 5);
/*
Eina_List *l, *ll;
const char *file, *name;
History_Entry *he;
History_Item *hi;
name = EVRY_PLUGIN(p1)->name;
double t;
int found = 0;
Eina_List *l, *ll;
const char *file, *name;
History_Entry *he;
History_Item *hi;
name = EVRY_PLUGIN(p1)->name;
double t;
int found = 0;
evry_history_load();
evry_history_load();
EINA_LIST_FOREACH(e_exehist_list_get(), l, file)
EINA_LIST_FOREACH(e_exehist_list_get(), l, file)
{
t = e_exehist_newest_run_get(file);
he = eina_hash_find(evry_hist->subjects, file);
t = e_exehist_newest_run_get(file);
he = eina_hash_find(evry_hist->subjects, file);
if (!he)
{
he = E_NEW(History_Entry, 1);
eina_hash_add(evry_hist->subjects, file, he);
}
else
{
EINA_LIST_FOREACH(he->items, ll, hi)
{
if (hi->plugin != name) continue;
if (t > hi->last_used - 1.0)
{
hi->last_used = t;
hi->usage += TIME_FACTOR(hi->last_used);
hi->count = e_exehist_popularity_get(file);
}
found = 1;
break;
}
}
if (!found)
{
hi = E_NEW(History_Item, 1);
hi->plugin = eina_stringshare_ref(name);
hi->last_used = t;
hi->count = e_exehist_popularity_get(file);
hi->usage += TIME_FACTOR(hi->last_used);
he->items = eina_list_append(he->items, hi);
}
found = 0;
if (!he)
{
he = E_NEW(History_Entry, 1);
eina_hash_add(evry_hist->subjects, file, he);
}
evry_history_unload();
else
{
EINA_LIST_FOREACH(he->items, ll, hi)
{
if (hi->plugin != name) continue;
if (t > hi->last_used - 1.0)
{
hi->last_used = t;
hi->usage += TIME_FACTOR(hi->last_used);
hi->count = e_exehist_popularity_get(file);
}
found = 1;
break;
}
}
if (!found)
{
hi = E_NEW(History_Item, 1);
hi->plugin = eina_stringshare_ref(name);
hi->last_used = t;
hi->count = e_exehist_popularity_get(file);
hi->usage += TIME_FACTOR(hi->last_used);
he->items = eina_list_append(he->items, hi);
}
found = 0;
}
evry_history_unload();
*/
/* taken from e_exebuf.c */
exelist_exe_edd = E_CONFIG_DD_NEW("E_Exe", E_Exe);
@ -855,7 +859,7 @@ _init(void)
}
static void
_shutdown(void)
module_shutdown(void)
{
EVRY_PLUGIN_FREE(p1);
EVRY_PLUGIN_FREE(p2);
@ -871,10 +875,6 @@ _shutdown(void)
E_CONFIG_DD_FREE(exelist_exe_edd);
}
EINA_MODULE_INIT(_init);
EINA_MODULE_SHUTDOWN(_shutdown);
/* taken from e_exebuf.c */
static int
_scan_idler(void *data)
@ -990,3 +990,53 @@ _scan_idler(void *data)
/* we have mroe scannign to do */
return 1;
}
/***************************************************************************/
/**/
/* actual module specifics */
static E_Module *module = NULL;
static Eina_Bool active = EINA_FALSE;
/***************************************************************************/
/**/
/* module setup */
EAPI E_Module_Api e_modapi =
{
E_MODULE_API_VERSION,
"everything-apps"
};
EAPI void *
e_modapi_init(E_Module *m)
{
module = m;
if (e_datastore_get("everything_loaded"))
active = module_init();
e_module_delayed_set(m, 1);
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
{
if (active && e_datastore_get("everything_loaded"))
module_shutdown();
module = NULL;
return 1;
}
EAPI int
e_modapi_save(E_Module *m)
{
return 1;
}
/**/
/***************************************************************************/

View File

@ -0,0 +1,13 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
EAPI extern E_Module_Api e_modapi;
EAPI void *e_modapi_init (E_Module *m);
EAPI int e_modapi_shutdown (E_Module *m);
EAPI int e_modapi_save (E_Module *m);
#endif

View File

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Link
Name=Everything Applications
Icon=e-module
X-Enlightenment-ModuleType=system

View File

@ -0,0 +1,30 @@
MAINTAINERCLEANFILES = Makefile.in
MODULE = everything-aspell
# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
e-module.edj module.desktop
EXTRA_DIST = $(files_DATA)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/src/modules/$(MODULE) \
-I$(top_srcdir)/src/bin \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/modules \
-I$(top_srcdir)/src/modules/everything \
@e_cflags@
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
uninstall:
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)

View File

@ -0,0 +1,771 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = src/modules/everything-aspell
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/module.desktop.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ac-plugins.m4 \
$(top_srcdir)/m4/ac_attribute.m4 \
$(top_srcdir)/m4/efl_doxygen.m4 \
$(top_srcdir)/m4/efl_path_max.m4 $(top_srcdir)/m4/gettext.m4 \
$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/isc-posix.m4 \
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = module.desktop
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(filesdir)"
LTLIBRARIES = $(pkg_LTLIBRARIES)
am_module_la_OBJECTS = e_mod_main.lo
module_la_OBJECTS = $(am_module_la_OBJECTS)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
module_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(module_la_LDFLAGS) $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
$(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_$(V))
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
am__v_CC_0 = @echo " CC " $@;
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
$(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_$(V))
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
am__v_CCLD_0 = @echo " CCLD " $@;
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
SOURCES = $(module_la_SOURCES)
DIST_SOURCES = $(module_la_SOURCES)
DATA = $(files_DATA)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
ALL_LINGUAS = @ALL_LINGUAS@
ALSA_CFLAGS = @ALSA_CFLAGS@
ALSA_LIBS = @ALSA_LIBS@
ALSA_VERSION = @ALSA_VERSION@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BATTERY_CFLAGS = @BATTERY_CFLAGS@
BATTERY_LDFLAGS = @BATTERY_LDFLAGS@
BATTERY_LIBS = @BATTERY_LIBS@
BATTERY_VERSION = @BATTERY_VERSION@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
EBLUEZ_CFLAGS = @EBLUEZ_CFLAGS@
EBLUEZ_LIBS = @EBLUEZ_LIBS@
EBLUEZ_VERSION = @EBLUEZ_VERSION@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ECONNMAN_CFLAGS = @ECONNMAN_CFLAGS@
ECONNMAN_LIBS = @ECONNMAN_LIBS@
ECONNMAN_VERSION = @ECONNMAN_VERSION@
ECORE_IMF_CFLAGS = @ECORE_IMF_CFLAGS@
ECORE_IMF_LIBS = @ECORE_IMF_LIBS@
ECORE_IMF_VERSION = @ECORE_IMF_VERSION@
EDJE_DEF = @EDJE_DEF@
EET_CFLAGS = @EET_CFLAGS@
EET_LIBS = @EET_LIBS@
EGREP = @EGREP@
EOFONO_CFLAGS = @EOFONO_CFLAGS@
EOFONO_LIBS = @EOFONO_LIBS@
EOFONO_VERSION = @EOFONO_VERSION@
EXCHANGE_CFLAGS = @EXCHANGE_CFLAGS@
EXCHANGE_LIBS = @EXCHANGE_LIBS@
EXCHANGE_VERSION = @EXCHANGE_VERSION@
EXEEXT = @EXEEXT@
E_CFLAGS = @E_CFLAGS@
E_FM_CFLAGS = @E_FM_CFLAGS@
E_FM_LIBS = @E_FM_LIBS@
E_FM_OPEN_CFLAGS = @E_FM_OPEN_CFLAGS@
E_FM_OPEN_LIBS = @E_FM_OPEN_LIBS@
E_FM_OP_CFLAGS = @E_FM_OP_CFLAGS@
E_FM_OP_LIBS = @E_FM_OP_LIBS@
E_IMC_CFLAGS = @E_IMC_CFLAGS@
E_IMC_LIBS = @E_IMC_LIBS@
E_INIT_CFLAGS = @E_INIT_CFLAGS@
E_INIT_LIBS = @E_INIT_LIBS@
E_LIBS = @E_LIBS@
E_REMOTE_CFLAGS = @E_REMOTE_CFLAGS@
E_REMOTE_LIBS = @E_REMOTE_LIBS@
E_SYS_CFLAGS = @E_SYS_CFLAGS@
E_SYS_LIBS = @E_SYS_LIBS@
E_THUMB_CFLAGS = @E_THUMB_CFLAGS@
E_THUMB_LIBS = @E_THUMB_LIBS@
FGREP = @FGREP@
GMSGFMT = @GMSGFMT@
GREP = @GREP@
HAVE_ALSA = @HAVE_ALSA@
HAVE_BATTERY = @HAVE_BATTERY@
HAVE_EBLUEZ = @HAVE_EBLUEZ@
HAVE_ECONNMAN = @HAVE_ECONNMAN@
HAVE_ECORE_IMF = @HAVE_ECORE_IMF@
HAVE_EOFONO = @HAVE_EOFONO@
HAVE_EXCHANGE = @HAVE_EXCHANGE@
HAVE_TEMPERATURE = @HAVE_TEMPERATURE@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INTLLIBS = @INTLLIBS@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LN_S = @LN_S@
LOCALE_DIR = @LOCALE_DIR@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MKINSTALLDIRS = @MKINSTALLDIRS@
MODULE_ARCH = @MODULE_ARCH@
MSGFMT = @MSGFMT@
MSGMERGE = @MSGMERGE@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BIN_DIR = @PACKAGE_BIN_DIR@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
PACKAGE_LIB_DIR = @PACKAGE_LIB_DIR@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_SYSCONF_DIR = @PACKAGE_SYSCONF_DIR@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
POSUB = @POSUB@
RANLIB = @RANLIB@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SOUND_CFLAGS = @SOUND_CFLAGS@
SOUND_LIBS = @SOUND_LIBS@
STRIP = @STRIP@
TEMPERATURE_CFLAGS = @TEMPERATURE_CFLAGS@
TEMPERATURE_LIBS = @TEMPERATURE_LIBS@
TEMPERATURE_VERSION = @TEMPERATURE_VERSION@
USE_MODULE_BATTERY = @USE_MODULE_BATTERY@
USE_MODULE_BLUEZ = @USE_MODULE_BLUEZ@
USE_MODULE_CLOCK = @USE_MODULE_CLOCK@
USE_MODULE_COMP = @USE_MODULE_COMP@
USE_MODULE_CONF = @USE_MODULE_CONF@
USE_MODULE_CONF_APPLICATIONS = @USE_MODULE_CONF_APPLICATIONS@
USE_MODULE_CONF_BORDERS = @USE_MODULE_CONF_BORDERS@
USE_MODULE_CONF_CLIENTLIST = @USE_MODULE_CONF_CLIENTLIST@
USE_MODULE_CONF_COLORS = @USE_MODULE_CONF_COLORS@
USE_MODULE_CONF_DESK = @USE_MODULE_CONF_DESK@
USE_MODULE_CONF_DESKLOCK = @USE_MODULE_CONF_DESKLOCK@
USE_MODULE_CONF_DESKS = @USE_MODULE_CONF_DESKS@
USE_MODULE_CONF_DIALOGS = @USE_MODULE_CONF_DIALOGS@
USE_MODULE_CONF_DISPLAY = @USE_MODULE_CONF_DISPLAY@
USE_MODULE_CONF_DPMS = @USE_MODULE_CONF_DPMS@
USE_MODULE_CONF_EDGEBINDINGS = @USE_MODULE_CONF_EDGEBINDINGS@
USE_MODULE_CONF_ENGINE = @USE_MODULE_CONF_ENGINE@
USE_MODULE_CONF_EXEBUF = @USE_MODULE_CONF_EXEBUF@
USE_MODULE_CONF_FONTS = @USE_MODULE_CONF_FONTS@
USE_MODULE_CONF_ICON_THEME = @USE_MODULE_CONF_ICON_THEME@
USE_MODULE_CONF_IMC = @USE_MODULE_CONF_IMC@
USE_MODULE_CONF_INTERACTION = @USE_MODULE_CONF_INTERACTION@
USE_MODULE_CONF_INTL = @USE_MODULE_CONF_INTL@
USE_MODULE_CONF_KEYBINDINGS = @USE_MODULE_CONF_KEYBINDINGS@
USE_MODULE_CONF_MENUS = @USE_MODULE_CONF_MENUS@
USE_MODULE_CONF_MIME = @USE_MODULE_CONF_MIME@
USE_MODULE_CONF_MOUSE = @USE_MODULE_CONF_MOUSE@
USE_MODULE_CONF_MOUSEBINDINGS = @USE_MODULE_CONF_MOUSEBINDINGS@
USE_MODULE_CONF_MOUSE_CURSOR = @USE_MODULE_CONF_MOUSE_CURSOR@
USE_MODULE_CONF_PATHS = @USE_MODULE_CONF_PATHS@
USE_MODULE_CONF_PERFORMANCE = @USE_MODULE_CONF_PERFORMANCE@
USE_MODULE_CONF_PROFILES = @USE_MODULE_CONF_PROFILES@
USE_MODULE_CONF_SCALE = @USE_MODULE_CONF_SCALE@
USE_MODULE_CONF_SCREENSAVER = @USE_MODULE_CONF_SCREENSAVER@
USE_MODULE_CONF_SHELVES = @USE_MODULE_CONF_SHELVES@
USE_MODULE_CONF_STARTUP = @USE_MODULE_CONF_STARTUP@
USE_MODULE_CONF_THEME = @USE_MODULE_CONF_THEME@
USE_MODULE_CONF_TRANSITIONS = @USE_MODULE_CONF_TRANSITIONS@
USE_MODULE_CONF_WALLPAPER = @USE_MODULE_CONF_WALLPAPER@
USE_MODULE_CONF_WALLPAPER2 = @USE_MODULE_CONF_WALLPAPER2@
USE_MODULE_CONF_WINDOW_DISPLAY = @USE_MODULE_CONF_WINDOW_DISPLAY@
USE_MODULE_CONF_WINDOW_FOCUS = @USE_MODULE_CONF_WINDOW_FOCUS@
USE_MODULE_CONF_WINDOW_MANIPULATION = @USE_MODULE_CONF_WINDOW_MANIPULATION@
USE_MODULE_CONF_WINDOW_REMEMBERS = @USE_MODULE_CONF_WINDOW_REMEMBERS@
USE_MODULE_CONF_WINLIST = @USE_MODULE_CONF_WINLIST@
USE_MODULE_CONNMAN = @USE_MODULE_CONNMAN@
USE_MODULE_CPUFREQ = @USE_MODULE_CPUFREQ@
USE_MODULE_DROPSHADOW = @USE_MODULE_DROPSHADOW@
USE_MODULE_EVERYTHING = @USE_MODULE_EVERYTHING@
USE_MODULE_EVERYTHING_APPS = @USE_MODULE_EVERYTHING_APPS@
USE_MODULE_EVERYTHING_ASPELL = @USE_MODULE_EVERYTHING_ASPELL@
USE_MODULE_EVERYTHING_CALC = @USE_MODULE_EVERYTHING_CALC@
USE_MODULE_EVERYTHING_FILES = @USE_MODULE_EVERYTHING_FILES@
USE_MODULE_EVERYTHING_SETTINGS = @USE_MODULE_EVERYTHING_SETTINGS@
USE_MODULE_EVERYTHING_WALLPAPER = @USE_MODULE_EVERYTHING_WALLPAPER@
USE_MODULE_EVERYTHING_WINDOWS = @USE_MODULE_EVERYTHING_WINDOWS@
USE_MODULE_EXEBUF = @USE_MODULE_EXEBUF@
USE_MODULE_FILEMAN = @USE_MODULE_FILEMAN@
USE_MODULE_FILEMAN_OPINFO = @USE_MODULE_FILEMAN_OPINFO@
USE_MODULE_GADMAN = @USE_MODULE_GADMAN@
USE_MODULE_IBAR = @USE_MODULE_IBAR@
USE_MODULE_IBOX = @USE_MODULE_IBOX@
USE_MODULE_ILLUME = @USE_MODULE_ILLUME@
USE_MODULE_ILLUME2 = @USE_MODULE_ILLUME2@
USE_MODULE_MIXER = @USE_MODULE_MIXER@
USE_MODULE_MSGBUS = @USE_MODULE_MSGBUS@
USE_MODULE_OFONO = @USE_MODULE_OFONO@
USE_MODULE_PAGER = @USE_MODULE_PAGER@
USE_MODULE_START = @USE_MODULE_START@
USE_MODULE_SYSCON = @USE_MODULE_SYSCON@
USE_MODULE_SYSTRAY = @USE_MODULE_SYSTRAY@
USE_MODULE_TEMPERATURE = @USE_MODULE_TEMPERATURE@
USE_MODULE_WINLIST = @USE_MODULE_WINLIST@
USE_MODULE_WIZARD = @USE_MODULE_WIZARD@
USE_NLS = @USE_NLS@
VALGRIND_CFLAGS = @VALGRIND_CFLAGS@
VALGRIND_LIBS = @VALGRIND_LIBS@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XMKMF = @XMKMF@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
cf_cflags = @cf_cflags@
cf_libs = @cf_libs@
datadir = @datadir@
datarootdir = @datarootdir@
dlopen_libs = @dlopen_libs@
docdir = @docdir@
dvidir = @dvidir@
e_cflags = @e_cflags@
e_configflags = @e_configflags@
e_libs = @e_libs@
edje_cc = @edje_cc@
eet_eet = @eet_eet@
efl_doxygen = @efl_doxygen@
efl_have_doxygen = @efl_have_doxygen@
exec_prefix = @exec_prefix@
fnmatch_libs = @fnmatch_libs@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
release = @release@
requirements_e = @requirements_e@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
x_cflags = @x_cflags@
x_libs = @x_libs@
MAINTAINERCLEANFILES = Makefile.in
MODULE = everything-aspell
# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
e-module.edj module.desktop
EXTRA_DIST = $(files_DATA)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/src/modules/$(MODULE) \
-I$(top_srcdir)/src/bin \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/modules \
-I$(top_srcdir)/src/modules/everything \
@e_cflags@
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
all: all-am
.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/modules/everything-aspell/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu src/modules/everything-aspell/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
module.desktop: $(top_builddir)/config.status $(srcdir)/module.desktop.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-pkgLTLIBRARIES: $(pkg_LTLIBRARIES)
@$(NORMAL_INSTALL)
test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
@list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \
list2=; for p in $$list; do \
if test -f $$p; then \
list2="$$list2 $$p"; \
else :; fi; \
done; \
test -z "$$list2" || { \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkgdir)'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkgdir)"; \
}
uninstall-pkgLTLIBRARIES:
@$(NORMAL_UNINSTALL)
@list='$(pkg_LTLIBRARIES)'; test -n "$(pkgdir)" || list=; \
for p in $$list; do \
$(am__strip_dir) \
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkgdir)/$$f'"; \
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkgdir)/$$f"; \
done
clean-pkgLTLIBRARIES:
-test -z "$(pkg_LTLIBRARIES)" || rm -f $(pkg_LTLIBRARIES)
@list='$(pkg_LTLIBRARIES)'; for p in $$list; do \
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
test "$$dir" != "$$p" || dir=.; \
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
module.la: $(module_la_OBJECTS) $(module_la_DEPENDENCIES)
$(AM_V_CCLD)$(module_la_LINK) -rpath $(pkgdir) $(module_la_OBJECTS) $(module_la_LIBADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/e_mod_main.Plo@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
.c.obj:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-filesDATA: $(files_DATA)
@$(NORMAL_INSTALL)
test -z "$(filesdir)" || $(MKDIR_P) "$(DESTDIR)$(filesdir)"
@list='$(files_DATA)'; test -n "$(filesdir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(filesdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(filesdir)" || exit $$?; \
done
uninstall-filesDATA:
@$(NORMAL_UNINSTALL)
@list='$(files_DATA)'; test -n "$(filesdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(filesdir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(filesdir)" && rm -f $$files
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(LTLIBRARIES) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(pkgdir)" "$(DESTDIR)$(filesdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am
clean-am: clean-generic clean-libtool clean-pkgLTLIBRARIES \
mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-filesDATA install-pkgLTLIBRARIES
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-filesDATA uninstall-pkgLTLIBRARIES
.MAKE: install-am install-strip
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
clean-libtool clean-pkgLTLIBRARIES ctags distclean \
distclean-compile distclean-generic distclean-libtool \
distclean-tags distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-filesDATA \
install-html install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-pkgLTLIBRARIES \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
tags uninstall uninstall-am uninstall-filesDATA \
uninstall-pkgLTLIBRARIES
uninstall:
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Binary file not shown.

View File

@ -1,4 +1,9 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "Evry.h"
#include "e_mod_main.h"
#include <ctype.h>
static const char TRIGGER[] = "aspell ";
@ -9,16 +14,16 @@ typedef struct _Plugin Plugin;
struct _Plugin
{
Evry_Plugin base;
struct
{
Ecore_Event_Handler *data;
Ecore_Event_Handler *del;
} handler;
Ecore_Exe *exe;
const char *lang;
const char *input;
Eina_Bool is_first;
Evry_Plugin base;
struct
{
Ecore_Event_Handler *data;
Ecore_Event_Handler *del;
} handler;
Ecore_Exe *exe;
const char *lang;
const char *input;
Eina_Bool is_first;
};
static Plugin *plugin = NULL;
@ -288,11 +293,11 @@ _cleanup(Evry_Plugin *plugin)
EVRY_PLUGIN_ITEMS_FREE(p)
if (p->handler.data)
{
ecore_event_handler_del(p->handler.data);
p->handler.data = NULL;
}
if (p->handler.data)
{
ecore_event_handler_del(p->handler.data);
p->handler.data = NULL;
}
if (p->handler.del)
{
ecore_event_handler_del(p->handler.del);
@ -317,7 +322,7 @@ _cleanup(Evry_Plugin *plugin)
}
static Eina_Bool
_init(void)
module_init(void)
{
Plugin *p;
@ -338,10 +343,57 @@ _init(void)
}
static void
_shutdown(void)
module_shutdown(void)
{
EVRY_PLUGIN_FREE(plugin);
}
EINA_MODULE_INIT(_init);
EINA_MODULE_SHUTDOWN(_shutdown);
/***************************************************************************/
/**/
/* actual module specifics */
static E_Module *module = NULL;
static Eina_Bool active = EINA_FALSE;
/***************************************************************************/
/**/
/* module setup */
EAPI E_Module_Api e_modapi =
{
E_MODULE_API_VERSION,
"everything-aspell"
};
EAPI void *
e_modapi_init(E_Module *m)
{
module = m;
if (e_datastore_get("everything_loaded"))
active = module_init();
e_module_delayed_set(m, 1);
return m;
}
EAPI int
e_modapi_shutdown(E_Module *m)
{
if (active && e_datastore_get("everything_loaded"))
module_shutdown();
module = NULL;
return 1;
}
EAPI int
e_modapi_save(E_Module *m)
{
return 1;
}
/**/
/***************************************************************************/

View File

@ -0,0 +1,13 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
EAPI extern E_Module_Api e_modapi;
EAPI void *e_modapi_init (E_Module *m);
EAPI int e_modapi_shutdown (E_Module *m);
EAPI int e_modapi_save (E_Module *m);
#endif

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Link
Name=Everything Aspell
Icon=e-module
X-Enlightenment-ModuleType=system
Comment=Aspell Frontend, use 'aspell ' as trigger

View File

@ -0,0 +1,30 @@
MAINTAINERCLEANFILES = Makefile.in
MODULE = everything-calc
# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
e-module.edj module.desktop
EXTRA_DIST = $(files_DATA)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(top_srcdir)/src/modules/$(MODULE) \
-I$(top_srcdir)/src/bin \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/modules \
-I$(top_srcdir)/src/modules/everything \
@e_cflags@
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
uninstall:
rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)

Binary file not shown.