[arch-commits] Commit in deepin-dock/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Mon Oct 26 20:27:27 UTC 2020
Date: Monday, October 26, 2020 @ 20:27:26
Author: felixonmars
Revision: 734054
archrelease: copy trunk to community-x86_64
Added:
deepin-dock/repos/community-x86_64/PKGBUILD
(from rev 734052, deepin-dock/trunk/PKGBUILD)
deepin-dock/repos/community-x86_64/deepin-dock-fix-build.patch
(from rev 734052, deepin-dock/trunk/deepin-dock-fix-build.patch)
Deleted:
deepin-dock/repos/community-x86_64/PKGBUILD
deepin-dock/repos/community-x86_64/deepin-dock-fix-build.patch
-----------------------------+
PKGBUILD | 80 +++++++++++-----------
deepin-dock-fix-build.patch | 152 +++++++++++++++++++++---------------------
2 files changed, 116 insertions(+), 116 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-26 20:27:23 UTC (rev 734053)
+++ PKGBUILD 2020-10-26 20:27:26 UTC (rev 734054)
@@ -1,40 +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-dock
-pkgver=5.2.0.18
-pkgrel=1
-pkgdesc='Deepin desktop-environment - dock module'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-dock"
-license=('GPL3')
-depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 'deepin-qt5integration'
- 'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-conflicts=('dde-dock')
-replaces=('dde-dock')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-dock/archive/$pkgver.tar.gz"
- deepin-dock-fix-build.patch
- https://github.com/linuxdeepin/dde-dock/commit/1611be8c849d19fab44de5eecc663a7c38575e70.patch)
-sha512sums=('e71262cc5440d1b8416741f258e3c71e435655d6209939af4bc733e314cd74b19d64687389d8d137485b9e847d327e9b337e28d0d25c4b82eb02ae867341a375'
- '38c3f683e10c70f54123d445b80831eb74830b27f265fccf7eb4037bfb0c96879bf25203e8e672ebe483e8cae291197dfac81296648f08548d61a7644c0076f9'
- 'f65a066dbbd27caec29e59dcb5f0328dd462cc5b86d4d899a10f04d9164c29729575230ab1be81f47ea4f4c9ee8bdeaa0a2b4d89fe82d30f8858509ebb2e289a')
-
-prepare() {
- cd dde-dock-$pkgver
- patch -p1 -i ../deepin-dock-fix-build.patch
- patch -p1 -i ../1611be8c849d19fab44de5eecc663a7c38575e70.patch
-}
-
-build() {
- cd dde-dock-$pkgver
- cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
- ninja
-}
-
-package() {
- cd dde-dock-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-dock/repos/community-x86_64/PKGBUILD (from rev 734052, deepin-dock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-26 20:27:26 UTC (rev 734054)
@@ -0,0 +1,40 @@
+# 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-dock
+pkgver=5.2.0.19
+pkgrel=1
+pkgdesc='Deepin desktop-environment - dock module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-dock"
+license=('GPL3')
+depends=('qt5-svg' 'deepin-menu' 'deepin-daemon' 'deepin-launcher' 'deepin-qt5integration'
+ 'deepin-qt-dbus-factory' 'deepin-network-utils' 'libdbusmenu-qt5')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+conflicts=('dde-dock')
+replaces=('dde-dock')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-dock/archive/$pkgver.tar.gz"
+ deepin-dock-fix-build.patch
+ https://github.com/linuxdeepin/dde-dock/commit/1611be8c849d19fab44de5eecc663a7c38575e70.patch)
+sha512sums=('792689c44c50b1d022d8ad10b1ca9f6036d1dbeec597240401b6e8d9620893ef3b31a9bce589091a6f3910d7553c16d56774f7a77a4f4dd1e1e541e005b2ea8e'
+ '38c3f683e10c70f54123d445b80831eb74830b27f265fccf7eb4037bfb0c96879bf25203e8e672ebe483e8cae291197dfac81296648f08548d61a7644c0076f9'
+ 'f65a066dbbd27caec29e59dcb5f0328dd462cc5b86d4d899a10f04d9164c29729575230ab1be81f47ea4f4c9ee8bdeaa0a2b4d89fe82d30f8858509ebb2e289a')
+
+prepare() {
+ cd dde-dock-$pkgver
+ patch -p1 -i ../deepin-dock-fix-build.patch
+ patch -p1 -i ../1611be8c849d19fab44de5eecc663a7c38575e70.patch
+}
+
+build() {
+ cd dde-dock-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
+ ninja
+}
+
+package() {
+ cd dde-dock-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
Deleted: deepin-dock-fix-build.patch
===================================================================
--- deepin-dock-fix-build.patch 2020-10-26 20:27:23 UTC (rev 734053)
+++ deepin-dock-fix-build.patch 2020-10-26 20:27:26 UTC (rev 734054)
@@ -1,76 +0,0 @@
-From b8d7f24ebe0d41c50436458e4aa8e06ff878dfd9 Mon Sep 17 00:00:00 2001
-From: yexin <yexin at uniontech.com>
-Date: Wed, 26 Aug 2020 15:30:09 +0800
-Subject: [PATCH] =?UTF-8?q?feat:=20ConnectDevice=E8=93=9D=E7=89=99?=
- =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E6=94=B9=E5=8F=98?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-新增蓝牙扫描结束3分钟后,点击列表项设备连接,连接设备接口新增蓝牙设备参数
-
-Log: ConnectDeviece蓝牙接口参数改变
-Task: https://pms.uniontech.com/zentao/task-view-33527.html
-Change-Id: Ia4d988d31f04307a4e67f95e49f39947cb59805d
-Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/2753
-Reviewed-by: <mailman at uniontech.com>
-Reviewed-by: wangwei <wangwei at uniontech.com>
-Reviewed-by: fanpengcheng <fanpengcheng at uniontech.com>
-Tested-by: <mailman at uniontech.com>
----
- plugins/bluetooth/componments/adapteritem.cpp | 4 +++-
- plugins/bluetooth/componments/adaptersmanager.cpp | 4 ++--
- plugins/bluetooth/componments/adaptersmanager.h | 2 +-
- plugins/bluetooth/componments/device.cpp | 8 ++++++++
- plugins/bluetooth/componments/device.h | 4 ++++
- plugins/bluetooth/componments/deviceitem.cpp | 2 ++
- 6 files changed, 20 insertions(+), 4 deletions(-)
-
-diff --git a/plugins/bluetooth/componments/adapteritem.cpp b/plugins/bluetooth/componments/adapteritem.cpp
-index 172c0168..5949c70a 100644
---- a/plugins/bluetooth/componments/adapteritem.cpp
-+++ b/plugins/bluetooth/componments/adapteritem.cpp
-@@ -299,7 +299,9 @@ void AdapterItem::createDeviceItem(Device *device)
- connect(device, &Device::stateChanged, deviceItem, &DeviceItem::changeState);
- connect(device, &Device::stateChanged, this, &AdapterItem::deviceChangeState);
- connect(device, &Device::rssiChanged, this, &AdapterItem::deviceRssiChanged);
-- connect(deviceItem, &DeviceItem::clicked, m_adaptersManager, &AdaptersManager::connectDevice);
-+ connect(deviceItem, &DeviceItem::clicked, m_adaptersManager, [this](Device *device){
-+ m_adaptersManager->connectDevice(device, m_adapter);
-+ });
- }
-
- void AdapterItem::updateView()
-diff --git a/plugins/bluetooth/componments/adaptersmanager.cpp b/plugins/bluetooth/componments/adaptersmanager.cpp
-index 623499a4..500e4233 100644
---- a/plugins/bluetooth/componments/adaptersmanager.cpp
-+++ b/plugins/bluetooth/componments/adaptersmanager.cpp
-@@ -134,13 +134,13 @@ void AdaptersManager::setAdapterPowered(const Adapter *adapter, const bool &powe
- // }
- //}
-
--void AdaptersManager::connectDevice(Device *device)
-+void AdaptersManager::connectDevice(Device *device, Adapter *adapter)
- {
- if (device) {
- QDBusObjectPath path(device->id());
- switch (device->state()) {
- case Device::StateUnavailable: {
-- m_bluetoothInter->ConnectDevice(path);
-+ m_bluetoothInter->ConnectDevice(path, QDBusObjectPath(adapter->id()));
- qDebug() << "connect to device: " << device->name();
- }
- break;
-diff --git a/plugins/bluetooth/componments/adaptersmanager.h b/plugins/bluetooth/componments/adaptersmanager.h
-index a179f39e..9e751db7 100644
---- a/plugins/bluetooth/componments/adaptersmanager.h
-+++ b/plugins/bluetooth/componments/adaptersmanager.h
-@@ -39,7 +39,7 @@ class AdaptersManager : public QObject
-
- void setAdapterPowered(const Adapter *adapter, const bool &powered);
- // void connectAllPairedDevice(const Adapter *adapter);
-- void connectDevice(Device *deviceId);
-+ void connectDevice(Device *device, Adapter *adapter);
- bool defaultAdapterInitPowerState();
- int adaptersCount();
- void adapterRefresh(const Adapter *adapter);
Copied: deepin-dock/repos/community-x86_64/deepin-dock-fix-build.patch (from rev 734052, deepin-dock/trunk/deepin-dock-fix-build.patch)
===================================================================
--- deepin-dock-fix-build.patch (rev 0)
+++ deepin-dock-fix-build.patch 2020-10-26 20:27:26 UTC (rev 734054)
@@ -0,0 +1,76 @@
+From b8d7f24ebe0d41c50436458e4aa8e06ff878dfd9 Mon Sep 17 00:00:00 2001
+From: yexin <yexin at uniontech.com>
+Date: Wed, 26 Aug 2020 15:30:09 +0800
+Subject: [PATCH] =?UTF-8?q?feat:=20ConnectDevice=E8=93=9D=E7=89=99?=
+ =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E6=94=B9=E5=8F=98?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+新增蓝牙扫描结束3分钟后,点击列表项设备连接,连接设备接口新增蓝牙设备参数
+
+Log: ConnectDeviece蓝牙接口参数改变
+Task: https://pms.uniontech.com/zentao/task-view-33527.html
+Change-Id: Ia4d988d31f04307a4e67f95e49f39947cb59805d
+Reviewed-on: http://gerrit.uniontech.com/c/dde-dock/+/2753
+Reviewed-by: <mailman at uniontech.com>
+Reviewed-by: wangwei <wangwei at uniontech.com>
+Reviewed-by: fanpengcheng <fanpengcheng at uniontech.com>
+Tested-by: <mailman at uniontech.com>
+---
+ plugins/bluetooth/componments/adapteritem.cpp | 4 +++-
+ plugins/bluetooth/componments/adaptersmanager.cpp | 4 ++--
+ plugins/bluetooth/componments/adaptersmanager.h | 2 +-
+ plugins/bluetooth/componments/device.cpp | 8 ++++++++
+ plugins/bluetooth/componments/device.h | 4 ++++
+ plugins/bluetooth/componments/deviceitem.cpp | 2 ++
+ 6 files changed, 20 insertions(+), 4 deletions(-)
+
+diff --git a/plugins/bluetooth/componments/adapteritem.cpp b/plugins/bluetooth/componments/adapteritem.cpp
+index 172c0168..5949c70a 100644
+--- a/plugins/bluetooth/componments/adapteritem.cpp
++++ b/plugins/bluetooth/componments/adapteritem.cpp
+@@ -299,7 +299,9 @@ void AdapterItem::createDeviceItem(Device *device)
+ connect(device, &Device::stateChanged, deviceItem, &DeviceItem::changeState);
+ connect(device, &Device::stateChanged, this, &AdapterItem::deviceChangeState);
+ connect(device, &Device::rssiChanged, this, &AdapterItem::deviceRssiChanged);
+- connect(deviceItem, &DeviceItem::clicked, m_adaptersManager, &AdaptersManager::connectDevice);
++ connect(deviceItem, &DeviceItem::clicked, m_adaptersManager, [this](Device *device){
++ m_adaptersManager->connectDevice(device, m_adapter);
++ });
+ }
+
+ void AdapterItem::updateView()
+diff --git a/plugins/bluetooth/componments/adaptersmanager.cpp b/plugins/bluetooth/componments/adaptersmanager.cpp
+index 623499a4..500e4233 100644
+--- a/plugins/bluetooth/componments/adaptersmanager.cpp
++++ b/plugins/bluetooth/componments/adaptersmanager.cpp
+@@ -134,13 +134,13 @@ void AdaptersManager::setAdapterPowered(const Adapter *adapter, const bool &powe
+ // }
+ //}
+
+-void AdaptersManager::connectDevice(Device *device)
++void AdaptersManager::connectDevice(Device *device, Adapter *adapter)
+ {
+ if (device) {
+ QDBusObjectPath path(device->id());
+ switch (device->state()) {
+ case Device::StateUnavailable: {
+- m_bluetoothInter->ConnectDevice(path);
++ m_bluetoothInter->ConnectDevice(path, QDBusObjectPath(adapter->id()));
+ qDebug() << "connect to device: " << device->name();
+ }
+ break;
+diff --git a/plugins/bluetooth/componments/adaptersmanager.h b/plugins/bluetooth/componments/adaptersmanager.h
+index a179f39e..9e751db7 100644
+--- a/plugins/bluetooth/componments/adaptersmanager.h
++++ b/plugins/bluetooth/componments/adaptersmanager.h
+@@ -39,7 +39,7 @@ class AdaptersManager : public QObject
+
+ void setAdapterPowered(const Adapter *adapter, const bool &powered);
+ // void connectAllPairedDevice(const Adapter *adapter);
+- void connectDevice(Device *deviceId);
++ void connectDevice(Device *device, Adapter *adapter);
+ bool defaultAdapterInitPowerState();
+ int adaptersCount();
+ void adapterRefresh(const Adapter *adapter);
More information about the arch-commits
mailing list