From 1464e011dba91b864e118196d6febecbcf6ebfaa Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 2 Nov 2018 12:07:24 +0100 Subject: [PATCH] legacy-examples: remove include of config.h when beta defines are needed, then those are now provided in the file --- legacy-examples/c/ecore/ecore_con_server_example.c | 4 +--- legacy-examples/c/ecore/ecore_evas_buffer_example_01.c | 6 ------ legacy-examples/c/ecore/ecore_evas_buffer_example_02.c | 8 +------- legacy-examples/c/ecore/ecore_evas_cursor_example.c | 4 ---- legacy-examples/c/ecore/ecore_evas_extn_plug_example.c | 7 +------ .../c/ecore/ecore_evas_extn_socket_example.c | 5 ----- .../c/ecore/ecore_evas_window_sizes_example.c | 6 ------ .../c/ecore/ecore_fd_handler_gnutls_example.c | 4 +--- legacy-examples/c/ecore/ecore_idler_example.c | 3 --- .../c/ecore_avahi/ecore_avahi_browse_example.c | 3 --- legacy-examples/c/ecore_avahi/ecore_avahi_example.c | 3 --- legacy-examples/c/edje/animations2.c | 8 -------- legacy-examples/c/edje/edje-anchors.c | 6 +----- legacy-examples/c/edje/edje-animations.c | 6 +----- legacy-examples/c/edje/edje-basic.c | 6 +----- legacy-examples/c/edje/edje-basic2.c | 6 +----- legacy-examples/c/edje/edje-box.c | 6 +----- legacy-examples/c/edje/edje-box2.c | 6 +----- legacy-examples/c/edje/edje-codegen-example.c | 6 +----- legacy-examples/c/edje/edje-color-class.c | 6 +----- legacy-examples/c/edje/edje-drag.c | 6 +----- legacy-examples/c/edje/edje-dynamic-multiseat.c | 6 +----- legacy-examples/c/edje/edje-edit-part-box.c | 6 +----- legacy-examples/c/edje/edje-entry.c | 6 +----- legacy-examples/c/edje/edje-focus.c | 10 ++-------- legacy-examples/c/edje/edje-multiseat-custom-names.c | 9 ++------- legacy-examples/c/edje/edje-multiseat-filter.c | 10 ++-------- legacy-examples/c/edje/edje-multiseat.c | 10 ++-------- legacy-examples/c/edje/edje-perspective.c | 6 +----- legacy-examples/c/edje/edje-signals-messages.c | 8 -------- legacy-examples/c/edje/edje-swallow.c | 6 +----- legacy-examples/c/edje/edje-swallow2.c | 6 +----- legacy-examples/c/edje/edje-table.c | 6 +----- legacy-examples/c/edje/edje-text.c | 6 +----- legacy-examples/c/edje/edje-textblock-hyphenation.c | 6 +----- legacy-examples/c/edje/signals2.c | 8 -------- legacy-examples/c/edje/sigtest.c | 8 -------- legacy-examples/c/edje/svg-test.c | 6 +----- legacy-examples/c/eio/eio_sentry.c | 6 ++---- legacy-examples/c/eldbus/dbusmodel.c | 6 ++---- legacy-examples/c/elementary/filemvc.c | 9 ++------- legacy-examples/c/elementary/fileviewlist.c | 9 ++------- legacy-examples/c/elementary/layout_model_connect.c | 9 ++------- .../c/elementary/sphere_hunter/evas_3d_sphere_hunter.c | 2 +- legacy-examples/c/elocation/elocation.c | 5 ++++- legacy-examples/c/ephysics/ephysics_logo.c | 3 --- legacy-examples/c/ephysics/test.c | 3 --- legacy-examples/c/ephysics/test_bouncing_ball.c | 3 --- legacy-examples/c/ephysics/test_bouncing_text.c | 3 --- legacy-examples/c/ephysics/test_camera.c | 3 --- legacy-examples/c/ephysics/test_camera_track.c | 3 --- legacy-examples/c/ephysics/test_colliding_balls.c | 3 --- legacy-examples/c/ephysics/test_collision_detection.c | 3 --- legacy-examples/c/ephysics/test_collision_filter.c | 3 --- legacy-examples/c/ephysics/test_constraint.c | 3 --- legacy-examples/c/ephysics/test_delete.c | 3 --- legacy-examples/c/ephysics/test_forces.c | 3 --- legacy-examples/c/ephysics/test_growing_balls.c | 3 --- legacy-examples/c/ephysics/test_no_gravity.c | 3 --- legacy-examples/c/ephysics/test_rotating_forever.c | 3 --- legacy-examples/c/ephysics/test_shapes.c | 3 --- legacy-examples/c/ephysics/test_sleeping_threshold.c | 3 --- legacy-examples/c/ephysics/test_slider.c | 3 --- legacy-examples/c/ephysics/test_velocity.c | 3 --- legacy-examples/c/ethumb_client/ethumb_dbus.c | 4 +--- legacy-examples/c/evas/evas-3d-aabb.c | 6 ------ legacy-examples/c/evas/evas-3d-blending.c | 5 ----- legacy-examples/c/evas/evas-3d-colorpick.c | 6 ------ legacy-examples/c/evas/evas-3d-cube-rotate.c | 5 ----- legacy-examples/c/evas/evas-3d-cube.c | 5 ----- legacy-examples/c/evas/evas-3d-cube2.c | 6 ------ legacy-examples/c/evas/evas-3d-eet.c | 6 ------ legacy-examples/c/evas/evas-3d-fog.c | 5 ----- legacy-examples/c/evas/evas-3d-frustum.c | 6 ------ legacy-examples/c/evas/evas-3d-hull.c | 6 ------ legacy-examples/c/evas/evas-3d-md2.c | 6 ------ legacy-examples/c/evas/evas-3d-mmap-set.c | 6 ------ legacy-examples/c/evas/evas-3d-obj.c | 6 ------ legacy-examples/c/evas/evas-3d-parallax-occlusion.c | 6 ------ legacy-examples/c/evas/evas-3d-pick.c | 6 ------ legacy-examples/c/evas/evas-3d-ply.c | 6 ------ legacy-examples/c/evas/evas-3d-proxy.c | 5 ----- legacy-examples/c/evas/evas-3d-shadows.c | 6 ------ legacy-examples/c/evas/evas-3d-static-lod.c | 6 ------ legacy-examples/c/evas/evas-aspect-hints.c | 6 +----- legacy-examples/c/evas/evas-box.c | 6 +----- legacy-examples/c/evas/evas-event-filter.c | 6 ++---- legacy-examples/c/evas/evas-events.c | 6 +----- legacy-examples/c/evas/evas-hints.c | 8 ++------ legacy-examples/c/evas/evas-images.c | 6 +----- legacy-examples/c/evas/evas-images2.c | 6 +----- legacy-examples/c/evas/evas-images3.c | 6 +----- legacy-examples/c/evas/evas-images4.c | 6 +----- legacy-examples/c/evas/evas-images5.c | 5 ----- legacy-examples/c/evas/evas-map-aa-eo.c | 6 +----- legacy-examples/c/evas/evas-map-aa.c | 6 +----- legacy-examples/c/evas/evas-map-utils-eo.c | 6 +----- legacy-examples/c/evas/evas-map-utils.c | 6 +----- legacy-examples/c/evas/evas-multi-touch.c | 4 +--- legacy-examples/c/evas/evas-multiseat-events.c | 6 ++---- legacy-examples/c/evas/evas-object-manipulation-eo.c | 6 +----- legacy-examples/c/evas/evas-object-manipulation.c | 6 +----- legacy-examples/c/evas/evas-smart-interface.c | 6 +----- legacy-examples/c/evas/evas-smart-object.c | 6 +----- legacy-examples/c/evas/evas-stacking.c | 6 +----- legacy-examples/c/evas/evas-table.c | 4 +--- legacy-examples/c/evas/evas-text.c | 6 +----- legacy-examples/c/evas/evas-textblock-obstacles.c | 6 +----- legacy-examples/c/evas/evas-transparent.c | 6 +----- legacy-examples/c/evas/evas-vg-batman.c | 6 +----- legacy-examples/c/evas/evas-vg-simple.c | 6 +----- legacy-examples/c/meson.build | 3 --- setup.py | 8 ++++++-- 113 files changed, 82 insertions(+), 542 deletions(-) diff --git a/legacy-examples/c/ecore/ecore_con_server_example.c b/legacy-examples/c/ecore/ecore_con_server_example.c index 4ccb1a49..5cd19ba2 100644 --- a/legacy-examples/c/ecore/ecore_con_server_example.c +++ b/legacy-examples/c/ecore/ecore_con_server_example.c @@ -1,9 +1,7 @@ //Compile with: // gcc -o ecore_con_server_example ecore_con_server_example.c `pkg-config --libs --cflags ecore ecore-con eina` -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + #include #include diff --git a/legacy-examples/c/ecore/ecore_evas_buffer_example_01.c b/legacy-examples/c/ecore/ecore_evas_buffer_example_01.c index 9ede4846..8504ad29 100644 --- a/legacy-examples/c/ecore/ecore_evas_buffer_example_01.c +++ b/legacy-examples/c/ecore/ecore_evas_buffer_example_01.c @@ -12,12 +12,6 @@ * */ -#ifdef HAVE_CONFIG_H - -#include "config.h" -#else -#define EINA_UNUSED -#endif #include #include diff --git a/legacy-examples/c/ecore/ecore_evas_buffer_example_02.c b/legacy-examples/c/ecore/ecore_evas_buffer_example_02.c index 7f3b8e44..f27ee4ba 100644 --- a/legacy-examples/c/ecore/ecore_evas_buffer_example_02.c +++ b/legacy-examples/c/ecore/ecore_evas_buffer_example_02.c @@ -12,13 +12,7 @@ * */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define EINA_UNUSED -#define PACKAGE_EXAMPLES_DIR "." -#endif #include #include @@ -95,7 +89,7 @@ main(void) evas_object_move(r0, 0, 0); evas_object_resize(r0, ((2 * WIDTH) / 3) - 6, ((2 * HEIGHT) / 3) - 6); evas_object_show(r0); - + r1 = evas_object_rectangle_add(sub_canvas); evas_object_color_set(r1, 255, 0, 0, 255); /* 100% opaque red */ evas_object_move(r1, 10, 10); diff --git a/legacy-examples/c/ecore/ecore_evas_cursor_example.c b/legacy-examples/c/ecore/ecore_evas_cursor_example.c index 0e3702a7..4f4caa00 100644 --- a/legacy-examples/c/ecore/ecore_evas_cursor_example.c +++ b/legacy-examples/c/ecore/ecore_evas_cursor_example.c @@ -5,12 +5,8 @@ * gcc -o ecore_evas_cursor_example ecore_evas_cursor_example.c `pkg-config --libs --cflags evas ecore ecore-evas` * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_EO_API_SUPPORT #define EFL_BETA_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/ecore/ecore_evas_extn_plug_example.c b/legacy-examples/c/ecore/ecore_evas_extn_plug_example.c index 1a88e02a..e4be178c 100644 --- a/legacy-examples/c/ecore/ecore_evas_extn_plug_example.c +++ b/legacy-examples/c/ecore/ecore_evas_extn_plug_example.c @@ -8,11 +8,6 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define EINA_UNUSED -#endif #include #include @@ -76,7 +71,7 @@ _button_1_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void color->b = b; color->a = a; - ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color)); + ecore_evas_msg_parent_send(ee, MSG_DOMAIN_CONTROL_OBJECT, MSG_ID_BG_COLOR, color, sizeof(Msg_Color)); } static void diff --git a/legacy-examples/c/ecore/ecore_evas_extn_socket_example.c b/legacy-examples/c/ecore/ecore_evas_extn_socket_example.c index aff4975b..267607af 100644 --- a/legacy-examples/c/ecore/ecore_evas_extn_socket_example.c +++ b/legacy-examples/c/ecore/ecore_evas_extn_socket_example.c @@ -10,11 +10,6 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define EINA_UNUSED -#endif #include #include diff --git a/legacy-examples/c/ecore/ecore_evas_window_sizes_example.c b/legacy-examples/c/ecore/ecore_evas_window_sizes_example.c index 356c0e9e..e00ea929 100644 --- a/legacy-examples/c/ecore/ecore_evas_window_sizes_example.c +++ b/legacy-examples/c/ecore/ecore_evas_window_sizes_example.c @@ -10,12 +10,6 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H - -#include "config.h" -#else -#define EINA_UNUSED -#endif #include #include diff --git a/legacy-examples/c/ecore/ecore_fd_handler_gnutls_example.c b/legacy-examples/c/ecore/ecore_fd_handler_gnutls_example.c index d1d58d94..86d3fe03 100644 --- a/legacy-examples/c/ecore/ecore_fd_handler_gnutls_example.c +++ b/legacy-examples/c/ecore/ecore_fd_handler_gnutls_example.c @@ -1,9 +1,7 @@ //Compile with: // gcc -o ecore_fd_handler_gnutls_example ecore_fd_handler_gnutls_example.c `pkg-config --cflags --libs ecore gnutls` -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + #include #ifdef HAVE_NETINET_TCP_H diff --git a/legacy-examples/c/ecore/ecore_idler_example.c b/legacy-examples/c/ecore/ecore_idler_example.c index 21852107..b2ffcf50 100644 --- a/legacy-examples/c/ecore/ecore_idler_example.c +++ b/legacy-examples/c/ecore/ecore_idler_example.c @@ -1,9 +1,6 @@ //Compile with: // gcc -o ecore_idler_example ecore_idler_example.c `pkg-config --libs --cflags ecore eo` -#ifdef HAVE_CONFIG_H -# include -#endif #include #include diff --git a/legacy-examples/c/ecore_avahi/ecore_avahi_browse_example.c b/legacy-examples/c/ecore_avahi/ecore_avahi_browse_example.c index 6935a13b..234df7fb 100644 --- a/legacy-examples/c/ecore_avahi/ecore_avahi_browse_example.c +++ b/legacy-examples/c/ecore_avahi/ecore_avahi_browse_example.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include #include diff --git a/legacy-examples/c/ecore_avahi/ecore_avahi_example.c b/legacy-examples/c/ecore_avahi/ecore_avahi_example.c index f9f247ef..8f038504 100644 --- a/legacy-examples/c/ecore_avahi/ecore_avahi_example.c +++ b/legacy-examples/c/ecore_avahi/ecore_avahi_example.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include #include diff --git a/legacy-examples/c/edje/animations2.c b/legacy-examples/c/edje/animations2.c index 47cfc319..8952e76f 100644 --- a/legacy-examples/c/edje/animations2.c +++ b/legacy-examples/c/edje/animations2.c @@ -1,13 +1,5 @@ //Compile with: // edje_cc animations2.edc && gcc -o animations2 animations2.c `pkg-config --libs --cflags ecore ecore-evas edje evas` - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#define EINA_UNUSED -#endif - #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." #endif diff --git a/legacy-examples/c/edje/edje-anchors.c b/legacy-examples/c/edje/edje-anchors.c index 135f0abc..55cc735d 100644 --- a/legacy-examples/c/edje/edje-anchors.c +++ b/legacy-examples/c/edje/edje-anchors.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #include #include diff --git a/legacy-examples/c/edje/edje-animations.c b/legacy-examples/c/edje/edje-animations.c index 65afdc6c..597ea6e1 100644 --- a/legacy-examples/c/edje/edje-animations.c +++ b/legacy-examples/c/edje/edje-animations.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-basic.c b/legacy-examples/c/edje/edje-basic.c index 4d56680d..ef3b80f2 100644 --- a/legacy-examples/c/edje/edje-basic.c +++ b/legacy-examples/c/edje/edje-basic.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-basic2.c b/legacy-examples/c/edje/edje-basic2.c index 2c7fa2e8..2f0c638f 100644 --- a/legacy-examples/c/edje/edje-basic2.c +++ b/legacy-examples/c/edje/edje-basic2.c @@ -4,11 +4,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-box.c b/legacy-examples/c/edje/edje-box.c index 4920a70a..74fc3aaf 100644 --- a/legacy-examples/c/edje/edje-box.c +++ b/legacy-examples/c/edje/edje-box.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-box2.c b/legacy-examples/c/edje/edje-box2.c index 0b725085..15db0eb9 100644 --- a/legacy-examples/c/edje/edje-box2.c +++ b/legacy-examples/c/edje/edje-box2.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-codegen-example.c b/legacy-examples/c/edje/edje-codegen-example.c index 8464f048..8c89195b 100644 --- a/legacy-examples/c/edje/edje-codegen-example.c +++ b/legacy-examples/c/edje/edje-codegen-example.c @@ -23,11 +23,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-color-class.c b/legacy-examples/c/edje/edje-color-class.c index 52db84b5..843c763f 100644 --- a/legacy-examples/c/edje/edje-color-class.c +++ b/legacy-examples/c/edje/edje-color-class.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-drag.c b/legacy-examples/c/edje/edje-drag.c index e2e43314..50014c50 100644 --- a/legacy-examples/c/edje/edje-drag.c +++ b/legacy-examples/c/edje/edje-drag.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-dynamic-multiseat.c b/legacy-examples/c/edje/edje-dynamic-multiseat.c index 37bde33f..c00c015c 100644 --- a/legacy-examples/c/edje/edje-dynamic-multiseat.c +++ b/legacy-examples/c/edje/edje-dynamic-multiseat.c @@ -15,11 +15,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-edit-part-box.c b/legacy-examples/c/edje/edje-edit-part-box.c index c001e5d4..63e3bc40 100644 --- a/legacy-examples/c/edje/edje-edit-part-box.c +++ b/legacy-examples/c/edje/edje-edit-part-box.c @@ -12,11 +12,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-entry.c b/legacy-examples/c/edje/edje-entry.c index 274e3315..6cc0b383 100644 --- a/legacy-examples/c/edje/edje-entry.c +++ b/legacy-examples/c/edje/edje-entry.c @@ -6,11 +6,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-focus.c b/legacy-examples/c/edje/edje-focus.c index ae99f979..7c1d5889 100644 --- a/legacy-examples/c/edje/edje-focus.c +++ b/legacy-examples/c/edje/edje-focus.c @@ -5,14 +5,8 @@ * edje_cc focus.edc && gcc -o edje-focus edje-focus.c `pkg-config --libs --cflags evas ecore ecore-evas edje` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -# define EFL_BETA_API_SUPPORT -# define EFL_EO_API_SUPPORT -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-multiseat-custom-names.c b/legacy-examples/c/edje/edje-multiseat-custom-names.c index 53fb5425..0aea80e8 100644 --- a/legacy-examples/c/edje/edje-multiseat-custom-names.c +++ b/legacy-examples/c/edje/edje-multiseat-custom-names.c @@ -6,13 +6,8 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -# define EFL_BETA_API_SUPPORT -# define EFL_EO_API_SUPPORT -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-multiseat-filter.c b/legacy-examples/c/edje/edje-multiseat-filter.c index 89e37f06..2167b665 100644 --- a/legacy-examples/c/edje/edje-multiseat-filter.c +++ b/legacy-examples/c/edje/edje-multiseat-filter.c @@ -16,14 +16,8 @@ * edje_cc multiseat_filter.edc && gcc -o edje-multiseat-filter edje-multiseat-filter.c `pkg-config --libs --cflags evas ecore ecore-evas edje` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -# define EFL_BETA_API_SUPPORT -# define EFL_EO_API_SUPPORT -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-multiseat.c b/legacy-examples/c/edje/edje-multiseat.c index 082e5d1e..a5642fea 100644 --- a/legacy-examples/c/edje/edje-multiseat.c +++ b/legacy-examples/c/edje/edje-multiseat.c @@ -10,14 +10,8 @@ * edje_cc multiseat.edc && gcc -o edje-multiseat edje-multiseat.c `pkg-config --libs --cflags evas ecore ecore-evas edje` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -# define EFL_BETA_API_SUPPORT -# define EFL_EO_API_SUPPORT -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-perspective.c b/legacy-examples/c/edje/edje-perspective.c index 71a75c2f..0d0e0e22 100644 --- a/legacy-examples/c/edje/edje-perspective.c +++ b/legacy-examples/c/edje/edje-perspective.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-signals-messages.c b/legacy-examples/c/edje/edje-signals-messages.c index b19d6286..6b429d2e 100644 --- a/legacy-examples/c/edje/edje-signals-messages.c +++ b/legacy-examples/c/edje/edje-signals-messages.c @@ -8,14 +8,6 @@ * edje_cc signals-messages.edc && gcc -o edje-signals-messages edje-signals-messages.c `pkg-config --libs --cflags evas ecore ecore-evas edje` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#define EINA_UNUSED -#endif - #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." #endif diff --git a/legacy-examples/c/edje/edje-swallow.c b/legacy-examples/c/edje/edje-swallow.c index 2b93ce0c..423ccb6a 100644 --- a/legacy-examples/c/edje/edje-swallow.c +++ b/legacy-examples/c/edje/edje-swallow.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-swallow2.c b/legacy-examples/c/edje/edje-swallow2.c index fe3f9563..8df2c10e 100644 --- a/legacy-examples/c/edje/edje-swallow2.c +++ b/legacy-examples/c/edje/edje-swallow2.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-table.c b/legacy-examples/c/edje/edje-table.c index f0930697..4847a650 100644 --- a/legacy-examples/c/edje/edje-table.c +++ b/legacy-examples/c/edje/edje-table.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-text.c b/legacy-examples/c/edje/edje-text.c index 0b7cf8f4..5bee8b4b 100644 --- a/legacy-examples/c/edje/edje-text.c +++ b/legacy-examples/c/edje/edje-text.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/edje-textblock-hyphenation.c b/legacy-examples/c/edje/edje-textblock-hyphenation.c index b16ee817..e9979f1c 100644 --- a/legacy-examples/c/edje/edje-textblock-hyphenation.c +++ b/legacy-examples/c/edje/edje-textblock-hyphenation.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/edje/signals2.c b/legacy-examples/c/edje/signals2.c index fe705bcf..467a81cf 100644 --- a/legacy-examples/c/edje/signals2.c +++ b/legacy-examples/c/edje/signals2.c @@ -1,13 +1,5 @@ //Compile with: // edje_cc signalsBubble.edc && gcc -o signals2 signals2.c `pkg-config --libs --cflags ecore ecore-evas edje` - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#define EINA_UNUSED -#endif - #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." #endif diff --git a/legacy-examples/c/edje/sigtest.c b/legacy-examples/c/edje/sigtest.c index dfa45a35..b8d66f11 100644 --- a/legacy-examples/c/edje/sigtest.c +++ b/legacy-examples/c/edje/sigtest.c @@ -1,13 +1,5 @@ //Compile with: // edje_cc sigtest.edc && gcc -o sigtest sigtest.c `pkg-config --libs --cflags ecore ecore-evas edje` - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#define EINA_UNUSED -#endif - #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." #endif diff --git a/legacy-examples/c/edje/svg-test.c b/legacy-examples/c/edje/svg-test.c index 6716f6e8..4de4e268 100644 --- a/legacy-examples/c/edje/svg-test.c +++ b/legacy-examples/c/edje/svg-test.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EINA_UNUSED -#endif + #ifndef PACKAGE_DATA_DIR #define PACKAGE_DATA_DIR "." diff --git a/legacy-examples/c/eio/eio_sentry.c b/legacy-examples/c/eio/eio_sentry.c index e604e890..e6a874ab 100644 --- a/legacy-examples/c/eio/eio_sentry.c +++ b/legacy-examples/c/eio/eio_sentry.c @@ -1,7 +1,5 @@ -#if HAVE_CONFIG_H -#include -#endif - +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/eldbus/dbusmodel.c b/legacy-examples/c/eldbus/dbusmodel.c index 10150c40..89331b3c 100644 --- a/legacy-examples/c/eldbus/dbusmodel.c +++ b/legacy-examples/c/eldbus/dbusmodel.c @@ -1,9 +1,7 @@ //Compile with: // gcc -o busmodel busmodel.c `pkg-config --cflags --libs eldbus ecore eina` - -#ifdef HAVE_CONFIG_H -# include -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/elementary/filemvc.c b/legacy-examples/c/elementary/filemvc.c index 6935e938..bdbbe03c 100644 --- a/legacy-examples/c/elementary/filemvc.c +++ b/legacy-examples/c/elementary/filemvc.c @@ -1,11 +1,6 @@ // gcc -o filemvc filemvc.c `pkg-config --cflags --libs elementary` - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EFL_BETA_API_SUPPORT 1 -# define EFL_EO_API_SUPPORT 1 -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/elementary/fileviewlist.c b/legacy-examples/c/elementary/fileviewlist.c index 716fdb3f..a653dba0 100644 --- a/legacy-examples/c/elementary/fileviewlist.c +++ b/legacy-examples/c/elementary/fileviewlist.c @@ -1,12 +1,7 @@ //Compile with: // gcc -o fileviewlist fileviewlist.c `pkg-config --cflags --libs elementary` - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EFL_BETA_API_SUPPORT 1 -# define EFL_EO_API_SUPPORT 1 -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/elementary/layout_model_connect.c b/legacy-examples/c/elementary/layout_model_connect.c index acc74bcc..07119d7a 100644 --- a/legacy-examples/c/elementary/layout_model_connect.c +++ b/legacy-examples/c/elementary/layout_model_connect.c @@ -1,11 +1,6 @@ // gcc -o layout_model_connect layout_model_connect.c `pkg-config --cflags --libs elementary` - -#ifdef HAVE_CONFIG_H -# include "config.h" -#else -# define EFL_BETA_API_SUPPORT 1 -# define EFL_EO_API_SUPPORT 1 -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/elementary/sphere_hunter/evas_3d_sphere_hunter.c b/legacy-examples/c/elementary/sphere_hunter/evas_3d_sphere_hunter.c index bceb165b..c96c9806 100644 --- a/legacy-examples/c/elementary/sphere_hunter/evas_3d_sphere_hunter.c +++ b/legacy-examples/c/elementary/sphere_hunter/evas_3d_sphere_hunter.c @@ -14,8 +14,8 @@ * edje_cc sphere_hunter.edc * gcc -o evas_3d_sphere_hunter evas_3d_sphere_hunter.c -g `pkg-config --libs --cflags evas ecore elementary eina eo` -lm */ - #define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/elocation/elocation.c b/legacy-examples/c/elocation/elocation.c index a17d40ca..19efaf6f 100644 --- a/legacy-examples/c/elocation/elocation.c +++ b/legacy-examples/c/elocation/elocation.c @@ -1,5 +1,8 @@ -#include +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT + +#include #include #include diff --git a/legacy-examples/c/ephysics/ephysics_logo.c b/legacy-examples/c/ephysics/ephysics_logo.c index 24f2087a..f508bd1b 100644 --- a/legacy-examples/c/ephysics/ephysics_logo.c +++ b/legacy-examples/c/ephysics/ephysics_logo.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include #include diff --git a/legacy-examples/c/ephysics/test.c b/legacy-examples/c/ephysics/test.c index ca0a64fb..1cc63579 100644 --- a/legacy-examples/c/ephysics/test.c +++ b/legacy-examples/c/ephysics/test.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_bouncing_ball.c b/legacy-examples/c/ephysics/test_bouncing_ball.c index f839ad39..36493074 100644 --- a/legacy-examples/c/ephysics/test_bouncing_ball.c +++ b/legacy-examples/c/ephysics/test_bouncing_ball.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_bouncing_text.c b/legacy-examples/c/ephysics/test_bouncing_text.c index 8021a451..924af1c9 100644 --- a/legacy-examples/c/ephysics/test_bouncing_text.c +++ b/legacy-examples/c/ephysics/test_bouncing_text.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_camera.c b/legacy-examples/c/ephysics/test_camera.c index c75c495d..f1af9cba 100644 --- a/legacy-examples/c/ephysics/test_camera.c +++ b/legacy-examples/c/ephysics/test_camera.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_camera_track.c b/legacy-examples/c/ephysics/test_camera_track.c index 6b0f8fcd..d107c019 100644 --- a/legacy-examples/c/ephysics/test_camera_track.c +++ b/legacy-examples/c/ephysics/test_camera_track.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_colliding_balls.c b/legacy-examples/c/ephysics/test_colliding_balls.c index e0181c87..b2659ba9 100644 --- a/legacy-examples/c/ephysics/test_colliding_balls.c +++ b/legacy-examples/c/ephysics/test_colliding_balls.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_collision_detection.c b/legacy-examples/c/ephysics/test_collision_detection.c index 44430b87..f07d2945 100644 --- a/legacy-examples/c/ephysics/test_collision_detection.c +++ b/legacy-examples/c/ephysics/test_collision_detection.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_collision_filter.c b/legacy-examples/c/ephysics/test_collision_filter.c index d755f98f..66d558d1 100644 --- a/legacy-examples/c/ephysics/test_collision_filter.c +++ b/legacy-examples/c/ephysics/test_collision_filter.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_constraint.c b/legacy-examples/c/ephysics/test_constraint.c index e5829158..69877ec6 100644 --- a/legacy-examples/c/ephysics/test_constraint.c +++ b/legacy-examples/c/ephysics/test_constraint.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_delete.c b/legacy-examples/c/ephysics/test_delete.c index 456113f8..ac791213 100644 --- a/legacy-examples/c/ephysics/test_delete.c +++ b/legacy-examples/c/ephysics/test_delete.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_forces.c b/legacy-examples/c/ephysics/test_forces.c index b232dbcc..37a720cb 100644 --- a/legacy-examples/c/ephysics/test_forces.c +++ b/legacy-examples/c/ephysics/test_forces.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_growing_balls.c b/legacy-examples/c/ephysics/test_growing_balls.c index 8c067d43..8449ae1e 100644 --- a/legacy-examples/c/ephysics/test_growing_balls.c +++ b/legacy-examples/c/ephysics/test_growing_balls.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_no_gravity.c b/legacy-examples/c/ephysics/test_no_gravity.c index 3671c40b..f718c2c5 100644 --- a/legacy-examples/c/ephysics/test_no_gravity.c +++ b/legacy-examples/c/ephysics/test_no_gravity.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_rotating_forever.c b/legacy-examples/c/ephysics/test_rotating_forever.c index c3e81dba..82a7a00a 100644 --- a/legacy-examples/c/ephysics/test_rotating_forever.c +++ b/legacy-examples/c/ephysics/test_rotating_forever.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_shapes.c b/legacy-examples/c/ephysics/test_shapes.c index 252670e1..2eef2d9b 100644 --- a/legacy-examples/c/ephysics/test_shapes.c +++ b/legacy-examples/c/ephysics/test_shapes.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_sleeping_threshold.c b/legacy-examples/c/ephysics/test_sleeping_threshold.c index 4d28dd9f..3074f5dc 100644 --- a/legacy-examples/c/ephysics/test_sleeping_threshold.c +++ b/legacy-examples/c/ephysics/test_sleeping_threshold.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_slider.c b/legacy-examples/c/ephysics/test_slider.c index aa726c6f..2d64d4c3 100644 --- a/legacy-examples/c/ephysics/test_slider.c +++ b/legacy-examples/c/ephysics/test_slider.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ephysics/test_velocity.c b/legacy-examples/c/ephysics/test_velocity.c index c03d2154..c67864a4 100644 --- a/legacy-examples/c/ephysics/test_velocity.c +++ b/legacy-examples/c/ephysics/test_velocity.c @@ -1,6 +1,3 @@ -#ifdef HAVE_CONFIG_H -# include -#endif #include "ephysics_test.h" diff --git a/legacy-examples/c/ethumb_client/ethumb_dbus.c b/legacy-examples/c/ethumb_client/ethumb_dbus.c index 3fe02291..528b5075 100644 --- a/legacy-examples/c/ethumb_client/ethumb_dbus.c +++ b/legacy-examples/c/ethumb_client/ethumb_dbus.c @@ -21,9 +21,7 @@ * * @author Rafael Antognolli */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + #include #include #include diff --git a/legacy-examples/c/evas/evas-3d-aabb.c b/legacy-examples/c/evas/evas-3d-aabb.c index dd4c1f0f..5f3e85cd 100644 --- a/legacy-examples/c/evas/evas-3d-aabb.c +++ b/legacy-examples/c/evas/evas-3d-aabb.c @@ -8,14 +8,8 @@ * gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-blending.c b/legacy-examples/c/evas/evas-3d-blending.c index 667b6711..f50e1bdf 100644 --- a/legacy-examples/c/evas/evas-3d-blending.c +++ b/legacy-examples/c/evas/evas-3d-blending.c @@ -9,13 +9,8 @@ * gcc -o evas-3d-blending evas-3d-blending.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-colorpick.c b/legacy-examples/c/evas/evas-3d-colorpick.c index 8c9ea3b5..f2f7b4de 100644 --- a/legacy-examples/c/evas/evas-3d-colorpick.c +++ b/legacy-examples/c/evas/evas-3d-colorpick.c @@ -13,14 +13,8 @@ * gcc -o evas-3d-colorpick evas-3d-colorpick.c `pkg-config --libs --cflags evas ecore ecore-evas eo eina efl` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-cube-rotate.c b/legacy-examples/c/evas/evas-3d-cube-rotate.c index 25889024..0bfaeaec 100644 --- a/legacy-examples/c/evas/evas-3d-cube-rotate.c +++ b/legacy-examples/c/evas/evas-3d-cube-rotate.c @@ -11,13 +11,8 @@ * gcc -o evas-3d-cube-rotate evas-3d-cube-rotate.c -g `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-cube.c b/legacy-examples/c/evas/evas-3d-cube.c index e8d04d4e..42892a71 100644 --- a/legacy-examples/c/evas/evas-3d-cube.c +++ b/legacy-examples/c/evas/evas-3d-cube.c @@ -7,13 +7,8 @@ * gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-cube2.c b/legacy-examples/c/evas/evas-3d-cube2.c index c8558b62..1f5f413b 100644 --- a/legacy-examples/c/evas/evas-3d-cube2.c +++ b/legacy-examples/c/evas/evas-3d-cube2.c @@ -5,14 +5,8 @@ * gcc -o evas-3d-cube2 evas-3d-cube2.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-eet.c b/legacy-examples/c/evas/evas-3d-eet.c index da94e06d..4464e43a 100644 --- a/legacy-examples/c/evas/evas-3d-eet.c +++ b/legacy-examples/c/evas/evas-3d-eet.c @@ -12,14 +12,8 @@ * gcc -o evas-3d-eet evas-3d-eet.c `pkg-config --libs --cflags efl eina evas ecore ecore-evas ecore-file eo` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-fog.c b/legacy-examples/c/evas/evas-3d-fog.c index 4c69dcac..51ebe0b2 100644 --- a/legacy-examples/c/evas/evas-3d-fog.c +++ b/legacy-examples/c/evas/evas-3d-fog.c @@ -5,13 +5,8 @@ * gcc -o evas-3d-fog evas-3d-fog.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-frustum.c b/legacy-examples/c/evas/evas-3d-frustum.c index 02f5bba0..6f48d2a6 100644 --- a/legacy-examples/c/evas/evas-3d-frustum.c +++ b/legacy-examples/c/evas/evas-3d-frustum.c @@ -14,14 +14,8 @@ * gcc -o evas-3d-frustum evas-3d-frustum.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-hull.c b/legacy-examples/c/evas/evas-3d-hull.c index 0e13705c..d1664da8 100644 --- a/legacy-examples/c/evas/evas-3d-hull.c +++ b/legacy-examples/c/evas/evas-3d-hull.c @@ -12,14 +12,8 @@ * gcc -o evas-3d-hull evas-3d-hull.c -g `pkg-config --libs --cflags efl evas ecore ecore-evas eo eina` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-md2.c b/legacy-examples/c/evas/evas-3d-md2.c index adfb6962..9ef0d637 100644 --- a/legacy-examples/c/evas/evas-3d-md2.c +++ b/legacy-examples/c/evas/evas-3d-md2.c @@ -5,14 +5,8 @@ * gcc -o evas-3d-md2 evas-3d-md2.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-mmap-set.c b/legacy-examples/c/evas/evas-3d-mmap-set.c index 36055550..3f8a51a6 100644 --- a/legacy-examples/c/evas/evas-3d-mmap-set.c +++ b/legacy-examples/c/evas/evas-3d-mmap-set.c @@ -9,14 +9,8 @@ * gcc -o evas-3d-mmap-set evas-3d-mmap-set.c `pkg-config --libs --cflags efl evas ecore ecore-evas eina eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-obj.c b/legacy-examples/c/evas/evas-3d-obj.c index e04da98a..c6d42d2a 100644 --- a/legacy-examples/c/evas/evas-3d-obj.c +++ b/legacy-examples/c/evas/evas-3d-obj.c @@ -13,14 +13,8 @@ * gcc -o evas-3d-obj evas-3d-obj.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-parallax-occlusion.c b/legacy-examples/c/evas/evas-3d-parallax-occlusion.c index 83188c05..ed25242d 100644 --- a/legacy-examples/c/evas/evas-3d-parallax-occlusion.c +++ b/legacy-examples/c/evas/evas-3d-parallax-occlusion.c @@ -7,14 +7,8 @@ * gcc -o evas-3d-parallax-occlusion evas-3d-parallax-occlusion.c `pkg-config --libs --cflags evas ecore ecore-evas eo efl` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-pick.c b/legacy-examples/c/evas/evas-3d-pick.c index 1e2f3d6e..296a8b6f 100644 --- a/legacy-examples/c/evas/evas-3d-pick.c +++ b/legacy-examples/c/evas/evas-3d-pick.c @@ -9,14 +9,8 @@ * gcc -o evas-3d-pick evas-3d-pick.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-ply.c b/legacy-examples/c/evas/evas-3d-ply.c index 821195b3..f0c63c8f 100644 --- a/legacy-examples/c/evas/evas-3d-ply.c +++ b/legacy-examples/c/evas/evas-3d-ply.c @@ -10,14 +10,8 @@ * gcc -o evas-3d-ply evas-3d-ply.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-proxy.c b/legacy-examples/c/evas/evas-3d-proxy.c index 6445ee95..5753599a 100644 --- a/legacy-examples/c/evas/evas-3d-proxy.c +++ b/legacy-examples/c/evas/evas-3d-proxy.c @@ -7,13 +7,8 @@ * gcc -o evas-3d-proxy evas-3d-proxy.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-shadows.c b/legacy-examples/c/evas/evas-3d-shadows.c index ae06a363..e5930f81 100644 --- a/legacy-examples/c/evas/evas-3d-shadows.c +++ b/legacy-examples/c/evas/evas-3d-shadows.c @@ -25,14 +25,8 @@ * gcc -o evas-3d-shadows evas-3d-shadows.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo eina` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-3d-static-lod.c b/legacy-examples/c/evas/evas-3d-static-lod.c index d7672a48..a56e8da5 100644 --- a/legacy-examples/c/evas/evas-3d-static-lod.c +++ b/legacy-examples/c/evas/evas-3d-static-lod.c @@ -10,14 +10,8 @@ * gcc -o evas-3d-static-lod evas-3d-static-lod.c `pkg-config --libs --cflags efl evas ecore ecore-evas eina eo` -lm * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT #define EFL_EO_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-aspect-hints.c b/legacy-examples/c/evas/evas-aspect-hints.c index 887457a8..be424688 100644 --- a/legacy-examples/c/evas/evas-aspect-hints.c +++ b/legacy-examples/c/evas/evas-aspect-hints.c @@ -14,11 +14,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-box.c b/legacy-examples/c/evas/evas-box.c index 82d54839..488b74f3 100644 --- a/legacy-examples/c/evas/evas-box.c +++ b/legacy-examples/c/evas/evas-box.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-event-filter.c b/legacy-examples/c/evas/evas-event-filter.c index dc257508..a9bf811b 100644 --- a/legacy-examples/c/evas/evas-event-filter.c +++ b/legacy-examples/c/evas/evas-event-filter.c @@ -12,10 +12,8 @@ * gcc -o evas-event-filter evas-event-filter.c `pkg-config --libs --cflags evas ecore ecore-evas` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/evas/evas-events.c b/legacy-examples/c/evas/evas-events.c index 4f76845e..8352b047 100644 --- a/legacy-examples/c/evas/evas-events.c +++ b/legacy-examples/c/evas/evas-events.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-hints.c b/legacy-examples/c/evas/evas-hints.c index d5f1d37b..491b97f1 100644 --- a/legacy-examples/c/evas/evas-hints.c +++ b/legacy-examples/c/evas/evas-hints.c @@ -15,12 +15,8 @@ * gcc -o evas-hints evas-hints.c `pkg-config --libs --cflags evas ecore ecore-evas` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/evas/evas-images.c b/legacy-examples/c/evas/evas-images.c index 22d09738..03cca143 100644 --- a/legacy-examples/c/evas/evas-images.c +++ b/legacy-examples/c/evas/evas-images.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-images2.c b/legacy-examples/c/evas/evas-images2.c index 74ac3f0e..8a586ef8 100644 --- a/legacy-examples/c/evas/evas-images2.c +++ b/legacy-examples/c/evas/evas-images2.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-images3.c b/legacy-examples/c/evas/evas-images3.c index 23feaf54..f97ed41e 100644 --- a/legacy-examples/c/evas/evas-images3.c +++ b/legacy-examples/c/evas/evas-images3.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-images4.c b/legacy-examples/c/evas/evas-images4.c index 457c25df..c7b23505 100644 --- a/legacy-examples/c/evas/evas-images4.c +++ b/legacy-examples/c/evas/evas-images4.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-images5.c b/legacy-examples/c/evas/evas-images5.c index ed8a4e55..b4cc74ce 100644 --- a/legacy-examples/c/evas/evas-images5.c +++ b/legacy-examples/c/evas/evas-images5.c @@ -10,12 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." #define EFL_BETA_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-map-aa-eo.c b/legacy-examples/c/evas/evas-map-aa-eo.c index 5a68393c..c69d220f 100644 --- a/legacy-examples/c/evas/evas-map-aa-eo.c +++ b/legacy-examples/c/evas/evas-map-aa-eo.c @@ -6,11 +6,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #ifndef EFL_BETA_API_SUPPORT # define EFL_BETA_API_SUPPORT diff --git a/legacy-examples/c/evas/evas-map-aa.c b/legacy-examples/c/evas/evas-map-aa.c index c4fc7125..1d6760d5 100644 --- a/legacy-examples/c/evas/evas-map-aa.c +++ b/legacy-examples/c/evas/evas-map-aa.c @@ -6,11 +6,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-map-utils-eo.c b/legacy-examples/c/evas/evas-map-utils-eo.c index e1767cd1..7fe0d65a 100644 --- a/legacy-examples/c/evas/evas-map-utils-eo.c +++ b/legacy-examples/c/evas/evas-map-utils-eo.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #ifndef EFL_BETA_API_SUPPORT # define EFL_BETA_API_SUPPORT diff --git a/legacy-examples/c/evas/evas-map-utils.c b/legacy-examples/c/evas/evas-map-utils.c index a8d01cda..26b9d9f0 100644 --- a/legacy-examples/c/evas/evas-map-utils.c +++ b/legacy-examples/c/evas/evas-map-utils.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-multi-touch.c b/legacy-examples/c/evas/evas-multi-touch.c index 5c3fb671..1a5324a6 100644 --- a/legacy-examples/c/evas/evas-multi-touch.c +++ b/legacy-examples/c/evas/evas-multi-touch.c @@ -9,9 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-multiseat-events.c b/legacy-examples/c/evas/evas-multiseat-events.c index bc99bd32..7c410f96 100644 --- a/legacy-examples/c/evas/evas-multiseat-events.c +++ b/legacy-examples/c/evas/evas-multiseat-events.c @@ -14,10 +14,8 @@ * gcc -o evas_multiseat_events evas-multiseat-events.c `pkg-config --libs --cflags evas ecore ecore-evas` * @endverbatim */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#define EFL_BETA_API_SUPPORT +#define EFL_EO_API_SUPPORT #include #include diff --git a/legacy-examples/c/evas/evas-object-manipulation-eo.c b/legacy-examples/c/evas/evas-object-manipulation-eo.c index 551d2873..d73ded03 100644 --- a/legacy-examples/c/evas/evas-object-manipulation-eo.c +++ b/legacy-examples/c/evas/evas-object-manipulation-eo.c @@ -10,13 +10,9 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." + #define EFL_EO_API_SUPPORT #define EFL_BETA_API_SUPPORT -#endif #include #include diff --git a/legacy-examples/c/evas/evas-object-manipulation.c b/legacy-examples/c/evas/evas-object-manipulation.c index 2ddf958f..9e31779f 100644 --- a/legacy-examples/c/evas/evas-object-manipulation.c +++ b/legacy-examples/c/evas/evas-object-manipulation.c @@ -17,11 +17,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-smart-interface.c b/legacy-examples/c/evas/evas-smart-interface.c index 2d429525..fdb9ce40 100644 --- a/legacy-examples/c/evas/evas-smart-interface.c +++ b/legacy-examples/c/evas/evas-smart-interface.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-smart-object.c b/legacy-examples/c/evas/evas-smart-object.c index c0988e50..1b92664f 100644 --- a/legacy-examples/c/evas/evas-smart-object.c +++ b/legacy-examples/c/evas/evas-smart-object.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-stacking.c b/legacy-examples/c/evas/evas-stacking.c index c4717901..eebfec17 100644 --- a/legacy-examples/c/evas/evas-stacking.c +++ b/legacy-examples/c/evas/evas-stacking.c @@ -10,11 +10,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-table.c b/legacy-examples/c/evas/evas-table.c index b1727d3f..cf22b8e8 100644 --- a/legacy-examples/c/evas/evas-table.c +++ b/legacy-examples/c/evas/evas-table.c @@ -9,9 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-text.c b/legacy-examples/c/evas/evas-text.c index 68fc106d..00bc4312 100644 --- a/legacy-examples/c/evas/evas-text.c +++ b/legacy-examples/c/evas/evas-text.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-textblock-obstacles.c b/legacy-examples/c/evas/evas-textblock-obstacles.c index f2ec2333..c812d8ae 100644 --- a/legacy-examples/c/evas/evas-textblock-obstacles.c +++ b/legacy-examples/c/evas/evas-textblock-obstacles.c @@ -17,11 +17,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-transparent.c b/legacy-examples/c/evas/evas-transparent.c index 92c96535..163955f7 100644 --- a/legacy-examples/c/evas/evas-transparent.c +++ b/legacy-examples/c/evas/evas-transparent.c @@ -24,11 +24,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #include #include diff --git a/legacy-examples/c/evas/evas-vg-batman.c b/legacy-examples/c/evas/evas-vg-batman.c index 650709f2..1658d19c 100644 --- a/legacy-examples/c/evas/evas-vg-batman.c +++ b/legacy-examples/c/evas/evas-vg-batman.c @@ -9,11 +9,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #define WIDTH 800 #define HEIGHT 600 diff --git a/legacy-examples/c/evas/evas-vg-simple.c b/legacy-examples/c/evas/evas-vg-simple.c index 36b8baaf..e5956f7a 100644 --- a/legacy-examples/c/evas/evas-vg-simple.c +++ b/legacy-examples/c/evas/evas-vg-simple.c @@ -30,11 +30,7 @@ * @endverbatim */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#else -#define PACKAGE_EXAMPLES_DIR "." -#endif + #define WIDTH 600 #define HEIGHT 600 diff --git a/legacy-examples/c/meson.build b/legacy-examples/c/meson.build index 5087e0cb..289717f0 100644 --- a/legacy-examples/c/meson.build +++ b/legacy-examples/c/meson.build @@ -3,9 +3,6 @@ project('efl-c-examples', version: '1.0' ) -add_global_arguments('-DEFL_EO_API_SUPPORT=1', language: 'c') -add_global_arguments('-DEFL_BETA_API_SUPPORT=1', language: 'c') - eina = dependency('eina') emile = dependency('emile') ecore = dependency('ecore') diff --git a/setup.py b/setup.py index 11b1df0b..f7b4a210 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import os from string import Template supported_languages = ["c", "csharp", "cxx"] -directories = ["apps", "reference", "tutorial"] # "examples", "legacy-examples" +directories = ["apps", "reference", "tutorial"] goals = [] subprojects = [] @@ -11,6 +11,7 @@ class SubProjectGoal: def __init__(self, language, path): self.language = language self.path = path + self.is_legacy = path.find('legacy') != -1 def verify(self): assert os.path.isdir(self.path) @@ -20,7 +21,10 @@ class SubProjectGoal: os.symlink(os.path.join('..', self.path), os.path.realpath(os.path.join('subprojects', self.link_file_name()))) def link_file_name(self): - return self.language+'-'+os.path.basename(self.path) + if self.is_legacy: + return 'legacy-' + self.language+'-'+os.path.basename(self.path) + else: + return self.language+'-'+os.path.basename(self.path) for directory in directories: for lang in supported_languages: