From 032c2478d1e725f86ee3f204bb9b661830c3a913 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 9 Nov 2024 16:07:16 +0100 Subject: WIP: xA: think up an icon --- xA/.gitignore | 1 + xA/FyneApp.toml | 9 --------- xA/Makefile | 6 +++++- xA/xA-highlighted.svg | 23 +++++++++++++++++++++++ xA/xA.svg | 23 +++++++++++++++++++++++ 5 files changed, 52 insertions(+), 10 deletions(-) delete mode 100644 xA/FyneApp.toml create mode 100644 xA/xA-highlighted.svg create mode 100644 xA/xA.svg diff --git a/xA/.gitignore b/xA/.gitignore index e969c1b..6870e07 100644 --- a/xA/.gitignore +++ b/xA/.gitignore @@ -1,2 +1,3 @@ /xY /proto.go +/FyneApp.toml diff --git a/xA/FyneApp.toml b/xA/FyneApp.toml deleted file mode 100644 index 985db13..0000000 --- a/xA/FyneApp.toml +++ /dev/null @@ -1,9 +0,0 @@ -[Details] -Name = 'xA' -ID = 'name.janouch.xA' -Version = '2.0.0' -Build = 1 - -[LinuxAndBSD] -GenericName = 'IRC Client' -Categories = ['Network'] diff --git a/xA/Makefile b/xA/Makefile index 0a1b90e..cd33028 100644 --- a/xA/Makefile +++ b/xA/Makefile @@ -1,14 +1,16 @@ .POSIX: .SUFFIXES: +.SUFFIXES: .png .svg AWK = env LC_ALL=C awk tools = ../liberty/tools -outputs = FyneApp.toml xA proto.go +outputs = FyneApp.toml xA proto.go xA.png xA-highlighted.png all: $(outputs) FyneApp.toml: ../xK-version printf "\ [Details]\n\ + Icon = 'xA.png'\n\ Name = 'xA'\n\ ID = 'name.janouch.xA'\n\ Version = '$$(cat ../xK-version)'\n\ @@ -17,6 +19,8 @@ FyneApp.toml: ../xK-version [LinuxAndBSD]\n\ GenericName = 'IRC Client'\n\ Categories = ['Network', 'Chat', 'IRCClient']\n" > $@ +.svg.png: + rsvg-convert --output=$@ -- $< xA: xA.go proto.go ../xK-version go build -ldflags "-X 'main.projectVersion=$$(cat ../xK-version)'" -o $@ \ -gcflags=all="-N -l" diff --git a/xA/xA-highlighted.svg b/xA/xA-highlighted.svg new file mode 100644 index 0000000..c1345ee --- /dev/null +++ b/xA/xA-highlighted.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/xA/xA.svg b/xA/xA.svg new file mode 100644 index 0000000..1e7bfd1 --- /dev/null +++ b/xA/xA.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2