Ephoto: Install thumbnailer to the lib directory.
This commit is contained in:
parent
e171ee1cb6
commit
be7fbb3419
|
@ -8,6 +8,7 @@ ephoto_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/src/bin \
|
-I$(top_srcdir)/src/bin \
|
||||||
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
||||||
|
-DPACKAGE_LIB_DIR=\"$(libdir)/$(PACKAGE)\" \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
|
@ -38,13 +39,14 @@ ephoto_SOURCES = \
|
||||||
ephoto_thumb.c \
|
ephoto_thumb.c \
|
||||||
ephoto_thumb_browser.c
|
ephoto_thumb_browser.c
|
||||||
|
|
||||||
internal_bindir = $(datadir)/$(PACKAGE)
|
internal_bindir = $(libdir)/$(PACKAGE)
|
||||||
internal_bin_PROGRAMS = ephoto_thumbnail
|
internal_bin_PROGRAMS = ephoto_thumbnail
|
||||||
|
|
||||||
ephoto_thumbnail_CPPFLAGS = \
|
ephoto_thumbnail_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/src/bin \
|
-I$(top_srcdir)/src/bin \
|
||||||
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
|
||||||
|
-DPACKAGE_LIB_DIR=\"$(libdir)/$(PACKAGE)\" \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
|
|
|
@ -139,7 +139,7 @@ e_thumb_icon_begin(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Ecore_Exe *exe;
|
Ecore_Exe *exe;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_DATA_DIR);
|
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_LIB_DIR);
|
||||||
exe = ecore_exe_run(buf, NULL);
|
exe = ecore_exe_run(buf, NULL);
|
||||||
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe);
|
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe);
|
||||||
}
|
}
|
||||||
|
@ -429,7 +429,7 @@ _e_thumb_cb_exe_event_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev
|
||||||
Ecore_Exe *exe_thumb;
|
Ecore_Exe *exe_thumb;
|
||||||
char buf[4096];
|
char buf[4096];
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_DATA_DIR);
|
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_LIB_DIR);
|
||||||
exe_thumb = ecore_exe_run(buf, NULL);
|
exe_thumb = ecore_exe_run(buf, NULL);
|
||||||
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe_thumb);
|
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe_thumb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue