1
0
Fork 0
Commit graph

14 commits

Author SHA1 Message Date
Patryk Obara
00d5b23ef9 Add favicon targets to the contrib/icons/ makefile 2020-04-21 23:08:56 +02:00
Patryk Obara
a6da84d23e Add Linux desktop icons according to XDG spec
Change X11 Window WM_CLASS to 'dosbox-staging' to avoid conflicts with
upstream DOSBox, which might be provided by package manager.

Update .desktop file to specify WMClass to be correlated with
dosbox-staging process (even if executable file conflicts with dosbox
upstream).

Update contrib/icons/Makefile to generate 'hicolor' directory structure.
2020-04-15 23:55:48 +02:00
Patryk Obara
b3a3c5dfe5 Use new icon in Windows builds 2020-04-15 19:25:02 +02:00
Patryk Obara
43f1f3a87c Store pre-rendered icon in Windows .ico format
Windows lacks good tools for generating icons using scripts. At this
point we don't plan to further tweak icon design for the next release.
2020-04-15 19:25:02 +02:00
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