summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2021-06-15 12:55:03 +0200
committerDave Davenport <qball@blame.services>2021-06-15 12:55:03 +0200
commitb541bf55bc50786d12a3f7fefa0f8b92e5673a5e (patch)
tree7413a9ee0c98dc3aaf66ad2239363939bc9a3c8f
parent43957321d48e60258925a45dd8f978e77417129c (diff)
[Test] Fix meson test, remove gif dep from meson.
-rw-r--r--meson.build4
-rw-r--r--test/helper-tokenize.c1
-rw-r--r--test/mode-test.c1
-rw-r--r--test/theme-parser-test.c1
4 files changed, 3 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index cfe9817e..82c1117e 100644
--- a/meson.build
+++ b/meson.build
@@ -71,9 +71,6 @@ deps += [
dependency('libstartup-notification-1.0'),
]
-libgif = c_compiler.find_library('libgif', required: false)
-deps += [ libgif ]
-
check = dependency('check', version: '>= 0.11.0', required: get_option('check'))
header_conf = configuration_data()
@@ -92,7 +89,6 @@ header_conf.set('GLIB_VERSION_MIN_REQUIRED', '(G_ENCODE_VERSION(@0@,@1@))'.forma
header_conf.set('GLIB_VERSION_MAX_ALLOWED', '(G_ENCODE_VERSION(@0@,@1@))'.format(glib_min_major, glib_min_minor))
header_conf.set('ENABLE_DRUN', get_option('drun'))
-header_conf.set('HAVE_LIBGIF', libgif.found())
header_conf.set('WINDOW_MODE', get_option('window'))
header_conf.set_quoted('MANPAGE_PATH', join_paths(get_option('prefix'), get_option('mandir')))
diff --git a/test/helper-tokenize.c b/test/helper-tokenize.c
index 1629303c..3e0f5a9e 100644
--- a/test/helper-tokenize.c
+++ b/test/helper-tokenize.c
@@ -40,6 +40,7 @@
#include "settings.h"
#include "rofi-types.h"
#include "widgets/textbox.h"
+#include "rofi-icon-fetcher.h"
#include <check.h>
diff --git a/test/mode-test.c b/test/mode-test.c
index 6c773a2b..88bbd7ef 100644
--- a/test/mode-test.c
+++ b/test/mode-test.c
@@ -46,6 +46,7 @@
#include <helper.h>
#include <check.h>
+#include "rofi-icon-fetcher.h"
ThemeWidget *rofi_theme = NULL;
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c
index 6d16c165..b09aa138 100644
--- a/test/theme-parser-test.c
+++ b/test/theme-parser-test.c
@@ -41,6 +41,7 @@
#include "css-colors.h"
#include "widgets/widget-internal.h"
#include "widgets/textbox.h"
+#include "rofi-icon-fetcher.h"
#include <check.h>