This commit is contained in:
Mouse Zhang 2023-02-14 17:11:23 +08:00
parent 1161dd3736
commit b22b9dbac5
6 changed files with 50 additions and 78 deletions

47
debian/control vendored
View File

@ -1,8 +1,9 @@
Source: ukui-search Source: ukui-search
Section: utils Section: utils
Priority: optional Priority: optional
Maintainer: zhangpengfei <zhangpengfei@kylinos.cn> Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Build-Depends: debhelper-compat (=12), Uploaders: MouseZhang <sendbypython@foxmail.com>
Build-Depends: debhelper-compat (=13),
pkgconf, pkgconf,
libgsettings-qt-dev, libgsettings-qt-dev,
qtbase5-dev, qtbase5-dev,
@ -29,10 +30,10 @@ Build-Depends: debhelper-compat (=12),
libukui-appwidget-qmlplugin0, libukui-appwidget-qmlplugin0,
qml-module-org-ukui-stylehelper, qml-module-org-ukui-stylehelper,
qtdeclarative5-dev qtdeclarative5-dev
Standards-Version: 4.5.0 Standards-Version: 4.6.1.0
Rules-Requires-Root: no Rules-Requires-Root: no
Homepage: https://www.ukui.org/ Homepage: https://www.ukui.org/
Vcs-Git: https://gitee.com/openkylin/ukui-search.git Vcs-Git: https://gitee.com/openkylin/ukui-search.git
Vcs-Browser: https://gitee.com/openkylin/ukui-search Vcs-Browser: https://gitee.com/openkylin/ukui-search
Package: ukui-search Package: ukui-search
@ -40,24 +41,17 @@ Architecture: any
Depends: ${misc:Depends}, Depends: ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
libukui-search2 (= ${binary:Version}), libukui-search2 (= ${binary:Version}),
Description: A user-wide desktop search feature of UKUI desktop environment. Description: A user-wide desktop search feature of UKUI desktop environment
.
A gui application that provides file search, A gui application that provides file search,
application search,settings search functions, application search,settings search functions,
and so on. and so on.
Replaces: ukui-search (<= 3.14.0.6-ok2~0720)
Breaks: ukui-search (<= 3.14.0.6-ok2~0720)
Package: libchinese-segmentation1 Package: libchinese-segmentation1
Section: libs Section: libs
Architecture: any Architecture: any
Depends: ${misc:Depends}, Depends: ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
Provides: libchinese-segmentation, Description: Libraries for chinese-segmentation
Replaces: libchinese-segmentation0
Breaks: libchinese-segmentation0
Description: Libraries for chinese-segmentation.
.
This package contains a few runtime libraries needed by This package contains a few runtime libraries needed by
libsearch. libsearch.
@ -68,8 +62,7 @@ Depends: ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
libchinese-segmentation1 (= ${binary:Version}), libchinese-segmentation1 (= ${binary:Version}),
Description: Libraries for chinese-segmentation(development files) Description: Libraries for chinese-segmentation(development files)
. This package contains NLP functions used by ukui-search.
This package contains NLP functions used by ukui-search.
Package: libukui-search2 Package: libukui-search2
Section: libs Section: libs
@ -79,15 +72,11 @@ Depends: ${misc:Depends},
libchinese-segmentation1 (= ${binary:Version}), libchinese-segmentation1 (= ${binary:Version}),
ukui-search-systemdbus (= ${binary:Version}) ukui-search-systemdbus (= ${binary:Version})
Provides: libukui-search, Provides: libukui-search,
Description: Libraries for ukui-search. Description: Libraries for ukui-search
. This package provides libraries for ukui-search,
This package provides libraries for ukui-search, and contains some binarys for search function implement,
and contains some binarys for search function implement, Which are ukui-search-service,ukui-search-app-data-service
Which are ukui-search-service,ukui-search-app-data-service and ukui-search-service-dir-manager.
and ukui-search-service-dir-manager.
Conflicts: ukui-search (<= 3.14.0.6-ok2~0720)
Replaces: ukui-search (<= 3.14.0.6-ok2~0720),libukui-search0
Breaks: ukui-search (<= 3.14.0.6-ok2~0720),libukui-search0
Package: libukui-search-dev Package: libukui-search-dev
Section: libdevel Section: libdevel
@ -95,16 +84,12 @@ Architecture: any
Depends: ${misc:Depends}, Depends: ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
libukui-search2 (= ${binary:Version}), libukui-search2 (= ${binary:Version}),
Replaces: libukui-search-dev (<= 3.14.0.6-ok2~0720) Description: Libraries for ukui-search(development files)
Breaks: libukui-search-dev (<= 3.14.0.6-ok2~0720) This package can be used to implement a gui application.
Description: Libraries for ukui-search(development files).
.
This package can be used to implement a gui application.
Package: ukui-search-systemdbus Package: ukui-search-systemdbus
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, Depends: ${shlibs:Depends},
${misc:Depends}, ${misc:Depends},
Description: Systembus interface to modify max_user_watches nums permanent. Description: Systembus interface to modify max_user_watches nums permanent
.
This package contains functions used when ukui-search want to modify some system settings. This package contains functions used when ukui-search want to modify some system settings.

15
debian/rules vendored
View File

@ -1,18 +1,5 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# See debhelper(7) (uncomment to enable) export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# see FEATURE AREAS in dpkg-buildflags(1)
# export QT_SELECT=5
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%: %:
dh $@ dh $@

View File

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

View File

@ -1,3 +1,3 @@
/usr/share/dbus-1/system-services/com.ukui.search.qt.systemdbus.service /usr/share/dbus-1/system-services/com.ukui.search.qt.systemdbus.service
/etc/dbus-1/system.d/com.ukui.search.qt.systemdbus.conf /usr/share/dbus-1/system.d/com.ukui.search.qt.systemdbus.conf
/usr/bin/ukui-search-systemdbus /usr/bin/ukui-search-systemdbus

View File

@ -1,33 +1,33 @@
/**************************************************************************** /***************************************************************************
**Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991 *Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991
** 2020, KylinSoft Co., Ltd. * 2020, KylinSoft Co., Ltd.
**All rights reserved. *All rights reserved.
** *
**License to copy and use this software is granted provided that it *License to copy and use this software is granted provided that it
**is identified as the "RSA Data Security, Inc. MD5 Message-Digest *is identified as the "RSA Data Security, Inc. MD5 Message-Digest
**Algorithm" in all material mentioning or referencing this software *Algorithm" in all material mentioning or referencing this software
**or this function. *or this function.
** *
**License is also granted to make and use derivative works provided *License is also granted to make and use derivative works provided
**that such works are identified as "derived from the RSA Data *that such works are identified as "derived from the RSA Data
**Security, Inc. MD5 Message-Digest Algorithm" in all material *Security, Inc. MD5 Message-Digest Algorithm" in all material
**mentioning or referencing the derived work. *mentioning or referencing the derived work.
** *
**RSA Data Security, Inc. makes no representations concerning either *RSA Data Security, Inc. makes no representations concerning either
**the merchantability of this software or the suitability of this *the merchantability of this software or the suitability of this
**software for any particular purpose. It is provided "as is" *software for any particular purpose. It is provided "as is"
**without express or implied warranty of any kind. *without express or implied warranty of any kind.
** *
**These notices must be retained in any copies of any part of this *These notices must be retained in any copies of any part of this
**documentation and/or software. *documentation and/or software.
** *
** *
** *
**The original md5 implementation avoids external libraries. *The original md5 implementation avoids external libraries.
**This version has dependency on stdio.h for file input and *This version has dependency on stdio.h for file input and
**string.h for memcpy. *string.h for memcpy.
** *
****************************************************************************/ ***************************************************************************/
#ifndef __MD5_H__ #ifndef __MD5_H__
#define __MD5_H__ #define __MD5_H__

View File

@ -15,7 +15,7 @@ INCLUDEPATH += .
inst1.files += conf/com.ukui.search.qt.systemdbus.service inst1.files += conf/com.ukui.search.qt.systemdbus.service
inst1.path = /usr/share/dbus-1/system-services/ inst1.path = /usr/share/dbus-1/system-services/
inst2.files += conf/com.ukui.search.qt.systemdbus.conf inst2.files += conf/com.ukui.search.qt.systemdbus.conf
inst2.path = /etc/dbus-1/system.d/ inst2.path = /usr/share/dbus-1/system.d
target.source += $$TARGET target.source += $$TARGET
target.path = /usr/bin target.path = /usr/bin