|
|
b6837fb |
%global repo dde-kwin
|
|
|
f8b23ec |
%global __provides_exclude_from ^%{_qt5_plugindir}.*\.so$
|
|
|
b6837fb |
|
|
|
b6837fb |
Name: deepin-kwin
|
|
|
6bd9947 |
Version: 5.2.0.13
|
|
|
4f7068d |
Release: 3%{?dist}
|
|
|
b6837fb |
Summary: KWin configuration for Deepin Desktop Environment
|
|
|
b6837fb |
License: GPLv3+
|
|
|
b6837fb |
URL: https://github.com/linuxdeepin/%{repo}
|
|
|
8d360d7 |
Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz
|
|
|
f8b23ec |
|
|
|
f8b23ec |
# revert added functions from their forked kwin
|
|
|
f8b23ec |
# Author: Robin Lee <cheeselee@fedoraproject.org>
|
|
|
f8b23ec |
Patch0001: 0001-revert-added-functions-from-their-forked-kwin.patch
|
|
|
f8b23ec |
|
|
|
f8b23ec |
# tabbox chameleon rename
|
|
|
f8b23ec |
# Author: Robin Lee <cheeselee@fedoraproject.org>
|
|
|
f8b23ec |
Patch0002: 0002-tabbox-chameleon-rename.patch
|
|
|
f8b23ec |
|
|
|
f8b23ec |
# unload blur
|
|
|
f8b23ec |
# Author: Robin Lee <cheeselee@fedoraproject.org>
|
|
|
6bd9947 |
Patch0003: 0003-unload-blur.patch
|
|
|
6bd9947 |
|
|
|
6bd9947 |
# fix: blurmanager interface changed
|
|
|
6bd9947 |
# Author: justforlxz <justforlxz@gmail.com>
|
|
|
6bd9947 |
Patch0004: 0004-fix-blurmanager-interface-changed.patch
|
|
|
6bd9947 |
|
|
|
6bd9947 |
# fix: doesn't compile with Kwin 5.21 …
|
|
|
6bd9947 |
# Author: justforlxz <justforlxz@gmail.com>
|
|
|
6bd9947 |
Patch0005: 0005-fix-doesn-t-compile-with-Kwin-5.21.patch
|
|
|
6bd9947 |
|
|
|
cfb6faf |
# kwin 5.19
|
|
|
cfb6faf |
# Author: Robin Lee <cheeselee@fedoraproject.org>
|
|
|
cfb6faf |
Patch0006: 0006-kwin-5.19.patch
|
|
|
cfb6faf |
|
|
|
cfb6faf |
|
|
|
6bd9947 |
|
|
|
6bd9947 |
|
|
|
f8b23ec |
|
|
|
f8b23ec |
|
|
|
f8b23ec |
|
|
|
b6837fb |
BuildRequires: gcc-c++
|
|
|
0ff00b6 |
BuildRequires: cmake
|
|
|
f8b23ec |
BuildRequires: extra-cmake-modules >= 5.54
|
|
|
b6837fb |
BuildRequires: kwin-devel
|
|
|
f8b23ec |
BuildRequires: kwayland-server-devel
|
|
|
b6837fb |
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
f8b23ec |
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
b6837fb |
BuildRequires: gsettings-qt-devel
|
|
|
0ff00b6 |
BuildRequires: libepoxy-devel
|
|
|
f8b23ec |
BuildRequires: dtkgui-devel
|
|
|
0ff00b6 |
BuildRequires: kf5-kwayland-devel
|
|
|
b6837fb |
BuildRequires: kf5-kglobalaccel-devel
|
|
|
0ff00b6 |
BuildRequires: cmake(KDecoration2)
|
|
|
f8b23ec |
BuildRequires: cmake(KF5I18n)
|
|
|
0ff00b6 |
BuildRequires: qt5-linguist
|
|
|
b6837fb |
# for libQt5EdidSupport.a
|
|
|
b6837fb |
BuildRequires: qt5-qtbase-static
|
|
|
b6837fb |
BuildRequires: qt5-qtbase-private-devel
|
|
|
b6837fb |
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
b6837fb |
Requires: deepin-qt5integration%{?_isa}
|
|
|
6bd9947 |
Requires: kwin-x11%{?_isa} >= 5.21
|
|
|
0ff00b6 |
# since F31
|
|
|
0ff00b6 |
Obsoletes: deepin-wm <= 1.9.38
|
|
|
0ff00b6 |
Obsoletes: deepin-wm-switcher <= 1.1.9
|
|
|
0ff00b6 |
Obsoletes: deepin-metacity <= 3.22.24
|
|
|
0ff00b6 |
Obsoletes: deepin-metacity-devel <= 3.22.24
|
|
|
0ff00b6 |
Obsoletes: deepin-mutter <= 3.20.38
|
|
|
0ff00b6 |
Obsoletes: deepin-mutter-devel <= 3.20.38
|
|
|
b6837fb |
|
|
|
b6837fb |
%description
|
|
|
b6837fb |
This package provides a kwin configuration that used as the new WM for Deepin
|
|
|
b6837fb |
Desktop Environment.
|
|
|
b6837fb |
|
|
|
b6837fb |
%package devel
|
|
|
b6837fb |
Summary: Development package for %{name}
|
|
|
b6837fb |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b6837fb |
Requires: kwin-devel%{?_isa}
|
|
|
b6837fb |
Requires: qt5-qtx11extras-devel%{?_isa}
|
|
|
b6837fb |
Requires: gsettings-qt-devel%{?_isa}
|
|
|
b6837fb |
Requires: dtkcore-devel%{?_isa}
|
|
|
b6837fb |
Requires: kf5-kglobalaccel-devel%{?_isa}
|
|
|
b6837fb |
|
|
|
b6837fb |
|
|
|
b6837fb |
%description devel
|
|
|
b6837fb |
Header files and libraries for %{name}.
|
|
|
6bd9947 |
|
|
|
b6837fb |
%prep
|
|
|
f8b23ec |
%autosetup -p1 -n %{repo}-%{version}
|
|
|
da4d568 |
|
|
|
f8b23ec |
sed -i 's:/lib/:%{_libdir}/:' plugins/platforms/lib/CMakeLists.txt
|
|
|
f8b23ec |
sed -i 's:/lib/:/%{_lib}/:' plugins/platforms/plugin/main.cpp \
|
|
|
f8b23ec |
plugins/platforms/plugin/main_wayland.cpp
|
|
|
0ff00b6 |
sed -i 's:/usr/lib:%{_libexecdir}:' deepin-wm-dbus/deepinwmfaker.cpp
|
|
|
b6837fb |
|
|
|
b6837fb |
%build
|
|
|
b6837fb |
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
|
b6837fb |
export PATH=%{_qt5_bindir}:$PATH
|
|
|
f8b23ec |
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
|
|
6bd9947 |
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
f8b23ec |
-DKWIN_VERSION=$(rpm -q --qf '%%{version}' kwin-devel)
|
|
|
7508a57 |
%cmake_build
|
|
|
6bd9947 |
|
|
|
b6837fb |
%install
|
|
|
7508a57 |
%cmake_install
|
|
|
0ff00b6 |
chmod 755 %{buildroot}%{_bindir}/kwin_no_scale
|
|
|
b6837fb |
|
|
|
b6837fb |
%files
|
|
|
b6837fb |
%doc CHANGELOG.md
|
|
|
8d360d7 |
%license LICENSE
|
|
|
b6837fb |
%{_sysconfdir}/xdg/*
|
|
|
b6837fb |
%{_bindir}/deepin-wm-dbus
|
|
|
6bd9947 |
%{_bindir}/kwin_no_scale
|
|
|
0ff00b6 |
%{_qt5_plugindir}/org.kde.kdecoration2/libdeepin-chameleon.so
|
|
|
b6837fb |
%{_qt5_plugindir}/platforms/lib%{repo}-xcb.so
|
|
|
f8b23ec |
%{_qt5_plugindir}/platforms/lib%{repo}-wayland.so
|
|
|
f8b23ec |
%{_qt5_plugindir}/kwin/effects/plugins/
|
|
|
0ff00b6 |
%{_datadir}/dde-kwin-xcb/
|
|
|
b6837fb |
%{_datadir}/dbus-1/services/*.service
|
|
|
b6837fb |
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
b6837fb |
%{_datadir}/kwin/scripts/*
|
|
|
b6837fb |
%{_datadir}/kwin/tabbox/*
|
|
|
f8b23ec |
%{_libdir}/libkwin-xcb.so.0
|
|
|
f8b23ec |
%{_libdir}/libkwin-xcb.so.0.*
|
|
|
b6837fb |
|
|
|
b6837fb |
%files devel
|
|
|
0ff00b6 |
%{_libdir}/libkwin-xcb.so
|
|
|
b6837fb |
%{_libdir}/pkgconfig/%{repo}.pc
|
|
|
0ff00b6 |
%{_includedir}/%{repo}
|
|
|
b6837fb |
|
|
|
b6837fb |
%changelog
|
|
|
4f7068d |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0.13-3
|
|
|
4f7068d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
4f7068d |
|
|
|
cfb6faf |
* Mon Mar 29 2021 Robin Lee <cheeselee@fedoraproject.org> - 5.2.0.13-2
|
|
|
cfb6faf |
- Re-add missed patch
|
|
|
cfb6faf |
|
|
|
6bd9947 |
* Mon Mar 29 2021 Robin Lee <cheeselee@fedoraproject.org> - 5.2.0.13-1
|
|
|
6bd9947 |
- new upstream release: 5.2.0.13
|
|
|
6bd9947 |
|
|
|
bba954b |
* Fri Mar 12 2021 Robin Lee <cheeselee@fedoraproject.org> - 5.2.0.2-4
|
|
|
bba954b |
- Make it a symlink to kwin_x11 since it does not build with kwin 5.21
|
|
|
bba954b |
|
|
|
a85c9d6 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0.2-3
|
|
|
a85c9d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a85c9d6 |
|
|
|
19cbb15 |
* Mon Nov 23 07:49:48 CET 2020 Jan Grulich <jgrulich@redhat.com> - 5.2.0.2-2
|
|
|
19cbb15 |
- rebuild (qt5)
|
|
|
19cbb15 |
|
|
|
f8b23ec |
* Thu Nov 12 2020 Robin Lee <cheeselee@fedoraproject.org> - 5.2.0.2-1
|
|
|
f8b23ec |
- new upstream release: 5.2.0.2
|
|
|
f8b23ec |
|
|
|
de8bbbb |
* Fri Sep 11 2020 Jan Grulich <jgrulich@redhat.com> - 0.1.0-10
|
|
|
de8bbbb |
- rebuild (qt5)
|
|
|
de8bbbb |
|
|
|
7508a57 |
* Fri Aug 7 2020 Robin Lee <cheeselee@fedoraproject.org> - 0.1.0-9
|
|
|
7508a57 |
- Improve compatibility with new CMake macro
|
|
|
7508a57 |
|
|
|
de53ccf |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-9
|
|
|
de53ccf |
- Second attempt - Rebuilt for
|
|
|
de53ccf |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
de53ccf |
|
|
|
771d7d6 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-8
|
|
|
771d7d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
771d7d6 |
|
|
|
5a3176f |
* Mon Apr 06 2020 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-7
|
|
|
5a3176f |
- rebuild (qt5)
|
|
|
5a3176f |
|
|
Li Rui Bin |
2637ce9 |
* Thu Feb 27 2020 Robin Lee <cheeselee@fedoraproject.org> - 0.1.0-6
|
|
Li Rui Bin |
2637ce9 |
- Fix path conflict with kdeplasma-addons (RHBZ#1807283)
|
|
Li Rui Bin |
2637ce9 |
|
|
|
70673e3 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-5
|
|
|
70673e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
70673e3 |
|
|
|
1cdbac3 |
* Mon Dec 23 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.1.0-4
|
|
|
1cdbac3 |
- Fix runtime issue with kwin 5.17
|
|
|
1cdbac3 |
|
|
|
523076f |
* Mon Dec 09 2019 Jan Grulich <jgrulich@redhat.com> - 0.1.0-3
|
|
|
523076f |
- rebuild (qt5)
|
|
|
523076f |
|
|
|
d623c31 |
* Wed Sep 25 2019 Jan Grulich <jgrulich@redhat.com> - 0.1.0-2
|
|
|
d623c31 |
- rebuild (qt5)
|
|
|
d623c31 |
|
|
|
6a85de7 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-4
|
|
|
6a85de7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6a85de7 |
|
|
|
fa75272 |
* Mon Jun 17 2019 Jan Grulich <jgrulich@redhat.com> - 0.0.4-3
|
|
|
fa75272 |
- rebuild (qt5)
|
|
|
fa75272 |
|
|
|
678aa4c |
* Wed Jun 05 2019 Jan Grulich <jgrulich@redhat.com> - 0.0.4-2
|
|
|
678aa4c |
- rebuild (qt5)
|
|
|
678aa4c |
|
|
|
8d360d7 |
* Mon Apr 22 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.4-1
|
|
|
8d360d7 |
- new version
|
|
|
8d360d7 |
|
|
|
b6837fb |
* Mon Apr 15 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.3.2-1
|
|
|
b6837fb |
- Update to 0.0.3.2
|
|
|
b6837fb |
|
|
|
b6837fb |
* Fri Apr 12 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.0.3.1-1
|
|
|
b6837fb |
- Initial packaging
|