This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit ea7e8aef101d27a1335a9044468e1a490a31f253
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Wed Sep 28 22:48:13 2022 +0200
termio/meson: support ELM_SEL_FORMAT_URILIST
---
meson.build | 10 +++++-----
src/bin/termio.c | 3 +++
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 3061bde..53a3ea7 100644
--- a/meson.build
+++ b/meson.build
@@ -93,18 +93,18 @@ if cc.has_function('strchrnul')
config_data.set('HAVE_STRCHRNUL', 1)
endif
-url_head_code = '''#include <Ecore_Con.h>
-int main(void) { ecore_con_url_head(NULL); return 0; }
+sel_format_urilist_code = '''#include <Elementary.h>
+int main(void) { return ELM_SEL_FORMAT_URILIST; }
'''
found = 'Not found'
-if cc.links(url_head_code, dependencies: terminology_dependencies)
- config_data.set('HAVE_ECORE_CON_URL_HEAD', 1)
+if cc.links(sel_format_urilist_code, dependencies: terminology_dependencies)
+ config_data.set('HAVE_ELM_SEL_FORMAT_URILIST', 1)
found = 'Found'
endif
-message('Checking for ecore_con_url_head: ' + found)
+message('Checking for ELM_SEL_FORMAT_URILIST: ' + found)
eet_bin = get_option('eet')
if eet_bin == ''
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 20c4597..c6c1629 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1208,6 +1208,9 @@ _getsel_cb(void *data,
case ELM_SEL_FORMAT_IMAGE: fmt = "IMAGE"; break;
case ELM_SEL_FORMAT_VCARD: fmt = "VCARD"; break;
case ELM_SEL_FORMAT_HTML: fmt = "HTML"; break;
+#ifdef HAVE_ELM_SEL_FORMAT_URILIST
+ case ELM_SEL_FORMAT_URILIST: fmt = "URILIST"; break;
+#endif
}
WRN(_("unsupported selection format '%s'"), fmt);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.