From 967c314bb04a7f4edf6c54044b1b90405bfd4a36 Mon Sep 17 00:00:00 2001 From: wjyrich <1071633242@qq.com> Date: Wed, 29 May 2024 15:27:30 +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 | 21 ++++++++ .../patches/0001-install.patch | 54 +++++++++++++++++++ 2 files changed, 75 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..ab7caa34f --- /dev/null +++ b/io.github.CSV-Analyzer/linglong.yaml @@ -0,0 +1,21 @@ +package: + id: io.github.CSV-Analyzer + name: CSV-Analyzer + version: 1.0.4 + 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..b8f596b7d --- /dev/null +++ b/io.github.CSV-Analyzer/patches/0001-install.patch @@ -0,0 +1,54 @@ +From 8b14a24330019b4e62f49f78538a1e2de9da6d2b Mon Sep 17 00:00:00 2001 +From: wjyrich <1071633242@qq.com> +Date: Wed, 29 May 2024 14:58:36 +0800 +Subject: [PATCH] install + +--- + CsvAnalyzer.pro | 9 +++++++-- + images/CsvAnalyzer.desktop | 9 +++++++++ + 2 files changed, 16 insertions(+), 2 deletions(-) + create mode 100644 images/CsvAnalyzer.desktop + +diff --git a/CsvAnalyzer.pro b/CsvAnalyzer.pro +index 9cd6a40..eb9da0f 100644 +--- a/CsvAnalyzer.pro ++++ b/CsvAnalyzer.pro +@@ -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 += \ +@@ -58,5 +58,10 @@ 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 +