From b6aad5b3b03007a6daca0bf1c37fdd2671e5c1c8 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 11 Mar 2021 19:05:18 +0900 Subject: [PATCH] revert unintended code changes while upstream code sync. Change-Id: I5c95954a470d5a1f330f3044e254b896d445426c --- meson_options.txt | 2 +- packaging/thorvg.spec | 1 - src/examples/Svg.cpp | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 5c7251a..4a18785 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -30,7 +30,7 @@ option('tools', option('examples', type: 'boolean', - value: true, + value: false, description: 'Enable building examples') option('test', diff --git a/packaging/thorvg.spec b/packaging/thorvg.spec index f48e297..c3e7652 100644 --- a/packaging/thorvg.spec +++ b/packaging/thorvg.spec @@ -9,7 +9,6 @@ Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig BuildRequires: pkgconfig(glesv2) -BuildRequires: pkgconfig(elementary) BuildRequires: meson BuildRequires: ninja Requires(post): /sbin/ldconfig diff --git a/src/examples/Svg.cpp b/src/examples/Svg.cpp index 2dc89a3..392e5c7 100644 --- a/src/examples/Svg.cpp +++ b/src/examples/Svg.cpp @@ -6,7 +6,7 @@ /************************************************************************/ #define NUM_PER_LINE 5 -#define SIZE 320 +#define SIZE 160 static int count = 0; @@ -46,7 +46,7 @@ void tvgDrawCmds(tvg::Canvas* canvas) if (canvas->push(move(shape)) != tvg::Result::Success) return; - eina_file_dir_list("/tmp", EINA_TRUE, svgDirCallback, canvas); + eina_file_dir_list(EXAMPLE_DIR, EINA_TRUE, svgDirCallback, canvas); /* This showcase shows you asynchrounous loading of svg. For this, pushing pictures at a certian sync time. -- 2.7.4