davemds pushed a commit to branch master. http://git.enlightenment.org/enlightenment/modules/packagekit.git/commit/?id=3aee67468105d879a878560b386efb31371c0ad1
commit 3aee67468105d879a878560b386efb31371c0ad1 Author: davemds <d...@gurumeditation.it> Date: Sun Nov 3 19:55:34 2013 +0100 Require eldbus and e18 --- configure.ac | 5 ++--- src/Makefile.am | 4 ++-- src/e_mod_main.c | 1 + src/e_mod_packagekit.h | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 3b156f7..ed8e5bf 100644 --- a/configure.ac +++ b/configure.ac @@ -36,9 +36,8 @@ AM_CONDITIONAL([HAVE_PO], [false]) ]) AC_SUBST(LTLIBINTL) -PKG_CHECK_MODULES(E, [enlightenment]) -AC_SUBST(E_CFLAGS) -AC_SUBST(E_LIBS) +PKG_CHECK_MODULES(E, [enlightenment >= 0.17.99]) +PKG_CHECK_MODULES(ELDBUS, [eldbus >= 1.7.99]) release=$(pkg-config --variable=release enlightenment) MODULE_ARCH="$host_os-$host_cpu-$release" diff --git a/src/Makefile.am b/src/Makefile.am index 5636cee..cd352f7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in INCLUDES = -I. \ -I$(top_srcdir) \ -I$(includedir) \ - @E_CFLAGS@ + @E_CFLAGS@ @ELDBUS_CFLAGS@ pkgdir = $(datadir)/$(MODULE_ARCH) pkg_LTLIBRARIES = module.la @@ -12,7 +12,7 @@ module_la_SOURCES = e_mod_main.h \ e_mod_packagekit.h \ e_mod_packagekit.c -module_la_LIBADD = @E_LIBS@ +module_la_LIBADD = @E_LIBS@ @ELDBUS_LIBS@ module_la_LDFLAGS = -module -avoid-version module_la_DEPENDENCIES = $(top_builddir)/config.h diff --git a/src/e_mod_main.c b/src/e_mod_main.c index f5655d3..acc44a9 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -1,4 +1,5 @@ #include <e.h> +#include <Eldbus.h> #include "e_mod_main.h" #include "e_mod_packagekit.h" diff --git a/src/e_mod_packagekit.h b/src/e_mod_packagekit.h index 023346d..8841c91 100644 --- a/src/e_mod_packagekit.h +++ b/src/e_mod_packagekit.h @@ -1,6 +1,8 @@ #ifndef PACKAGEKIT_H #define PACKAGEKIT_H +#include <Eldbus.h> + typedef enum { PK_INFO_ENUM_UNKNOWN, PK_INFO_ENUM_INSTALLED, --