Processed: Re: Bug#1030552: systemsettings: Display Configuration disregards list of "Screen Priorities" at every login on KDE Plasma

2023-02-12 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://bugs.kde.org/show_bug.cgi?id=465396
Bug #1030552 [systemsettings] systemsettings: Display Configuration disregards 
list of "Screen Priorities" at every login on KDE Plasma
Set Bug forwarded-to-address to 'https://bugs.kde.org/show_bug.cgi?id=465396'.

-- 
1030552: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030552
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1030552: systemsettings: Display Configuration disregards list of "Screen Priorities" at every login on KDE Plasma

2023-02-12 Thread Aurélien COUDERC
control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=465396



Bug#1030980: Qt6::qmake IMPORTED_LOCATION points to build architecture qmake6

2023-02-12 Thread Lisandro Damián Nicanor Pérez Meyer
Hi,

On Sat, 11 Feb 2023 at 05:54, Dmitry Shachnev  wrote:
>
> Hi all,
>
> On Thu, Feb 09, 2023 at 11:59:43AM +0100, Helmut Grohne wrote:
> > Hi,
> >
> > thanks for adding the -qmake6 wrapper. This piece seems to work
> > fine. The next step is making packages actually use it and this is where
> > it gets difficult.
> >
> > fcitx-qt6 extracts the Qt6::qmake IMPORTED_LOCATION and expects to find
> > a working qmake there. What it gets is the build architecture qmake
> > instead of our lovely wrapper. Bummer.
> >
> > I looked into how this could be fixed and got entangled in the mess of
> > cmake files until I completely lost track. What I found is that the
> > imported location is (wrongly) defined in
> > /usr/lib//cmake/Qt6CoreTools/Qt6CoreToolsTargets-none.cmake as
> > ${_IMPORT_PREFIX}/lib/qt6/libexec/qmake aka /usr/lib/qt6/libexec/qmake
> > while it should be /usr/bin/-qmake6.  Tracking down how this
> > file is generated is where I failed. Would someone be available to
> > support me with that task?
>
> In Qt 5 I simply patch that file using sed after dh_auto_install:
>
> https://salsa.debian.org/qt-kde-team/qt/qtbase/-/blob/debian/5.15.8+dfsg-2/debian/rules#L285-L286
>
> So for Qt 6 something like this may work:
>
> sed -i 's,lib/qt6/libexec/qmake,bin/$(DEB_HOST_GNU_TYPE)-qmake,' \
> 
> debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Qt6CoreTools/Qt6CoreToolsTargets-none.cmake

That's an excellent workaround, but shouldn't that path be different?
If so I can open a bug upstream.



-- 
Lisandro Damián Nicanor Pérez Meyer
https://perezmeyer.com.ar/