Accepting request 1173417 from home:AndnoVember:branches:X11:LXQt

- Update to 2.0.1:
  * Fixed a runtime failure in the plugin loader.
  * Workaround for Removable Media plugin with a GLib-mounted encrypted volume.
  * Ported to Qt6.
  * Added Wayland support for positioning the panel by using layer shell.
  * Removed spaces from saved settings of Custom Command plugin.
  * Added the SVG format to the panel background picker dialog.
- Fix plugin loader (#2052) #2053

OBS-URL: https://build.opensuse.org/request/show/1173417
OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-panel?expand=0&rev=55
This commit is contained in:
Axel Braun 2024-05-16 14:49:57 +00:00 committed by Git OBS Bridge
parent 47f5979ee5
commit e2d9da26a7
7 changed files with 115 additions and 70 deletions

View File

@ -0,0 +1,13 @@
diff --git a/panel/CMakeLists.txt b/panel/CMakeLists.txt
index 556d2212..d9fe784b 100644
--- a/panel/CMakeLists.txt
+++ b/panel/CMakeLists.txt
@@ -91,6 +91,8 @@ lxqt_translate_ts(QM_FILES SOURCES
lxqt_app_translation_loader(SOURCES ${PROJECT_NAME})
+set(CMAKE_EXECUTABLE_ENABLE_EXPORTS TRUE)
+
add_executable(${PROJECT}
${PUB_HEADERS}
${PRIV_HEADERS}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e660c0397c96a28f0fcf316b20c72d203c85793a884e1487b3b14e3790defc9
size 612012

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHgzwVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+uDYQAJ+6N0WZcOsVmzNocu1DBhugrB0x
cPDgJxVAjSwPSpTqTMhNcpDkPBak0hm7TmtDrE3623/MVC8UOnpWDVCkrnEJIMN3
Lm3hvbNqwWeNMfLklhvvzKk+GOvgU7UDSlC17m7jQ49Qqj9ggQxxV82R1SNxmJse
XGVpHtxkTnPcaOPtxTX43TEjFZPiniiCHVr6KSa8oUrjhT8Yi/sucEQUJI3lWV9t
hkLibUVyHHvWxK9I/A33vfIihrIFwt8ia4yXszdGdww5A6SMTmtDP51X1H1LPQUB
LF45oCBtQ3dLmFMdO8fbmN5G3TwGJziK7eoLFyWFlZX1RL3MfB9olpXZPu0i01K3
x5+fimRB5PCedsB3cslnquuHsfa4u4phLpdhDL9u0nN5P0PCsA9GnF3vjImycACW
H1kzNZRv7WTX9gLEZhVbinTeSPCGuURGPV9xpAqhP2Zh2xrfhQjeyeY373rWC/bw
2OnFWgSxYn1HzyJ89H0LYJ/9W6EhfSF5NhKvKZgPrib7j5p3SMJA38zordHn3umi
16PP6Ky0buDotlQxOg+NJJwf/qrFSTBrZzKSp/sIIFNFjTw/x9TdskACLpPLhnYz
9PWuDWW7S64F7gklFIeWXlWLRdburGBlYwOr7Ef7/Osi0e9QtnX7VxhUDJ5ZOSlZ
jcjhBgiX4p90Ep4E
=/5X1
-----END PGP SIGNATURE-----

3
lxqt-panel-2.0.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73483c36e411496f8e958b7e56ba8bb06ae0b4300a62cf4c4a78964da6a59407
size 662616

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmY7q4cVHHRzdWphbjIw
MDBAZ21haWwuY29tAAoJEL55MAetIt9+1lsP/1OX9oBfCZtwEkXblnCH1r74SXGW
BKC5N7Y/oDYYVvH28e6iGdVzmvrR6omi9ybWroNjM3f+c/0c7SQPofQhr874z1et
QhearjLInLpFlIf9pafvEa3TE8VneQF7jIwXslOHdYx/oXWlrIxQ38yD3IDjXdUc
u+2O3p5+SKfbtWJ/YxAd5XFsPzt4pi1BepZkZGdE3FKJkkWzwRrkYamn/kcv0rdM
tvmz8UTEy37rLzL3lay+MraUYtg5fCJ8/TARci9KYKTDtIS4QMTATEevUDzseh8h
KYGseNhqwVl05E0Qlue/ZWEhQzyV5QPUJCrUrKB037+AFQfrDddWP5UmHAaJSOmG
5cerVsqeZBrXIu5Gxj/cKXZs7mKduMpQyGIwm+eRGUs01jwCQ7THcjlZzUgpB7wq
nRtwwSoIoHXLBnn+v1uy0g0qgYgoaADEjn/FlWhB+z938Bm3Ir25MJf5vh0TuRj6
jnWdZ4VyiGdE4/jFoF742/HXJvCRP0NmcMecJDT7dEtEqHiu0ZJBQH68YUULREsJ
CrNWDpDL12pNVlx/x3w6Jq/ezZ/KL9QfKYDvO+fSBUanIJdDW0eX5Klz9sI6QW7e
13iKUSMf7CghMTiXfOjnIpJiYlHOA3wBqIqkGdVTo4DgFSPIplbnh0v/6KrZ7v97
aeeiQ/ZxTEzG2KRv
=wA3y
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat May 11 10:46:45 UTC 2024 - Андрей Алыпов <and.november@opensuse.org>
- Update to 2.0.1:
* Fixed a runtime failure in the plugin loader.
* Workaround for Removable Media plugin with a GLib-mounted encrypted volume.
* Ported to Qt6.
* Added Wayland support for positioning the panel by using layer shell.
* Removed spaces from saved settings of Custom Command plugin.
* Added the SVG format to the panel background picker dialog.
- Fix plugin loader (#2052) #2053
-------------------------------------------------------------------
Thu Dec 21 12:10:53 UTC 2023 - Michael Vetter <mvetter@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package lxqt-panel
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,58 +17,58 @@
Name: lxqt-panel
Version: 1.4.0
Version: 2.0.1
Release: 0
Summary: Desktop Panel for LXQt
License: GPL-2.0-or-later
Group: System/GUI/Other
URL: http://www.lxqt.org
Source: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: https://github.com/lxqt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Summary: LXQt desktop panel
License: LGPL-2.1-or-later
Group: System/GUI/LXQt
URL: https://github.com/lxqt/lxqt-panel
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring
BuildRequires: cmake >= 3.1.0
BuildRequires: extra-cmake-modules
Patch1: 001-fix-plugin-loader.patch
BuildRequires: cmake >= 3.27.0
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libsensors4-devel
BuildRequires: lxqt-build-tools-devel >= 0.13.0
BuildRequires: pkgconfig
BuildRequires: cmake(KF5Solid) >= 5.36.0
BuildRequires: cmake(KF5WindowSystem) >= 5.36.0
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(lxqt-menu-data)
BuildRequires: pkgconfig(Qt5DBus) >= 5.12.0
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: cmake(KF6Solid)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(LayerShellQt) >= 6.0.0
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6DBus)
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(Qt6Xml)
BuildRequires: cmake(lxqt-menu-data) >= 2.0.0
BuildRequires: cmake(lxqt2-build-tools)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbusmenu-qt5)
BuildRequires: pkgconfig(dbusmenu-lxqt)
BuildRequires: pkgconfig(libmenu-cache)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libstatgrab)
BuildRequires: pkgconfig(lxqt) >= %{version}
BuildRequires: pkgconfig(lxqt-globalkeys) >= %{version}
BuildRequires: pkgconfig(lxqt) >= 2.0.0
BuildRequires: pkgconfig(lxqt-globalkeys-ui)
BuildRequires: pkgconfig(sysstat-qt5)
BuildRequires: pkgconfig(sysstat-qt6)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-damage)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-shape)
BuildRequires: pkgconfig(xcb-shm)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcb-xkb)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xkbcommon-x11)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xtst)
Requires: lxqt-menu-data
# boo#1218288 -- mvetter@suse.com
Requires: liblxqt
Recommends: %{name}-lang
Requires: menu-cache
Recommends: %{name}-lang = %{version}-%{release}
%description
Brand new desktop Panel for LXQt
lxqt-panel represents the taskbar of LXQt.
%lang_package
@ -82,41 +82,61 @@ BuildArch: noarch
LXQt panel development files and headers
%prep
%autosetup
%autosetup -p1
%build
%define _lto_cflags %{nil}
export CXXFLAGS="%{optflags} $(pkg-config --cflags xkbcommon-x11)"
%cmake -DPULL_TRANSLATIONS=No -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
%cmake_qt6 \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
%{qt6_build}
%install
%cmake_install
%fdupes -s %{buildroot}/%{_datadir}
%{qt6_install}
%fdupes -s %{buildroot}%{_datadir}
%find_lang %{name} --with-qt
%find_lang %{name} --with-qt --all-name
%files
%license LICENSE
%doc AUTHORS CHANGELOG
%{_bindir}/%{name}
%doc AUTHORS CHANGELOG README.md
%dir %{_datadir}/lxqt
%dir %{_sysconfdir}/xdg
%dir %{_sysconfdir}/xdg/autostart
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/lxqt/panel
%{_datadir}/lxqt/lxqt-panel
%{_datadir}/lxqt/panel/qeyes-types
%{_mandir}/man1/lxqt-panel.1%{?ext_man}
%config %{_sysconfdir}/xdg/autostart/lxqt-panel.desktop
%{_datadir}/lxqt/%{name}
%dir %{_datadir}/lxqt/panel
%{_datadir}/lxqt/panel/qeyes-types/
%{_datadir}/lxqt/panel.conf
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_sysconfdir}/xdg/autostart/%{name}.desktop
%license LICENSE
%files devel
%license LICENSE
%{_includedir}/lxqt
%files lang -f %{name}.lang
%license LICENSE
%dir %{_datadir}/lxqt/translations/
%{_datadir}/lxqt/translations/%{name}
%dir %{_datadir}/lxqt
%dir %{_datadir}/lxqt/translations
%dir %{_datadir}/lxqt/translations/%{name}
%dir %{_datadir}/lxqt/translations/%{name}/colorpicker
%dir %{_datadir}/lxqt/translations/%{name}/cpuload
%dir %{_datadir}/lxqt/translations/%{name}/customcommand
%dir %{_datadir}/lxqt/translations/%{name}/desktopswitch
%dir %{_datadir}/lxqt/translations/%{name}/directorymenu
%dir %{_datadir}/lxqt/translations/%{name}/dom
%dir %{_datadir}/lxqt/translations/%{name}/fancymenu
%dir %{_datadir}/lxqt/translations/%{name}/kbindicator
%dir %{_datadir}/lxqt/translations/%{name}/mainmenu
%dir %{_datadir}/lxqt/translations/%{name}/mount
%dir %{_datadir}/lxqt/translations/%{name}/networkmonitor
%dir %{_datadir}/lxqt/translations/%{name}/qeyes
%dir %{_datadir}/lxqt/translations/%{name}/quicklaunch
%dir %{_datadir}/lxqt/translations/%{name}/sensors
%dir %{_datadir}/lxqt/translations/%{name}/showdesktop
%dir %{_datadir}/lxqt/translations/%{name}/spacer
%dir %{_datadir}/lxqt/translations/%{name}/statusnotifier
%dir %{_datadir}/lxqt/translations/%{name}/sysstat
%dir %{_datadir}/lxqt/translations/%{name}/taskbar
%dir %{_datadir}/lxqt/translations/%{name}/volume
%dir %{_datadir}/lxqt/translations/%{name}/worldclock
%changelog