Python-EFL: follow the eldbus rename.

This commit is contained in:
Davide Andreoli 2013-05-01 23:13:26 +02:00
parent cc65c1cf40
commit 2b7a9c7030
15 changed files with 15 additions and 15 deletions

View File

@ -55,7 +55,7 @@ from efl.elementary.need import \
need_systray, \
need_sys_notify, \
need_e_dbus, \
need_edbus, \
need_eldbus, \
need_elocation, \
need_ethumb, \
need_web

View File

@ -4,7 +4,7 @@ cdef extern from "Elementary.h":
Eina_Bool elm_need_efreet()
Eina_Bool elm_need_systray()
Eina_Bool elm_need_sys_notify()
Eina_Bool elm_need_edbus()
Eina_Bool elm_need_eldbus()
Eina_Bool elm_need_elocation()
Eina_Bool elm_need_ethumb()
Eina_Bool elm_need_web()

View File

@ -79,12 +79,12 @@ def need_e_dbus():
"""
print("need_e_dbus() is deprecated. Use need_edbus instead.")
return bool(elm_need_edbus())
return bool(elm_need_eldbus())
def need_edbus():
"""need_edbus() -> bool
def need_eldbus():
"""need_eldbus() -> bool
Request that your elementary application needs edbus
Request that your elementary application needs eldbus
This initializes the edbus (aka v2) library when called and if
support exists it returns True, otherwise returns
@ -94,7 +94,7 @@ def need_edbus():
:rtype: bool
"""
return bool(elm_need_edbus())
return bool(elm_need_eldbus())
def need_elocation():
"""need_elocation() -> bool

View File

@ -126,14 +126,14 @@ else:
extra_link_args = emotion_libs + eina_libs + evas_libs)
modules.append(emotion_ext)
# EDBus
#edbus_cflags, edbus_libs = pkg_config('EDBus', 'edbus2', "1.7.99")
#pydbus_cflags, pydbus_libs = pkg_config('dbus-python', 'dbus-python')
#edbus_ext = Extension("efl.edbus", ["efl/edbus/edbus.pyx"],
#include_dirs = ['include/'],
#extra_compile_args = edbus_cflags + pydbus_cflags + ecore_cflags,
#extra_link_args = edbus_libs)
#modules.append(edbus_ext)
# Eldbus
# eldbus_cflags, eldbus_libs = pkg_config('Eldbus', 'eldbus', "1.7.99")
# pydbus_cflags, pydbus_libs = pkg_config('dbus-python', 'dbus-python')
# eldbus_ext = Extension("efl.eldbus", ["efl/eldbus/eldbus.pyx"],
# include_dirs = ['include/'],
# extra_compile_args = eldbus_cflags + pydbus_cflags + ecore_cflags,
# extra_link_args = eldbus_libs)
# modules.append(eldbus_ext)
# dbus mainloop integration
dbus_cflags, dbus_libs = pkg_config('DBus', 'dbus-python', "0.83.0")