clang_tidy_exe = find_program('clang-tidy', required : false)
if clang_tidy_exe.found()
git_exe = find_program('git', required : true)
- modified_file_list = run_command(git_exe, 'diff', 'origin/master', '--name-only', './src/*.cc', './src/pan-view/*.cc', './src/view-file/*.cc', check: true)
+ modified_file_list = run_command(git_exe, 'diff', 'origin/master', '--name-only', '--diff-filter=d', './src/*.cc', './src/pan-view/*.cc', './src/view-file/*.cc', check: true)
modified_files = modified_file_list.stdout().strip().split('\n')
foreach modified_file : modified_files
#include "jpeg-parser.h"
#include "main-defines.h"
#include "misc.h"
+#include "third-party/zonedetect.h"
#include "typedefs.h"
#include "ui-fileops.h"
-#include "zonedetect.h"
-
struct ExifData;
struct ExifItem;
struct FileCacheData;
#endif
#if HAVE_DEVELOPER
-#include "backward.h"
+#include "third-party/backward.h"
#endif
#include "cache-maint.h"
#include "rcfile.h"
#include "remote.h"
#include "secure-save.h"
+#include "third-party/whereami.h"
#include "thumb.h"
#include "ui-fileops.h"
#include "ui-utildlg.h"
-#include "whereami.h"
gboolean thumb_format_changed = FALSE;
static RemoteConnection *remote_connection = nullptr;
main_sources = files('advanced-exif.cc',
'advanced-exif.h',
-'backward.h',
'bar.cc',
'bar-comment.cc',
'bar-comment.h',
'view-dir-tree.cc',
'view-dir-tree.h',
'view-file.h',
-'whereami.cc',
-'whereami.h',
'window.cc',
-'window.h',
-'zonedetect.cc',
-'zonedetect.h')
+'window.h')
project_sources += main_sources
subdir('authors')
subdir('icons')
subdir('pan-view')
+subdir('third-party')
subdir('ui')
subdir('view-file')
#include "pixbuf-util.h"
#include "rcfile.h"
#include "slideshow.h"
+#include "third-party/zonedetect.h"
#include "toolbar.h"
#include "trash.h"
#include "typedefs.h"
#include "ui-utildlg.h"
#include "utilops.h"
#include "window.h"
-#include "zonedetect.h"
struct ZoneDetect;
--- /dev/null
+# This file is a part of Geeqie project (https://www.geeqie.org/).
+# Copyright (C) 2008 - 2024 The Geeqie Team
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+third_party_sources = files('backward.h',
+'whereami.cc',
+'whereami.h',
+'zonedetect.cc',
+'zonedetect.h')
+
+project_sources += third_party_sources
// in case you want to #include "whereami.cc" in a larger compilation unit
#if !defined(WHEREAMI_H)
-#include <whereami.h>
+#include <third-party/whereami.h>
#endif
#ifdef __cplusplus