From e36520ae5be8c0a029eda1bc8347af1c9b22b8d8 Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Wed, 12 Jul 2023 12:05:37 +0100 Subject: [PATCH] Remove redundant files --- scripts/check-compiles.sh | 65 --------------------------------------- scripts/geeqie.cppcheck | 62 ------------------------------------- 2 files changed, 127 deletions(-) delete mode 100755 scripts/check-compiles.sh delete mode 100644 scripts/geeqie.cppcheck diff --git a/scripts/check-compiles.sh b/scripts/check-compiles.sh deleted file mode 100755 index f098b6a9..00000000 --- a/scripts/check-compiles.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -#/* -# * Copyright (C) 2022 The Geeqie Team -# * -# * Author: Colin Clark -# * -# * 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. -# * -# * You should have received a copy of the GNU General Public License along -# * with this program; if not, write to the Free Software Foundation, Inc., -# * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# */ - -## @file -## @brief Check that Geeqie compiles with both gcc and clang, -## for GTK3, and with and without optional modules. -## - -compile() -{ -compiler="$1" -rm -r build > /dev/null 2>&1 -meson setup build > /dev/null 2>&1 - -printf '\e[32m%s\n' "$compiler all disabled" -meson configure --auto-features disabled build - -if (! ninja -C build clean > /dev/null 2>&1) -then - echo "ERROR" -fi -if (! ninja -C build > /dev/null 2>&1) -then - echo "ERROR" -fi - -printf '\e[32m%s\n' "$compiler none disabled" -meson configure --auto-features auto build - -if (! ninja -C build clean > /dev/null 2>&1) -then - echo "ERROR" -fi -if (! ninja -C build > /dev/null 2>&1) -then - echo "ERROR" -fi -} - -export CC=clang -export CXX=clang++ -compile "clang" - -export CC= -export CXX= -compile "gcc" diff --git a/scripts/geeqie.cppcheck b/scripts/geeqie.cppcheck deleted file mode 100644 index f89e8eba..00000000 --- a/scripts/geeqie.cppcheck +++ /dev/null @@ -1,62 +0,0 @@ - - - ../geeqie-cppcheck-build-dir - Unspecified - false - true - true - 2 - 100 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ENABLE_NLS - G_KEY_FILE_DESKTOP_GROUP - HAVE__NL_TIME_FIRST_WEEKDAY - UNUSED - ZD_EXPORT - - - - - - cairo - gnu - gtk - lua - posix - - - variableScope - - -- 2.20.1