From 6187f55608ee81a7a374bd1db2c76fcf047a1800 Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Wed, 29 May 2024 13:19:55 +0800 Subject: [PATCH] build: add CSV-Analyzer It can plot value vs line number/ time value (for only known log formats), and value vs another value scatter graphs. Log: add software name--CSV-Analyzer --- io.github.CSV-Analyzer/linglong.yaml | 20 ++++++ .../patches/0001-install.patch | 64 +++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 io.github.CSV-Analyzer/linglong.yaml create mode 100644 io.github.CSV-Analyzer/patches/0001-install.patch diff --git a/io.github.CSV-Analyzer/linglong.yaml b/io.github.CSV-Analyzer/linglong.yaml new file mode 100644 index 000000000..322650474 --- /dev/null +++ b/io.github.CSV-Analyzer/linglong.yaml @@ -0,0 +1,20 @@ +package: + id: io.github.CSV-Analyzer + name: CSV-Analyzer + version: 1.0.3.1 + kind: app + description: | + It can plot value vs line number/ time value (for only known log formats), and value vs another value scatter graphs. + +runtime: + id: org.deepin.Runtime + version: 23.0.0 + +source: + kind: git + url: https://github.com/dd-sudo/CSV-Analyzer.git + commit: ba273f34c16fe38c3ab2798b0886912ce483b7d8 + patch: patches/0001-install.patch + +build: + kind: qmake \ No newline at end of file diff --git a/io.github.CSV-Analyzer/patches/0001-install.patch b/io.github.CSV-Analyzer/patches/0001-install.patch new file mode 100644 index 000000000..163857400 --- /dev/null +++ b/io.github.CSV-Analyzer/patches/0001-install.patch @@ -0,0 +1,64 @@ +From a89e84ec3f230072906e5aa5eacb42989f88741d Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Wed, 29 May 2024 13:05:11 +0800 +Subject: [PATCH] install + +--- + CsvAnalyzer.pro | 13 +++++++++++-- + images/CsvAnalyzer.desktop | 9 +++++++++ + 2 files changed, 20 insertions(+), 2 deletions(-) + create mode 100644 images/CsvAnalyzer.desktop + +diff --git a/CsvAnalyzer.pro b/CsvAnalyzer.pro +index 9cd6a40..9c20ed0 100644 +--- a/CsvAnalyzer.pro ++++ b/CsvAnalyzer.pro +@@ -1,4 +1,4 @@ +- ++ + QT += core gui printsupport opengl + android: QT += androidextras + windows: RC_ICONS += "images/analyzing_icon.ico" +@@ -40,7 +40,7 @@ FORMS += \ + + # Default rules for deployment. + qnx: target.path = /tmp/$${TARGET}/bin +-else: unix:!android: target.path = /opt/$${TARGET}/bin ++else: unix:!android: #target.path = /opt/$${TARGET}/bin + !isEmpty(target.path): INSTALLS += target + + RESOURCES += \ +@@ -57,6 +57,15 @@ DISTFILES += \ + + ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android + ++ ++ ++target.path = $$PREFIX/bin ++desktop.files = images/CsvAnalyzer.desktop ++desktop.path = $$PREFIX/share/applications/ ++icons.path = $$PREFIX/share/icons/hicolor/16X16/apps/ ++icons.files = images/analyzing.png ++ ++INSTALLS += target desktop icons + + + +diff --git a/images/CsvAnalyzer.desktop b/images/CsvAnalyzer.desktop +new file mode 100644 +index 0000000..6c4cc90 +--- /dev/null ++++ b/images/CsvAnalyzer.desktop +@@ -0,0 +1,9 @@ ++[Desktop Entry] ++Exec=CsvAnalyzer ++Name=CsvAnalyzer ++Icon=analyzing ++Categories=tools;Qt;Utility; ++StartupNotify=false ++Type=Application ++GenericName=CsvAnalyzer ++Version=1.0 +-- +2.43.4 +