reduce include deps for enlightenment_imc binary

devs/bu5hm4n/meson_wip
Mike Blumenkrantz 5 years ago
parent 4b4b003245
commit f8de1a3f88
  1. 8
      src/bin/e_config_data.c
  2. 14
      src/bin/e_imc_main.c
  3. 17
      src/bin/e_intl_data.c

@ -1,4 +1,10 @@
#include "e.h"
#include <Eina.h>
#include <Eet.h>
#include "e_macros.h"
#define E_TYPEDEFS
#include "e_config_data.h"
#undef E_TYPEDEFS
#include "e_config_data.h"
static Eina_Hash *config_hash = NULL;

@ -1,4 +1,14 @@
#include "e.h"
#include <Eina.h>
#include <Eet.h>
#include <Ecore_File.h>
#include "e_macros.h"
#define E_TYPEDEFS
#include "e_config_data.h"
#include "e_intl_data.h"
#undef E_TYPEDEFS
#include "e_config_data.h"
#include "e_intl_data.h"
static void _e_help(void);
@ -181,7 +191,7 @@ main(int argc, char **argv)
}
e_intl_input_method_config_free(read_imc);
E_FREE(write_imc);
free(write_imc);
eet_close(ef);
e_intl_data_shutdown();
eet_shutdown();

@ -1,4 +1,17 @@
#include "e.h"
#include <Eina.h>
#include <Eet.h>
#define E_TYPEDEFS
#include "e_config_data.h"
#include "e_intl_data.h"
#undef E_TYPEDEFS
#ifndef E_API
# define E_API
#endif
#ifndef EINTERN
# define EINTERN
#endif
#include "e_config_data.h"
#include "e_intl_data.h"
/* This file is the counterpart for data storage of e_intl */
/* This only needs to be separate because the e_imc binary and other third parties
@ -69,7 +82,7 @@ e_intl_input_method_config_free(E_Input_Method_Config *imc)
if (imc->ecore_imf_module) eina_stringshare_del(imc->ecore_imf_module);
if (imc->e_im_exec) eina_stringshare_del(imc->e_im_exec);
if (imc->e_im_setup_exec) eina_stringshare_del(imc->e_im_setup_exec);
E_FREE(imc);
free(imc);
}
}

Loading…
Cancel
Save