aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-27 11:57:40 +0100
committerRon Yorston <rmy@pobox.com>2018-03-27 12:19:30 +0100
commitb7555409f60b9506cc3edb9fa3224dc051c027c6 (patch)
tree15cc1fc80214f37069eccde7c096c2ba0c4bc1ca /win32
parent9440270c25553cccf941d838cd9b58ca28729741 (diff)
downloadbusybox-w32-b7555409f60b9506cc3edb9fa3224dc051c027c6.tar.gz
busybox-w32-b7555409f60b9506cc3edb9fa3224dc051c027c6.tar.bz2
busybox-w32-b7555409f60b9506cc3edb9fa3224dc051c027c6.zip
Allow icon resources to be included in the binary
Include two styles of icon from the GNOME Adwaita theme. These are enabled by default and add 30 Kbytes to the size of the binary.
Diffstat (limited to 'win32')
-rw-r--r--win32/icon/COPYING_CCBYSA37
-rw-r--r--win32/icon/Kbuild.src15
-rw-r--r--win32/icon/README9
-rw-r--r--win32/icon/aterm.icobin0 -> 15086 bytes
-rw-r--r--win32/icon/dummy.c0
-rw-r--r--win32/icon/icon.rc8
-rw-r--r--win32/icon/sterm.icobin0 -> 15086 bytes
7 files changed, 39 insertions, 0 deletions
diff --git a/win32/icon/COPYING_CCBYSA3 b/win32/icon/COPYING_CCBYSA3
new file mode 100644
index 000000000..fc45d7818
--- /dev/null
+++ b/win32/icon/COPYING_CCBYSA3
@@ -0,0 +1,7 @@
1This work is licenced under the Creative Commons Attribution-Share Alike 3.0
2United States License. To view a copy of this licence, visit
3http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
4Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA.
5
6When attributing the artwork, using "GNOME Project" is enough.
7Please link to http://www.gnome.org where available.
diff --git a/win32/icon/Kbuild.src b/win32/icon/Kbuild.src
new file mode 100644
index 000000000..bde74091f
--- /dev/null
+++ b/win32/icon/Kbuild.src
@@ -0,0 +1,15 @@
1# Makefile for busybox
2#
3# Copyright (C) 2018 by R M Yorston <rmy@pobox.com>
4#
5# Licensed under GPLv2, see file LICENSE in this source tree.
6
7obj-y :=
8
9obj-$(CONFIG_FEATURE_ICON) += icon.o
10
11quiet_cmd_windres = WINDRES $@
12 cmd_windres = $(WINDRES) $< $@
13
14win32/icon/icon.o: win32/icon/icon.rc .config
15 $(call cmd,windres)
diff --git a/win32/icon/README b/win32/icon/README
new file mode 100644
index 000000000..33a245386
--- /dev/null
+++ b/win32/icon/README
@@ -0,0 +1,9 @@
1The icons are based on those for GNOME terminal in the Adwaita theme.
2
3They were generated by importing the 16x16, 32x32 and 48x48 PNG files
4into GIMP as separate layers then exporting as a single .ico file.
5
6The original files are dual-licensed under either the GNU LGPL v3 or
7Creative Commons Attribution-Share Alike 3.0 United States License.
8
9The .ico files are licensed under the latter.
diff --git a/win32/icon/aterm.ico b/win32/icon/aterm.ico
new file mode 100644
index 000000000..e680216a2
--- /dev/null
+++ b/win32/icon/aterm.ico
Binary files differ
diff --git a/win32/icon/dummy.c b/win32/icon/dummy.c
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/win32/icon/dummy.c
diff --git a/win32/icon/icon.rc b/win32/icon/icon.rc
new file mode 100644
index 000000000..d91c4a482
--- /dev/null
+++ b/win32/icon/icon.rc
@@ -0,0 +1,8 @@
1#include "../../include/autoconf.h"
2
3#if CONFIG_FEATURE_ICON_ATERM || CONFIG_FEATURE_ICON_ALL
41 ICON "aterm.ico"
5#endif
6#if CONFIG_FEATURE_ICON_STERM || CONFIG_FEATURE_ICON_ALL
72 ICON "sterm.ico"
8#endif
diff --git a/win32/icon/sterm.ico b/win32/icon/sterm.ico
new file mode 100644
index 000000000..b9125b34d
--- /dev/null
+++ b/win32/icon/sterm.ico
Binary files differ