1
0
Fork 0
Commit graph

14 commits

Author SHA1 Message Date
Patryk Obara
89af984362 Set default display units as px in svg icons
Also, remove Gnome template layer from small icons and fill the license
field.
2020-03-05 22:12:28 +01:00
Patryk Obara
c9d5f51142 Remove .ico LFS artifact from repo
Storing it as LFS artifact causes more problems than it's worth.
2020-03-05 22:12:28 +01:00
Patryk Obara
a68b44ee3f Document icons rendering for all OSes 2020-03-05 22:12:28 +01:00
Patryk Obara
efd5ca6ad4 Use rsvg-convert to render icons in all sizes
Remove pre-rendered icons, we don't need them any more. Vector designs
for small icons are grouped in small-svg directory - these are slightly
less detailed and adjusted to render more clearly in specific sizes.
2020-03-05 22:12:28 +01:00
Patryk Obara
e508702e4d Remove .icns file from repo
MacOS release builds should rebuild these icons during build instead.
2020-03-05 22:12:28 +01:00
Patryk Obara
fbeec78970 Store generated .ico and .icns files
macOS utilities for creating .icns file are non-deterministic and
the resulting file has different checksum each time the file is
re-generated. We don't want this to influence reproducibility of
builds in the future.

Windows is missing necessary native utilities for generating .ico
files out of .png sources.

It's also easier to just copy generated file during snapshot build.
2020-02-03 04:20:35 +01:00
Patryk Obara
a336b7a621 Track *.ico and *.icns files as LFS artefacts 2020-02-03 04:20:35 +01:00
Patryk Obara
b109495114 Add target for creating .ico file 2020-02-03 04:20:35 +01:00
Patryk Obara
b7180e0b3a Add makefile for creating .icns file
It's macOS specific and depends on pre-rendered icon in png format,
but it makes it easy to re-generate .icns file in the future.
2020-02-03 04:20:35 +01:00
Patryk Obara
45ad1b06a5 Add dosbox-staging icon
SVG icon as a source for other sizes, PNG icon 1024x1024 as source for
generating .icns file, and small 16x16 PNG icon.

Background circle uses size and colours recommended by Gnome HIG.
2020-02-03 04:20:35 +01:00
krcroft
fb300c3762 Use GNU make < 4.x define syntax
Versions of GNU make prior to verion 4 do not support
'define =' syntax, but do however support 'define' without
the equals operator.  This commit removes the equals operator
to ensure this Makefile is compatible with older versions
of GNU make.

Reported and tested on Windows XP-MinGW with GNU make 3.81
by @ant-222; thank you!
2020-01-19 21:09:28 +01:00
krcroft
7c4c246082 Make downloading more robust and helpful
This commit adds `wget` as a fall-back if `curl` fails.
Additionally, it lets the user override the curl and wget
arguments by passing `CURL_FLAGS="args"` and
`WGET_FLAGS="args"` to make.

If both curl and wget fail, it suggesting the user manually
fetch the files or try other curl or wget arguments.
2020-01-14 23:21:45 +01:00
krcroft
a852fe3eab Make MD docs comply with markdownlint 2020-01-07 19:28:12 +01:00
krcroft
17c4754c34 Contribute a static-opus builder 2019-11-28 09:41:43 +01:00