Compare commits

..

No commits in common. 'ubuntu/plucky' and 'ubuntu/noble' have entirely different histories.

18
debian/changelog vendored

@ -1,21 +1,3 @@
calamares (3.3.9-0ubuntu2) plucky; urgency=medium
* Do not build with QtWebEngines on architectures that do not support it.
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 29 Oct 2024 19:01:21 -0500
calamares (3.3.9-0ubuntu1) plucky; urgency=medium
* New upstream release.
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 15 Oct 2024 20:44:54 -0500
calamares (3.3.8-0ubuntu1) oracular; urgency=medium
* New upstream release.
-- Simon Quigley <tsimonq2@ubuntu.com> Sat, 06 Jul 2024 12:16:19 -0500
calamares (3.3.5-0ubuntu4) noble; urgency=medium calamares (3.3.5-0ubuntu4) noble; urgency=medium
* Populate grub-{efi,pc}/install_devices debconf config (LP: #2063354). * Populate grub-{efi,pc}/install_devices debconf config (LP: #2063354).

62
debian/control vendored

@ -6,43 +6,43 @@ XSBC-Original-Maintainer: Jonathan Carter <jcc@debian.org>
Build-Depends: cmake, Build-Depends: cmake,
cryptsetup <!nocheck>, cryptsetup <!nocheck>,
debhelper-compat (= 13), debhelper-compat (= 13),
gettext,
libappstreamqt-dev,
libatasmart-dev,
libboost-python-dev,
libicu-dev,
extra-cmake-modules, extra-cmake-modules,
libkf6config-dev, gettext,
libkf6coreaddons-dev, libappstreamqt5-dev (>= 1.0.0~),
libkf6crash-dev, libkf5config-dev,
libkf6dbusaddons-dev, libkf5coreaddons-dev,
libkf6i18n-dev, libkf5crash-dev,
libkf6iconthemes-dev, libkf5i18n-dev,
libkf6kio-dev, libkf5iconthemes-dev,
libkf6package-dev, libkf5kio-dev,
libkf6parts-dev, libkf5parts-dev,
libkf6service-dev, libkf5plasma-dev,
libkf6solid-dev, libkf5service-dev,
libkpmcore-dev (>= 24.08), libkf5solid-dev,
libkpmcore-dev,
libparted-dev, libparted-dev,
libplasma-dev, libpolkit-qt5-1-dev,
libpolkit-qt6-1-dev,
libpwquality-dev, libpwquality-dev,
libqt5svg5-dev,
libqt5webkit5-dev,
libyaml-cpp-dev, libyaml-cpp-dev,
os-prober, os-prober <!nocheck>,
pkgconf, pkg-config,
pkg-kde-tools, pkg-kde-tools,
pkexec, polkitd,
python3-all-dev, python3-dev,
python3-yaml,
python3-jsonschema, python3-jsonschema,
qt6-base-dev, python3-yaml,
qt6-declarative-dev, qml-module-qtquick-layouts,
qt6-location-dev, qml-module-qtquick-privatewidgets,
qt6-svg-dev, qml-module-qtquick-window2,
qt6-tools-dev, qml-module-qtquick2,
qt6-webengine-dev <amd64 arm64 armhf> qtbase5-dev,
Standards-Version: 4.7.0 qtdeclarative5-dev,
qtlocation5-dev,
qttools5-dev,
qttools5-dev-tools
Standards-Version: 4.6.2
Rules-Requires-Root: no Rules-Requires-Root: no
Homepage: https://github.com/calamares/calamares Homepage: https://github.com/calamares/calamares
Vcs-Browser: https://git.lubuntu.me/Lubuntu/calamares-packaging/ Vcs-Browser: https://git.lubuntu.me/Lubuntu/calamares-packaging/

4
debian/copyright vendored

@ -71,6 +71,7 @@ Files: AUTHORS
data/config-appimage/settings.conf data/config-appimage/settings.conf
data/config-appimage/modules/* data/config-appimage/modules/*
data/example-root/* data/example-root/*
lang/calamares_i18n.qrc.in
src/libcalamares/CalamaresVersion.h.in src/libcalamares/CalamaresVersion.h.in
src/libcalamares/locale/CountryData_p.cpp src/libcalamares/locale/CountryData_p.cpp
src/libcalamares/CalamaresVersionX.h.in src/libcalamares/CalamaresVersionX.h.in
@ -229,7 +230,7 @@ Copyright: 2014-2016 Teo Mrnjavac <teo@kde.org>
2017-2023 Adriaan de Groot <groot@kde.org> 2017-2023 Adriaan de Groot <groot@kde.org>
License: BSD-2-Clause License: BSD-2-Clause
Files: 3rdparty/kdsingleapplication/* Files: 3rdparty/kdsingleapplicationguard/*
Copyright: 2019-2021 Klaralvdalens Datakonsult AB. <info@kdab.com> Copyright: 2019-2021 Klaralvdalens Datakonsult AB. <info@kdab.com>
License: MIT License: MIT
@ -266,6 +267,7 @@ Copyright: 2014 Uri Herrera <uri_herrera@nitrux.in> and others
License: LGPL-3+ License: LGPL-3+
Files: src/modules/finishedq/seedling.svg Files: src/modules/finishedq/seedling.svg
src/modules/localeq/img/chevron-left-solid.svg
Copyright: 2020-2021 FontAwesome <hello@fontawesome.com> Copyright: 2020-2021 FontAwesome <hello@fontawesome.com>
License: CC-BY-4.0 License: CC-BY-4.0

@ -0,0 +1,427 @@
--- a/src/modules/users/Config.cpp
+++ b/src/modules/users/Config.cpp
@@ -9,6 +9,7 @@
#include "Config.h"
+#include "ActiveDirectoryJob.h"
#include "CreateUserJob.h"
#include "MiscJobs.h"
#include "SetHostNameJob.h"
@@ -656,6 +657,59 @@ Config::setRootPasswordSecondary( const
}
}
+void
+Config::setActiveDirectoryUsed( bool used )
+{
+ m_activeDirectoryUsed = used;
+}
+
+bool
+Config::getActiveDirectoryEnabled() const
+{
+ return m_activeDirectory;
+}
+
+bool
+Config::getActiveDirectoryUsed() const
+{
+ return m_activeDirectoryUsed && m_activeDirectory;
+}
+
+void
+Config::setActiveDirectoryAdminUsername( const QString & s )
+{
+ m_activeDirectoryUsername = s;
+}
+
+void
+Config::setActiveDirectoryAdminPassword( const QString & s )
+{
+ m_activeDirectoryPassword = s;
+}
+
+void
+Config::setActiveDirectoryDomain( const QString & s )
+{
+ m_activeDirectoryDomain = s;
+}
+
+void
+Config::setActiveDirectoryIP( const QString & s )
+{
+ m_activeDirectoryIP = s;
+}
+
+QStringList&
+Config::getActiveDirectory() const
+{
+ m_activeDirectorySettings.clear();
+ m_activeDirectorySettings << m_activeDirectoryUsername
+ << m_activeDirectoryPassword
+ << m_activeDirectoryDomain
+ << m_activeDirectoryIP;
+ return m_activeDirectorySettings;
+}
+
QString
Config::rootPassword() const
{
@@ -913,6 +967,9 @@ Config::setConfigurationMap( const QVari
m_sudoStyle = Calamares::getBool( configurationMap, "sudoersConfigureWithGroup", false ) ? SudoStyle::UserAndGroup
: SudoStyle::UserOnly;
+ // Handle Active Directory enablement
+ m_activeDirectory = Calamares::getBool( configurationMap, "allowActiveDirectory", false );
+
// Handle *hostname* key and subkeys and legacy settings
{
bool ok = false; // Ignored
@@ -990,6 +1047,9 @@ Config::createJobs() const
jobs.append( Calamares::job_ptr( j ) );
}
+ j = new ActiveDirectoryJob( getActiveDirectory() );
+ jobs.append( Calamares::job_ptr( j ) );
+
j = new SetupGroupsJob( this );
jobs.append( Calamares::job_ptr( j ) );
--- a/src/modules/users/Config.h
+++ b/src/modules/users/Config.h
@@ -226,6 +226,12 @@ public:
bool permitWeakPasswords() const { return m_permitWeakPasswords; }
/// Current setting for "require strong password"?
bool requireStrongPasswords() const { return m_requireStrongPasswords; }
+ /// Is Active Directory enabled?
+ bool getActiveDirectoryEnabled() const;
+ /// Is it both enabled and activated?
+ bool getActiveDirectoryUsed() const;
+ /// Config for Active Directory
+ QStringList& getActiveDirectory() const;
const QList< GroupDescription >& defaultGroups() const { return m_defaultGroups; }
/** @brief the names of all the groups for the current user
@@ -292,6 +298,12 @@ public Q_SLOTS:
void setRootPassword( const QString& );
void setRootPasswordSecondary( const QString& );
+ void setActiveDirectoryUsed( bool used );
+ void setActiveDirectoryAdminUsername( const QString& );
+ void setActiveDirectoryAdminPassword( const QString& );
+ void setActiveDirectoryDomain( const QString& );
+ void setActiveDirectoryIP( const QString& );
+
signals:
void userShellChanged( const QString& );
void autoLoginGroupChanged( const QString& );
@@ -343,6 +355,14 @@ private:
bool m_isReady = false; ///< Used to reduce readyChanged signals
+ mutable QStringList m_activeDirectorySettings;
+ bool m_activeDirectory = false;
+ bool m_activeDirectoryUsed = false;
+ QString m_activeDirectoryUsername;
+ QString m_activeDirectoryPassword;
+ QString m_activeDirectoryDomain;
+ QString m_activeDirectoryIP;
+
HostNameAction m_hostnameAction = HostNameAction::EtcHostname;
bool m_writeEtcHosts = false;
QString m_hostnameTemplate;
--- a/src/modules/users/page_usersetup.ui
+++ b/src/modules/users/page_usersetup.ui
@@ -604,6 +604,93 @@ SPDX-License-Identifier: GPL-3.0-or-late
</layout>
</item>
<item>
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>6</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QCheckBox" name="useADCheckbox">
+ <property name="text">
+ <string>Use Active Directory</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QLabel" name="domainLabel">
+ <property name="text">
+ <string>Domain:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="domainField"/>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QLabel" name="domainAdminLabel">
+ <property name="text">
+ <string>Domain Administrator:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="domainAdminField"/>
+ </item>
+ <item>
+ <widget class="QLabel" name="domainPasswordLabel">
+ <property name="text">
+ <string>Password:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="domainPasswordField">
+ <property name="echoMode">
+ <enum>QLineEdit::Password</enum>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item>
+ <widget class="QLabel" name="ipAddressLabel">
+ <property name="text">
+ <string>IP Address (optional):</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="ipAddressField"/>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
<spacer name="verticalSpacer_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
--- a/src/modules/users/users.conf
+++ b/src/modules/users/users.conf
@@ -265,6 +265,12 @@ hostname:
template: "derp-${cpu}"
forbidden_names: [ localhost ]
+# Enable Active Directory enrollment support (opt-in)
+#
+# This uses realmd to enroll the machine in an Active Directory server
+# It requires realmd as a runtime dependency of Calamares, if enabled
+allowActiveDirectory: false
+
presets:
fullName:
# value: "OEM User"
--- a/src/modules/users/users.schema.yaml
+++ b/src/modules/users/users.schema.yaml
@@ -52,6 +52,7 @@ properties:
writeHostsFile: { type: boolean, default: true }
template: { type: string, default: "${first}-${product}" }
forbidden_names: { type: array, items: { type: string } }
+ allowActiveDirectory: { type: boolean, default: false }
# Presets
#
--- a/src/modules/users/UsersPage.cpp
+++ b/src/modules/users/UsersPage.cpp
@@ -162,6 +162,34 @@ UsersPage::UsersPage( Config* config, QW
config, &Config::requireStrongPasswordsChanged, ui->checkBoxRequireStrongPassword, &QCheckBox::setChecked );
}
+ // Active Directory is not checked or enabled by default
+ ui->useADCheckbox->setVisible(m_config->getActiveDirectoryEnabled());
+ ui->domainLabel->setVisible(false);
+ ui->domainField->setVisible(false);
+ ui->domainAdminLabel->setVisible(false);
+ ui->domainAdminField->setVisible(false);
+ ui->domainPasswordField->setVisible(false);
+ ui->domainPasswordLabel->setVisible(false);
+ ui->ipAddressField->setVisible(false);
+ ui->ipAddressLabel->setVisible(false);
+
+ connect(ui->useADCheckbox, &QCheckBox::toggled, [=](bool checked){
+ ui->domainLabel->setVisible(checked);
+ ui->domainField->setVisible(checked);
+ ui->domainAdminLabel->setVisible(checked);
+ ui->domainAdminField->setVisible(checked);
+ ui->domainPasswordField->setVisible(checked);
+ ui->domainPasswordLabel->setVisible(checked);
+ ui->ipAddressField->setVisible(checked);
+ ui->ipAddressLabel->setVisible(checked);
+ });
+
+ connect( ui->domainField, &QLineEdit::textChanged, config, &Config::setActiveDirectoryDomain );
+ connect( ui->domainAdminField, &QLineEdit::textChanged, config, &Config::setActiveDirectoryAdminUsername );
+ connect( ui->domainPasswordField, &QLineEdit::textChanged, config, &Config::setActiveDirectoryAdminPassword );
+ connect( ui->ipAddressField, &QLineEdit::textChanged, config, &Config::setActiveDirectoryIP );
+ connect( ui->useADCheckbox, &QCheckBox::toggled, config, &Config::setActiveDirectoryUsed );
+
CALAMARES_RETRANSLATE_SLOT( &UsersPage::retranslate );
onReuseUserPasswordChanged( m_config->reuseUserPasswordForRoot() );
--- /dev/null
+++ b/src/modules/users/ActiveDirectoryJob.cpp
@@ -0,0 +1,91 @@
+/* === This file is part of Calamares - <https://calamares.io> ===
+ *
+ * SPDX-FileCopyrightText: 2024 Simon Quigley <tsimonq2@ubuntu.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#include "ActiveDirectoryJob.h"
+
+#include "Config.h"
+
+#include "GlobalStorage.h"
+#include "JobQueue.h"
+#include "utils/Logger.h"
+#include "utils/Permissions.h"
+#include "utils/System.h"
+
+#include <QDateTime>
+#include <QDir>
+#include <QFile>
+#include <QFileInfo>
+#include <QTextStream>
+#include <QProcess>
+
+ActiveDirectoryJob::ActiveDirectoryJob(QStringList& activeDirectoryInfo)
+ : Calamares::Job()
+ , m_activeDirectoryInfo(activeDirectoryInfo)
+{
+}
+
+QString
+ActiveDirectoryJob::prettyName() const
+{
+ return tr( "Enroll system in Active Directory" );
+}
+
+QString
+ActiveDirectoryJob::prettyDescription() const
+{
+ return tr( "Enroll system in Active Directory" );
+}
+
+QString
+ActiveDirectoryJob::prettyStatusMessage() const
+{
+ return tr( "Enrolling system in Active Directory" );
+}
+
+Calamares::JobResult
+ActiveDirectoryJob::exec()
+{
+ QString username = m_activeDirectoryInfo.value(0);
+ QString password = m_activeDirectoryInfo.value(1);
+ QString domain = m_activeDirectoryInfo.value(2);
+ QString ip = m_activeDirectoryInfo.value(3);
+
+ Calamares::GlobalStorage* gs = Calamares::JobQueue::instance()->globalStorage();
+ QString rootMountPoint = gs ? gs->value("rootMountPoint").toString() : QString();
+
+ if (!ip.isEmpty()) {
+ QString hostsFilePath = !rootMountPoint.isEmpty() ? rootMountPoint + "/etc/hosts" : "/etc/hosts";
+ QFile hostsFile(hostsFilePath);
+ if (hostsFile.open(QIODevice::Append | QIODevice::Text)) {
+ QTextStream out(&hostsFile);
+ out << ip << " " << domain << "\n";
+ hostsFile.close();
+ } else {
+ return Calamares::JobResult::error("Failed to open /etc/hosts for writing.");
+ }
+ }
+
+ QString installPath = !rootMountPoint.isEmpty() ? rootMountPoint : "/";
+ QStringList args = {"join", domain, "-U", username, "--install=" + installPath, "--verbose"};
+
+ QProcess process;
+ process.start("realm", args);
+ process.waitForStarted();
+
+ if (!password.isEmpty()) {
+ process.write((password + "\n").toUtf8());
+ process.closeWriteChannel();
+ }
+
+ process.waitForFinished(-1);
+
+ if (process.exitCode() == 0) {
+ return Calamares::JobResult::ok();
+ } else {
+ QString errorOutput = process.readAllStandardError();
+ return Calamares::JobResult::error(QString("Failed to join realm: %1").arg(errorOutput));
+ }
+}
--- /dev/null
+++ b/src/modules/users/ActiveDirectoryJob.h
@@ -0,0 +1,29 @@
+/* === This file is part of Calamares - <https://calamares.io> ===
+ *
+ * SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac <teo@kde.org>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ *
+ * Calamares is Free Software: see the License-Identifier above.
+ *
+ */
+
+#ifndef ACTIVEDIRECTORYJOB_H
+#define ACTIVEDIRECTORYJOB_H
+
+#include "Job.h"
+
+class ActiveDirectoryJob : public Calamares::Job
+{
+ Q_OBJECT
+public:
+ ActiveDirectoryJob( QStringList& activeDirectoryInfo );
+ QString prettyName() const override;
+ QString prettyDescription() const override;
+ QString prettyStatusMessage() const override;
+ Calamares::JobResult exec() override;
+
+private:
+ QStringList m_activeDirectoryInfo;
+};
+
+#endif /* ACTIVEDIRECTORYJOB_H */
--- a/src/modules/users/CMakeLists.txt
+++ b/src/modules/users/CMakeLists.txt
@@ -55,6 +55,7 @@ include_directories(${PROJECT_BINARY_DIR
set(_users_src
# Jobs
+ ActiveDirectoryJob.cpp
CreateUserJob.cpp
MiscJobs.cpp
SetPasswordJob.cpp

@ -94,7 +94,7 @@ Last-Update: 2024-02-26
const QString& minSize = QString(), const QString& minSize = QString(),
--- a/src/modules/partition/partition.conf --- a/src/modules/partition/partition.conf
+++ b/src/modules/partition/partition.conf +++ b/src/modules/partition/partition.conf
@@ -266,6 +266,7 @@ defaultFileSystemType: "ext4" @@ -259,6 +259,7 @@ defaultFileSystemType: "ext4"
# type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709" # type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709"
# filesystem: "ext4" # filesystem: "ext4"
# noEncrypt: false # noEncrypt: false
@ -102,7 +102,7 @@ Last-Update: 2024-02-26
# mountPoint: "/" # mountPoint: "/"
# size: 20% # size: 20%
# minSize: 500M # minSize: 500M
@@ -275,6 +276,7 @@ defaultFileSystemType: "ext4" @@ -268,6 +269,7 @@ defaultFileSystemType: "ext4"
# type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915" # type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915"
# filesystem: "ext4" # filesystem: "ext4"
# noEncrypt: false # noEncrypt: false
@ -110,7 +110,7 @@ Last-Update: 2024-02-26
# mountPoint: "/home" # mountPoint: "/home"
# size: 3G # size: 3G
# minSize: 1.5G # minSize: 1.5G
@@ -303,6 +305,7 @@ defaultFileSystemType: "ext4" @@ -296,6 +298,7 @@ defaultFileSystemType: "ext4"
# default filesystem type, or the user's choice, will be applied instead # default filesystem type, or the user's choice, will be applied instead
# of "unknown" (e.g. the user might pick ext4, or xfs). # of "unknown" (e.g. the user might pick ext4, or xfs).
# - noEncrypt: whether this partition is exempt from encryption if enabled (optional parameter; default is false) # - noEncrypt: whether this partition is exempt from encryption if enabled (optional parameter; default is false)

@ -1,22 +0,0 @@
Description: Fix a syntax error in Presentation.qml which prevents the slideshow from displaying
Author: Simon Quigley <tsimonq2@lubuntu.me>
Origin: vendor
Last-Update: 2024-10-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/qml/calamares-qt6/slideshow/Presentation.qml
+++ b/src/qml/calamares-qt6/slideshow/Presentation.qml
@@ -196,12 +196,7 @@ Item {
Text {
id: notesText
- property real padding: 16;
-
- x: padding
- y: padding
- width: parent.width - 2 * padding
-
+ anchors.margins: 16
font.pixelSize: 16
wrapMode: Text.WordWrap

@ -15,7 +15,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
import libcalamares import libcalamares
@@ -586,6 +587,46 @@ def get_grub_efi_parameters(): @@ -581,6 +582,46 @@ def get_grub_efi_parameters():
return None return None
@ -62,7 +62,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
def run_grub_mkconfig(partitions, output_file): def run_grub_mkconfig(partitions, output_file):
""" """
Runs grub-mkconfig in the target environment Runs grub-mkconfig in the target environment
@@ -636,6 +677,8 @@ def run_grub_install(fw_type, partitions @@ -631,6 +672,8 @@ def run_grub_install(fw_type, partitions
"--efi-directory=" + efi_directory, "--efi-directory=" + efi_directory,
"--bootloader-id=" + efi_bootloader_id, "--bootloader-id=" + efi_bootloader_id,
"--force"]) "--force"])
@ -71,7 +71,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
else: else:
assert efi_directory is None assert efi_directory is None
if libcalamares.globalstorage.value("bootLoader") is None: if libcalamares.globalstorage.value("bootLoader") is None:
@@ -657,6 +700,8 @@ def run_grub_install(fw_type, partitions @@ -652,6 +695,8 @@ def run_grub_install(fw_type, partitions
"--force", "--force",
boot_loader["installPath"]]) boot_loader["installPath"]])

@ -1,5 +1,5 @@
0001-replace-pkexec-by-sudo.patch 0001-replace-pkexec-by-sudo.patch
apport-package-hook.patch apport-package-hook.patch
enable-only-present-with-encryption-partitions.patch enable-only-present-with-encryption-partitions.patch
#active-directory.patch
grub-debconf-config.patch grub-debconf-config.patch
fix-presentation-qml-syntax.patch

4
debian/rules vendored

@ -7,10 +7,10 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS=buildinfo=+path export DEB_BUILD_MAINT_OPTIONS=buildinfo=+path
%: %:
dh $@ --with kf6 --buildsystem kf6 dh $@ --with kf5
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_APPDATA=ON -DBUILD_APPSTREAM=ON -DINSTALL_COMPLETION=ON -DWITH_QT6=ON dh_auto_configure -- -DWEBVIEW_FORCE_WEBKIT=1 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_APPDATA=ON -DBUILD_APPSTREAM=ON
# Some test don't work well, we don't need to run them at package build time. # Some test don't work well, we don't need to run them at package build time.
override_dh_auto_test: override_dh_auto_test:

Loading…
Cancel
Save