From 579af8e0f06de83a2bb71abb47f564ba9073dfcf Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 5 Nov 2024 21:40:30 -0600 Subject: [PATCH] Add Breaks/Replaces on the older lxqt-session, since we include lxqt-portals.conf now. --- debian/changelog | 2 ++ debian/control | 2 ++ debian/patches/add-kde-as-secondary-option.patch | 7 +++++++ debian/patches/series | 1 + 4 files changed, 12 insertions(+) create mode 100644 debian/patches/add-kde-as-secondary-option.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 34f2513..8759044 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ xdg-desktop-portal-lxqt (1.1.0-0ubuntu1) UNRELEASED; urgency=medium * New upstream release. - Bump build dependencies. + - Add Breaks/Replaces on the older lxqt-session, since we include + lxqt-portals.conf now. -- Simon Quigley Tue, 05 Nov 2024 18:39:21 -0600 diff --git a/debian/control b/debian/control index 21adc1a..812fb6d 100644 --- a/debian/control +++ b/debian/control @@ -49,6 +49,8 @@ Depends: libfm-qt6-dev (>= 2.1.0), xdg-desktop-portal, ${misc:Depends}, ${shlibs:Depends} +Conflicts: lxqt-session (<< 2.1.0) +Replaces: lxqt-session (<< 2.1.0) Pre-Depends: ${misc:Pre-Depends} Provides: xdg-desktop-portal-backend Description: xdg-desktop-portal using Qt/KF6/libfm-qt diff --git a/debian/patches/add-kde-as-secondary-option.patch b/debian/patches/add-kde-as-secondary-option.patch new file mode 100644 index 0000000..387a74a --- /dev/null +++ b/debian/patches/add-kde-as-secondary-option.patch @@ -0,0 +1,7 @@ +--- a/data/lxqt-portals.conf ++++ b/data/lxqt-portals.conf +@@ -1,3 +1,2 @@ + [preferred] +-default=lxqt +-org.freedesktop.impl.portal.FileChooser=lxqt;gtk; ++default=lxqt;kde;gtk; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8ac54c4 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +add-kde-as-secondary-option.patch