ethumb: Port to edbus v2

Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>



SVN revision: 80103
devs/devilhorns/wayland_egl
José Roberto de Souza 10 years ago committed by Gustavo Sverzut Barbieri
parent 68a34bdd34
commit 154041e62e
  1. 2
      legacy/ethumb/configure.ac
  2. 1
      legacy/ethumb/src/bin/Makefile.am
  3. 652
      legacy/ethumb/src/bin/ethumbd.c
  4. 2
      legacy/ethumb/src/bin/ethumbd_client.c
  5. 2
      legacy/ethumb/src/lib/client/Ethumb_Client.h
  6. 842
      legacy/ethumb/src/lib/client/ethumb_client.c

@ -153,7 +153,7 @@ fi
AM_CONDITIONAL(HAVE_EDBUS, false)
define([CHECK_MODULE_ETHUMBD],
[
AC_ETH_CHECK_PKG(EDBUS, edbus, [], [ETHUMBD=false])
AC_ETH_CHECK_PKG(EDBUS, edbus2, [], [ETHUMBD=false])
])
AC_ETH_OPTIONAL_MODULE([ethumbd], true, [CHECK_MODULE_ETHUMBD])

@ -48,6 +48,7 @@ ethumbd_client_SOURCES = ethumbd_client.c
ethumbd_client_LDADD = \
$(top_builddir)/src/lib/client/libethumb_client.la \
$(top_builddir)/src/lib/libethumb.la \
@EDBUS_LIBS@ \
@ECORE_LIBS@ \
@EINA_LIBS@

File diff suppressed because it is too large Load Diff

@ -232,7 +232,7 @@ main(int argc, char *argv[])
{
Ethumb_Client *c;
Eina_Bool quit_option = 0;
const char *format_str = NULL, *aspect_str;
const char *format_str = NULL, *aspect_str = NULL;
struct options opts = {
{-1, -1, -1, -1},
0, 0,

@ -127,7 +127,7 @@ typedef void (*Ethumb_Client_Generate_Cancel_Cb)(void *data, Eina_Bool success);
EAPI int ethumb_client_init(void);
EAPI int ethumb_client_shutdown(void);
EAPI Ethumb_Client * ethumb_client_connect(Ethumb_Client_Connect_Cb connect_cb, const void *data, Eina_Free_Cb free_data);
EAPI Ethumb_Client *ethumb_client_connect(Ethumb_Client_Connect_Cb connect_cb, const void *data, Eina_Free_Cb free_data);
EAPI void ethumb_client_disconnect(Ethumb_Client *client);
EAPI void ethumb_client_on_server_die_callback_set(Ethumb_Client *client, Ethumb_Client_Die_Cb server_die_cb, const void *data, Eina_Free_Cb free_data);

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save