summaryrefslogtreecommitdiff
path: root/src/lib/evas/file
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-08-30 13:49:04 +0900
committerHermet Park <hermetpark@gmail.com>2018-08-30 13:49:04 +0900
commit78d5c4bdaeac126e59ccef42e5289e8ba0529d6a (patch)
tree6fe3974119d480f4177e4372231db86fe14def8e /src/lib/evas/file
parent5b36506a683e60b1443d9107ef8b97f7679852b2 (diff)
evas-file: Remove cserve2 support
Summary: ref T7226 Depends on D6935 Reviewers: raster, cedric, zmike, Hermet Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7226 Differential Revision: https://phab.enlightenment.org/D6937
Diffstat (limited to 'src/lib/evas/file')
-rw-r--r--src/lib/evas/file/evas_module.c40
1 files changed, 2 insertions, 38 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 1aac1c0cc0..63129bc286 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -821,45 +821,9 @@ _evas_module_datadir_get(void)
821 return eina_prefix_data_get(pfx); 821 return eina_prefix_data_get(pfx);
822} 822}
823 823
824/* deprecated */
824EAPI const char * 825EAPI const char *
825evas_cserve_path_get(void) 826evas_cserve_path_get(void)
826{ 827{
827 static char buf[PATH_MAX]; 828 return NULL;
828 const char *lib;
829 Eina_Bool shutdown = EINA_FALSE;
830
831 if (!pfx)
832 {
833 shutdown = EINA_TRUE;
834 eina_init();
835 pfx = eina_prefix_new
836 (NULL, _evas_module_libdir_get, "EVAS", "evas", "checkme",
837 PACKAGE_BIN_DIR, PACKAGE_LIB_DIR,
838 PACKAGE_DATA_DIR, PACKAGE_DATA_DIR);
839 if (!pfx)
840 {
841 eina_shutdown();
842 return NULL;
843 }
844 }
845 lib = eina_prefix_lib_get(pfx);
846 if (!lib)
847 {
848 if (shutdown)
849 {
850 eina_prefix_free(pfx);
851 pfx = NULL;
852 eina_shutdown();
853 }
854 return NULL;
855 }
856 snprintf(buf, sizeof(buf), "%s/evas/cserve2/bin/%s/evas_cserve2",
857 lib, MODULE_ARCH);
858 if (shutdown)
859 {
860 eina_prefix_free(pfx);
861 pfx = NULL;
862 eina_shutdown();
863 }
864 return buf;
865} 829}