diff --git a/pcmanfm-qt-1.4.1.tar.xz b/pcmanfm-qt-1.4.1.tar.xz deleted file mode 100644 index c827d11..0000000 --- a/pcmanfm-qt-1.4.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0de6c9125e7d4250fc52e65bf102720b88edb91d88bc89c352d45b5cb0202986 -size 390960 diff --git a/pcmanfm-qt-1.4.1.tar.xz.asc b/pcmanfm-qt-1.4.1.tar.xz.asc deleted file mode 100644 index 3a748a2..0000000 --- a/pcmanfm-qt-1.4.1.tar.xz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmXGer0VHHRzdWphbjIw -MDBAZ21haWwuY29tAAoJEL55MAetIt9+ffYQAJgNF9AOqH5h9vkdAeQXX/uIyfgp -ZVllHpouS9yH8zJtTSkQs2GyBBk95W0mPiRBQWYOYdtY8xaeH5Ob2AxZlhlI/yFR -VojbFAZ5uZEPo0B0FUCVJpgliXWthOLUKpu0M0lLzVJJKvrcBiFXgvuJ+WkRwNrr -igspMjgX7wKwVWwo+EFifT7YzP8wtJk84H1/Bhr9jWK56r+MFwzgzOMuB+2Iv320 -w1V7LbcEUV9yeg8uG2xHjTptSYWa4HQ+9LaSpffbZVq2fSK9g+XSktPAXije7/rH -DVFsuAiZ9Qm/fsBILYFm0LUm+Up9hHSQI5hYRA3sGdbS6TTYSX4hqIVQOF3aoUjn -5Gh8ySqEheANzLyf3P06pFOv/iY30fT4mxgZ7lRxr60wFZjPZRoYkj4LeA9Xi9f4 -bQl2AUo7S1FFzBzfVKL768i2qYcVq8tTOqw1lFjUEMTh5vW99eDGH4c2tjgfzEdN -BQouYMTP015KaiX7wjm4Eo664fyzUAoa+jW2PaQJnMKheLJwacsgnP14+M11TlKH -Lm7p6Ag8Y8j5XA1eHNhXH0kV+FDasC1jNcHX4Absov+vj8N+R5JdXgMXzyPzuahq -WlOisIoYCOhiLFopCwRFKdg5oymceqk/y3UnoGl7Qcn/wtBPO068+Ev2BYqlawil -HkhhL0u2NJkhf839 -=n0fv ------END PGP SIGNATURE----- diff --git a/pcmanfm-qt-2.0.0.tar.xz b/pcmanfm-qt-2.0.0.tar.xz new file mode 100644 index 0000000..c8936ac --- /dev/null +++ b/pcmanfm-qt-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:167958a19f0e826f77887d9b7453f69347e8c74c70ffbf64aeab5d7b4b63cc83 +size 395756 diff --git a/pcmanfm-qt-2.0.0.tar.xz.asc b/pcmanfm-qt-2.0.0.tar.xz.asc new file mode 100644 index 0000000..83860d4 --- /dev/null +++ b/pcmanfm-qt-2.0.0.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmYfpn0VHHRzdWphbjIw +MDBAZ21haWwuY29tAAoJEL55MAetIt9+kgYP/AwdT7lzIFmbX0dxG3PAUEgJTeec +p5+pTTl3Fzd+6/nrVodsgzt+2TcOGTino/Zc5koQS6JkxjhE0sYbAooHvhVrgLbI +KQKzqVqWlfk2kOclP6QHtO0Xqyn7amg/m/fiyxIrq87S6YePMcQ5rcuAJVllSQAV +Koj4rM7iM9edltTWJBmAoIbNI1h6sWyJR3PYWqNjlYlOGrczk+nJnyHXcN/1+Vg9 +ASthQrhz1jd7x0TJV5M2jg71QVOUOZfiMzo2BfwIwaRGofzRw+YTPo3DVQJDipF3 +CotKb5bLNWMrAu+XMOQPPNPU5WtIfbR1piGtUCaHH+GwtjUPOM7QtJg9REtdRrl0 +T3IABYkHmqq+hswWMZIZ6xmS54a0Wy7G16H4ggw7jyiEoamsiFdPQa2SC2ASMZHj +C6WM5hUmaM7MLsTPTW7GUvuKyLjjNzXuBnS5NPGh3ALa9NhQ/oBt5SyivxzSdljN +Hzz/XbVXzSqSdxVXdaLG5RTBP6zLwLj/ixwA6cJzgv/2r4B2QemHm5If6DCU832B +IJ+eR5Zd9OnNJiB5Hlo3TYWfC0eBil8I8hJt57zCkyIGku107mMMfg05JIE6sVhG +a20z8lAkowYEjC4sdHlQkhOItPLqpkbyhRqNq3mwrURwYe1t07mZhGxI6Vhuz5kQ +KrvXPi7o3+z0yvJ6 +=2yg6 +-----END PGP SIGNATURE----- diff --git a/pcmanfm-qt-default-wallpaper.patch b/pcmanfm-qt-default-wallpaper.patch index 3341a9d..d6f3ff1 100644 --- a/pcmanfm-qt-default-wallpaper.patch +++ b/pcmanfm-qt-default-wallpaper.patch @@ -1,7 +1,7 @@ -diff -urEbw pcmanfm-qt-1.1.0/config/pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt-1.1.0.new/config/pcmanfm-qt/lxqt/settings.conf.in ---- pcmanfm-qt-1.1.0/config/pcmanfm-qt/lxqt/settings.conf.in 2022-04-16 02:59:21.000000000 +0200 -+++ pcmanfm-qt-1.1.0.new/config/pcmanfm-qt/lxqt/settings.conf.in 2022-04-27 23:45:23.911770193 +0200 -@@ -17,7 +17,7 @@ +diff -urEbw pcmanfm-qt-2.0.0/config/pcmanfm-qt/lxqt/settings.conf.in pcmanfm-qt-2.0.0.new/config/pcmanfm-qt/lxqt/settings.conf.in +--- pcmanfm-qt-2.0.0/config/pcmanfm-qt/lxqt/settings.conf.in 2024-04-17 13:36:46.000000000 +0300 ++++ pcmanfm-qt-2.0.0.new/config/pcmanfm-qt/lxqt/settings.conf.in 2024-05-11 14:55:03.198535051 +0300 +@@ -15,7 +15,7 @@ [Desktop] DesktopShortcuts=Home, Trash, Computer, Network WallpaperMode=stretch diff --git a/pcmanfm-qt.changes b/pcmanfm-qt.changes index be3e0b9..255f7c4 100644 --- a/pcmanfm-qt.changes +++ b/pcmanfm-qt.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat May 11 11:50:48 UTC 2024 - Андрей Алыпов + +- Update to 2.0.0: + * Ported to Qt6. + * Desktop module is made completely ready for Wayland. + * Fixed rare misplacement of desktop icons with Qt6. + * Added 5 menu icons to the main window. + * Disabled root instance under Wayland. + ------------------------------------------------------------------- Wed Apr 10 11:46:15 UTC 2024 - Lubos Kocman diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec index 02bfe54..1c42bf0 100644 --- a/pcmanfm-qt.spec +++ b/pcmanfm-qt.spec @@ -17,35 +17,37 @@ Name: pcmanfm-qt -Version: 1.4.1 +Version: 2.0.0 Release: 0 Summary: File manager and desktop icon manager License: GPL-2.0-or-later Group: System/GUI/LXQt -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 +URL: https://github.com/lxqt/pcmanfm-qt +Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz +Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring #bsc#1100208 - mvetter@suse.de - set default openSUSE wallpaper -Patch0: pcmanfm-qt-default-wallpaper.patch -BuildRequires: cmake >= 3.1.0 +Patch0: %{name}-default-wallpaper.patch +BuildRequires: cmake >= 3.18.0 BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: lxqt-build-tools-devel >= 0.13.0 +BuildRequires: hicolor-icon-theme +BuildRequires: libQt6Svg6 BuildRequires: pkgconfig -BuildRequires: cmake(KF5WindowSystem) -BuildRequires: pkgconfig(Qt5Core) >= 5.15.0 -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5UiTools) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: cmake(LayerShellQt) >= 6.0.0 +BuildRequires: cmake(Qt6DBus) >= 6.6.0 +BuildRequires: cmake(Qt6LinguistTools) +BuildRequires: cmake(Qt6Widgets) +BuildRequires: cmake(fm-qt6) +BuildRequires: cmake(lxqt2-build-tools) >= 2.0.0 BuildRequires: pkgconfig(libexif) -BuildRequires: pkgconfig(libfm-qt) >= 1.4.0 +BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0 +%requires_eq libQt6Svg6 #bsc#1128570 - mvetter@suse.de Requires: menu-cache #bsc#1100208 - mvetter@suse.de Requires: wallpaper-branding-openSUSE -Recommends: %{name}-lang +Recommends: %{name}-lang = %{version}-%{release} Recommends: gnome-keyring-pam %description @@ -57,29 +59,33 @@ PCManFM-Qt is the Qt port of the LXDE file manager PCManFM %autosetup -p1 %build -%cmake -DPULL_TRANSLATIONS=No +%cmake_qt6 +%qt6_build %install -%cmake_install +%qt6_install %fdupes -s %{buildroot}%{_datadir} %find_lang %{name} --with-qt %files -%doc AUTHORS -%dir %{_datadir}/pcmanfm-qt -%dir %{_datadir}/pcmanfm-qt/lxqt -%dir %{_datadir}/icons/hicolor/scalable -%dir %{_datadir}/icons/hicolor/scalable/apps +%doc AUTHORS CHANGELOG README.md +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/lxqt %{_bindir}/%{name} -%{_datadir}/applications/*.desktop -%{_mandir}/man?/%{name}.?%{ext_man} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/applications/%{name}-desktop-pref.desktop +%{_mandir}/man?/%{name}.?%{?ext_man} %config %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop -%{_datadir}/pcmanfm-qt/lxqt/settings.conf -%{_datadir}/icons/hicolor/scalable/apps/pcmanfm-qt.svg +%{_datadir}/%{name}/lxqt/settings.conf +%{_datadir}/icons/hicolor/*/apps/%{name}.??g +%license LICENSE %files lang -f %{name}.lang -%dir %{_datadir}/pcmanfm-qt -%{_datadir}/pcmanfm-qt/translations +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/translations +%if 0%{?sle_version} +%{_datadir}/%{name}/translations/%{name}_???.qm +%endif %changelog