From 54fcd1a528427ea99b836b7544f7d120e7dcaa98 Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Tue, 25 May 2021 08:04:18 -0300
Subject: [PATCH] testing/*: remove stale patches

---
 testing/asteroid-calculator/fix-build.patch | 19 -----------------
 testing/asteroid-calendar/fix-build.patch   | 19 -----------------
 testing/asteroid-camera/fix-build.patch     | 19 -----------------
 testing/asteroid-compass/fix-build.patch    | 19 -----------------
 testing/asteroid-hrm/fix-build.patch        | 19 -----------------
 testing/asteroid-settings/fix-build.patch   | 23 ---------------------
 testing/asteroid-stopwatch/fix-build.patch  | 19 -----------------
 testing/asteroid-timer/fix-build.patch      | 19 -----------------
 testing/asteroid-weather/fix-build.patch    | 19 -----------------
 9 files changed, 175 deletions(-)
 delete mode 100644 testing/asteroid-calculator/fix-build.patch
 delete mode 100644 testing/asteroid-calendar/fix-build.patch
 delete mode 100644 testing/asteroid-camera/fix-build.patch
 delete mode 100644 testing/asteroid-compass/fix-build.patch
 delete mode 100644 testing/asteroid-hrm/fix-build.patch
 delete mode 100644 testing/asteroid-settings/fix-build.patch
 delete mode 100644 testing/asteroid-stopwatch/fix-build.patch
 delete mode 100644 testing/asteroid-timer/fix-build.patch
 delete mode 100644 testing/asteroid-weather/fix-build.patch

diff --git a/testing/asteroid-calculator/fix-build.patch b/testing/asteroid-calculator/fix-build.patch
deleted file mode 100644
index 987b41c739ce..000000000000
--- a/testing/asteroid-calculator/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-calculator.pro b/asteroid-calculator.pro
-index 1423169..6bb7d18 100644
---- a/asteroid-calculator.pro
-+++ b/asteroid-calculator.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-calculator
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -10,3 +11,6 @@ OTHER_FILES += calculator.js \
- 
- lupdate_only{ SOURCES += i18n/asteroid-calculator.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-calendar/fix-build.patch b/testing/asteroid-calendar/fix-build.patch
deleted file mode 100644
index 5513675b3b2f..000000000000
--- a/testing/asteroid-calendar/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-calendar.pro b/asteroid-calendar.pro
-index 8b30ba2..dd5a9d8 100644
---- a/asteroid-calendar.pro
-+++ b/asteroid-calendar.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-calendar
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml EventDialog.qml MonthSelector.qml
- 
- lupdate_only{ SOURCES += i18n/asteroid-calendar.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-camera/fix-build.patch b/testing/asteroid-camera/fix-build.patch
deleted file mode 100644
index e17779fbe0b5..000000000000
--- a/testing/asteroid-camera/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-camera.pro b/asteroid-camera.pro
-index 3f76d19..890d6bd 100644
---- a/asteroid-camera.pro
-+++ b/asteroid-camera.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-camera
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES = i18n/$$TARGET.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-compass/fix-build.patch b/testing/asteroid-compass/fix-build.patch
deleted file mode 100644
index 18f207f7d450..000000000000
--- a/testing/asteroid-compass/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-compass.pro b/asteroid-compass.pro
-index cccc64a..9d28d0f 100644
---- a/asteroid-compass.pro
-+++ b/asteroid-compass.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-compass
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES = i18n/$$TARGET.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-hrm/fix-build.patch b/testing/asteroid-hrm/fix-build.patch
deleted file mode 100644
index 335792b33ce6..000000000000
--- a/testing/asteroid-hrm/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-hrm.pro b/asteroid-hrm.pro
-index a2ec637..5545c43 100644
---- a/asteroid-hrm.pro
-+++ b/asteroid-hrm.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-hrm
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES = i18n/$$TARGET.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-settings/fix-build.patch b/testing/asteroid-settings/fix-build.patch
deleted file mode 100644
index 8704d8c1b415..000000000000
--- a/testing/asteroid-settings/fix-build.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/asteroid-settings.pro b/asteroid-settings.pro
-index 5fb3c42..7b58973 100644
---- a/asteroid-settings.pro
-+++ b/asteroid-settings.pro
-@@ -1,7 +1,7 @@
- TARGET = asteroid-settings
--CONFIG += asteroidapp
--PKGCONFIG += dbus-1 dbus-glib-1
--QT += dbus multimedia
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += dbus-1 dbus-glib-1 asteroidapp
-+QT += dbus multimedia qml quick
- 
- system(qdbusxml2cpp -p mceiface.h:mceiface.cpp mce.xml)
- 
-@@ -26,3 +26,7 @@ OTHER_FILES += main.qml \
- 
- lupdate_only{ SOURCES += i18n/asteroid-settings.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+translations.path = /usr/share/translations/
-+INSTALLS += target translations
diff --git a/testing/asteroid-stopwatch/fix-build.patch b/testing/asteroid-stopwatch/fix-build.patch
deleted file mode 100644
index 64e9bc78c75e..000000000000
--- a/testing/asteroid-stopwatch/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-stopwatch.pro b/asteroid-stopwatch.pro
-index 2331603..46f5dbe 100644
---- a/asteroid-stopwatch.pro
-+++ b/asteroid-stopwatch.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-stopwatch
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES += i18n/asteroid-stopwatch.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-timer/fix-build.patch b/testing/asteroid-timer/fix-build.patch
deleted file mode 100644
index 3d5a4e2b10a5..000000000000
--- a/testing/asteroid-timer/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-timer.pro b/asteroid-timer.pro
-index f865860..d4d2968 100644
---- a/asteroid-timer.pro
-+++ b/asteroid-timer.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-timer
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES += i18n/asteroid-timer.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
diff --git a/testing/asteroid-weather/fix-build.patch b/testing/asteroid-weather/fix-build.patch
deleted file mode 100644
index 335a4f1af63f..000000000000
--- a/testing/asteroid-weather/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/asteroid-weather.pro b/asteroid-weather.pro
-index 888aaca..a781a5e 100644
---- a/asteroid-weather.pro
-+++ b/asteroid-weather.pro
-@@ -1,5 +1,6 @@
- TARGET = asteroid-weather
--CONFIG += asteroidapp
-+CONFIG += asteroidapp link_pkgconfig
-+PKGCONFIG += asteroidapp
- 
- SOURCES +=     main.cpp
- RESOURCES +=   resources.qrc
-@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
- 
- lupdate_only{ SOURCES += i18n/asteroid-weather.desktop.h }
- TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
-+
-+target.path = /usr/bin/
-+INSTALLS += target
-- 
GitLab