Re: wince/perl.ico marked as binary
Nicholas Clark [Fri, 7 Sep 2001 13:54:40 +0000 (14:54 +0100)]
Message-ID: <20010907135439.D39150@plum.flirble.org>

and wince/Makefile.ce change from Rainer Keuchel.

p4raw-id: //depot/perl@11935

MANIFEST
wince/Makefile.ce
wince/makeico.pl [new file with mode: 0644]

index a7ba7b1..e97fd29 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -2313,6 +2313,7 @@ wince/include/sys/types.h         WinCE port
 wince/include/sys/utime.h              WinCE port
 wince/include/time.h                   WinCE port
 wince/Makefile.ce                      WinCE port
+wince/makeico.pl                       WinCE port
 wince/perl.rc                          WinCE port
 wince/perldll.def                      WinCE port
 wince/perllib.c                                WinCE port
index 36cbbb2..ab1f68d 100644 (file)
@@ -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 (file)
index 0000000..7b1d533
--- /dev/null
@@ -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