aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xA/.gitignore1
-rw-r--r--xA/FyneApp.toml9
-rw-r--r--xA/Makefile6
-rw-r--r--xA/xA-highlighted.svg23
-rw-r--r--xA/xA.svg23
5 files changed, 52 insertions, 10 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg version="1.1" width="512" height="512" viewBox="0 0 512 512"
+ xmlns="http://www.w3.org/2000/svg">
+
+ <defs>
+ <linearGradient id="background" x1="0" y1="0" x2="0" y2="1">
+ <stop stop-color="#ffaa00" offset="0" />
+ <stop stop-color="#ffffff" offset="1" />
+ </linearGradient>
+ <clipPath id="clip">
+ <rect x="0" y="0" width="1" height="1" />
+ </clipPath>
+ </defs>
+
+ <rect x="0" y="0" width="512" height="512" fill="url(#background)" />
+
+ <g transform="translate(64, 64) scale(384)" stroke-linecap="square">
+ <g clip-path="url(#clip)">
+ <path stroke="#ff0000" stroke-width="0.125"
+ d="M 0.25,1.1 0.65,-0.1 M 0.75,1.1 0.35,-0.1 M 0.225,0.75 0.775,0.75" />
+ </g>
+ </g>
+</svg>
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 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg version="1.1" width="512" height="512" viewBox="0 0 512 512"
+ xmlns="http://www.w3.org/2000/svg">
+
+ <defs>
+ <linearGradient id="background" x1="0" y1="0" x2="0" y2="1">
+ <stop stop-color="#ffaa00" offset="0" />
+ <stop stop-color="#ff0000" offset="1" />
+ </linearGradient>
+ <clipPath id="clip">
+ <rect x="0" y="0" width="1" height="1" />
+ </clipPath>
+ </defs>
+
+ <rect x="0" y="0" width="512" height="512" fill="url(#background)" />
+
+ <g transform="translate(64, 64) scale(384)" stroke-linecap="square">
+ <g clip-path="url(#clip)">
+ <path stroke="#ffffff" stroke-width="0.125"
+ d="M 0.25,1.1 0.65,-0.1 M 0.75,1.1 0.35,-0.1 M 0.225,0.75 0.775,0.75" />
+ </g>
+ </g>
+</svg>