Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build: add CSV-Analyzer
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wjyrich committed May 29, 2024
1 parent e7f01b2 commit ac9cf08
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
20 changes: 20 additions & 0 deletions io.github.CSV-Analyzer/linglong.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package:
id: io.github.CSV-Analyzer
name: CSV-Analyzer
version: 1.0.5
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
54 changes: 54 additions & 0 deletions io.github.CSV-Analyzer/patches/0001-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
From 8b14a24330019b4e62f49f78538a1e2de9da6d2b Mon Sep 17 00:00:00 2001
From: wjyrich <[email protected]>
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

0 comments on commit ac9cf08

Please sign in to comment.