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

Felix Yan felixonmars at archlinux.org
Thu May 9 09:53:03 UTC 2019


    Date: Thursday, May 9, 2019 @ 09:53:02
  Author: felixonmars
Revision: 464013

archrelease: copy trunk to community-x86_64

Added:
  deepin-kwin/repos/community-x86_64/PKGBUILD
    (from rev 464012, deepin-kwin/trunk/PKGBUILD)
  deepin-kwin/repos/community-x86_64/new-kwin.patch
    (from rev 464012, deepin-kwin/trunk/new-kwin.patch)
Deleted:
  deepin-kwin/repos/community-x86_64/PKGBUILD
  deepin-kwin/repos/community-x86_64/new-kwin.patch

----------------+
 PKGBUILD       |   64 +++++++++++++--------------
 new-kwin.patch |  130 +++++++++++++++++++++++++++----------------------------
 2 files changed, 97 insertions(+), 97 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-09 09:52:48 UTC (rev 464012)
+++ PKGBUILD	2019-05-09 09:53:02 UTC (rev 464013)
@@ -1,32 +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=0.0.5
-pkgrel=1
-pkgdesc='KWin configures on DDE'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-kwin"
-license=('GPL3')
-depends=('deepin-qt5integration' 'kwin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver.tar.gz"
-        new-kwin.patch)
-sha512sums=('b7762cad4b6b06e9fba16d80528dec05dafa075222b15ac1ad285a169256ca69dbc3690bbfee59c8cda4f91ba8f28c9880c3727494cefbeb53f137b0123d0328'
-            '771ac8b0b80f15e46fa857ab5ee7c5f28ac79fc82e95999077ffbf8dfa63669a9e6c746f355438211145390ea3af108b31b7683e5193b82ccd9cc00d24abb3f2')
-
-prepare() {
-  cd dde-kwin-$pkgver
-  patch -p1 -i ../new-kwin.patch
-}
-
-build() {
-  cd dde-kwin-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd dde-kwin-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-kwin/repos/community-x86_64/PKGBUILD (from rev 464012, deepin-kwin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-09 09:53:02 UTC (rev 464013)
@@ -0,0 +1,32 @@
+# 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=0.0.6
+pkgrel=1
+pkgdesc='KWin configures on DDE'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-kwin"
+license=('GPL3')
+depends=('deepin-qt5integration' 'kwin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver.tar.gz"
+        new-kwin.patch)
+sha512sums=('fe8103c7cbb6486b655116f37c175ac27785cf5f742a10d9062039c179fbc09d3ec9f951835518466a011d65c570843a69fd2cf9b12a1614f37b2c6e2bec1845'
+            '771ac8b0b80f15e46fa857ab5ee7c5f28ac79fc82e95999077ffbf8dfa63669a9e6c746f355438211145390ea3af108b31b7683e5193b82ccd9cc00d24abb3f2')
+
+prepare() {
+  cd dde-kwin-$pkgver
+  patch -p1 -i ../new-kwin.patch
+}
+
+build() {
+  cd dde-kwin-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dde-kwin-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Deleted: new-kwin.patch
===================================================================
--- new-kwin.patch	2019-05-09 09:52:48 UTC (rev 464012)
+++ new-kwin.patch	2019-05-09 09:53:02 UTC (rev 464013)
@@ -1,65 +0,0 @@
-diff --git a/plugins/kwin-xcb/lib/kwinutils.cpp b/plugins/kwin-xcb/lib/kwinutils.cpp
-index 7a0bf5c..eca85e2 100644
---- a/plugins/kwin-xcb/lib/kwinutils.cpp
-+++ b/plugins/kwin-xcb/lib/kwinutils.cpp
-@@ -79,16 +79,6 @@ public:
- public Q_SLOTS:
-     void slotWindowMove();
-     void slotWindowMaximize();
--
--    // kwin 5.8.6
--    void slotWindowQuickTileLeft();
--    void slotWindowQuickTileRight();
--    void slotWindowQuickTileTop();
--    void slotWindowQuickTileBottom();
--    void slotWindowQuickTileTopLeft();
--    void slotWindowQuickTileTopRight();
--    void slotWindowQuickTileBottomLeft();
--    void slotWindowQuickTileBottomRight();
- };
- class Scripting : public QObject {
- public:
-@@ -388,43 +378,6 @@ void KWinUtils::QuickTileWindow(uint side)
-     if (ws) {
-         if (interface->quickTileWindow) {
-             interface->quickTileWindow(ws, (KWin::Workspace::QuickTileFlag)side);
--        } else { // fallback for kwin 5.8.6
--            switch ((KWin::Workspace::QuickTileFlag)side) {
--            case KWin::Workspace::QuickTileFlag::Left:
--                ws->slotWindowQuickTileLeft();
--                break;
--            case KWin::Workspace::QuickTileFlag::Right:
--                ws->slotWindowQuickTileRight();;
--                break;
--            case KWin::Workspace::QuickTileFlag::Top:
--                ws->slotWindowQuickTileTop();
--                break;
--            case KWin::Workspace::QuickTileFlag::Bottom:
--                ws->slotWindowQuickTileBottom();
--                break;
--            case KWin::Workspace::QuickTileFlag::Horizontal:
--                ws->slotWindowQuickTileLeft();
--                ws->slotWindowQuickTileRight();
--                break;
--            case KWin::Workspace::QuickTileFlag::Vertical:
--                ws->slotWindowQuickTileTop();
--                ws->slotWindowQuickTileBottom();
--                break;
--            case KWin::Workspace::QuickTileFlag::TopLeft:
--                ws->slotWindowQuickTileTopLeft();
--                break;
--            case KWin::Workspace::QuickTileFlag::TopRight:
--                ws->slotWindowQuickTileTopRight();
--                break;
--            case KWin::Workspace::QuickTileFlag::BottomLeft:
--                ws->slotWindowQuickTileBottomLeft();
--                break;
--            case KWin::Workspace::QuickTileFlag::BottomRight:
--                ws->slotWindowQuickTileBottomRight();
--                break;
--            default:
--                break;
--            }
-         }
-     }
- }

Copied: deepin-kwin/repos/community-x86_64/new-kwin.patch (from rev 464012, deepin-kwin/trunk/new-kwin.patch)
===================================================================
--- new-kwin.patch	                        (rev 0)
+++ new-kwin.patch	2019-05-09 09:53:02 UTC (rev 464013)
@@ -0,0 +1,65 @@
+diff --git a/plugins/kwin-xcb/lib/kwinutils.cpp b/plugins/kwin-xcb/lib/kwinutils.cpp
+index 7a0bf5c..eca85e2 100644
+--- a/plugins/kwin-xcb/lib/kwinutils.cpp
++++ b/plugins/kwin-xcb/lib/kwinutils.cpp
+@@ -79,16 +79,6 @@ public:
+ public Q_SLOTS:
+     void slotWindowMove();
+     void slotWindowMaximize();
+-
+-    // kwin 5.8.6
+-    void slotWindowQuickTileLeft();
+-    void slotWindowQuickTileRight();
+-    void slotWindowQuickTileTop();
+-    void slotWindowQuickTileBottom();
+-    void slotWindowQuickTileTopLeft();
+-    void slotWindowQuickTileTopRight();
+-    void slotWindowQuickTileBottomLeft();
+-    void slotWindowQuickTileBottomRight();
+ };
+ class Scripting : public QObject {
+ public:
+@@ -388,43 +378,6 @@ void KWinUtils::QuickTileWindow(uint side)
+     if (ws) {
+         if (interface->quickTileWindow) {
+             interface->quickTileWindow(ws, (KWin::Workspace::QuickTileFlag)side);
+-        } else { // fallback for kwin 5.8.6
+-            switch ((KWin::Workspace::QuickTileFlag)side) {
+-            case KWin::Workspace::QuickTileFlag::Left:
+-                ws->slotWindowQuickTileLeft();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::Right:
+-                ws->slotWindowQuickTileRight();;
+-                break;
+-            case KWin::Workspace::QuickTileFlag::Top:
+-                ws->slotWindowQuickTileTop();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::Bottom:
+-                ws->slotWindowQuickTileBottom();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::Horizontal:
+-                ws->slotWindowQuickTileLeft();
+-                ws->slotWindowQuickTileRight();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::Vertical:
+-                ws->slotWindowQuickTileTop();
+-                ws->slotWindowQuickTileBottom();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::TopLeft:
+-                ws->slotWindowQuickTileTopLeft();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::TopRight:
+-                ws->slotWindowQuickTileTopRight();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::BottomLeft:
+-                ws->slotWindowQuickTileBottomLeft();
+-                break;
+-            case KWin::Workspace::QuickTileFlag::BottomRight:
+-                ws->slotWindowQuickTileBottomRight();
+-                break;
+-            default:
+-                break;
+-            }
+         }
+     }
+ }



More information about the arch-commits mailing list