diff options
author | Ron Yorston <rmy@pobox.com> | 2018-03-27 11:57:40 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-03-27 12:19:30 +0100 |
commit | b7555409f60b9506cc3edb9fa3224dc051c027c6 (patch) | |
tree | 15cc1fc80214f37069eccde7c096c2ba0c4bc1ca /win32 | |
parent | 9440270c25553cccf941d838cd9b58ca28729741 (diff) | |
download | busybox-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_CCBYSA3 | 7 | ||||
-rw-r--r-- | win32/icon/Kbuild.src | 15 | ||||
-rw-r--r-- | win32/icon/README | 9 | ||||
-rw-r--r-- | win32/icon/aterm.ico | bin | 0 -> 15086 bytes | |||
-rw-r--r-- | win32/icon/dummy.c | 0 | ||||
-rw-r--r-- | win32/icon/icon.rc | 8 | ||||
-rw-r--r-- | win32/icon/sterm.ico | bin | 0 -> 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 @@ | |||
1 | This work is licenced under the Creative Commons Attribution-Share Alike 3.0 | ||
2 | United States License. To view a copy of this licence, visit | ||
3 | http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative | ||
4 | Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA. | ||
5 | |||
6 | When attributing the artwork, using "GNOME Project" is enough. | ||
7 | Please 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 | |||
7 | obj-y := | ||
8 | |||
9 | obj-$(CONFIG_FEATURE_ICON) += icon.o | ||
10 | |||
11 | quiet_cmd_windres = WINDRES $@ | ||
12 | cmd_windres = $(WINDRES) $< $@ | ||
13 | |||
14 | win32/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 @@ | |||
1 | The icons are based on those for GNOME terminal in the Adwaita theme. | ||
2 | |||
3 | They were generated by importing the 16x16, 32x32 and 48x48 PNG files | ||
4 | into GIMP as separate layers then exporting as a single .ico file. | ||
5 | |||
6 | The original files are dual-licensed under either the GNU LGPL v3 or | ||
7 | Creative Commons Attribution-Share Alike 3.0 United States License. | ||
8 | |||
9 | The .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 | ||
4 | 1 ICON "aterm.ico" | ||
5 | #endif | ||
6 | #if CONFIG_FEATURE_ICON_STERM || CONFIG_FEATURE_ICON_ALL | ||
7 | 2 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 | |||