Merge branch 'calamares' of https://github.com/calamares/calamares into development
This commit is contained in:
commit
e582bee3f9
@ -11,7 +11,8 @@ the history of the 3.2 series (2018-05 - 2022-08).
|
|||||||
# 3.3.0 (unreleased)
|
# 3.3.0 (unreleased)
|
||||||
|
|
||||||
This release contains contributions from (alphabetically by first name):
|
This release contains contributions from (alphabetically by first name):
|
||||||
- Nobody, yet
|
- Adriaan de Groot
|
||||||
|
- Christophe Marin
|
||||||
|
|
||||||
## Core ##
|
## Core ##
|
||||||
|
|
||||||
|
@ -47,8 +47,8 @@
|
|||||||
|
|
||||||
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
|
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
|
||||||
|
|
||||||
set(CALAMARES_VERSION 3.3.0-alpha6)
|
set(CALAMARES_VERSION 3.3.0)
|
||||||
set(CALAMARES_RELEASE_MODE ON) # Set to ON during a release
|
set(CALAMARES_RELEASE_MODE OFF) # Set to ON during a release
|
||||||
|
|
||||||
if(CMAKE_SCRIPT_MODE_FILE)
|
if(CMAKE_SCRIPT_MODE_FILE)
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/CMakeModules/ExtendedVersion.cmake)
|
include(${CMAKE_CURRENT_LIST_DIR}/CMakeModules/ExtendedVersion.cmake)
|
||||||
|
@ -15,18 +15,19 @@ if(NOT TARGET calapmcore)
|
|||||||
find_package(${kfname}I18n CONFIG)
|
find_package(${kfname}I18n CONFIG)
|
||||||
find_package(${kfname}WidgetsAddons CONFIG)
|
find_package(${kfname}WidgetsAddons CONFIG)
|
||||||
|
|
||||||
if(NOT WITH_QT6)
|
if( WITH_QT6)
|
||||||
# TODO: Qt6 how to detect the version of Qt that KPMCore needs?
|
find_package(KPMcore 24.01.75)
|
||||||
|
else()
|
||||||
find_package(KPMcore 20.04.0)
|
find_package(KPMcore 20.04.0)
|
||||||
set_package_properties(
|
|
||||||
KPMcore
|
|
||||||
PROPERTIES
|
|
||||||
URL "https://invent.kde.org/kde/kpmcore"
|
|
||||||
DESCRIPTION "KDE Partitioning library"
|
|
||||||
TYPE RECOMMENDED
|
|
||||||
PURPOSE "For disk partitioning support"
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
|
set_package_properties(
|
||||||
|
KPMcore
|
||||||
|
PROPERTIES
|
||||||
|
URL "https://invent.kde.org/kde/kpmcore"
|
||||||
|
DESCRIPTION "KDE Partitioning library"
|
||||||
|
TYPE RECOMMENDED
|
||||||
|
PURPOSE "For disk partitioning support"
|
||||||
|
)
|
||||||
|
|
||||||
# Create an internal Calamares interface to KPMcore
|
# Create an internal Calamares interface to KPMcore
|
||||||
# and give it a nice alias name. If kpmcore is not found,
|
# and give it a nice alias name. If kpmcore is not found,
|
||||||
|
@ -8,7 +8,8 @@ yum install -y yaml-cpp-devel libpwquality-devel parted-devel python-devel gette
|
|||||||
yum install -y libicu-devel libatasmart-devel
|
yum install -y libicu-devel libatasmart-devel
|
||||||
# Qt6/KF6 dependencies
|
# Qt6/KF6 dependencies
|
||||||
yum install -y qt6-qtbase-devel qt6-linguist qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qttools-devel
|
yum install -y qt6-qtbase-devel qt6-linguist qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qtsvg-devel qt6-qttools-devel
|
||||||
yum install -y kf6-kcoreaddons-devel kf6-kdbusaddons-devel kf6-kcrash-devel
|
yum install -y extra-cmake-modules kf6-kcoreaddons-devel kf6-kdbusaddons-devel kf6-kcrash-devel
|
||||||
|
yum install -y kf6-kconfig-devel kf6-ki18n-devel kf6-kwidgetsaddons-devel kf6-kservice-devel
|
||||||
yum install -y polkit-qt6-1-devel appstream-qt-devel
|
yum install -y polkit-qt6-1-devel appstream-qt-devel
|
||||||
# Runtime dependencies for QML modules
|
# Runtime dependencies for QML modules
|
||||||
yum install -y kf6-kirigami2-devel || true
|
yum install -y kf6-kirigami2-devel || true
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
# Install dependencies for the nightly-opensuse-qt6 build
|
# Install dependencies for the nightly-opensuse-qt6 build
|
||||||
#
|
#
|
||||||
# Add a Qt6/KF6 repo
|
# Add a Qt6/KF6 repo
|
||||||
zypper --non-interactive addrepo -G https://download.opensuse.org/repositories/home:krop:kf6/openSUSE_Tumbleweed/home:krop:kf6.repo
|
zypper --non-interactive addrepo -f -G https://download.opensuse.org/repositories/KDE:/Unstable:/Frameworks/openSUSE_Factory/KDE:Unstable:Frameworks.repo
|
||||||
zypper --non-interactive addrepo -G https://download.opensuse.org/repositories/KDE:/Qt6/openSUSE_Tumbleweed/KDE:Qt6.repo
|
zypper --non-interactive addrepo -f -G https://download.opensuse.org/repositories/KDE:/Qt6/openSUSE_Tumbleweed/KDE:Qt6.repo
|
||||||
|
|
||||||
zypper --non-interactive refresh
|
zypper --non-interactive refresh
|
||||||
zypper --non-interactive up
|
zypper --non-interactive up
|
||||||
|
@ -30,20 +30,25 @@ struct AutoMountInfo
|
|||||||
*
|
*
|
||||||
* KDE Solid automount management.
|
* KDE Solid automount management.
|
||||||
*
|
*
|
||||||
* Solid can be influenced through DBus calls to kded5. The following code
|
* Solid can be influenced through DBus calls to kded (both kded5 and kded6). The
|
||||||
* handles Solid: if Solid exists (e.g. we're in a KDE Plasma desktop)
|
* following code handles Solid: if Solid exists (e.g. we're in a KDE Plasma desktop)
|
||||||
* then try to turn off automount that way.
|
* then try to turn off automount that way.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @brief Boilerplate for a call to kded5
|
/** @brief Boilerplate for a call to kded
|
||||||
*
|
*
|
||||||
* Returns a method-call message, ready for arguments and call().
|
* Returns a method-call message, ready for arguments and call().
|
||||||
*/
|
*/
|
||||||
static inline QDBusMessage
|
static inline QDBusMessage
|
||||||
kdedCall( const QString& method )
|
kdedCall( const QString& method )
|
||||||
{
|
{
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 )
|
||||||
return QDBusMessage::createMethodCall(
|
return QDBusMessage::createMethodCall(
|
||||||
QStringLiteral( "org.kde.kded5" ), QStringLiteral( "/kded" ), QStringLiteral( "org.kde.kded5" ), method );
|
QStringLiteral( "org.kde.kded5" ), QStringLiteral( "/kded" ), QStringLiteral( "org.kde.kded5" ), method );
|
||||||
|
#else
|
||||||
|
return QDBusMessage::createMethodCall(
|
||||||
|
QStringLiteral( "org.kde.kded6" ), QStringLiteral( "/kded" ), QStringLiteral( "org.kde.kded6" ), method );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Log a response from call()
|
/** @brief Log a response from call()
|
||||||
|
@ -150,7 +150,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Keyboard switch:</string>
|
<string extracomment="shortcut for switching between keyboard layouts">Switch Keyboard:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -23,4 +23,5 @@ calamares_add_plugin(summaryq
|
|||||||
LINK_PRIVATE_LIBRARIES
|
LINK_PRIVATE_LIBRARIES
|
||||||
calamaresui
|
calamaresui
|
||||||
SHARED_LIB
|
SHARED_LIB
|
||||||
|
NO_CONFIG
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user