Delete libchinese-segmentation-dev pkg.

This commit is contained in:
iaom 2021-05-07 20:48:15 +08:00
parent 5c8f74f874
commit 1077958980
14 changed files with 19 additions and 36 deletions

8
debian/control vendored
View File

@ -44,14 +44,6 @@ 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.
Package: libchinese-segmentation-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
libchinese-segmentation0 (= ${binary:Version})
Description: Libraries for chinese-segmentation(development files).
Package: libukui-search0 Package: libukui-search0
Section: libs Section: libs
Architecture: any Architecture: any

View File

@ -1,2 +1,2 @@
usr/include/chinese-seg/* usr/include/chinese-seg/*
usr/lib/*.so usr/lib/*/libchinese-segmentation.so

View File

@ -1,2 +1,2 @@
usr/lib/*.so.* usr/lib/*/libchinese-segmentation.so.*
/usr/share/ukui-search/res/dict/*.utf8 /usr/share/ukui-search/res/dict/*.utf8

View File

@ -1,2 +1,2 @@
usr/include/ukui-search/* usr/include/ukui-search/*
usr/lib/*/*.so usr/lib/*/libukui-search.so

View File

@ -1 +1 @@
usr/lib/*/*.so.* usr/lib/*/libukui-search.so.*

View File

@ -35,14 +35,12 @@ INSTALLS += \
# Default rules for deployment. # Default rules for deployment.
unix { unix {
target.path = /usr/lib target.path = $$[QT_INSTALL_LIBS]
} }
!isEmpty(target.path): INSTALLS += target !isEmpty(target.path): INSTALLS += target
header.path = /usr/include/chinese-seg/ header.path = /usr/include/chinese-seg/
header.files += *.h header.files += *.h cppjieba/*
header_cppjieba.path = /usr/include/chinese-seg/cppjieba/
header_cppjieba.files = cppjieba/*
INSTALLS += header header_cppjieba INSTALLS += header header_cppjieba
#DISTFILES += \ #DISTFILES += \

View File

@ -19,7 +19,7 @@
*/ */
#include "construct-document.h" #include "construct-document.h"
#include "file-utils.h" #include "file-utils.h"
#include "chinese-seg/chinese-segmentation.h" #include "chinese-segmentation.h"
#include <QDebug> #include <QDebug>
#include <QThread> #include <QThread>
#include <QUrl> #include <QUrl>

View File

@ -28,7 +28,7 @@
#include "file-utils.h" #include "file-utils.h"
#include "index-generator.h" #include "index-generator.h"
#include "global-settings.h" #include "global-settings.h"
#include "chinese-seg/chinese-segmentation.h" #include "chinese-segmentation.h"
#include "construct-document.h" #include "construct-document.h"
#include <QStandardPaths> #include <QStandardPaths>

View File

@ -37,9 +37,9 @@
#include <QThread> #include <QThread>
#include <QUrl> #include <QUrl>
#include "../file-utils.h" #include "file-utils.h"
#include "../global-settings.h" #include "global-settings.h"
#include "chinese-seg/chinese-segmentation.h" #include "chinese-segmentation.h"
#define INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/index_data").toStdString() #define INDEX_PATH (QStandardPaths::writableLocation(QStandardPaths::HomeLocation)+"/.config/org.ukui/ukui-search/index_data").toStdString()

View File

@ -66,20 +66,13 @@ unix {
INSTALLS += target INSTALLS += target
header.path = /usr/include/ukui-search header.path = /usr/include/ukui-search
header.files += *.h header.files += *.h index/*.h appsearch/*.h settingsearch/*.h
header_index.path = /usr/include/ukui-search/index INSTALLS += header
header_index.files = index/*.h
header_appsearch.path = /usr/include/ukui-search/appsearch
header_appsearch.files = appsearch/*.h
header_settingsearch.path = /usr/include/ukui-search/settingsearch
header_settingsearch.files = settingsearch/*.h
INSTALLS += header header_index header_appsearch header_settingsearch
} }
INCLUDEPATH += $$PWD/../libchinese-segmentation
#INCLUDEPATH += $$PWD/../libchinese-segmentation DEPENDPATH += $$PWD/../libchinese-segmentation
#DEPENDPATH += $$PWD/../libchinese-segmentation
#DISTFILES += \ #DISTFILES += \
# ../translations/libsearch/libukui-search_zh_CN.ts # ../translations/libsearch/libukui-search_zh_CN.ts

View File

@ -25,7 +25,7 @@
#include <QDebug> #include <QDebug>
#include <QTextDocument> #include <QTextDocument>
#include <QAbstractTextDocumentLayout> #include <QAbstractTextDocumentLayout>
#include "ukui-search/global-settings.h" #include "global-settings.h"
using namespace Zeeker; using namespace Zeeker;
HighlightItemDelegate::HighlightItemDelegate(QObject *parent) : QStyledItemDelegate(parent) { HighlightItemDelegate::HighlightItemDelegate(QObject *parent) : QStyledItemDelegate(parent) {

View File

@ -25,7 +25,7 @@
#include <QLabel> #include <QLabel>
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QHBoxLayout> #include <QHBoxLayout>
#include "ukui-search/file-utils.h" #include "file-utils.h"
#include "search-list-view.h" #include "search-list-view.h"
namespace Zeeker { namespace Zeeker {

View File

@ -28,7 +28,7 @@
//#include <QWebEngineUrlRequestInterceptor> //#include <QWebEngineUrlRequestInterceptor>
#include <QDesktopServices> #include <QDesktopServices>
#include "option-view.h" #include "option-view.h"
#include "ukui-search/global-settings.h" #include "global-settings.h"
namespace Zeeker { namespace Zeeker {
class SearchDetailView : public QWidget { class SearchDetailView : public QWidget {

View File

@ -3,7 +3,7 @@
#include <QThread> #include <QThread>
#include <QObject> #include <QObject>
#include <QRunnable> #include <QRunnable>
#include "ukui-search/libsearch.h" #include "libsearch.h"
namespace Zeeker { namespace Zeeker {
class SearchAppThread : public QObject { class SearchAppThread : public QObject {