Update debian/unstable

This commit is contained in:
KevinDuan 2023-02-21 18:57:25 +08:00
parent 018b827722
commit ab6fe566e5
6 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
#include "giodbus.h" #include "giodbus.h"
#include <gio/gio.h> #include <gio/gio.h>
#include <gio-unix-2.0/gio/gunixfdlist.h> #include <gio/gunixfdlist.h>
#include <glib.h> #include <glib.h>
int get_server_gvariant_stdout (int drvid) int get_server_gvariant_stdout (int drvid)

2
debian/changelog vendored
View File

@ -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
* 其他修改说明:修复编包问题,重新编包 * 其他修改说明:修复编包问题,重新编包

1
debian/control vendored
View File

@ -15,7 +15,6 @@ Build-Depends: cmake (>= 2.6),
qtbase5-dev, qtbase5-dev,
qttools5-dev, qttools5-dev,
qttools5-dev-tools, qttools5-dev-tools,
libkysdk-sysinfo-dev
Standards-Version: 4.5.0 Standards-Version: 4.5.0
Rules-Requires-Root: no Rules-Requires-Root: no
Homepage: https://github.com/ukui/ukui-biometric-auth Homepage: https://github.com/ukui/ukui-biometric-auth

View File

@ -1 +1 @@
3.0 (native) 3.0 (quilt)

View File

@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 2.6)
project(ukui-polkit-agent) project(ukui-polkit-agent)
pkg_check_modules(QGS REQUIRED gsettings-qt) pkg_check_modules(QGS REQUIRED gsettings-qt)
pkg_check_modules(KDKINFO REQUIRED kysdk-sysinfo)
find_package(PolkitQt5-1 REQUIRED 0.103.0) find_package(PolkitQt5-1 REQUIRED 0.103.0)
find_package(Qt5 COMPONENTS Core Widgets DBus X11Extras Xml Network Svg) find_package(Qt5 COMPONENTS Core Widgets DBus X11Extras Xml Network Svg)

View File

@ -35,7 +35,7 @@
#include "PolkitListener.h" #include "PolkitListener.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "generic.h" #include "generic.h"
#include <libkysysinfo.h> //#include <libkysysinfo.h>
PolkitListener::PolkitListener(QObject *parent) PolkitListener::PolkitListener(QObject *parent)
: Listener(parent), : Listener(parent),
@ -54,26 +54,28 @@ PolkitListener::~PolkitListener()
bool PolkitListener::isMavis() bool PolkitListener::isMavis()
{ {
char *prjName = kdk_system_get_projectName(); /*char *prjName = kdk_system_get_projectName();
if (prjName) { *if (prjName) {
QString strFeature = QString(prjName); * QString strFeature = QString(prjName);
free(prjName); * free(prjName);
if (!strFeature.isEmpty()) { * if (!strFeature.isEmpty()) {
if(strFeature == "V10SP1-edu"){ * if(strFeature == "V10SP1-edu"){
m_isSupportTableMode = true; * m_isSupportTableMode = true;
return true; * return true;
} * }
} * }
} *}
*/
return false; return false;
} }
bool PolkitListener::isSupportTableMode() bool PolkitListener::isSupportTableMode()
{ {
unsigned int nFeature = kdk_system_get_productFeatures(); /*unsigned int nFeature = kdk_system_get_productFeatures();
if (nFeature&0x02) { // 支持平板模式 *if (nFeature&0x02) { // 支持平板模式
return true; * return true;
} *}
*/
return false; return false;
} }