summaryrefslogtreecommitdiff
path: root/unsorted
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-21 15:07:40 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-21 16:03:44 -0400
commit1c1854c6573f67cbfd90425e47164e0dc46f614c (patch)
tree11270a0380c579bf41f1c09ee85497a81a4bcc38 /unsorted
parentfdcd2d337b217fa3f3796388926deb9a02a1745a (diff)
sync ecore examples build with current efl tree build
Diffstat (limited to 'unsorted')
-rw-r--r--unsorted/ecore/Makefile.examples99
-rw-r--r--unsorted/ecore/ecore_con_eet_client_example.c3
-rw-r--r--unsorted/ecore/ecore_con_eet_server_example.c3
-rw-r--r--unsorted/ecore/ecore_evas_cursor_example.c3
-rw-r--r--unsorted/ecore/efl_net_ip_address_example.c23
5 files changed, 84 insertions, 47 deletions
diff --git a/unsorted/ecore/Makefile.examples b/unsorted/ecore/Makefile.examples
index 68d30678..27bf1029 100644
--- a/unsorted/ecore/Makefile.examples
+++ b/unsorted/ecore/Makefile.examples
@@ -3,44 +3,71 @@ CC=gcc
3GSTREAMER_DEP="gstreamer-1.0" 3GSTREAMER_DEP="gstreamer-1.0"
4# GSTREAMER_DEP="gstreamer-0.10" 4# GSTREAMER_DEP="gstreamer-0.10"
5 5
6COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,ecore-con,ecore-file, \ 6COMMON_FLAGS=`pkg-config --libs --cflags eina,eet,ecore-input,ecore-ipc,ecore,evas,ecore-evas,ecore-con,ecore-file, \
7 eo,evas-software-buffer,ecore-imf,ecore-imf-evas,$(GSTREAMER_DEP)` -lm 7 eo,evas-software-buffer,ecore-imf,ecore-imf-evas,$(GSTREAMER_DEP)` -lm
8 8
9EXAMPLES= ecore_animator_example \ 9EXAMPLES = \
10 ecore_client_bench \ 10ecore_animator_example \
11 ecore_con_client_example \ 11ecore_client_bench \
12 ecore_con_client_simple_example \ 12ecore_compose_get_example \
13 ecore_con_lookup_example \ 13ecore_con_client_example \
14 ecore_con_server_example \ 14ecore_con_client_simple_example \
15 ecore_con_server_http_example \ 15ecore_con_lookup_example \
16 ecore_con_server_simple_example \ 16ecore_con_server_example \
17 ecore_con_url_cookies_example \ 17ecore_con_server_http_example \
18 ecore_con_url_download_example \ 18ecore_con_server_simple_example \
19 ecore_con_url_headers_example \ 19ecore_con_url_cookies_example \
20 ecore_evas_basics_example \ 20ecore_con_url_download_example \
21 ecore_evas_buffer_example_01 \ 21ecore_con_url_headers_example \
22 ecore_evas_buffer_example_02 \ 22ecore_con_url_ftp_example \
23 ecore_evas_callbacks \ 23ecore_evas_basics_example \
24 ecore_evas_ews_example \ 24ecore_evas_buffer_example_01 \
25 ecore_evas_object_example \ 25ecore_evas_buffer_example_02 \
26 ecore_evas_window_sizes_example \ 26ecore_evas_callbacks \
27 ecore_event_example_01 \ 27ecore_evas_cursor_example \
28 ecore_event_example_02 \ 28ecore_evas_extn_socket_example \
29 ecore_exe_example \ 29ecore_evas_extn_plug_example \
30 ecore_exe_example_child \ 30ecore_evas_ews_example \
31 ecore_fd_handler_example \ 31ecore_evas_object_example \
32 ecore_file_download_example \ 32ecore_evas_wayland_multiseat_example \
33 ecore_idler_example \ 33ecore_evas_window_sizes_example \
34 ecore_imf_example \ 34ecore_evas_vnc_example \
35 ecore_job_example \ 35ecore_event_example_01 \
36 ecore_pipe_gstreamer_example \ 36ecore_event_example_02 \
37 ecore_pipe_simple_example \ 37ecore_exe_example \
38 ecore_poller_example \ 38ecore_exe_example_child \
39 ecore_server_bench \ 39ecore_fd_handler_example \
40 ecore_thread_example \ 40ecore_file_download_example \
41 ecore_time_functions_example \ 41ecore_idler_example \
42 ecore_timer_example \ 42ecore_imf_example \
43 ecore_getopt_example 43ecore_job_example \
44ecore_poller_example \
45ecore_promise2_example \
46ecore_server_bench \
47ecore_thread_example \
48ecore_time_functions_example \
49ecore_timer_example \
50ecore_getopt_example \
51ecore_con_eet_client_example \
52ecore_con_eet_server_example \
53efl_io_copier_example \
54efl_io_copier_simple_example \
55efl_io_queue_example \
56efl_io_buffered_stream_example \
57efl_net_server_example \
58efl_net_server_simple_example \
59efl_net_dialer_http_example \
60efl_net_dialer_websocket_example \
61efl_net_dialer_websocket_autobahntestee \
62efl_net_dialer_udp_example \
63efl_net_dialer_simple_example \
64efl_net_socket_ssl_dialer_example \
65efl_net_socket_ssl_server_example \
66efl_net_session_example \
67efl_net_control_example \
68efl_net_ip_address_example \
69ecore_ipc_server_example \
70ecore_ipc_client_example
44 71
45all: examples 72all: examples
46examples: $(EXAMPLES) 73examples: $(EXAMPLES)
diff --git a/unsorted/ecore/ecore_con_eet_client_example.c b/unsorted/ecore/ecore_con_eet_client_example.c
index 710f7f0c..40035840 100644
--- a/unsorted/ecore/ecore_con_eet_client_example.c
+++ b/unsorted/ecore/ecore_con_eet_client_example.c
@@ -5,13 +5,14 @@
5 */ 5 */
6 6
7//Compile with: 7//Compile with:
8// gcc -o ecore_con_eet_client_example ecore_con_eet_client_example.c ecore_con_eet_descriptor_example.c `pkg-config --cflags --libs eet ecore ecore-con eina` 8// gcc -o ecore_con_eet_client_example ecore_con_eet_client_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
9 9
10#include <stdio.h> 10#include <stdio.h>
11#include <Ecore.h> 11#include <Ecore.h>
12#include <Ecore_Con.h> 12#include <Ecore_Con.h>
13#include <Eina.h> 13#include <Eina.h>
14#include "ecore_con_eet_descriptor_example.h" 14#include "ecore_con_eet_descriptor_example.h"
15#include "ecore_con_eet_descriptor_example.c"
15 16
16Eina_Bool 17Eina_Bool
17_eet_svr_discnct_cb(void *data EINA_UNUSED, Ecore_Con_Reply *reply EINA_UNUSED, Ecore_Con_Server *conn EINA_UNUSED) 18_eet_svr_discnct_cb(void *data EINA_UNUSED, Ecore_Con_Reply *reply EINA_UNUSED, Ecore_Con_Server *conn EINA_UNUSED)
diff --git a/unsorted/ecore/ecore_con_eet_server_example.c b/unsorted/ecore/ecore_con_eet_server_example.c
index 0a48e2d3..e3e70b93 100644
--- a/unsorted/ecore/ecore_con_eet_server_example.c
+++ b/unsorted/ecore/ecore_con_eet_server_example.c
@@ -10,13 +10,14 @@
10 */ 10 */
11 11
12//Compile with: 12//Compile with:
13// gcc -o ecore_con_eet_server_example ecore_con_eet_server_example.c ecore_con_eet_descriptor_example.c `pkg-config --cflags --libs eet ecore ecore-con eina` 13// gcc -o ecore_con_eet_server_example ecore_con_eet_server_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
14 14
15#include <stdio.h> 15#include <stdio.h>
16#include <Ecore.h> 16#include <Ecore.h>
17#include <Ecore_Con.h> 17#include <Ecore_Con.h>
18#include <Eina.h> 18#include <Eina.h>
19#include "ecore_con_eet_descriptor_example.h" 19#include "ecore_con_eet_descriptor_example.h"
20#include "ecore_con_eet_descriptor_example.c"
20 21
21static int _client_count = 0; 22static int _client_count = 0;
22 23
diff --git a/unsorted/ecore/ecore_evas_cursor_example.c b/unsorted/ecore/ecore_evas_cursor_example.c
index cbf7dfc3..0e3702a7 100644
--- a/unsorted/ecore/ecore_evas_cursor_example.c
+++ b/unsorted/ecore/ecore_evas_cursor_example.c
@@ -7,6 +7,9 @@
7 */ 7 */
8#ifdef HAVE_CONFIG_H 8#ifdef HAVE_CONFIG_H
9#include "config.h" 9#include "config.h"
10#else
11#define EFL_EO_API_SUPPORT
12#define EFL_BETA_API_SUPPORT
10#endif 13#endif
11 14
12#include <Ecore.h> 15#include <Ecore.h>
diff --git a/unsorted/ecore/efl_net_ip_address_example.c b/unsorted/ecore/efl_net_ip_address_example.c
index ee1595b6..260f5af1 100644
--- a/unsorted/ecore/efl_net_ip_address_example.c
+++ b/unsorted/ecore/efl_net_ip_address_example.c
@@ -2,19 +2,24 @@
2#define EFL_EO_API_SUPPORT 1 2#define EFL_EO_API_SUPPORT 1
3#ifdef HAVE_CONFIG_H 3#ifdef HAVE_CONFIG_H
4# include "config.h" 4# include "config.h"
5#endif 5
6#include <Ecore.h> 6 #ifdef HAVE_NETINET_IN_H
7#include <Ecore_Con.h> 7 # include <netinet/in.h>
8#include <Ecore_Getopt.h> 8 #endif
9#ifdef HAVE_NETINET_IN_H 9 #ifdef HAVE_ARPA_INET_H
10 # include <arpa/inet.h>
11 #endif
12 #ifdef HAVE_SYS_SOCKET_H
13 # include <sys/socket.h>
14 #endif
15#else
10# include <netinet/in.h> 16# include <netinet/in.h>
11#endif
12#ifdef HAVE_ARPA_INET_H
13# include <arpa/inet.h> 17# include <arpa/inet.h>
14#endif
15#ifdef HAVE_SYS_SOCKET_H
16# include <sys/socket.h> 18# include <sys/socket.h>
17#endif 19#endif
20#include <Ecore.h>
21#include <Ecore_Con.h>
22#include <Ecore_Getopt.h>
18 23
19static int retval = EXIT_SUCCESS; 24static int retval = EXIT_SUCCESS;
20static Eina_List *resolving = NULL; 25static Eina_List *resolving = NULL;