修改不产生shlibs文件问题,kysdk-system公用数据包

This commit is contained in:
shaozhimin 2022-06-24 14:35:58 +08:00
parent ed4982b599
commit f5c5b99189
19 changed files with 46 additions and 18 deletions

38
debian/control vendored
View File

@ -38,7 +38,8 @@ Depends: ${shlibs:Depends},
libkysdk-powermanagement,
systemd,
libkylin-activation,
libglib2.0-0
libglib2.0-0,
libkysdk-systemcommon
Multi-Arch: same
Description: 麒麟开发者套件 - 系统层套件提供系统信息、磁盘信息、系统时间等API与服务
@ -65,7 +66,8 @@ Architecture: any
Section: utils
Depends: ${shlibs:Depends},
${misc:Depends},
libkysdk-log
libkysdk-log,
libkysdk-systemcommon
Multi-Arch: same
Description: 系统磁盘信息获取库
@ -91,7 +93,8 @@ Depends: ${shlibs:Depends},
dbus,
systemd,
libglib2.0-0,
libkysdk-timer
libkysdk-timer,
libkysdk-systemcommon
Multi-Arch: same
Description: 系统时间相关操作库
@ -115,7 +118,8 @@ Depends: ${shlibs:Depends},
dbus,
libkylin-activation,
libglib2.0-0,
systemd
systemd,
libkysdk-systemcommon
Multi-Arch: same
Description: 系统信息获取库
@ -143,7 +147,8 @@ Depends: ${shlibs:Depends},
libkysdk-log,
libqt5core5a,
libkysdk-config,
systemd
systemd,
libkysdk-systemcommon
Multi-Arch: same
Description: 文件系统库
@ -167,7 +172,8 @@ Depends: ${shlibs:Depends},
${misc:Depends},
libkysdk-log,
libkysdk-config,
systemd
systemd,
libkysdk-systemcommon
Multi-Arch: same
Description: 硬件信息获取库
@ -187,7 +193,8 @@ Package: libkysdk-package
Architecture: any
Section: utils
Depends: ${shlibs:Depends},
${misc:Depends}
${misc:Depends},
libkysdk-systemcommon
Multi-Arch: same
Description: 包管理库
@ -204,7 +211,8 @@ Package: libkysdk-proc
Architecture: any
Section: utils
Depends: ${shlibs:Depends},
${misc:Depends}
${misc:Depends},
libkysdk-systemcommon
Multi-Arch: same
Description: 运行时信息获取库
@ -222,7 +230,8 @@ Architecture: any
Section: utils
Depends: ${shlibs:Depends},
${misc:Depends},
libkysdk-log
libkysdk-log,
libkysdk-systemcommon
Multi-Arch: same
Description: 电源管理库
@ -248,10 +257,19 @@ Depends: ${shlibs:Depends},
liblept5,
libarchive13,
libtesseract4,
libkysdk-systemcommon
Description: AI文字识别功能
Package: libkysdk-ocr-dev
Architecture: amd64 arm64 mips64el loongarch64
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends},libkysdk-ocr,libleptonica-dev,libopencv-dev,libarchive-dev,libtesseract-dev
Description: AI文字识别功能-开发库
Description: AI文字识别功能-开发库
Package: libkysdk-systemcommon
Architecture: any
Section: utils
Depends: ${shlibs:Depends},
${misc:Depends}
Multi-Arch: same
Description: kysdk-system层公用数据包

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkydiskinfo.so
usr/lib/kysdk/kysdk-system/libkydiskinfo.so*

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkyfilewatcher.so
usr/lib/kysdk/kysdk-system/libkyfilewatcher.so*

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkyhw.so
usr/lib/kysdk/kysdk-system/libkyhw.so*

View File

@ -1,3 +1,3 @@
usr/lib/kysdk/kysdk-system/libkyocr.so
usr/lib/kysdk/kysdk-system/libkyocr.so*
usr/lib/libpaddle_inference.so
src/kdkocr/models/* /etc/kdkocr/

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkypackage.so
usr/lib/kysdk/kysdk-system/libkypackage.so*

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkypowermanagement.so
usr/lib/kysdk/kysdk-system/libkypowermanagement.so*

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkyrtinfo.so
usr/lib/kysdk/kysdk-system/libkyrtinfo.so*

View File

@ -1 +1 @@
usr/lib/kysdk/kysdk-system/libkysysinfo.so
usr/lib/kysdk/kysdk-system/libkysysinfo.so*

1
debian/libkysdk-systemcommon.install vendored Normal file
View File

@ -0,0 +1 @@
development-files/kysdk-system.conf etc/ld.so.conf.d

View File

@ -0,0 +1 @@
/usr/lib/kysdk/kysdk-system

View File

@ -1,5 +1,6 @@
aux_source_directory(. SOURCESCODE)
add_library(kydiskinfo SHARED ${SOURCESCODE})
set_target_properties(kydiskinfo PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(test-getdiskinfo test/getdiskinfo.c)
add_executable(test-getdisklist test/getdisklist.c)
find_library(UDEV_LIB udev)

View File

@ -5,6 +5,7 @@ aux_source_directory(. SOURCECODE)
find_package(Qt5Core)
include_directories(${Qt5Core_INCLUDE_DIRS})
add_library(kyfilewatcher SHARED ${SOURCECODE})
set_target_properties(kyfilewatcher PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(kyfilewatcher-test test/kyfilewatcher-test.cpp)
target_link_libraries(kyfilewatcher kylog kyconf systemd pthread ${Qt5Core_LIBRARIES})
target_link_libraries(kyfilewatcher-test kyfilewatcher)

View File

@ -1,6 +1,7 @@
aux_source_directory(. SOURCESCODE)
include_directories(.)
add_library(kyhw SHARED ${SOURCESCODE})
set_target_properties(kyhw PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(kync-test test/kync-test.c)
add_executable(kycpu-test test/kycpu-test.c)
target_link_libraries(kyhw kylog kyconf pthread systemd)

View File

@ -168,6 +168,7 @@ if(CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "loongarch64")
else()
add_library(kyocr SHARED libkyocr.cpp ocr_main.cpp utility.cpp preprocess_op.cpp postprocess_op.cpp)
endif()
set_target_properties(kyocr PROPERTIES VERSION 1.2.0 SOVERSION 1)
#target_link_libraries(kdkOCR -lleptonica)
target_link_libraries(kyocr ${OpenCV_LIBS} ${DEPS})
target_link_libraries(kyocr ${kyocr_libraries})

View File

@ -1,6 +1,7 @@
aux_source_directory(. SOURCESCODE)
include_directories(.)
add_library(kypackage SHARED ${SOURCESCODE})
set_target_properties(kypackage PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(kypackage-test test/kypackage-test.c)
target_link_libraries(kypackage-test kypackage)

View File

@ -5,6 +5,7 @@ project(kypowermanagement LANGUAGES CXX)
set(POWERMANAGEMENT_TOP_DIR ${CMAKE_CURRENT_LIST_DIR})
add_library(${PROJECT_NAME} SHARED)
set_target_properties(kypowermanagement PROPERTIES VERSION 1.2.0 SOVERSION 1)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -g)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)

View File

@ -1,6 +1,7 @@
aux_source_directory(. SOURCESCODE)
include_directories(.)
add_library(kyrtinfo SHARED ${SOURCESCODE})
set_target_properties(kyrtinfo PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(kyrtinfo-test test/kyrtinfo-test.c)
target_link_libraries(kyrtinfo-test kyrtinfo)

View File

@ -4,6 +4,7 @@ find_library(GLIBC_LIB glib-2.0)
find_library(DBUS_LIB dbus-1)
find_library(DBUS_GLIB_LIB dbus-glib-1)
add_library(kysysinfo SHARED ${SOURCESCODE})
set_target_properties(kysysinfo PROPERTIES VERSION 1.2.0 SOVERSION 1)
add_executable(kysysinfo-test test/kysysinfo_test.c)
target_link_libraries(kysysinfo kylin-activation kylog systemd kyconf ${GLIBC_LIB} ${DBUS_LIB} ${DBUS_GLIB_LIB})
target_link_libraries(kysysinfo-test kysysinfo)