summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-22 13:04:11 +0100
committerxengineering <me@xengineering.eu>2023-01-22 13:04:11 +0100
commitefce80ac6cfb437d8519e80d99c0c1f15bcca524 (patch)
tree15f9c150d1cbca60eb6074ad74cdc6bb75ebc7c5
parent29e48e3e550fd8eec79be50c592850dec396f1ba (diff)
downloadlimox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.tar
limox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.tar.zst
limox-efce80ac6cfb437d8519e80d99c0c1f15bcca524.zip
Add initial icon
This will be needed for a GUI.
-rw-r--r--Makefile6
-rw-r--r--README.md1
-rw-r--r--icon.svg78
3 files changed, 84 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b422c10..7d5269a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,10 @@ _TESTS:=$(shell find ./tests/ -maxdepth 1 -type f -regex ".*\.c")
TESTS:=$(patsubst ./%.c,build/%,$(_TESTS))
LIMOX=build/limox
+GRAPHICS=build/icon.png
DOCS=build/docs/README.pdf build/docs/ROADMAP.pdf
-all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS)
+all: build $(OBJ) $(TESTS) $(LIMOX) $(DOCS) $(GRAPHICS)
build:
mkdir -p build/tests
@@ -20,6 +21,9 @@ $(LIMOX): $(OBJ) build/main.o
build/%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
+build/%.png: %.svg
+ inkscape $< -o $@ -w 256 -h 256
+
build/docs/%.pdf: %.md
pandoc -o $@ $<
diff --git a/README.md b/README.md
index ef65404..f5d3707 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,7 @@ Install these build dependencies:
- gcc
- pandoc
- texlive-core
+- inkscape
Install these runtime dependencies:
diff --git a/icon.svg b/icon.svg
new file mode 100644
index 0000000..7ec638e
--- /dev/null
+++ b/icon.svg
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ width="25mm"
+ height="25mm"
+ viewBox="0 0 25 25"
+ version="1.1"
+ id="svg5"
+ inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+ sodipodi:docname="icon.svg"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+ <sodipodi:namedview
+ id="namedview7"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:showpageshadow="2"
+ inkscape:pageopacity="0.0"
+ inkscape:pagecheckerboard="0"
+ inkscape:deskcolor="#d1d1d1"
+ inkscape:document-units="mm"
+ showgrid="true"
+ inkscape:zoom="7.6618306"
+ inkscape:cx="52.598396"
+ inkscape:cy="43.984267"
+ inkscape:window-width="1916"
+ inkscape:window-height="1021"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="layer1">
+ <inkscape:grid
+ type="xygrid"
+ id="grid29"
+ units="mm"
+ spacingx="0.99999997"
+ spacingy="0.99999997"
+ originx="0"
+ originy="0" />
+ </sodipodi:namedview>
+ <defs
+ id="defs2" />
+ <g
+ inkscape:label="Ebene 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ id="rect138"
+ style="fill:#00d400;stroke:#3e4837;stroke-width:0.5;stroke-dasharray:none;stroke-opacity:1"
+ d="M 4.4824137 0.99993896 C 3.3840342 0.99993896 2.5001058 1.8843842 2.5001058 2.9827637 L 2.5001058 19.017444 C 2.5001058 20.115823 3.3840342 20.999752 4.4824137 20.999752 L 9.0092692 20.999752 L 9.0371745 24.000085 L 12.024589 20.999752 L 20.517611 20.999752 C 21.61599 20.999752 22.499919 20.115823 22.499919 19.017444 L 22.499919 2.9827637 C 22.499919 1.8843842 21.61599 0.99993896 20.517611 0.99993896 L 4.4824137 0.99993896 z " />
+ <text
+ xml:space="preserve"
+ style="font-size:19.9005px;line-height:1.35;font-family:sans-serif;fill:#3e4837;stroke-width:0.207297"
+ x="6.5696516"
+ y="18.208956"
+ id="text3826"><tspan
+ sodipodi:role="line"
+ id="tspan3824"
+ style="fill:#3e4837;stroke-width:0.207297"
+ x="6.5696516"
+ y="18.208956" /></text>
+ <text
+ xml:space="preserve"
+ style="font-size:20.4778px;line-height:1.35;font-family:sans-serif;fill:#3e4837;stroke-width:0.21331"
+ x="6.1928329"
+ y="17.556303"
+ id="text3854"><tspan
+ sodipodi:role="line"
+ id="tspan3852"
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:20.4778px;font-family:FreeSerif;-inkscape-font-specification:'FreeSerif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#3e4837;stroke-width:0.21331"
+ x="6.1928329"
+ y="17.556303">L</tspan></text>
+ </g>
+</svg>