Use "org.maemo.garage.cinaest" D-Bus service name.
pkglib_LTLIBRARIES = \
libimdb-plugin.la
+dbusservice_DATA = \
+ data/org.maemo.garage.cinaest.service \
+ data/org.maemo.garage.cinaest.IMDb.service
+
+desktopentry_DATA = \
+ data/cinaest.desktop
+
# Sources
cinaest_SOURCES = \
src/main.c \
PKG_CHECK_MODULES(OSSOSETTINGS, osso-af-settings >= 0.9.2)
localedir=`$PKG_CONFIG osso-af-settings --variable=localedir`
+dbusservicedir=`$PKG_CONFIG osso-af-settings --variable=dbusservicedir`
+desktopentrydir=`$PKG_CONFIG osso-af-settings --variable=desktopentrydir`
# Localization-related
AC_PROG_INTLTOOL([0.40.5])
AC_SUBST(localedir)
AC_DEFINE_UNQUOTED(LOCALEDIR, "$localedir", [localedir])
+AC_SUBST(dbusservicedir)
AC_SUBST(desktopentrydir)
AC_OUTPUT([
Makefile
po/Makefile.in
po/Makefile
+ data/org.maemo.garage.cinaest.service
+ data/org.maemo.garage.cinaest.IMDb.service
+ data/cinaest.desktop
])
--- /dev/null
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Type=Application
+Name=Cinæst
+Exec=@prefix@/bin/cinaest
+Icon=general_video
+X-Window-Icon=cinaest
+X-Window-Icon-Dimmed=cinaest
+X-Osso-Service=org.maemo.garage.cinaest
+X-Osso-Type=application/x-executable
--- /dev/null
+[D-BUS Service]
+Name=org.maemo.garage.cinaest.IMDb
+Exec=@libexecdir@/imdb-plaintext-downloader
--- /dev/null
+[D-BUS Service]
+Name=org.maemo.garage.cinaest
+Exec=@prefix@/bin/cinaest
Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.LOCALEDIR);
Intl.textdomain (Config.GETTEXT_PACKAGE);
- var osso_context = new Osso.Context ("org.maemo.cinaest", Config.VERSION, true, null);
+ var osso_context = new Osso.Context ("org.maemo.garage.cinaest", Config.VERSION, true, null);
if (osso_context == null) {
return Osso.Status.ERROR;
}