Update debian/unstable
This commit is contained in:
parent
018b827722
commit
ab6fe566e5
|
@ -1,6 +1,6 @@
|
|||
#include "giodbus.h"
|
||||
#include <gio/gio.h>
|
||||
#include <gio-unix-2.0/gio/gunixfdlist.h>
|
||||
#include <gio/gunixfdlist.h>
|
||||
#include <glib.h>
|
||||
|
||||
int get_server_gvariant_stdout (int drvid)
|
||||
|
|
|
@ -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
|
||||
|
||||
* 其他修改说明:修复编包问题,重新编包
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
3.0 (native)
|
||||
3.0 (quilt)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "PolkitListener.h"
|
||||
#include "mainwindow.h"
|
||||
#include "generic.h"
|
||||
#include <libkysysinfo.h>
|
||||
//#include <libkysysinfo.h>
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue