summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-09-07 14:54:40 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-07 12:52:06 +0000
commit476a6acb1053c01033b2b217bff49d6108d29591 (patch)
treeae9db94cabf7cf473bc3dc43c21c4767625630ab /wince
parent747502373fe23827883fc1fcd05ce678523a5476 (diff)
downloadperl-476a6acb1053c01033b2b217bff49d6108d29591.tar.gz
Re: wince/perl.ico marked as binary
Message-ID: <20010907135439.D39150@plum.flirble.org> and wince/Makefile.ce change from Rainer Keuchel. p4raw-id: //depot/perl@11935
Diffstat (limited to 'wince')
-rw-r--r--wince/Makefile.ce7
-rw-r--r--wince/makeico.pl45
2 files changed, 50 insertions, 2 deletions
diff --git a/wince/Makefile.ce b/wince/Makefile.ce
index 36cbbb2e94..ab1f68d45f 100644
--- a/wince/Makefile.ce
+++ b/wince/Makefile.ce
@@ -1,6 +1,6 @@
# perl makefile for wince
#
-# Time-stamp: <01/08/01 21:11:35 keuchel@w2k>
+# Time-stamp: <07/09/01 15:46:36 keuchel@keuchelnt>
SRCDIR = ..
PV = 57
@@ -847,7 +847,7 @@ $(ERRNO_PM): $(PERLEXE) $(ERRNO)_pm.PL
$(MAKE)
cd ..\..\wince
-$(PERLEXE_RES): perl.rc
+$(PERLEXE_RES): perl.rc perl.ico
rc $(RCDEFS) perl.rc
clean:
@@ -1066,3 +1066,6 @@ install:
cecopy pc:$(MACHINE)/perl.exe ce:/speicherkarte2/bin
cecopy pc:$(MACHINE)/perl$(PV).dll ce:/speicherkarte2/bin
!endif
+
+perl.ico:
+ perl makeico.pl
diff --git a/wince/makeico.pl b/wince/makeico.pl
new file mode 100644
index 0000000000..7b1d533fe0
--- /dev/null
+++ b/wince/makeico.pl
@@ -0,0 +1,45 @@
+open ICO, ">perl.ico" or die $!;
+while (<DATA>) {
+ chomp;
+ print ICO pack "H*", $_;
+}
+close ICO or die $!;
+
+# Create new hex data with
+# perl -wle 'binmode STDIN; $/ = \32; while (<>) {print unpack "H*", $_}' <perl.ico.orig
+# then place after __DATA__
+__DATA__
+000001000200101010000000000028010000260000002020100000000000e802
+00004e0100002800000010000000200000000100040000000000c00000000000
+0000000000000000000000000000000000000000800000800000008080008000
+00008000800080800000c0c0c000808080000000ff0000ff000000ffff00ff00
+0000ff00ff00ffff0000ffffff00000040000004000000000433334000000000
+003bb3000000000004b33b400000000044644644000000044ee44ee440000004
+eeeeeeee4000000eeeeeeeeee000000eeeeeeeeee000000eeeeeeeeee0000006
+eeeeefee60000000eeeeeeef000000000eeeeef0000000000066660000000000
+0000000000000000000000000000f00f0000f81f0000fc3f0000f81f0000f00f
+0000e0070000e0070000e0070000e0070000e0070000e0070000f00f0000f81f
+0000fc3f0000ffff0000ffff0000280000002000000040000000010004000000
+0000800200000000000000000000000000000000000000000000000080000080
+000000808000800000008000800080800000c0c0c000808080000000ff0000ff
+000000ffff00ff000000ff00ff00ffff0000ffffff0000000000044000004000
+00440000000000000000004444040404444000000000000000000004b3430343
+b400000000000000000000004bb333bb40000000000000000000000043bbbbb3
+4000000000000000000000004b3b3b3b400000000000000000000004bbb3b3bb
+b4000000000000000000004b444b3b444b40000000000000000004b46644b446
+64b400000000000000004b46e6e4b4e6e64b4000000000000004b46e6e64446e
+6e64b40000000000000446e6e6e646e6e6e644000000000000046e6e6e6e4eee
+ee6e6400000000000066e6e6eeee4eeeeeeee66000000000006e6e6eeeeeeeee
+eeeeee60000000000066e6eeeeeeeeeeeeeeee6000000000006e6eeeeeeeeeee
+eeeeee60000000000066eeeeeeeeeeeeeeeeee6000000000006e6eeeeeeeeeee
+feeeee60000000000066eeeeeeeeeeeefeeeef600000000000066eeeeeeeeeef
+feeee600000000000006eeeeeeeeefffeeeef6000000000000006eeeeeeeeeee
+eeef600000000000000006eeeeeeeeeeeef60000000000000000006eeeeeeeee
+ef60000000000000000000066eeeeeef66000000000000000000000006666666
+0000000000000000000000000000000000000000000000000000000000000000
+0000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000ff8000ffffc001ffffe0
+03fffff007fffff007fffff007ffffe003ffffc001ffff8000ffff00007ffe00
+003ffe00003ffe00003ffc00001ffc00001ffc00001ffc00001ffc00001ffc00
+001ffc00001ffe00003ffe00003fff00007fff8000ffffc001ffffe003fffff8
+0fffffffffffffffffffffffffffffffffffffffffff