From ab6fe566e57e1cfe6d8c149bb93ef20f38e12b81 Mon Sep 17 00:00:00 2001 From: KevinDuan Date: Tue, 21 Feb 2023 18:57:25 +0800 Subject: [PATCH] Update debian/unstable --- bioauth/src/giodbus.cpp | 2 +- debian/changelog | 2 +- debian/control | 1 - debian/source/format | 2 +- polkit-agent/CMakeLists.txt | 1 - polkit-agent/src/PolkitListener.cpp | 34 +++++++++++++++-------------- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bioauth/src/giodbus.cpp b/bioauth/src/giodbus.cpp index c7983ae..4d951f5 100644 --- a/bioauth/src/giodbus.cpp +++ b/bioauth/src/giodbus.cpp @@ -1,6 +1,6 @@ #include "giodbus.h" #include -#include +#include #include int get_server_gvariant_stdout (int drvid) diff --git a/debian/changelog b/debian/changelog index 40744a0..5c3b3bf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ukui-biometric-auth (3.22.0.0-ok3~1101) yangtze; urgency=medium +ukui-biometric-auth (3.22.0.0-ok3~1101) unstable; urgency=medium * 其他修改说明:修复编包问题,重新编包 diff --git a/debian/control b/debian/control index cec231e..a4a95fa 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,6 @@ Build-Depends: cmake (>= 2.6), qtbase5-dev, qttools5-dev, qttools5-dev-tools, - libkysdk-sysinfo-dev Standards-Version: 4.5.0 Rules-Requires-Root: no Homepage: https://github.com/ukui/ukui-biometric-auth diff --git a/debian/source/format b/debian/source/format index 89ae9db..163aaf8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt) diff --git a/polkit-agent/CMakeLists.txt b/polkit-agent/CMakeLists.txt index bdfcbf4..75bafe4 100644 --- a/polkit-agent/CMakeLists.txt +++ b/polkit-agent/CMakeLists.txt @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 2.6) project(ukui-polkit-agent) pkg_check_modules(QGS REQUIRED gsettings-qt) -pkg_check_modules(KDKINFO REQUIRED kysdk-sysinfo) find_package(PolkitQt5-1 REQUIRED 0.103.0) find_package(Qt5 COMPONENTS Core Widgets DBus X11Extras Xml Network Svg) diff --git a/polkit-agent/src/PolkitListener.cpp b/polkit-agent/src/PolkitListener.cpp index 1642cca..6a29100 100644 --- a/polkit-agent/src/PolkitListener.cpp +++ b/polkit-agent/src/PolkitListener.cpp @@ -35,7 +35,7 @@ #include "PolkitListener.h" #include "mainwindow.h" #include "generic.h" -#include +//#include PolkitListener::PolkitListener(QObject *parent) : Listener(parent), @@ -54,26 +54,28 @@ PolkitListener::~PolkitListener() bool PolkitListener::isMavis() { - char *prjName = kdk_system_get_projectName(); - if (prjName) { - QString strFeature = QString(prjName); - free(prjName); - if (!strFeature.isEmpty()) { - if(strFeature == "V10SP1-edu"){ - m_isSupportTableMode = true; - return true; - } - } - } + /*char *prjName = kdk_system_get_projectName(); + *if (prjName) { + * QString strFeature = QString(prjName); + * free(prjName); + * if (!strFeature.isEmpty()) { + * if(strFeature == "V10SP1-edu"){ + * m_isSupportTableMode = true; + * return true; + * } + * } + *} + */ return false; } bool PolkitListener::isSupportTableMode() { - unsigned int nFeature = kdk_system_get_productFeatures(); - if (nFeature&0x02) { // 支持平板模式 - return true; - } + /*unsigned int nFeature = kdk_system_get_productFeatures(); + *if (nFeature&0x02) { // 支持平板模式 + * return true; + *} + */ return false; }