1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:37:34 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -1,24 +1,24 @@
From 168040b44c185772fe6d24eb017e6fc6366fadb1 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20B=C5=99=C3=ADza?= <m@rtinbriza.cz>
Date: Wed, 15 Dec 2021 20:01:43 +0100
Subject: [PATCH 1/5] Add a SerenityOS platform definition
Subject: [PATCH] Add a SerenityOS platform definition
---
cmake/QtBuild.cmake | 2 +
mkspecs/serenity-g++/qmake.conf | 25 ++++++++
mkspecs/serenity-g++/qplatformdefs.h | 88 +++++++++++++++++++++++++++
mkspecs/serenity-g++/qplatformdefs.h | 87 +++++++++++++++++++++++++++
src/corelib/global/qsystemdetection.h | 3 +
src/gui/CMakeLists.txt | 2 +
util/cmake/helper.py | 1 +
6 files changed, 121 insertions(+)
6 files changed, 120 insertions(+)
create mode 100644 mkspecs/serenity-g++/qmake.conf
create mode 100644 mkspecs/serenity-g++/qplatformdefs.h
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 7553b681..702ddf6f 100644
index 6bd255b..ed466b7 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -321,6 +321,8 @@ elseif(APPLE)
@@ -325,6 +325,8 @@ elseif(APPLE)
set(QT_DEFAULT_MKSPEC macx-clang)
elseif(WASM)
set(QT_DEFAULT_MKSPEC wasm-emscripten)
@ -29,7 +29,7 @@ index 7553b681..702ddf6f 100644
set(QT_ENABLE_CXX_EXTENSIONS ON)
diff --git a/mkspecs/serenity-g++/qmake.conf b/mkspecs/serenity-g++/qmake.conf
new file mode 100644
index 00000000..00d5ae2c
index 0000000..3808b5a
--- /dev/null
+++ b/mkspecs/serenity-g++/qmake.conf
@@ -0,0 +1,25 @@
@ -60,7 +60,7 @@ index 00000000..00d5ae2c
+load(qt_config)
diff --git a/mkspecs/serenity-g++/qplatformdefs.h b/mkspecs/serenity-g++/qplatformdefs.h
new file mode 100644
index 00000000..c054ddc5
index 0000000..1f0dd98
--- /dev/null
+++ b/mkspecs/serenity-g++/qplatformdefs.h
@@ -0,0 +1,87 @@
@ -152,7 +152,7 @@ index 00000000..c054ddc5
+
+#endif // QPLATFORMDEFS_H
diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h
index c8f98042..5c534c4a 100644
index c8f9804..5c534c4 100644
--- a/src/corelib/global/qsystemdetection.h
+++ b/src/corelib/global/qsystemdetection.h
@@ -72,6 +72,7 @@
@ -173,7 +173,7 @@ index c8f98042..5c534c4a 100644
#else
# error "Qt has not been ported to this OS - see http://www.qt-project.org/"
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 1e212b25..b12c8196 100644
index 1e212b2..b12c819 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -29,6 +29,8 @@ if (QT_FEATURE_gui)
@ -186,7 +186,7 @@ index 1e212b25..b12c8196 100644
set(_default_platform "xcb")
endif()
diff --git a/util/cmake/helper.py b/util/cmake/helper.py
index e55a9412..87260f36 100644
index e55a941..87260f3 100644
--- a/util/cmake/helper.py
+++ b/util/cmake/helper.py
@@ -767,6 +767,7 @@ platform_mapping = {
@ -197,6 +197,3 @@ index e55a9412..87260f36 100644
}
--
2.33.1