From 5f7d263806889359b71f689734d18eaacaaa8f51 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Wed, 23 Oct 2024 20:15:42 -0500 Subject: [PATCH] Upload to Plucky --- ...y-present-with-encryption-partitions.patch | 6 ++--- .../patches/fix-presentation-qml-syntax.patch | 22 +++++++++++++++++++ debian/patches/grub-debconf-config.patch | 6 ++--- debian/patches/series | 1 + 4 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 debian/patches/fix-presentation-qml-syntax.patch diff --git a/debian/patches/enable-only-present-with-encryption-partitions.patch b/debian/patches/enable-only-present-with-encryption-partitions.patch index 455dd04..e4de39b 100644 --- a/debian/patches/enable-only-present-with-encryption-partitions.patch +++ b/debian/patches/enable-only-present-with-encryption-partitions.patch @@ -94,7 +94,7 @@ Last-Update: 2024-02-26 const QString& minSize = QString(), --- a/src/modules/partition/partition.conf +++ b/src/modules/partition/partition.conf -@@ -259,6 +259,7 @@ defaultFileSystemType: "ext4" +@@ -266,6 +266,7 @@ defaultFileSystemType: "ext4" # type: "4f68bce3-e8cd-4db1-96e7-fbcaf984b709" # filesystem: "ext4" # noEncrypt: false @@ -102,7 +102,7 @@ Last-Update: 2024-02-26 # mountPoint: "/" # size: 20% # minSize: 500M -@@ -268,6 +269,7 @@ defaultFileSystemType: "ext4" +@@ -275,6 +276,7 @@ defaultFileSystemType: "ext4" # type: "933ac7e1-2eb4-4f13-b844-0e14e2aef915" # filesystem: "ext4" # noEncrypt: false @@ -110,7 +110,7 @@ Last-Update: 2024-02-26 # mountPoint: "/home" # size: 3G # minSize: 1.5G -@@ -296,6 +298,7 @@ defaultFileSystemType: "ext4" +@@ -303,6 +305,7 @@ defaultFileSystemType: "ext4" # default filesystem type, or the user's choice, will be applied instead # 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) diff --git a/debian/patches/fix-presentation-qml-syntax.patch b/debian/patches/fix-presentation-qml-syntax.patch new file mode 100644 index 0000000..0cc69cc --- /dev/null +++ b/debian/patches/fix-presentation-qml-syntax.patch @@ -0,0 +1,22 @@ +Description: Fix a syntax error in Presentation.qml which prevents the slideshow from displaying +Author: Simon Quigley +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 diff --git a/debian/patches/grub-debconf-config.patch b/debian/patches/grub-debconf-config.patch index 971ce2c..28dd624 100644 --- a/debian/patches/grub-debconf-config.patch +++ b/debian/patches/grub-debconf-config.patch @@ -15,7 +15,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ import libcalamares -@@ -581,6 +582,46 @@ def get_grub_efi_parameters(): +@@ -586,6 +587,46 @@ def get_grub_efi_parameters(): 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): """ Runs grub-mkconfig in the target environment -@@ -631,6 +672,8 @@ def run_grub_install(fw_type, partitions +@@ -636,6 +677,8 @@ def run_grub_install(fw_type, partitions "--efi-directory=" + efi_directory, "--bootloader-id=" + efi_bootloader_id, "--force"]) @@ -71,7 +71,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ else: assert efi_directory is None if libcalamares.globalstorage.value("bootLoader") is None: -@@ -652,6 +695,8 @@ def run_grub_install(fw_type, partitions +@@ -657,6 +700,8 @@ def run_grub_install(fw_type, partitions "--force", boot_loader["installPath"]]) diff --git a/debian/patches/series b/debian/patches/series index 07ddcd3..a559b19 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ apport-package-hook.patch enable-only-present-with-encryption-partitions.patch grub-debconf-config.patch +fix-presentation-qml-syntax.patch