On Fri, 2009-06-05 at 14:51 -0300, Rafael Antognolli wrote: > On Fri, Jun 5, 2009 at 8:30 AM, Viktor Kojouharov<vkojouha...@gmail.com> > wrote: > > nice, I was waiting for that. > > > > Any ideas why I'd be getting these errors when I try to connect: > > > > [Ethumb_Client.c:128] __dbus_callback_check_and_init() > > Ethumb_Client.c:277:_ethumb_client_get_name_owner() callback without > > message arguments! > > [Ethumb_Client.c:133] __dbus_callback_check_and_init() > > Ethumb_Client.c:277:_ethumb_client_get_name_owner() an error was > > reported by server: name="org.freedesktop.DBus.Error.NameHasNoOwner", > > message="Could not get owner of name 'org.enlightenment.Ethumb': no such > > name" > > Hum... it seems that it can't connect to the server... Probably the > dbus activation isn't working. Have you installed it into the system? > Did the org.enlightenment.Ethumb.service install into the right > directory? > yes, that file is in /usr/share/dbus-1/services, along with the rest of its kind
> > On Thu, 2009-06-04 at 14:21 -0700, Enlightenment SVN wrote: > >> Log: > >> Added ethumbd (ethumb). > >> > >> ethumbd is a server waiting for requests of thumbnails via dbus. A client > >> library is also provided, avoiding dbus burocracy (and with an API > >> similar > >> to ethumb). > >> > >> > >> Author: antognolli > >> Date: 2009-06-04 14:21:43 -0700 (Thu, 04 Jun 2009) > >> New Revision: 40899 > >> > >> Added: > >> trunk/PROTO/ethumb/ethumb_client.pc.in > >> trunk/PROTO/ethumb/org.enlightenment.Ethumb.service.in > >> trunk/PROTO/ethumb/src/bin/ethumbd.c > >> trunk/PROTO/ethumb/src/bin/ethumbd_child.c > >> trunk/PROTO/ethumb/src/bin/ethumbd_private.h > >> trunk/PROTO/ethumb/src/lib/client/ > >> trunk/PROTO/ethumb/src/lib/client/Ethumb_Client.c > >> trunk/PROTO/ethumb/src/lib/client/Ethumb_Client.h > >> trunk/PROTO/ethumb/src/lib/client/Makefile.am > >> trunk/PROTO/ethumb/src/tests/ trunk/PROTO/ethumb/src/tests/Makefile.am > >> trunk/PROTO/ethumb/src/tests/ethumb_dbus.c > >> Modified: > >> trunk/PROTO/ethumb/Makefile.am trunk/PROTO/ethumb/configure.ac > >> trunk/PROTO/ethumb/src/Makefile.am trunk/PROTO/ethumb/src/bin/Makefile.am > >> trunk/PROTO/ethumb/src/lib/Makefile.am > >> > >> Modified: trunk/PROTO/ethumb/Makefile.am > >> =================================================================== > >> --- trunk/PROTO/ethumb/Makefile.am 2009-06-04 17:48:20 UTC (rev 40898) > >> +++ trunk/PROTO/ethumb/Makefile.am 2009-06-04 21:21:43 UTC (rev 40899) > >> @@ -21,6 +21,15 @@ > >> pkgconfig_DATA = \ > >> ethumb.pc > >> > >> + > >> +if USE_MODULE_ETHUMBD > >> + > >> +pkgconfig_DATA += ethumb_client.pc > >> +servicedir = $(dbusservicedir) > >> +service_DATA = org.enlightenment.Ethumb.service > >> + > >> +endif > >> + > >> SUBDIRS = m4 src data > >> > >> ACLOCAL_AMFLAGS = -I m4 > >> > >> Modified: trunk/PROTO/ethumb/configure.ac > >> =================================================================== > >> --- trunk/PROTO/ethumb/configure.ac 2009-06-04 17:48:20 UTC (rev 40898) > >> +++ trunk/PROTO/ethumb/configure.ac 2009-06-04 21:21:43 UTC (rev 40899) > >> @@ -47,6 +47,7 @@ > >> PKG_CHECK_MODULES(EDJE, [edje]) > >> > >> requirement_ethumb="eina-0 evas ecore ecore-evas ecore-file edje" > >> +requirement_ethumb_client="ethumb edbus" > >> > >> AM_CONDITIONAL(HAVE_EMOTION, false) > >> define([CHECK_MODULE_EMOTION], > >> @@ -71,17 +72,40 @@ > >> requirement_ethumb="$requirement_ethumb epdf" > >> fi > >> > >> +AM_CONDITIONAL(HAVE_EDBUS, false) > >> +define([CHECK_MODULE_ETHUMBD], > >> +[ > >> + AC_ETH_CHECK_PKG(EDBUS, edbus, [], [ETHUMBD=false]) > >> +]) > >> + > >> +AC_ETH_OPTIONAL_MODULE([ethumbd], true, [CHECK_MODULE_ETHUMBD]) > >> +if $USE_MODULE_ETHUMBD ; then > >> + dbusservicedir=`$PKG_CONFIG --variable=session_bus_services_dir > >> dbus-1` > >> + AC_ARG_WITH([dbus-services], > >> + AC_HELP_STRING([--with-dbus-services=DBUS_SERVICES], > >> [specify a directory to store dbus service files.]), > >> + [ > >> + dbusservicedir=$withval > >> + ] > >> + ) > >> +fi > >> + > >> AC_SUBST(requirement_ethumb) > >> +AC_SUBST(requirement_ethumb_client) > >> +AC_SUBST(dbusservicedir) > >> > >> AC_OUTPUT([ > >> ethumb.pc > >> +ethumb_client.pc > >> +org.enlightenment.Ethumb.service > >> Makefile > >> src/Makefile > >> src/bin/Makefile > >> src/lib/Makefile > >> +src/lib/client/Makefile > >> src/plugins/Makefile > >> src/plugins/emotion/Makefile > >> src/plugins/epdf/Makefile > >> +src/tests/Makefile > >> data/Makefile > >> data/frames/Makefile > >> m4/Makefile > >> > >> Added: trunk/PROTO/ethumb/ethumb_client.pc.in > >> > >> Added: trunk/PROTO/ethumb/org.enlightenment.Ethumb.service.in > >> > >> Modified: trunk/PROTO/ethumb/src/Makefile.am > >> =================================================================== > >> --- trunk/PROTO/ethumb/src/Makefile.am 2009-06-04 17:48:20 UTC (rev > >> 40898) > >> +++ trunk/PROTO/ethumb/src/Makefile.am 2009-06-04 21:21:43 UTC (rev > >> 40899) > >> @@ -1,3 +1,3 @@ > >> MAINTAINERCLEANFILES = Makefile.in > >> > >> -SUBDIRS = lib bin plugins > >> +SUBDIRS = lib bin plugins tests > >> > >> Modified: trunk/PROTO/ethumb/src/bin/Makefile.am > >> =================================================================== > >> --- trunk/PROTO/ethumb/src/bin/Makefile.am 2009-06-04 17:48:20 UTC (rev > >> 40898) > >> +++ trunk/PROTO/ethumb/src/bin/Makefile.am 2009-06-04 21:21:43 UTC (rev > >> 40899) > >> @@ -6,6 +6,7 @@ > >> @EDJE_CFLAGS@ @ECORE_FILE_CFLAGS@ > >> > >> bin_PROGRAMS = ethumb > >> +noinst_HEADERS = > >> > >> ethumb_SOURCES = ethumb.c > >> ethumb_LDADD = \ > >> @@ -13,3 +14,18 @@ > >> @ECORE_FILE_LIBS@ \ > >> $(top_builddir)/src/lib/libethumb.la > >> ethumb_DEPENDENCIES = $(top_builddir)/config.h > >> + > >> + > >> + > >> +if USE_MODULE_ETHUMBD > >> + > >> +AM_CPPFLAGS += @EDBUS_CFLAGS@ > >> +bin_PROGRAMS += ethumbd > >> +noinst_HEADERS += ethumbd_private.h > >> +ethumbd_SOURCES = ethumbd.c ethumbd_child.c > >> +ethumbd_LDADD = \ > >> + @EINA_LIBS@ @EVAS_LIBS@ @ECORE_LIBS@ @EDJE_LIBS@ @EDBUS_LIBS@ \ > >> + $(top_builddir)/src/lib/libethumb.la > >> +ethumbd_DEPENDENCIES = $(top_builddir)/config.h > >> + > >> +endif > >> > >> Added: trunk/PROTO/ethumb/src/bin/ethumbd.c > >> > >> Added: trunk/PROTO/ethumb/src/bin/ethumbd_child.c > >> > >> Added: trunk/PROTO/ethumb/src/bin/ethumbd_private.h > >> > >> Modified: trunk/PROTO/ethumb/src/lib/Makefile.am > >> =================================================================== > >> --- trunk/PROTO/ethumb/src/lib/Makefile.am 2009-06-04 17:48:20 UTC (rev > >> 40898) > >> +++ trunk/PROTO/ethumb/src/lib/Makefile.am 2009-06-04 21:21:43 UTC (rev > >> 40899) > >> @@ -1,5 +1,7 @@ > >> MAINTAINERCLEANFILES = Makefile.in > >> > >> +SUBDIRS = . > >> + > >> AM_CPPFLAGS = \ > >> -I$(top_srcdir) \ > >> -I$(top_builddir) \ > >> @@ -18,3 +20,8 @@ > >> libethumb_la_LIBADD = \ > >> @EVAS_LIBS@ @ECORE_EVAS_LIBS@ @ECORE_FILE_LIBS@ @EDJE_LIBS@ > >> libethumb_la_LDFLAGS = -version-info @version_info@ > >> + > >> + > >> +if USE_MODULE_ETHUMBD > >> +SUBDIRS += client > >> +endif > >> > >> Added: trunk/PROTO/ethumb/src/lib/client/Ethumb_Client.c > >> > >> Added: trunk/PROTO/ethumb/src/lib/client/Ethumb_Client.h > >> > >> Added: trunk/PROTO/ethumb/src/lib/client/Makefile.am > >> > >> Added: trunk/PROTO/ethumb/src/tests/Makefile.am > >> > >> Added: trunk/PROTO/ethumb/src/tests/ethumb_dbus.c > >> > >> > >> ------------------------------------------------------------------------------ > >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >> looking to deploy the next generation of Solaris that includes the latest > >> innovations from Sun and the OpenSource community. Download a copy and > >> enjoy capabilities such as Networking, Storage and Virtualization. > >> Go to: http://p.sf.net/sfu/opensolaris-get > >> _______________________________________________ > >> enlightenment-svn mailing list > >> enlightenment-...@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > > > > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel