[arch-commits] Commit in deepin-kwin/repos/community-x86_64 (6 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Apr 2 15:35:13 UTC 2022


    Date: Saturday, April 2, 2022 @ 15:35:12
  Author: felixonmars
Revision: 1180828

archrelease: copy trunk to community-x86_64

Added:
  deepin-kwin/repos/community-x86_64/PKGBUILD
    (from rev 1180827, deepin-kwin/trunk/PKGBUILD)
  deepin-kwin/repos/community-x86_64/dde-kwin.5.4.26.patch
    (from rev 1180827, deepin-kwin/trunk/dde-kwin.5.4.26.patch)
  deepin-kwin/repos/community-x86_64/deepin-kwin-tabbox-chameleon-rename.patch
    (from rev 1180827, deepin-kwin/trunk/deepin-kwin-tabbox-chameleon-rename.patch)
Deleted:
  deepin-kwin/repos/community-x86_64/PKGBUILD
  deepin-kwin/repos/community-x86_64/deepin-kwin-added-functions-from-their-forked-kwin.patch
  deepin-kwin/repos/community-x86_64/deepin-kwin-crash.patch

----------------------------------------------------------+
 PKGBUILD                                                 |   79 ++----
 dde-kwin.5.4.26.patch                                    |  161 +++++++++++++
 deepin-kwin-added-functions-from-their-forked-kwin.patch |  133 ----------
 deepin-kwin-crash.patch                                  |   39 ---
 deepin-kwin-tabbox-chameleon-rename.patch                |   59 ++++
 5 files changed, 257 insertions(+), 214 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 15:34:57 UTC (rev 1180827)
+++ PKGBUILD	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-kwin
-pkgver=5.3.14
-pkgrel=1
-pkgdesc='KWin configures on DDE'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-kwin"
-license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-wallpapers' 'kwin')
-makedepends=('extra-cmake-modules' 'expac' 'ninja' 'qt5-tools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver.tar.gz"
-        $pkgname-tabbox-chameleon-rename.patch::https://github.com/linuxdeepin/dde-kwin/pull/106.patch
-        $pkgname-added-functions-from-their-forked-kwin.patch
-        $pkgname-crash.patch)
-sha512sums=('ee8cad245554cf97ca7df21fe7a4e22480cfa9b47b2281be1dbf3a4d3ee4d552779f56c2408f7860746801a3b717323b8118a039d322143b3c199c7ff9e066c8'
-            'c98ee0d884f833b58c207437bddfca9f8c31d71c28d9bfc4de880e937e0bb9094466d1ccf348bae2b3581c2159af448b218cfe3d79c8c4d74c7effda491162bb'
-            '48a3bead1c7cde1261f5f710fd055c52f061320999064ba4cc96a81f9b0770ea2a8fba7aff37d20bb7671b219c38bf8424f24fd7742d36b3c6bf171d3874c1f4'
-            '73aef1435c83aec18f4535cc121d09121c1fb180f02b11fc57bb61339b79667ae310a4e3eb33263d6ba218b2eab7281dc9014578edf1317226239e8538e08830')
-
-prepare() {
-  cd dde-kwin-$pkgver
-  sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' plugins/kwineffects/multitasking/background.cpp
-  patch -R -p1 -i ../$pkgname-added-functions-from-their-forked-kwin.patch
-  patch -p1 -i ../$pkgname-tabbox-chameleon-rename.patch
-  patch -p1 -i ../$pkgname-crash.patch
-}
-
-build() {
-  cd dde-kwin-$pkgver
-  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DKWIN_VERSION=$(expac %v kwin | cut -d - -f 1)
-  ninja
-}
-
-package() {
-  cd dde-kwin-$pkgver
-  DESTDIR="$pkgdir" ninja install
-
-  chmod +x "$pkgdir"/usr/bin/kwin_no_scale
-}

Copied: deepin-kwin/repos/community-x86_64/PKGBUILD (from rev 1180827, deepin-kwin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-kwin
+pkgver=5.4.26
+pkgrel=1
+pkgdesc='KWin configures on DDE'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-kwin"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-wallpapers' 'kwin')
+makedepends=('extra-cmake-modules' 'ninja' 'qt5-tools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver.tar.gz"
+        $pkgname-tabbox-chameleon-rename.patch
+        dde-kwin.5.4.26.patch)
+sha512sums=('0ce42973d5c4fb861e758f27b7afc3ebe3c743b7157b527c08771bc5d624e124914fbc92ad9e1a9845cc8d302f83352d6991cb287bf2447dbab6a2e87013809c'
+            '07be0f26270c7b87b311d402c002fcc3d6c73eff6a80abdc33fe1b7b1b4a8acc502a0c1c3957d92cf39b5a3c2e1f1c689c90fe0f765f7bd8308f87ee9cbf138b'
+            '8ab15772a8707c30c14e1005434016ef711e7c47ad98ad2813fb5213b50abf5b0b7be81a6e9b72ad6f62cb63e48f96810a87c815b7fef6d8b01206a670e9127a')
+
+prepare() {
+  cd dde-kwin-$pkgver
+  sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' plugins/kwineffects/multitasking/background.cpp
+  patch -p1 -i ../dde-kwin.5.4.26.patch
+  patch -p1 -i ../$pkgname-tabbox-chameleon-rename.patch
+}
+
+build() {
+  cd dde-kwin-$pkgver
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DUSE_KWIN_NO_SCALE=OFF -DUSE_PLUGINS=OFF -DUSE_WINDOW_TOOL=OFF
+  ninja
+}
+
+package() {
+  cd dde-kwin-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}

Copied: deepin-kwin/repos/community-x86_64/dde-kwin.5.4.26.patch (from rev 1180827, deepin-kwin/trunk/dde-kwin.5.4.26.patch)
===================================================================
--- dde-kwin.5.4.26.patch	                        (rev 0)
+++ dde-kwin.5.4.26.patch	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -0,0 +1,161 @@
+commit 5e5abf523b637a431f398349ea6315b0ac041aba
+Author: justforlxz <justforlxz at gmail.com>
+Date:   Sat Apr 2 15:01:25 2022 +0800
+
+    fix: cannot build on archlinux
+    
+    add options
+    
+    - USE_KWIN_NO_SCALE
+    - USE_PLUGINS
+    - USE_SCRIPTS
+    - USE_DEEPIN_WM_DBUS
+    - USE_TABBOX
+    - USE_WINDOW_TOOL
+    - ENABLE_BUILTIN_BLACK_SCREEN
+    - ENABLE_BUILTIN_MULTITASKING
+    - ENABLE_BUILTIN_SCISSOR_WINDOW
+    - ENABLE_BUILTIN_BLUR
+    
+    Log: 修复在 archlinux 上构建的问题
+    Change-Id: Ib1f40b5729545e56c8a75c8bc50660e3a9eade4a
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cbbf79e0c..ec3af9a1e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,6 +15,11 @@ add_definitions(
+     -DPROJECT_VERSION=\\"${PROJECT_VERSION}\\"
+ )
+ 
++option(USE_PLUGINS "use dde-kwin plugins" ON)
++option(USE_SCRIPTS "use scripts" ON)
++option(USE_DEEPIN_WM_DBUS "use deepin-wm dbus service" ON)
++option(USE_TABBOX "use deepin style tabbox" ON)
++
+ #when "KWIN_VERSION > KWIN_VERSION_CHECK(5, 18, 90, 0)"
+ find_path(
+     KWaylandServerPath
+@@ -92,13 +97,23 @@ if (KWIN_VERSION)
+ endif()
+ 
+ add_subdirectory(configures)
+-set(DDE_KWIN_SUPPORTED_VERSION "5.21.5")
+-if (${KWIN_VERSION} STRLESS ${DDE_KWIN_SUPPORTED_VERSION} OR  ${KWIN_VERSION} STREQUAL ${DDE_KWIN_SUPPORTED_VERSION})
+-    add_subdirectory(plugins)
+-    add_subdirectory(scripts)
+-    add_subdirectory(deepin-wm-dbus)
+-    add_subdirectory(tabbox)
+-    if (BUILD_TESTING)
+-        add_subdirectory(tests)
+-    endif()
++
++if (USE_PLUGINS)
++  add_subdirectory(plugins)
++endif()
++
++if (USE_SCRIPTS)
++  add_subdirectory(scripts)
++endif()
++
++if (USE_DEEPIN_WM_DBUS)
++  add_subdirectory(deepin-wm-dbus)
++endif()
++
++if (USE_TABBOX)
++add_subdirectory(tabbox)
++endif()
++
++if (BUILD_TESTING)
++    add_subdirectory(tests)
+ endif()
+diff --git a/configures/CMakeLists.txt b/configures/CMakeLists.txt
+index 4ac0a906d..3b2301b36 100644
+--- a/configures/CMakeLists.txt
++++ b/configures/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-configure_file(kwin_no_scale.in kwin_no_scale)
++option(USE_KWIN_NO_SCALE "use deepin LD_PRELOAD kwin_no_scale" ON)
+ 
+ install(
+     FILES
+@@ -11,4 +11,7 @@ install(
+     "/etc/xdg"
+ )
+ 
+-install_files("/bin" FILES ${CMAKE_CURRENT_BINARY_DIR}/kwin_no_scale)
++if (USE_KWIN_NO_SCALE)
++    configure_file(kwin_no_scale.in kwin_no_scale)
++    install_files("/bin" FILES ${CMAKE_CURRENT_BINARY_DIR}/kwin_no_scale)
++endif()
+diff --git a/deepin-wm-dbus/CMakeLists.txt b/deepin-wm-dbus/CMakeLists.txt
+index 3312af1d9..3807bc8f9 100644
+--- a/deepin-wm-dbus/CMakeLists.txt
++++ b/deepin-wm-dbus/CMakeLists.txt
+@@ -3,6 +3,7 @@ set(TARGET_NAME "deepin-wm-dbus")
+ 
+ find_package(Qt5Core REQUIRED)
+ find_package(Qt5DBus REQUIRED)
++find_package(X11 REQUIRED)
+ find_package(KF5Config REQUIRED)
+ find_package(KF5WindowSystem REQUIRED)
+ find_package(KF5GlobalAccel REQUIRED)
+diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
+index 11695a379..7a7e4bcbb 100644
+--- a/plugins/CMakeLists.txt
++++ b/plugins/CMakeLists.txt
+@@ -1,3 +1,9 @@
+ add_subdirectory(platforms)
+-add_subdirectory(kdecoration)
++
++option(ENABLE_KDECORATION "enable deepin kdecoration plugin" ON)
++
++if (ENABLE_KDECORATION)
++    add_subdirectory(kdecoration)
++endif()
++
+ add_subdirectory(kwineffects)
+diff --git a/plugins/kwineffects/CMakeLists.txt b/plugins/kwineffects/CMakeLists.txt
+index 9832df92a..96d95c98d 100644
+--- a/plugins/kwineffects/CMakeLists.txt
++++ b/plugins/kwineffects/CMakeLists.txt
+@@ -4,7 +4,23 @@ find_package(KF5WindowSystem REQUIRED)
+ 
+ set(INSTALL_PATH "${QT_INSTALL_PLUGINS}/kwin/effects/plugins")
+ 
+-add_subdirectory(scissor-window)
+-add_subdirectory(blur)
+-add_subdirectory(multitasking)
+-add_subdirectory(black-screen)
++option(ENABLE_BUILTIN_SCISSOR_WINDOW "enable deepin built-in scissor window plugin" ON)
++option(ENABLE_BUILTIN_BLUR "enable deepin built-in blur plugin" ON)
++option(ENABLE_BUILTIN_MULTITASKING "enable deepin built-in multitasking plugin" ON)
++option(ENABLE_BUILTIN_BLACK_SCREEN "enable deepin built-in black screen plugin" ON)
++
++if (ENABLE_BUILTIN_SCISSOR_WINDOW)
++    add_subdirectory(scissor-window)
++endif()
++
++if (ENABLE_BUILTIN_BLUR)
++    add_subdirectory(blur)
++endif()
++
++if (ENABLE_BUILTIN_MULTITASKING)
++    add_subdirectory(multitasking)
++endif()
++
++if (ENABLE_BUILTIN_BLACK_SCREEN)
++    add_subdirectory(black-screen)
++endif()
+diff --git a/plugins/platforms/lib/CMakeLists.txt b/plugins/platforms/lib/CMakeLists.txt
+index 9dbf2474f..06379d0ab 100644
+--- a/plugins/platforms/lib/CMakeLists.txt
++++ b/plugins/platforms/lib/CMakeLists.txt
+@@ -3,6 +3,7 @@ set(TARGET_NAME "kwin-xcb")
+ find_package(Qt5Core REQUIRED)
+ find_package(Qt5X11Extras REQUIRED)
+ find_package(Qt5Qml REQUIRED)
++find_package(X11 REQUIRED)
+ find_package(KF5Config REQUIRED)
+ find_package(KF5WindowSystem REQUIRED)
+ find_package(KF5CoreAddons REQUIRED)

Deleted: deepin-kwin-added-functions-from-their-forked-kwin.patch
===================================================================
--- deepin-kwin-added-functions-from-their-forked-kwin.patch	2022-04-02 15:34:57 UTC (rev 1180827)
+++ deepin-kwin-added-functions-from-their-forked-kwin.patch	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -1,133 +0,0 @@
-From 23a92e4839509ee3ef8886618ce1ee4cfbec3427 Mon Sep 17 00:00:00 2001
-From: wangxinbo <wangxinbo at uniontech.com>
-Date: Tue, 11 Aug 2020 14:19:26 +0800
-Subject: [PATCH] feat: add touch pad double click with three fingers to move
- active client
-
-pms task id 30501
----
- deepin-wm-dbus/com.deepin.wm.xml.in            |  6 ++++++
- deepin-wm-dbus/deepinwmfaker.cpp               | 10 ++++++++++
- deepin-wm-dbus/deepinwmfaker.h                 |  3 +++
- plugins/platforms/lib/kwinutils.cpp            | 18 ++++++++++++++++++
- plugins/platforms/lib/kwinutils.h              |  2 ++
- .../plugin/org.kde.kwin.KWinUtils.xml          |  6 ++++++
- 6 files changed, 45 insertions(+)
-
-diff --git a/deepin-wm-dbus/com.deepin.wm.xml.in b/deepin-wm-dbus/com.deepin.wm.xml.in
-index 8a45365..ff4629a 100644
---- a/deepin-wm-dbus/com.deepin.wm.xml.in
-+++ b/deepin-wm-dbus/com.deepin.wm.xml.in
-@@ -184,4 +184,10 @@
-     <method name="GetCurrentDesktopStatus">
-         <arg type="b" name="isDesktop" direction="out"/>
-     </method>
-+    <method name="TouchToMove">
-+        <arg type="i" name="x" direction="in"/>
-+        <arg type="i" name="y" direction="in"/>
-+    </method>
-+    <method name="ClearMoveStatus">
-+    </method>
- </interface>
-diff --git a/deepin-wm-dbus/deepinwmfaker.cpp b/deepin-wm-dbus/deepinwmfaker.cpp
-index 453280d..2f3f48a 100644
---- a/deepin-wm-dbus/deepinwmfaker.cpp
-+++ b/deepin-wm-dbus/deepinwmfaker.cpp
-@@ -681,6 +681,20 @@ void DeepinWMFaker::BeginToMoveActiveWindow()
-     m_kwinUtilsInter->WindowMove();
- }
- 
-+void DeepinWMFaker::TouchToMove(int x, int y)
-+{
-+#ifndef DISABLE_DEEPIN_WM
-+    m_kwinUtilsInter->TouchPadToMoveWindow(x,y);
-+#endif
-+}
-+
-+void DeepinWMFaker::ClearMoveStatus()
-+{
-+#ifndef DISABLE_DEEPIN_WM
-+    m_kwinUtilsInter->EndTouchPadToMoveWindow();
-+#endif
-+}
-+
- void DeepinWMFaker::SwitchApplication(bool backward)
- {
-     if (!m_kwinUtilsInter->isValid()) {
-diff --git a/deepin-wm-dbus/deepinwmfaker.h b/deepin-wm-dbus/deepinwmfaker.h
-index 9ee73ab..ae6374a 100644
---- a/deepin-wm-dbus/deepinwmfaker.h
-+++ b/deepin-wm-dbus/deepinwmfaker.h
-@@ -136,6 +136,8 @@ public Q_SLOTS:
-     bool GetIsShowDesktop();
-     void SetShowDesktop(bool isShowDesktop);
- 
-+    void TouchToMove(int x, int y);
-+    void ClearMoveStatus();
- Q_SIGNALS:
-     void WorkspaceBackgroundChanged(int index, const QString &newUri);
-     void WorkspaceBackgroundChangedForMonitor(int index, const QString &strMonitorName, const QString &newUri);
-diff --git a/plugins/platforms/lib/kwinutils.cpp b/plugins/platforms/lib/kwinutils.cpp
-index 8bf9e27..0be9682 100644
---- a/plugins/platforms/lib/kwinutils.cpp
-+++ b/plugins/platforms/lib/kwinutils.cpp
-@@ -88,6 +88,8 @@ public Q_SLOTS:
-     void slotWindowMove();
-     void slotWindowMaximize();
-     bool compositing() const;
-+    void slotTouchPadTomoveWindow(int x, int y);
-+    void slotEndTouchPadToMoveWindow();
- 
- #if !defined(KWIN_VERSION) || KWIN_VERSION < KWIN_VERSION_CHECK(5, 10, 95, 0)
-     // kwin < 5.10.95
-@@ -1082,6 +1084,22 @@ void KWinUtils::WindowMove()
-     }
- }
- 
-+void KWinUtils::TouchPadToMoveWindow(int x, int y)
-+{
-+    KWin::Workspace *ws = static_cast<KWin::Workspace *>(workspace());
-+    if (ws) {
-+        ws->slotTouchPadTomoveWindow(x,y);
-+    }
-+}
-+
-+void KWinUtils::EndTouchPadToMoveWindow()
-+{
-+    KWin::Workspace *ws = static_cast<KWin::Workspace *>(workspace());
-+    if (ws) {
-+        ws->slotEndTouchPadToMoveWindow();
-+    }
-+}
-+
- void KWinUtils::WindowMaximize()
- {
-     KWin::Workspace *ws = static_cast<KWin::Workspace *>(workspace());
-diff --git a/plugins/platforms/lib/kwinutils.h b/plugins/platforms/lib/kwinutils.h
-index 57edb86..2c75875 100644
---- a/plugins/platforms/lib/kwinutils.h
-+++ b/plugins/platforms/lib/kwinutils.h
-@@ -156,6 +156,8 @@ public Q_SLOTS:
-     void ShowWindowsView();
-     void ResumeCompositor(int type);
-     void SuspendCompositor(int type);
-+    void TouchPadToMoveWindow(int x, int y);
-+    void EndTouchPadToMoveWindow();
- 
- Q_SIGNALS:
-     void initialized();
-diff --git a/plugins/platforms/plugin/org.kde.kwin.KWinUtils.xml b/plugins/platforms/plugin/org.kde.kwin.KWinUtils.xml
-index aa61b6c..5854ed0 100644
---- a/plugins/platforms/plugin/org.kde.kwin.KWinUtils.xml
-+++ b/plugins/platforms/plugin/org.kde.kwin.KWinUtils.xml
-@@ -22,4 +22,10 @@
-     <method name="SuspendCompositor">
-         <arg type="i" name="type" direction="in"/>
-     </method>
-+    <method name="TouchPadToMoveWindow">
-+        <arg type="i" name="x" direction="in"/>
-+        <arg type="i" name="y" direction="in"/>
-+    </method>
-+    <method name="EndTouchPadToMoveWindow">
-+    </method>
- </interface>

Deleted: deepin-kwin-crash.patch
===================================================================
--- deepin-kwin-crash.patch	2022-04-02 15:34:57 UTC (rev 1180827)
+++ deepin-kwin-crash.patch	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -1,39 +0,0 @@
-diff --git a/plugins/platforms/lib/kwinutils.cpp b/plugins/platforms/lib/kwinutils.cpp
-index 4f2f7c58a..d022392ea 100644
---- a/plugins/platforms/lib/kwinutils.cpp
-+++ b/plugins/platforms/lib/kwinutils.cpp
-@@ -148,6 +148,12 @@ public:
-     static Cursor *s_self;
- };
- 
-+class Cursors : public QObject
-+{
-+public:
-+    static Cursors *s_self;
-+};
-+
- class AbstractClient : public QObject {};
- class Options {
- public:
-@@ -606,7 +612,21 @@ QObject *KWinUtils::tabBox()
- 
- QObject *KWinUtils::cursor()
- {
-+#if defined(KWIN_VERSION) && KWIN_VERSION <= KWIN_VERSION_CHECK(5, 18, 4, 0)
-     return KWin::Cursor::s_self;
-+#else
-+    /*
-+     * kwin:6abd23ed0220b14a4a05fa280869ba3c953565e3
-+     * Make it possible to have a separate cursor for the tablet
-+     * Summary:
-+     * As is KWin only had 1 Cursor which was a singleton. This made it impossible for
-+     * us to properly implement the tablet (as in drawing tablets) support and show where
-+     * we're drawing.
-+     * This patch makes it possible to have different Cursors in KWin, it makes all the
-+     * current code still follow the mouse but the tablet can still render a cursor.
-+     */
-+    return KWin::Cursors::s_self;
-+#endif
- }
- 
- QObject *KWinUtils::virtualDesktop()

Copied: deepin-kwin/repos/community-x86_64/deepin-kwin-tabbox-chameleon-rename.patch (from rev 1180827, deepin-kwin/trunk/deepin-kwin-tabbox-chameleon-rename.patch)
===================================================================
--- deepin-kwin-tabbox-chameleon-rename.patch	                        (rev 0)
+++ deepin-kwin-tabbox-chameleon-rename.patch	2022-04-02 15:35:12 UTC (rev 1180828)
@@ -0,0 +1,59 @@
+commit 30f09148b0c1ab4843d6a146a26c99a8945a4346
+Author: Felix Yan <felixonmars at archlinux.org>
+Date:   Wed Feb 26 18:36:20 2020 +0800
+
+    Rename thumbnail_grid to avoid conflict with new kdeplasma-addons
+
+diff --git a/configures/kwinrc b/configures/kwinrc
+index 9551f40ce..d5493c285 100644
+--- a/configures/kwinrc
++++ b/configures/kwinrc
+@@ -40,7 +40,7 @@ ActivitiesMode=1
+ ApplicationsMode=0
+ DesktopMode=1
+ HighlightWindows=true
+-LayoutName=thumbnail_grid
++LayoutName=chameleon
+ MinimizedMode=0
+ MultiScreenMode=0
+ ShowDesktopMode=1
+diff --git a/tabbox/CMakeLists.txt b/tabbox/CMakeLists.txt
+index af1c0d929..d377f3056 100644
+--- a/tabbox/CMakeLists.txt
++++ b/tabbox/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ install(
+     DIRECTORY
+-    thumbnail_grid
++    chameleon
+     DESTINATION
+     ${CMAKE_INSTALL_PREFIX}/share/kwin/tabbox
+ )
+diff --git a/tabbox/thumbnail_grid/contents/ui/main.qml b/tabbox/chameleon/contents/ui/main.qml
+similarity index 100%
+rename from tabbox/thumbnail_grid/contents/ui/main.qml
+rename to tabbox/chameleon/contents/ui/main.qml
+diff --git a/tabbox/thumbnail_grid/metadata.desktop b/tabbox/chameleon/metadata.desktop
+similarity index 71%
+rename from tabbox/thumbnail_grid/metadata.desktop
+rename to tabbox/chameleon/metadata.desktop
+index 7114afe0b..97ae44aa3 100755
+--- a/tabbox/thumbnail_grid/metadata.desktop
++++ b/tabbox/chameleon/metadata.desktop
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Name=Thumbnail Grid
++Name=Chameleon
+ Comment=
+ 
+ Type=Service
+@@ -11,7 +11,7 @@ X-Plasma-MainScript=ui/main.qml
+ Icon=preferences-system-windows-switcher-big-icons
+ X-KDE-PluginInfo-Author=Chris Holland
+ X-KDE-PluginInfo-Email=zrenfire at gmail.com
+-X-KDE-PluginInfo-Name=thumbnail_grid
++X-KDE-PluginInfo-Name=chameleon
+ X-KDE-PluginInfo-Version=4
+-X-KDE-PluginInfo-Website=https://github.com/Zren/kwin-tabbox-thumbnail_grid
++X-KDE-PluginInfo-Website=https://github.com/linuxdeepin/dde-kwin
+ X-KDE-PluginInfo-Depends=



More information about the arch-commits mailing list