From 56ce0ce4832bc1ded807f1c83a785dba8cafc64f Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:44:55 +0900 Subject: [PATCH 1/6] Migrate to debhelper 13 --- debian/compat | 1 - debian/control | 2 +- debian/elementary-printer-test-page.install | 2 +- debian/install | 24 ++++++++++----------- 4 files changed, 14 insertions(+), 15 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control index 3e8349a..a7b591e 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: elementary-default-settings Section: gnome Priority: optional Maintainer: elementary -Build-Depends: debhelper (>= 10.5.1), +Build-Depends: debhelper-compat (= 13), libaccountsservice-dev, libdbus-1-dev, libpolkit-gobject-1-dev, diff --git a/debian/elementary-printer-test-page.install b/debian/elementary-printer-test-page.install index 464106d..e1585be 100644 --- a/debian/elementary-printer-test-page.install +++ b/debian/elementary-printer-test-page.install @@ -1 +1 @@ -cups/default-testpage.pdf usr/share/cups/data +usr/share/cups/data/default-testpage.pdf diff --git a/debian/install b/debian/install index c50d9c5..219987d 100644 --- a/debian/install +++ b/debian/install @@ -1,16 +1,16 @@ -accountsservice/io.elementary.pantheon.AccountsService.xml /usr/share/dbus-1/interfaces/ -accountsservice/io.elementary.pantheon.AccountsService.policy /usr/share/polkit-1/actions/ -skel/flatpak/repo/appcenter.trustedkeys.gpg /etc/skel/.local/share/flatpak/repo/ -skel/flatpak/repo/flathub.trustedkeys.gpg /etc/skel/.local/share/flatpak/repo/ -skel/flatpak/repo/config /etc/skel/.local/share/flatpak/repo/ -sessioninstaller/sessioninstaller.desktop /usr/share/applications/ -/etc/geoclue/conf.d/ -/etc/gtk-*/ -sudoers.d/* /etc/sudoers.d/ -skel/.inputrc /etc/skel/ +usr/share/dbus-1/interfaces/io.elementary.pantheon.AccountsService.xml +usr/share/polkit-1/actions/io.elementary.pantheon.AccountsService.policy +etc/skel/.local/share/flatpak/repo/appcenter.trustedkeys.gpg +etc/skel/.local/share/flatpak/repo/flathub.trustedkeys.gpg +etc/skel/.local/share/flatpak/repo/config +usr/share/applications/sessioninstaller.desktop +etc/geoclue/conf.d/ +etc/gtk-*/ +etc/sudoers.d/ +etc/skel/.inputrc usr/share/apparmor/extra-profiles usr/share/accountsservice/interfaces/ usr/share/glib-2.0/schemas usr/share/xdg-desktop-portal -network/01-network-manager-all.yml /etc/netplan/ -network/10-globally-managed-devices.conf /etc/NetworkManager/conf.d/ +etc/netplan/01-network-manager-all.yml +etc/NetworkManager/conf.d/10-globally-managed-devices.conf From ecf53f57ac181dd7ecf0ae0a75668c081db90508 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:46:28 +0900 Subject: [PATCH 2/6] Fix bogus-mail-host-in-debian-changelog lintian errors --- debian/changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index fd2a78e..c5c0b8e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -22,13 +22,13 @@ elementary-default-settings (8.0.2) noble; urgency=medium * Unset GNOME privacy keys * Install gtk-settings.ini - -- elementary, Inc. Tue, 22 Oct 2024 10:40:20 -0700 + -- elementary Tue, 22 Oct 2024 10:40:20 -0700 elementary-default-settings (8.0.1) noble; urgency=medium * Update Gala WM schema - -- elementary, Inc. Tue, 17 Sep 2024 10:38:18 -0700 + -- elementary Tue, 17 Sep 2024 10:38:18 -0700 elementary-default-settings (8.0.0) noble; urgency=medium @@ -101,7 +101,7 @@ elementary-default-settings (5.9.0) focal; urgency=medium * Update applications desktop name for the dock * Add Tasks to the dock - -- elementary, Inc. Sat, 12 Dec 2020 11:11:11 +0100 + -- elementary Sat, 12 Dec 2020 11:11:11 +0100 elementary-default-settings (5.1.2) bionic; urgency=medium From f772b7a18bb1dd9586bf210798604d3235e2739c Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:48:22 +0900 Subject: [PATCH 3/6] copyright: Fix superfluous-file-pattern lintian warning brightness.conf no longer exists --- debian/copyright | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/debian/copyright b/debian/copyright index 27f26b8..3b3acfc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -22,23 +22,3 @@ License: GPL-2+ . On Debian systems the full text of the GNU General Public License version 2 can be found in the `/usr/share/common-licenses/GPL-2' file. - -Files: brightness.conf -Copyright: 2014-2015, Cameron Norman -License: GPL-3+ - This package is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - . - This package is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - . - You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - . - On Debian systems the full text of the GNU General Public License version 3 - can be found in the `/usr/share/common-licenses/GPL-3' file. From edaff13b00f78c72a85084530b61b0fb4c18c6ce Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:53:47 +0900 Subject: [PATCH 4/6] copyright: Fix old-fsf-address-in-copyright-file lintian warning --- debian/copyright | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/copyright b/debian/copyright index 3b3acfc..f03c94d 100644 --- a/debian/copyright +++ b/debian/copyright @@ -17,8 +17,7 @@ License: GPL-2+ GNU General Public License for more details. . You should have received a copy of the GNU General Public License - along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + along with this package; if not, see . . On Debian systems the full text of the GNU General Public License version 2 can be found in the `/usr/share/common-licenses/GPL-2' file. From 9b2c633f6231a788335fa8f097f7cc1ba86962d9 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:56:22 +0900 Subject: [PATCH 5/6] Fix command-with-path-in-maintainer-script lintian warnings Fixes the following warnings: W: elementary-default-settings: command-with-path-in-maintainer-script /usr/bin/glib-compile-schemas (plain script) [postinst:7] W: elementary-default-settings: command-with-path-in-maintainer-script /usr/bin/glib-compile-schemas (plain script) [postrm:6] --- debian/postinst | 2 +- debian/postrm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index d8ed782..d23abd0 100644 --- a/debian/postinst +++ b/debian/postinst @@ -4,7 +4,7 @@ set -e case "$1" in configure|upgrade) update-alternatives --set x-cursor-theme /usr/share/icons/elementary/cursor.theme - /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ + glib-compile-schemas /usr/share/glib-2.0/schemas/ ;; esac diff --git a/debian/postrm b/debian/postrm index cfae2d5..fc37e4a 100755 --- a/debian/postrm +++ b/debian/postrm @@ -3,7 +3,7 @@ set -e case "$1" in remove|purge) - /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/ + glib-compile-schemas /usr/share/glib-2.0/schemas/ ;; esac From 861936e9427c04a443b2d76c7836282d3287a315 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Thu, 13 Aug 2026 10:58:31 +0900 Subject: [PATCH 6/6] Fix maintainer-script-lacks-debhelper-token lintian warnings Fixes the following warnings: W: elementary-default-settings source: maintainer-script-lacks-debhelper-token [debian/elementary-printer-test-page.postrm] W: elementary-default-settings source: maintainer-script-lacks-debhelper-token [debian/elementary-printer-test-page.preinst] --- debian/elementary-printer-test-page.postrm | 4 +++- debian/elementary-printer-test-page.preinst | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/elementary-printer-test-page.postrm b/debian/elementary-printer-test-page.postrm index e25c8fc..6ac5fbc 100755 --- a/debian/elementary-printer-test-page.postrm +++ b/debian/elementary-printer-test-page.postrm @@ -3,4 +3,6 @@ if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then dpkg-divert --package elementary-printer-test-page --remove --rename \ --divert /usr/share/cups/data/default-testpage.pdf.real /usr/share/cups/data/default-testpage.pdf -fi \ No newline at end of file +fi + +#DEBHELPER# diff --git a/debian/elementary-printer-test-page.preinst b/debian/elementary-printer-test-page.preinst index e4e6e28..544f622 100755 --- a/debian/elementary-printer-test-page.preinst +++ b/debian/elementary-printer-test-page.preinst @@ -1,4 +1,6 @@ #!/bin/sh -e dpkg-divert --package elementary-printer-test-page --add --rename \ - --divert /usr/share/cups/data/default-testpage.pdf.real /usr/share/cups/data/default-testpage.pdf \ No newline at end of file + --divert /usr/share/cups/data/default-testpage.pdf.real /usr/share/cups/data/default-testpage.pdf + +#DEBHELPER#