diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-10 07:02:03 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-09-10 07:02:03 +0000 |
commit | 2e7712a526556ead476ead3083039417f7eba863 (patch) | |
tree | 08d39530aa68819d3b3b6dd2faa5809820d8f4a4 /tools/_deprecated | |
parent | 1c9438df505e5fb6d47d3bc2e806be352f1a573f (diff) |
- Old stuff moved to deprecated
git-svn-id: http://svn.miranda-ng.org/main/trunk@6039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/_deprecated')
82 files changed, 1357 insertions, 0 deletions
diff --git a/tools/_deprecated/installer_im/graphics/header.bmp b/tools/_deprecated/installer_im/graphics/header.bmp Binary files differnew file mode 100644 index 0000000000..a38da57046 --- /dev/null +++ b/tools/_deprecated/installer_im/graphics/header.bmp diff --git a/tools/_deprecated/installer_im/graphics/install.ico b/tools/_deprecated/installer_im/graphics/install.ico Binary files differnew file mode 100644 index 0000000000..dbca9ca6dc --- /dev/null +++ b/tools/_deprecated/installer_im/graphics/install.ico diff --git a/tools/_deprecated/installer_im/graphics/uninstall.ico b/tools/_deprecated/installer_im/graphics/uninstall.ico Binary files differnew file mode 100644 index 0000000000..d284adc9a2 --- /dev/null +++ b/tools/_deprecated/installer_im/graphics/uninstall.ico diff --git a/tools/_deprecated/installer_im/graphics/welcome.bmp b/tools/_deprecated/installer_im/graphics/welcome.bmp Binary files differnew file mode 100644 index 0000000000..7f1e8e7d6d --- /dev/null +++ b/tools/_deprecated/installer_im/graphics/welcome.bmp diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_AIM.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_AIM.dll Binary files differnew file mode 100644 index 0000000000..3a6c1bd3b5 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_AIM.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_GG.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_GG.dll Binary files differnew file mode 100644 index 0000000000..9d9a660653 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_GG.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_ICQ.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_ICQ.dll Binary files differnew file mode 100644 index 0000000000..98ddfd0d15 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_ICQ.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_IRC.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_IRC.dll Binary files differnew file mode 100644 index 0000000000..8332b384ba --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_IRC.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Jabber.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Jabber.dll Binary files differnew file mode 100644 index 0000000000..0857d9de6b --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Jabber.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_MSN.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_MSN.dll Binary files differnew file mode 100644 index 0000000000..57884e960f --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_MSN.dll diff --git a/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Yahoo.dll b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Yahoo.dll Binary files differnew file mode 100644 index 0000000000..9a16971a21 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/bin/hicolor/Proto_Yahoo.dll diff --git a/tools/_deprecated/installer_im/icons/i386pe-ico.x b/tools/_deprecated/installer_im/icons/i386pe-ico.x new file mode 100644 index 0000000000..6db53b6bc6 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/i386pe-ico.x @@ -0,0 +1,18 @@ +/* Default linker script, for normal executables */ +OUTPUT_FORMAT(pei-i386) +SECTIONS +{ + /* Make the virtual address and file offset synced if the alignment is + lower than the target page size. */ + . = SIZEOF_HEADERS; + . = ALIGN(__section_alignment__); + .rsrc __image_base__ + BLOCK(__section_alignment__) : + { + *(.rsrc) + *(SORT(.rsrc$*)) + } + /DISCARD/ : + { + *(.edata) + } +} diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Away.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Away.ico Binary files differnew file mode 100644 index 0000000000..9f668b4fe7 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_DND.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_DND.ico Binary files differnew file mode 100644 index 0000000000..0ace68680a --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_FFC.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_FFC.ico Binary files differnew file mode 100644 index 0000000000..f3ecc5fcc3 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Invisible.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Invisible.ico Binary files differnew file mode 100644 index 0000000000..932356b398 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Lunch.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Lunch.ico Binary files differnew file mode 100644 index 0000000000..7f6587e73c --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Lunch.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_NA.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_NA.ico Binary files differnew file mode 100644 index 0000000000..f6dc93b5ac --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Occupied.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Occupied.ico Binary files differnew file mode 100644 index 0000000000..f89c39625d --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Occupied.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Offline.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Offline.ico Binary files differnew file mode 100644 index 0000000000..54fabffaa7 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Online.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Online.ico Binary files differnew file mode 100644 index 0000000000..429afcc9ff --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Phone.ico b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Phone.ico Binary files differnew file mode 100644 index 0000000000..5c568d67bf --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/AIM/32_aim_Phone.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_Away.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Away.ico Binary files differnew file mode 100644 index 0000000000..a3df6d4e79 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_DND.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_DND.ico Binary files differnew file mode 100644 index 0000000000..5f98ae7ab8 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_FFC.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_FFC.ico Binary files differnew file mode 100644 index 0000000000..d145072f08 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_Invisible.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Invisible.ico Binary files differnew file mode 100644 index 0000000000..a6949e34f9 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_NA.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_NA.ico Binary files differnew file mode 100644 index 0000000000..a0b460624c --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_Offline.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Offline.ico Binary files differnew file mode 100644 index 0000000000..f4093b78cc --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/GG/32_gg_Online.ico b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Online.ico Binary files differnew file mode 100644 index 0000000000..acbba11077 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/GG/32_gg_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Away.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Away.ico Binary files differnew file mode 100644 index 0000000000..248a3e9916 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_DND.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_DND.ico Binary files differnew file mode 100644 index 0000000000..4833160eac --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_FFC.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_FFC.ico Binary files differnew file mode 100644 index 0000000000..e7ec4d3ae2 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Invisible.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Invisible.ico Binary files differnew file mode 100644 index 0000000000..42f80a84cc --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Lunch.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Lunch.ico Binary files differnew file mode 100644 index 0000000000..e88dd35a2e --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Lunch.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_NA.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_NA.ico Binary files differnew file mode 100644 index 0000000000..ec0621dc9f --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Occupied.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Occupied.ico Binary files differnew file mode 100644 index 0000000000..04ea2a5855 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Occupied.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Offline.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Offline.ico Binary files differnew file mode 100644 index 0000000000..af862168cd --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Online.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Online.ico Binary files differnew file mode 100644 index 0000000000..2e33305a76 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Phone.ico b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Phone.ico Binary files differnew file mode 100644 index 0000000000..74c80b66ed --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/ICQ/32_icq_Phone.ico diff --git a/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Away.ico b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Away.ico Binary files differnew file mode 100644 index 0000000000..a2391df85e --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Offline.ico b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Offline.ico Binary files differnew file mode 100644 index 0000000000..a521360232 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Online.ico b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Online.ico Binary files differnew file mode 100644 index 0000000000..37b885a806 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/IRC/32_irc_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Away.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Away.ico Binary files differnew file mode 100644 index 0000000000..fc97a61763 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_DND.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_DND.ico Binary files differnew file mode 100644 index 0000000000..026c7256a7 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_FFC.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_FFC.ico Binary files differnew file mode 100644 index 0000000000..dbc899c02a --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Invisible.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Invisible.ico Binary files differnew file mode 100644 index 0000000000..9b6cc549e1 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Lunch.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Lunch.ico Binary files differnew file mode 100644 index 0000000000..aad1ab9791 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Lunch.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_NA.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_NA.ico Binary files differnew file mode 100644 index 0000000000..c23f527379 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Occupied.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Occupied.ico Binary files differnew file mode 100644 index 0000000000..ed8697bea3 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Occupied.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Offline.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Offline.ico Binary files differnew file mode 100644 index 0000000000..e86406abbc --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Online.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Online.ico Binary files differnew file mode 100644 index 0000000000..0d3b5e0ce2 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Phone.ico b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Phone.ico Binary files differnew file mode 100644 index 0000000000..b66544261c --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/JABBER/32_jabber_Phone.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Away.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Away.ico Binary files differnew file mode 100644 index 0000000000..7d058cea73 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_DND.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_DND.ico Binary files differnew file mode 100644 index 0000000000..c59387be4d --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_FFC.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_FFC.ico Binary files differnew file mode 100644 index 0000000000..1f8a5b199f --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Invisible.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Invisible.ico Binary files differnew file mode 100644 index 0000000000..b54168cc94 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Lunch.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Lunch.ico Binary files differnew file mode 100644 index 0000000000..712bac8b31 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Lunch.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_NA.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_NA.ico Binary files differnew file mode 100644 index 0000000000..790436c42d --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Occupied.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Occupied.ico Binary files differnew file mode 100644 index 0000000000..7699d5bd16 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Occupied.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Offline.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Offline.ico Binary files differnew file mode 100644 index 0000000000..dffd80e7a0 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Online.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Online.ico Binary files differnew file mode 100644 index 0000000000..818824f3a0 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Phone.ico b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Phone.ico Binary files differnew file mode 100644 index 0000000000..01a806af22 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/MSN/32_msn_Phone.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Away.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Away.ico Binary files differnew file mode 100644 index 0000000000..82d132c8d3 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Away.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_DND.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_DND.ico Binary files differnew file mode 100644 index 0000000000..f6357e08bc --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_DND.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_FFC.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_FFC.ico Binary files differnew file mode 100644 index 0000000000..e213ec5f59 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_FFC.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Invisible.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Invisible.ico Binary files differnew file mode 100644 index 0000000000..8e2c4744f5 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Invisible.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Lunch.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Lunch.ico Binary files differnew file mode 100644 index 0000000000..9dc1968611 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Lunch.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_NA.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_NA.ico Binary files differnew file mode 100644 index 0000000000..534691e78b --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_NA.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Occupied.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Occupied.ico Binary files differnew file mode 100644 index 0000000000..0e7fd434a3 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Occupied.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Offline.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Offline.ico Binary files differnew file mode 100644 index 0000000000..fd0d04104e --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Offline.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Online.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Online.ico Binary files differnew file mode 100644 index 0000000000..1d559e0676 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Online.ico diff --git a/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Phone.ico b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Phone.ico Binary files differnew file mode 100644 index 0000000000..9279d34c86 --- /dev/null +++ b/tools/_deprecated/installer_im/icons/res/YAHOO/32_yahoo_Phone.ico diff --git a/tools/_deprecated/installer_im/icons/resource.rc b/tools/_deprecated/installer_im/icons/resource.rc new file mode 100644 index 0000000000..19c1ccd32d --- /dev/null +++ b/tools/_deprecated/installer_im/icons/resource.rc @@ -0,0 +1,150 @@ +#include <windows.h>
+
+#define IDI_OFFLINE 105
+#define IDI_ONLINE 104
+#define IDI_AWAY 128
+#define IDI_INVISIBLE 130
+#define IDI_NA 131
+#define IDI_DND 158
+#define IDI_OCCUPIED 159
+#define IDI_FREE4CHAT 129
+#define IDI_OUTTOLUNCH 1003
+#define IDI_ONTHEPHONE 1002
+
+#ifdef ICO_AIMHI
+IDI_OFFLINE ICON DISCARDABLE "res\\AIM\\32_aim_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\AIM\\32_aim_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\AIM\\32_aim_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\AIM\\32_aim_Invisible.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\AIM\\32_aim_Phone.ico"
+#endif
+
+#ifdef ICO_AIMLO
+IDI_OFFLINE ICON DISCARDABLE "res\\AIM\\8_aim_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\AIM\\8_aim_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\AIM\\8_aim_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\AIM\\8_aim_Invisible.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\AIM\\8_aim_Phone.ico"
+#endif
+
+#ifdef ICO_GGHI
+IDI_OFFLINE ICON DISCARDABLE "res\\GG\\32_gg_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\GG\\32_gg_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\GG\\32_gg_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\GG\\32_gg_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\GG\\32_gg_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\GG\\32_gg_DND.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\GG\\32_gg_FFC.ico"
+#endif
+
+#ifdef ICO_GGLO
+IDI_OFFLINE ICON DISCARDABLE "res\\GG\\8_gg_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\GG\\8_gg_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\GG\\8_gg_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\GG\\8_gg_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\GG\\8_gg_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\GG\\8_gg_DND.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\GG\\8_gg_FFC.ico"
+#endif
+
+#ifdef ICO_ICQHI
+IDI_OFFLINE ICON DISCARDABLE "res\\ICQ\\32_icq_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\ICQ\\32_icq_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\ICQ\\32_icq_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\ICQ\\32_icq_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\ICQ\\32_icq_Na.ico"
+IDI_DND ICON DISCARDABLE "res\\ICQ\\32_icq_Dnd.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\ICQ\\32_icq_Occupied.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\ICQ\\32_icq_FFC.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\ICQ\\32_icq_Phone.ico"
+#endif
+
+#ifdef ICO_ICQLO
+IDI_OFFLINE ICON DISCARDABLE "res\\ICQ\\8_icq_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\ICQ\\8_icq_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\ICQ\\8_icq_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\ICQ\\8_icq_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\ICQ\\8_icq_Na.ico"
+IDI_DND ICON DISCARDABLE "res\\ICQ\\8_icq_Dnd.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\ICQ\\8_icq_Occupied.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\ICQ\\8_icq_FFC.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\ICQ\\8_icq_Phone.ico"
+#endif
+
+#ifdef ICO_IRCHI
+IDI_OFFLINE ICON DISCARDABLE "res\\IRC\\32_irc_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\IRC\\32_irc_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\IRC\\32_irc_Away.ico"
+#endif
+
+#ifdef ICO_IRCLO
+IDI_OFFLINE ICON DISCARDABLE "res\\IRC\\8_irc_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\IRC\\8_irc_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\IRC\\8_irc_Away.ico"
+#endif
+
+#ifdef ICO_JABBERHI
+IDI_OFFLINE ICON DISCARDABLE "res\\JABBER\\32_jabber_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\JABBER\\32_jabber_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\JABBER\\32_jabber_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\JABBER\\32_jabber_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\JABBER\\32_jabber_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\JABBER\\32_jabber_DND.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\JABBER\\32_jabber_FFC.ico"
+#endif
+
+#ifdef ICO_JABBERLO
+IDI_OFFLINE ICON DISCARDABLE "res\\JABBER\\8_jabber_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\JABBER\\8_jabber_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\JABBER\\8_jabber_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\JABBER\\8_jabber_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\JABBER\\8_jabber_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\JABBER\\8_jabber_DND.ico"
+IDI_FREE4CHAT ICON DISCARDABLE "res\\JABBER\\8_jabber_FFC.ico"
+#endif
+
+#ifdef ICO_MSNHI
+IDI_OFFLINE ICON DISCARDABLE "res\\MSN\\32_msn_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\MSN\\32_msn_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\MSN\\32_msn_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\MSN\\32_msn_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\MSN\\32_msn_NA.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\MSN\\32_msn_Occupied.ico"
+IDI_OUTTOLUNCH ICON DISCARDABLE "res\\MSN\\32_msn_Lunch.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\MSN\\32_msn_Phone.ico"
+#endif
+
+#ifdef ICO_MSNLO
+IDI_OFFLINE ICON DISCARDABLE "res\\MSN\\8_msn_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\MSN\\8_msn_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\MSN\\8_msn_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\MSN\\8_msn_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\MSN\\8_msn_NA.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\MSN\\8_msn_Occupied.ico"
+IDI_OUTTOLUNCH ICON DISCARDABLE "res\\MSN\\8_msn_Lunch.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\MSN\\8_msn_Phone.ico"
+#endif
+
+#ifdef ICO_YAHOOHI
+IDI_OFFLINE ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\YAHOO\\32_yahoo_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\YAHOO\\32_yahoo_DND.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Occupied.ico"
+IDI_OUTTOLUNCH ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Lunch.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\YAHOO\\32_yahoo_Phone.ico"
+#endif
+
+#ifdef ICO_YAHOOLO
+IDI_OFFLINE ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Offline.ico"
+IDI_ONLINE ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Online.ico"
+IDI_AWAY ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Away.ico"
+IDI_INVISIBLE ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Invisible.ico"
+IDI_NA ICON DISCARDABLE "res\\YAHOO\\8_yahoo_NA.ico"
+IDI_DND ICON DISCARDABLE "res\\YAHOO\\8_yahoo_DND.ico"
+IDI_OCCUPIED ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Occupied.ico"
+IDI_OUTTOLUNCH ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Lunch.ico"
+IDI_ONTHEPHONE ICON DISCARDABLE "res\\YAHOO\\8_yahoo_Phone.ico"
+#endif
diff --git a/tools/_deprecated/installer_im/miranda-core.nsi b/tools/_deprecated/installer_im/miranda-core.nsi new file mode 100644 index 0000000000..90ee6ce249 --- /dev/null +++ b/tools/_deprecated/installer_im/miranda-core.nsi @@ -0,0 +1,390 @@ +!include "MUI.nsh"
+!include "Sections.nsh"
+!include "WinVer.nsh"
+!include "LogicLib.nsh"
+
+!include "miranda-version.nsi"
+
+!define MIM_NAME "Miranda IM"
+
+!define MIM_BUILD_ICONS_LOW "icons\bin\locolor"
+!define MIM_BUILD_ICONS_HI "icons\bin\hicolor"
+!define MIM_BUILD_OPTIONS_FILE "miranda32.lst"
+!define MIM_BUILD_OPTIONS_SECT "InstalledSections"
+
+!ifdef MIM_BUILD_UNICODE
+!define MIM_BUILD_TYPE "unicode"
+!define MIM_BUILD_DIR "..\..\miranda\bin\Release Unicode"
+!else
+!define MIM_BUILD_TYPE "ansi"
+!define MIM_BUILD_DIR "..\..\miranda\bin\Release"
+!endif
+!define MIM_BUILD_DIRANSI "..\..\miranda\bin\Release"
+!define MIM_BUILD_SRC "..\..\miranda"
+
+
+!if ${MIM_BETA} != 0
+Name "${MIM_NAME} ${MIM_VERSION} Beta ${MIM_BETA}"
+!if ${MIM_BUILD_TYPE} = "unicode"
+OutFile "..\..\miranda\bin\miranda-im-v${MIM_VERSION}b${MIM_BETA}w.exe"
+!else
+OutFile "..\..\miranda\bin\miranda-im-v${MIM_VERSION}b${MIM_BETA}.exe"
+!endif
+!else
+Name "${MIM_NAME} ${MIM_VERSION}"
+OutFile "..\..\miranda\bin\miranda-im-v${MIM_VERSION}-${MIM_BUILD_TYPE}.exe"
+!endif
+
+InstallDir "$PROGRAMFILES\Miranda IM"
+InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\miranda32.exe" "Path"
+SetCompressor lzma
+SetOverWrite on
+BrandingText "www.miranda-im.org"
+
+VAR INST_UPGRADE
+VAR INST_SUCCESS
+VAR INST_MODE
+VAR INST_DIR
+
+!define MUI_HEADERIMAGE
+!define MUI_HEADERIMAGE_BITMAP "Graphics\header.bmp"
+!define MUI_HEADERIMAGE_UNBITMAP "Graphics\header.bmp"
+!define MUI_WELCOMEFINISHPAGE_BITMAP "Graphics\welcome.bmp"
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP "Graphics\welcome.bmp"
+!define MUI_ICON "Graphics\install.ico"
+!define MUI_UNICON "Graphics\uninstall.ico"
+!define MUI_ABORTWARNING
+!define MUI_COMPONENTSPAGE_NODESC
+!define MUI_LICENSEPAGE_BGCOLOR /grey
+!define MUI_FINISHPAGE_RUN $INSTDIR\miranda32.exe
+!define MUI_FINISHPAGE_RUN_TEXT "Start Miranda IM"
+!define MUI_FINISHPAGE_SHOWREADME $INSTDIR\readme.txt
+!define MUI_FINISHPAGE_SHOWREADME_TEXT "View Readme"
+!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
+!define MUI_FINISHPAGE_LINK "Support Miranda IM"
+!define MUI_FINISHPAGE_LINK_LOCATION "http://www.miranda-im.org/donate/"
+
+!insertmacro MUI_PAGE_LICENSE "${MIM_BUILD_SRC}\docs\license.txt"
+Page Custom CustomInstallPage CustomInstallPageLeave
+!define MUI_DIRECTORYPAGE_VARIABLE $INST_DIR
+!define MUI_PAGE_CUSTOMFUNCTION_LEAVE VerifyInstallDir
+!define MUI_PAGE_CUSTOMFUNCTION_PRE VerifyDirectoryDisplay
+!insertmacro MUI_PAGE_DIRECTORY
+!define MUI_PAGE_CUSTOMFUNCTION_PRE VerifyComponentDisplay
+!insertmacro MUI_PAGE_COMPONENTS
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+
+!insertmacro MUI_LANGUAGE "English"
+
+!macro PrintInstallerDetails Details
+ SetDetailsPrint textonly
+ DetailPrint "${Details}"
+ SetDetailsPrint listonly
+!macroend
+
+!macro InstallMirandaProtoIcon IconFile
+ SetOutPath "$INSTDIR\Icons"
+ SetOverWrite off
+ !ifdef MIM_BUILD_UNICODE
+ ${If} ${AtLeastWinXP}
+ File "${MIM_BUILD_ICONS_HI}\proto_${IconFile}.dll"
+ ${Else}
+ File "${MIM_BUILD_ICONS_LOW}\proto_${IconFile}.dll"
+ ${EndIf}
+ !else
+ File "${MIM_BUILD_ICONS_LOW}\proto_${IconFile}.dll"
+ !endif
+ SetOverWrite on
+!macroend
+
+!macro InstallMirandaPlugin PluginFile
+ SetOutPath "$INSTDIR\Plugins"
+ File "${MIM_BUILD_DIR}\plugins\${PluginFile}"
+!macroend
+
+!macro InstallMirandaPluginANSI PluginFile
+ SetOutPath "$INSTDIR\Plugins"
+ File "${MIM_BUILD_DIRANSI}\plugins\${PluginFile}"
+!macroend
+
+!macro WriteInstallerOption IniOption IniValue
+ ${If} $INST_MODE = 0
+ SetOutPath "$INSTDIR"
+ WriteINIStr "$INSTDIR\${MIM_BUILD_OPTIONS_FILE}" "${MIM_BUILD_OPTIONS_SECT}" "${IniValue}" "${IniOption}"
+ ${EndIf}
+!macroend
+
+Section "Miranda IM (core)"
+ SectionIn RO
+ !insertmacro PrintInstallerDetails "Installing Miranda IM Core Files..."
+
+ !insertmacro WriteInstallerOption "0" "Import"
+ !insertmacro WriteInstallerOption "0" "StartMenuShortCut"
+ !insertmacro WriteInstallerOption "0" "DesktopShortCut"
+ !insertmacro WriteInstallerOption "0" "QuickLaunchShortCut"
+
+ SetOutPath "$INSTDIR"
+ File "${MIM_BUILD_DIR}\miranda32.exe"
+ File "${MIM_BUILD_DIR}\dbtool.exe"
+ File "${MIM_BUILD_DIR}\zlib.dll"
+ File "${MIM_BUILD_SRC}\docs\contributors.txt"
+ File "${MIM_BUILD_SRC}\docs\readme.txt"
+ File "${MIM_BUILD_SRC}\docs\changelog.txt"
+ File "${MIM_BUILD_SRC}\docs\license.txt"
+
+ ${If} $INST_UPGRADE = 0
+ SetOverWrite off
+ File "${MIM_BUILD_SRC}\docs\mirandaboot.ini"
+ SetOverWrite on
+ ${EndIf}
+ ${If} ${FileExists} "$INSTDIR\mirandaboot.ini"
+ ${If} $INST_UPGRADE = 0
+ ${If} $INST_MODE = 0
+ !ifdef MIM_BUILD_UNICODE
+ WriteINIStr "$INSTDIR\mirandaboot.ini" "Database" "ProfileDir" "%APPDATA%\Miranda"
+ !endif
+ ${ElseIf} $INST_MODE = 1
+ CreateDirectory "$INSTDIR\Profiles"
+ WriteINIStr "$INSTDIR\mirandaboot.ini" "Database" "ProfileDir" "Profiles"
+ ${EndIf}
+ ${EndIf}
+ ${EndIf}
+
+ !insertmacro InstallMirandaPlugin "clist_classic.dll"
+ !insertmacro InstallMirandaPlugin "srmm.dll"
+ !insertmacro InstallMirandaPlugin "avs.dll"
+ !insertmacro InstallMirandaPluginANSI "advaimg.dll"
+ !ifdef MIM_BUILD_UNICODE
+ !insertmacro InstallMirandaPlugin "dbx_mmap.dll"
+ Delete "$INSTDIR\Plugins\dbx_3x.dll"
+ !else
+ !insertmacro InstallMirandaPluginANSI "dbx_3x.dll"
+ Delete "$INSTDIR\Plugins\dbx_mmap.dll"
+ !endif
+ !insertmacro InstallMirandaPlugin "chat.dll"
+
+ ${If} $INST_MODE = 0
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Miranda IM" "DisplayName" "Miranda IM ${MIM_VERSION}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Miranda IM" "UninstallString" "$INSTDIR\Uninstall.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\miranda32.exe" "" "$INSTDIR\miranda32.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\miranda32.exe" "Path" "$INSTDIR"
+ ${EndIf}
+
+ ; AIM
+ !insertmacro PrintInstallerDetails "Installing AIM Protocol..."
+ !insertmacro InstallMirandaPlugin "Aim.dll"
+ !insertmacro InstallMirandaProtoIcon "AIM"
+
+ ; Gadu-Gadu
+ !insertmacro PrintInstallerDetails "Installing Gadu-Gadu Protocol..."
+ !insertmacro InstallMirandaPluginANSI "GG.dll"
+ !insertmacro InstallMirandaProtoIcon "GG"
+
+ ; ICQ
+ !insertmacro PrintInstallerDetails "Installing ICQ Protocol..."
+ !insertmacro InstallMirandaPlugin "icq.dll"
+ SetOutPath "$INSTDIR\Icons"
+ File "${MIM_BUILD_DIRANSI}\Icons\xstatus_ICQ.dll"
+ !insertmacro InstallMirandaProtoIcon "ICQ"
+
+ ; IRC
+ !insertmacro PrintInstallerDetails "Installing IRC Protocol..."
+ !insertmacro InstallMirandaPlugin "irc.dll"
+ ${If} $INST_UPGRADE = 0
+ SetOverWrite off
+ File "${MIM_BUILD_SRC}\protocols\IRCG\Docs\irc_servers.ini"
+ SetOverWrite on
+ ${EndIf}
+ !insertmacro InstallMirandaProtoIcon "IRC"
+
+ ; Jabber
+ !insertmacro PrintInstallerDetails "Installing Jabber Protocol..."
+ !insertmacro InstallMirandaPlugin "jabber.dll"
+ SetOutPath "$INSTDIR\Icons"
+ File "${MIM_BUILD_DIRANSI}\Icons\xstatus_jabber.dll"
+ !insertmacro InstallMirandaProtoIcon "Jabber"
+
+ ; MSN
+ !insertmacro PrintInstallerDetails "Installing MSN Protocol..."
+ !insertmacro InstallMirandaPlugin "msn.dll"
+ !insertmacro InstallMirandaProtoIcon "MSN"
+
+ ; Yahoo
+ !insertmacro PrintInstallerDetails "Installing Yahoo Protocol..."
+ !insertmacro InstallMirandaPlugin "yahoo.dll"
+ !insertmacro InstallMirandaProtoIcon "Yahoo"
+
+ ; Import (installs automatically on new installs and if the file exists)
+ ${If} ${FileExists} "$INSTDIR\plugins\import.dll"
+ !insertmacro InstallMirandaPlugin "import.dll"
+ ${ElseIf} $INST_UPGRADE = 0
+ !insertmacro InstallMirandaPlugin "import.dll"
+ ${EndIf}
+
+ ${If} $INST_MODE = 0
+ WriteUninstaller "$INSTDIR\Uninstall.exe"
+ ${EndIf}
+SectionEnd
+
+SubSection /e "Options" pOptions
+ Section "Install Start Menu Shortcuts" pSCStartMenu
+ !insertmacro PrintInstallerDetails "Installing Start Menu Shortcuts..."
+ !insertmacro WriteInstallerOption "1" "StartMenuShortCut"
+ SetOutPath "$INSTDIR"
+ RMDir /r "$SMPROGRAMS\Miranda IM"
+ CreateDirectory "$SMPROGRAMS\Miranda IM"
+ CreateShortCut "$SMPROGRAMS\Miranda IM\Miranda IM.lnk" "$INSTDIR\miranda32.exe"
+ CreateShortCut "$SMPROGRAMS\Miranda IM\Database Tool.lnk" "$INSTDIR\dbtool.exe"
+ WriteINIStr "$SMPROGRAMS\Miranda IM\Homepage.url" "InternetShortcut" "URL" "http://www.miranda-im.org/"
+ WriteINIStr "$SMPROGRAMS\Miranda IM\Get More Addons.url" "InternetShortcut" "URL" "http://addons.miranda-im.org/"
+ SectionEnd
+
+ Section "Install Desktop Shortcut" pSCDesktop
+ !insertmacro PrintInstallerDetails "Installing Desktop Shortcut..."
+ !insertmacro WriteInstallerOption "1" "DesktopShortCut"
+ SetOutPath "$INSTDIR"
+ CreateShortCut "$DESKTOP\Miranda IM.lnk" "$INSTDIR\miranda32.exe"
+ SectionEnd
+
+ Section "Install Quicklaunch Shortcut" pSCQuickLaunch
+ !insertmacro PrintInstallerDetails "Installing Quicklaunch Shortcut..."
+ !insertmacro WriteInstallerOption "1" "QuickLaunchShortCut"
+ SetOutPath "$INSTDIR"
+ CreateShortCut "$QUICKLAUNCH\Miranda IM.lnk" "$INSTDIR\miranda32.exe"
+ SectionEnd
+SubSectionEnd
+
+Section Uninstall
+ SetShellVarContext "all"
+ RMDir /r "$SMPROGRAMS\Miranda IM"
+ Delete "$DESKTOP\Miranda IM.lnk"
+ Delete "$QUICKLAUNCH\Miranda IM.lnk"
+ SetShellVarContext "current"
+ RMDir /r "$SMPROGRAMS\Miranda IM"
+ Delete "$DESKTOP\Miranda IM.lnk"
+ Delete "$QUICKLAUNCH\Miranda IM.lnk"
+
+ RMDir /r "$INSTDIR\Icons"
+ RMDir /r "$INSTDIR\Plugins"
+ Delete "$INSTDIR\dbtool.exe"
+ Delete "$INSTDIR\miranda32.exe"
+ Delete "$INSTDIR\zlib.dll"
+ Delete "$INSTDIR\mirandaboot.ini"
+ Delete "$INSTDIR\license.txt"
+ Delete "$INSTDIR\contributors.txt"
+ Delete "$INSTDIR\readme.txt"
+ Delete "$INSTDIR\changelog.txt"
+ Delete "$INSTDIR\${MIM_BUILD_OPTIONS_FILE}"
+ Delete "$INSTDIR\uninstall.exe"
+ RMDir "$INSTDIR"
+
+ DeleteRegKey HKLM "SOFTWARE\Miranda"
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Miranda IM"
+ DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\miranda32.exe"
+SectionEnd
+
+Function .onInit
+ SetShellVarContext "current"
+ FindWindow $R0 "Miranda"
+ IsWindow $R0 showwarn
+ FindWindow $R0 "Miranda IM"
+ IsWindow $R0 0 norun
+ showwarn:
+ MessageBox MB_OK "Miranda IM is currently running. It is recommended that you close Miranda IM so the installation can complete successfully."
+ Sleep 1000
+ norun:
+ StrCpy $INST_SUCCESS 0
+ StrCpy $INST_MODE 0
+FunctionEnd
+
+Function .onInstSuccess
+ StrCpy $INST_SUCCESS 1
+FunctionEnd
+
+Function VerifyInstallDir
+ StrCpy $INSTDIR $INST_DIR
+ ${If} ${FileExists} "$INSTDIR\miranda32.exe"
+ StrCpy $INST_UPGRADE 1
+ ${Else}
+ StrCpy $INST_UPGRADE 0
+ ${EndIf}
+ ${If} $INST_MODE = 1
+ !insertmacro ClearSectionFlag ${pSCStartMenu} ${SF_SELECTED}
+ SectionSetText ${pSCStartMenu} ""
+ !insertmacro ClearSectionFlag ${pSCDesktop} ${SF_SELECTED}
+ SectionSetText ${pSCDesktop} ""
+ !insertmacro ClearSectionFlag ${pSCQuickLaunch} ${SF_SELECTED}
+ SectionSetText ${pSCQuickLaunch} ""
+ !insertmacro ClearSectionFlag ${pOptions} ${SF_SELECTED}
+ SectionSetText ${pOptions} ""
+ ${Else}
+ ReadINIStr $0 "$INSTDIR\${MIM_BUILD_OPTIONS_FILE}" ${MIM_BUILD_OPTIONS_SECT} "StartMenuShortCut"
+ ${If} $0 == "0"
+ !insertmacro ClearSectionFlag ${pSCStartMenu} ${SF_SELECTED}
+ ${Else}
+ !insertmacro SetSectionFlag ${pSCStartMenu} ${SF_SELECTED}
+ ${EndIf}
+ ReadINIStr $0 "$INSTDIR\${MIM_BUILD_OPTIONS_FILE}" ${MIM_BUILD_OPTIONS_SECT} "DesktopShortCut"
+ ${If} $0 == "0"
+ !insertmacro ClearSectionFlag ${pSCDesktop} ${SF_SELECTED}
+ ${Else}
+ !insertmacro SetSectionFlag ${pSCDesktop} ${SF_SELECTED}
+ ${EndIf}
+ ReadINIStr $0 "$INSTDIR\${MIM_BUILD_OPTIONS_FILE}" ${MIM_BUILD_OPTIONS_SECT} "QuickLaunchShortCut"
+ ${If} $0 == "0"
+ !insertmacro ClearSectionFlag ${pSCQuickLaunch} ${SF_SELECTED}
+ ${Else}
+ !insertmacro SetSectionFlag ${pSCQuickLaunch} ${SF_SELECTED}
+ ${EndIf}
+ ${If} ${AtLeastWin7}
+ !insertmacro ClearSectionFlag ${pSCQuickLaunch} ${SF_SELECTED}
+ SectionSetText ${pSCQuickLaunch} ""
+ ${EndIf}
+ ${Endif}
+FunctionEnd
+
+Function VerifyDirectoryDisplay
+ ${If} $INST_MODE = 1
+ GetDlgItem $1 $HWNDPARENT 1
+ SendMessage $1 ${WM_SETTEXT} 0 "STR:$(^InstallBtn)"
+ ${EndIf}
+FunctionEnd
+
+Function CustomInstallPage
+ !insertmacro MUI_HEADER_TEXT "Installation Mode" "Select the type of installation to perform."
+ ReserveFile "miranda-ui-type.ini"
+ !insertmacro MUI_INSTALLOPTIONS_EXTRACT "miranda-ui-type.ini"
+ ${If} $INST_MODE = 0
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "miranda-ui-type.ini" "Field 2" "State" "1"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "miranda-ui-type.ini" "Field 3" "State" "0"
+ ${Else}
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "miranda-ui-type.ini" "Field 2" "State" "0"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "miranda-ui-type.ini" "Field 3" "State" "1"
+ ${EndIf}
+ !insertmacro MUI_INSTALLOPTIONS_DISPLAY "miranda-ui-type.ini"
+FunctionEnd
+
+Function CustomInstallPageLeave
+ !insertmacro MUI_INSTALLOPTIONS_READ $INST_MODE "miranda-ui-type.ini" "Field 3" "State"
+ ${If} $INST_MODE = 1
+ StrCpy $R0 $WINDIR 2
+ StrCpy $INST_DIR "$R0\Miranda IM"
+ ${Else}
+ ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\miranda32.exe" "Path"
+ ${If} $0 == ""
+ StrCpy $INST_DIR "$PROGRAMFILES\Miranda IM"
+ ${Else}
+ StrCpy $INST_DIR $0
+ ${EndIf}
+ ${EndIf}
+FunctionEnd
+
+Function VerifyComponentDisplay
+ ${If} $INST_MODE = 1
+ Abort
+ ${EndIf}
+FunctionEnd
\ No newline at end of file diff --git a/tools/_deprecated/installer_im/miranda-install-ansi.nsi b/tools/_deprecated/installer_im/miranda-install-ansi.nsi new file mode 100644 index 0000000000..61da1563b2 --- /dev/null +++ b/tools/_deprecated/installer_im/miranda-install-ansi.nsi @@ -0,0 +1 @@ +!include "miranda-core.nsi"
diff --git a/tools/_deprecated/installer_im/miranda-install-unicode.nsi b/tools/_deprecated/installer_im/miranda-install-unicode.nsi new file mode 100644 index 0000000000..cf99e8f071 --- /dev/null +++ b/tools/_deprecated/installer_im/miranda-install-unicode.nsi @@ -0,0 +1,2 @@ +!define MIM_BUILD_UNICODE
+!include "miranda-core.nsi"
diff --git a/tools/_deprecated/installer_im/miranda-ui-type.ini b/tools/_deprecated/installer_im/miranda-ui-type.ini new file mode 100644 index 0000000000..86707ea0f6 --- /dev/null +++ b/tools/_deprecated/installer_im/miranda-ui-type.ini @@ -0,0 +1,28 @@ +[Settings]
+NumFields=3
+
+[Field 1]
+Type=Label
+Text=Please select the type of installation you wish to peform. Most users should choose "Normal Installation". However, if you need to install Miranda IM to be portable, please select that option.
+Left=10
+Top=3
+Right=288
+Bottom=35
+
+[Field 2]
+Type=RadioButton
+Text=Normal Installation (recommended)
+State=1
+Left=25
+Right=180
+Top=47
+Bottom=56
+
+[Field 3]
+Type=RadioButton
+Text=Portable Installation
+State=0
+Left=25
+Right=140
+Top=65
+Bottom=74
\ No newline at end of file diff --git a/tools/_deprecated/installer_im/miranda-version.nsi b/tools/_deprecated/installer_im/miranda-version.nsi new file mode 100644 index 0000000000..97dc0dd71c --- /dev/null +++ b/tools/_deprecated/installer_im/miranda-version.nsi @@ -0,0 +1,4 @@ +; Miranda Version Info
+
+!define MIM_VERSION "0.9.1"
+!define MIM_BETA "0" ; 0 for final build
diff --git a/tools/_deprecated/lpgen_im/lpgen.pl b/tools/_deprecated/lpgen_im/lpgen.pl new file mode 100644 index 0000000000..0b25b54333 --- /dev/null +++ b/tools/_deprecated/lpgen_im/lpgen.pl @@ -0,0 +1,452 @@ +#!/usr/bin/perl
+#
+# Script generating translation templates from sources
+#
+# Miranda IM: the free IM client for Microsoft* Windows*
+#
+# Copyright 2000-2008 Miranda ICQ/IM project,
+# all portions of this codebase are copyrighted to the people
+# listed in contributors.txt.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+use POSIX;
+use File::Find;
+use strict;
+
+my $rootdir = '';
+my %hash = ();
+my $clines = 0;
+
+my $version = '0.7svn';
+my $time = localtime();
+
+if (@ARGV && $ARGV[0] eq "version") {
+ shift @ARGV;
+ # 1st arg version major i.e. 07 for "0.7"
+ if (@ARGV) {
+ my $vermaj = shift @ARGV;
+ if ($vermaj =~ /^([0-9]*)([0-9])$/) {
+ if ($1 eq "") {
+ $version = $2;
+ } else {
+ $version = "$1.$2";
+ }
+ } else {
+ $version = $vermaj;
+ }
+ }
+ # 2nd arg version minor i.e. 1 for "0.7.1"
+ if (@ARGV) {
+ my $vermin = shift @ARGV;
+ if ($vermin =~ /^[0-9]+$/) {
+ $version .= ".$vermin";
+ } else {
+ $version .= $vermin;
+ }
+ }
+ # 3rd arg build number i.e. 36 for "0.7.1 build 36"
+ if (@ARGV) {
+ my $build = shift @ARGV;
+ if ($build =~ /^[0-9]+$/) {
+ $version .= " build $build";
+ } else {
+ $version .= $build;
+ }
+ }
+}
+
+#Language Files
+#if (!@ARGV) {
+ #create_langfile(
+ #'../..',
+ #'../../i18n/langpack_english.txt',
+ #'English (US)', '0809',
+ #'Miranda IM Development Team',
+ #'project-info@miranda-im.org',
+ #'Scriver,avs,chat,clist,clist_nicer,db3x,db3x_mmap,dbrw,advaimg,import,modernb,mwclist,png2dib,srmm,tabsrmm,AimOscar,Gadu-Gadu,IRC,IcqOscarJ,JabberG,MSN,Yahoo');
+#}
+if (!@ARGV) {
+ create_langfile('../../src',
+ '../../src/!core-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+ create_langfile('../../plugins/AddContactPlus/',
+ '../../plugins/AddContactPlus/addcontactplus-translation.txt');
+ create_langfile('../../plugins/Alarms/',
+ '../../plugins/Alarms/alarms-translation.txt');
+ create_langfile('../../plugins/AssocMgr/',
+ '../../plugins/AssocMgr/assocmgr-translation.txt');
+ create_langfile('../../plugins/AuthState/',
+ '../../plugins/AuthState/authstate-translation.txt');
+ create_langfile('../../plugins/AutoRun/',
+ '../../plugins/AutoRun/autorun-translation.txt');
+ create_langfile('../../plugins/AVS/',
+ '../../plugins/AVS/avs-translation.txt');
+ create_langfile('../../plugins/BasicHistory/',
+ '../../plugins/BasicHistory/basichistory-translation.txt');
+ create_langfile('../../plugins/BASS_interface/',
+ '../../plugins/BASS_interface/bass_interface-translation.txt');
+ create_langfile('../../plugins/Boltun/',
+ '../../plugins/Boltun/boltun-translation.txt');
+ create_langfile('../../plugins/AddContactPlus/',
+ '../../plugins/AddContactPlus/addcontactplus-translation.txt');
+ create_langfile('../../plugins/BossKeyPlus/',
+ '../../plugins/BossKeyPlus/bosskeyplus-translation.txt');
+ create_langfile('../../plugins/BuddyExpectator/',
+ '../../plugins/BuddyExpectator/buddyexpectator-translation.txt');
+ create_langfile('../../plugins/ChangeKeyboardLayout/',
+ '../../plugins/ChangeKeyboardLayout/changekeyboardlayout-translation.txt');
+ create_langfile('../../plugins/Chat/',
+ '../../plugins/Chat/chat-translation.txt');
+ create_langfile('../../plugins/ClientChangeNotify/',
+ '../../plugins/ClientChangeNotify/clientchangenotify-translation.txt');
+ create_langfile('../../plugins/Clist_classic/',
+ '../../plugins/Clist_classic/clist_classic-translation.txt');
+ create_langfile('../../plugins/Clist_modern/',
+ '../../plugins/Clist_modern/clist_modern-translation.txt');
+ create_langfile('../../plugins/Clist_mw/',
+ '../../plugins/Clist_mw/clist_mw-translation.txt');
+ create_langfile('../../plugins/Clist_nicer/',
+ '../../plugins/Clist_nicer/clist_nicer-translation.txt');
+ create_langfile('../../plugins/Console/',
+ '../../plugins/Console/console-translation.txt');
+ create_langfile('../../plugins/ContactsPlus/',
+ '../../plugins/ContactsPlus/contactsplus-translation.txt');
+ create_langfile('../../plugins/CountryFlags/',
+ '../../plugins/CountryFlags/countryflags-translation.txt');
+ create_langfile('../../plugins/CSList/',
+ '../../plugins/CSList/cslist-translation.txt');
+ create_langfile('../../plugins/CyrTranslit/',
+ '../../plugins/CyrTranslit/cyrtranslit-translation.txt');
+ create_langfile('../../plugins/Db3x/',
+ '../../plugins/Db3x/db3x-translation.txt');
+ create_langfile('../../plugins/Db3x_mmap/',
+ '../../plugins/Db3x_mmap/db3x_mmap-translation.txt');
+ create_langfile('../../plugins/Dbx_mmap_SA/',
+ '../../plugins/Dbx_mmap_SA/dbx_mmap_sa-translation.txt');
+ create_langfile('../../plugins/Dbx_tree/',
+ '../../plugins/Dbx_tree/dbx_tree-translation.txt');
+ create_langfile('../../plugins/Db_autobackups/',
+ '../../plugins/Db_autobackups/db_autobackups-translation.txt');
+ create_langfile('../../plugins/ExtraIcons/',
+ '../../plugins/ExtraIcons/extraicons-translation.txt');
+ create_langfile('../../plugins/FavContacts/',
+ '../../plugins/FavContacts/favcontacts-translation.txt');
+ create_langfile('../../plugins/FingerPrintModPlus/',
+ '../../plugins/FingerPrintModPlus/fingerprintmodplus-translation.txt');
+ create_langfile('../../plugins/FirstRun/',
+ '../../plugins/FirstRun/firstrun-translation.txt');
+ create_langfile('../../plugins/FlashAvatars/',
+ '../../plugins/FlashAvatars/flashavatars-translation.txt');
+ create_langfile('../../plugins/FloatingContacts/',
+ '../../plugins/FloatingContacts/floatingcontacts-translation.txt');
+ create_langfile('../../plugins/Folders/',
+ '../../plugins/Folders/folders-translation.txt');
+ create_langfile('../../plugins/FreeImage/',
+ '../../plugins/FreeImage/freeimage-translation.txt');
+ create_langfile('../../plugins/Gender/',
+ '../../plugins/Gender/gender-translation.txt');
+ create_langfile('../../plugins/HistoryLinkListPlus/',
+ '../../plugins/HistoryLinkListPlus/historylinklistplus-translation.txt');
+ create_langfile('../../plugins/HistorySweeperLight/',
+ '../../plugins/HistorySweeperLight/historysweeperlight-translation.txt');
+ create_langfile('../../plugins/IEView/',
+ '../../plugins/IEView/ieview-translation.txt');
+ create_langfile('../../plugins/IgnoreState/',
+ '../../plugins/IgnoreState/ignorestate-translation.txt');
+ create_langfile('../../plugins/Import/',
+ '../../plugins/Import/import-translation.txt');
+ create_langfile('../../plugins/ImportTXT/',
+ '../../plugins/ImportTXT/importtxt-translation.txt');
+ create_langfile('../../plugins/KeyboardNotify/',
+ '../../plugins/KeyboardNotify/keyboardnotify-translation.txt');
+ create_langfile('../../plugins/LangMan/',
+ '../../plugins/LangMan/langman-translation.txt');
+ create_langfile('../../plugins/ListeningTo/',
+ '../../plugins/ListeningTo/listeningto-translation.txt');
+ create_langfile('../../plugins/MenuItemEx/',
+ '../../plugins/MenuItemEx/menuitemex-translation.txt');
+ create_langfile('../../plugins/MetaContacts/',
+ '../../plugins/MetaContacts/metacontacts-translation.txt');
+ create_langfile('../../plugins/MirOTR/',
+ '../../plugins/MirOTR/mirotr-translation.txt');
+ create_langfile('../../plugins/ModernOpt/',
+ '../../plugins/ModernOpt/modernopt-translation.txt');
+ create_langfile('../../plugins/mTextControl/',
+ '../../plugins/mTextControl/mtextcontrol-translation.txt');
+ create_langfile('../../plugins/NewAwaySysMod/',
+ '../../plugins/NewAwaySysMod/newawaysysmod-translation.txt');
+ create_langfile('../../plugins/NewEventNotify/',
+ '../../plugins/NewEventNotify/neweventnotify-translation.txt');
+ create_langfile('../../plugins/NewXstatusNotify/',
+ '../../plugins/NewXstatusNotify/newxstatusnotify-translation.txt');
+ create_langfile('../../plugins/Nudge/',
+ '../../plugins/Nudge/nudge-translation.txt');
+ create_langfile('../../plugins/PackUpdater/',
+ '../../plugins/PackUpdater/packupdater-translation.txt');
+ create_langfile('../../plugins/Popup/',
+ '../../plugins/Popup/popup-translation.txt');
+ create_langfile('../../plugins/ProfileManager/',
+ '../../plugins/ProfileManager/profilemanager-translation.txt');
+ create_langfile('../../plugins/QuickMessages/',
+ '../../plugins/QuickMessages/quickmessages-translation.txt');
+ create_langfile('../../plugins/QuickReplies/',
+ '../../plugins/QuickReplies/quickreplies-translation.txt');
+ create_langfile('../../plugins/Rate/',
+ '../../plugins/Rate/rate-translation.txt');
+ create_langfile('../../plugins/RecentContacts/',
+ '../../plugins/RecentContacts/recentcontacts-translation.txt');
+ create_langfile('../../plugins/Scriver/',
+ '../../plugins/Scriver/scriver-translation.txt');
+ create_langfile('../../plugins/SecureIM/',
+ '../../plugins/SecureIM/secureim-translation.txt');
+ create_langfile('../../plugins/SeenPlugin/',
+ '../../plugins/SeenPlugin/seenplugin-translation.txt');
+ create_langfile('../../plugins/Sessions/',
+ '../../plugins/Sessions/sessions-translation.txt');
+ create_langfile('../../plugins/SimpleAR/',
+ '../../plugins/SimpleAR/simplear-translation.txt');
+ create_langfile('../../plugins/SimpleStatusMsg/',
+ '../../plugins/SimpleStatusMsg/simplestatusmsg-translation.txt');
+ create_langfile('../../plugins/SmileyAdd/',
+ '../../plugins/SmileyAdd/smileyadd-translation.txt');
+ create_langfile('../../plugins/SpellChecker/',
+ '../../plugins/SpellChecker/spellchecker-translation.txt');
+ create_langfile('../../plugins/SplashScreen/',
+ '../../plugins/SplashScreen/splashscreen-translation.txt');
+ create_langfile('../../plugins/SRMM/',
+ '../../plugins/SRMM/srmm-translation.txt');
+ create_langfile('../../plugins/StatusPlugins/',
+ '../../plugins/StatusPlugins/statusplugins-translation.txt');
+ create_langfile('../../plugins/StopSpamPlus/',
+ '../../plugins/StopSpamPlus/stopspamplus-translation.txt');
+ create_langfile('../../plugins/Svc_crshdmp/',
+ '../../plugins/Svc_crshdmp/svc_crshdmp-translation.txt');
+ create_langfile('../../plugins/Svc_dbepp/',
+ '../../plugins/Svc_dbepp/svc_dbepp-translation.txt');
+ create_langfile('../../plugins/Svc_vi/',
+ '../../plugins/Svc_vi/svc_vi-translation.txt');
+ create_langfile('../../plugins/TabSRMM/',
+ '../../plugins/TabSRMM/tabsrmm-translation.txt');
+ create_langfile('../../plugins/TipperYM/',
+ '../../plugins/TipperYM/tipperym-translation.txt');
+ create_langfile('../../plugins/TooltipNotify/',
+ '../../plugins/TooltipNotify/tooltipnotify-translation.txt');
+ create_langfile('../../plugins/TopToolBar/',
+ '../../plugins/TopToolBar/toptoolbar-translation.txt');
+ create_langfile('../../plugins/TranslitSwitcher/',
+ '../../plugins/TranslitSwitcher/translitswitcher-translation.txt');
+ create_langfile('../../plugins/Updater/',
+ '../../plugins/Updater/updater-translation.txt');
+ create_langfile('../../plugins/UserGuide/',
+ '../../plugins/UserGuide/userguide-translation.txt');
+ create_langfile('../../plugins/UserInfoEx/',
+ '../../plugins/UserInfoEx/userinfoex-translation.txt');
+ create_langfile('../../plugins/Variables/',
+ '../../plugins/Variables/variables-translation.txt');
+ create_langfile('../../plugins/W7UI/',
+ '../../plugins/W7UI/w7ui-translation.txt');
+ create_langfile('../../plugins/WhenWasIt/',
+ '../../plugins/WhenWasIt/whenwasit-translation.txt');
+ create_langfile('../../plugins/YAPP/',
+ '../../plugins/YAPP/yapp-translation.txt');
+ create_langfile('../../plugins/ZeroNotification/',
+ '../../plugins/ZeroNotification/zeronotification-translation.txt');
+ create_langfile('../../protocols/AimOscar/',
+ '../../protocols/AimOscar/aimoscar-translation.txt');
+ create_langfile('../../protocols/FacebookRM/',
+ '../../protocols/FacebookRM/facebookrm-translation.txt');
+ create_langfile('../../protocols/Gadu-Gadu/',
+ '../../protocols/Gadu-Gadu/gadu-gadu-translation.txt');
+ create_langfile('../../protocols/GTalkExt/',
+ '../../protocols/GTalkExt/gtalkext-translation.txt');
+ create_langfile('../../protocols/IcqOscarJ/',
+ '../../protocols/IcqOscarJ/icqoscarj-translation.txt');
+ create_langfile('../../protocols/IRCG/',
+ '../../protocols/IRCG/ircg-translation.txt');
+ create_langfile('../../protocols/JabberG/',
+ '../../protocols/JabberG/jabberg-translation.txt');
+ create_langfile('../../protocols/MRA/',
+ '../../protocols/MRA/mra-translation.txt');
+ create_langfile('../../protocols/MSN/',
+ '../../protocols/MSN/msn-translation.txt');
+ create_langfile('../../protocols/NewsAggregator/',
+ '../../protocols/NewsAggregator/newsaggregator-translation.txt');
+ create_langfile('../../protocols/Omegle/',
+ '../../protocols/Omegle/omegle-translation.txt');
+ create_langfile('../../protocols/Quotes/',
+ '../../protocols/Quotes/quotes-translation.txt');
+ create_langfile('../../protocols/Twitter/',
+ '../../protocols/Twitter/twitter-translation.txt');
+ create_langfile('../../protocols/Weather/',
+ '../../protocols/Weather/weather-translation.txt');
+ create_langfile('../../protocols/Yahoo/',
+ '../../protocols/Yahoo/yahoo-translation.txt');
+ create_langfile('../../protocols/YAMN/',
+ '../../protocols/YAMN/yamn-translation.txt');
+ create_langfile('../dbtool/',
+ '../dbtool/dbtool-translation.txt');
+ }
+elsif ($ARGV[0] eq "core") {
+ create_langfile('../../src',
+ '../../i18n/core-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+elsif ($ARGV[0] eq "srmm") {
+ create_langfile('../../plugins/SRMM/',
+ '../../plugins/SRMM/Docs/srmm-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+elsif ($ARGV[0] eq "import") {
+ create_langfile('../../plugins/Import/',
+ '../../plugins/Import/docs/import-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+else {
+ print "Error: Unknown module $ARGV[0]\n";
+ exit 1;
+}
+
+sub create_langfile {
+ $rootdir = shift(@_);
+ my $outfile = shift(@_);
+ my $lang = shift(@_);
+ my $locale = shift(@_);
+ my $author = shift(@_);
+ my $email = shift(@_);
+ my $plugins = @_ ? shift(@_) : '';
+ %hash = ();
+ my %common = ();
+ $clines = 0;
+ print "Building language file for $rootdir:\n";
+ find({ wanted => \&csearch, preprocess => \&pre_dir }, $rootdir);
+ find({ wanted => \&rcsearch, preprocess => \&pre_dir }, $rootdir);
+ open(WRITE, "> $outfile") or die;
+ if ($outfile eq "../../src/!core-translation.txt") {
+ print WRITE <<HEADER; }
+Miranda Language Pack Version 1
+Locale: $locale
+Authors: $author
+Author-email: $email
+Last-Modified-Using: Miranda IM $version
+Plugins-included: $plugins
+; Generated by lpgen on $time
+; Translations: $clines
+
+HEADER
+ foreach my $trans (keys %hash) {
+ if ($hash{$trans} =~ /^\d+$/) {
+ $common{$trans} = $hash{$trans};
+ delete $hash{$trans};
+ }
+ }
+
+ my @sorted = sort { (floor($common{$b}/20) == floor($common{$a}/20)) ? ($a cmp $b) : ($common{$b} <=> $common{$a}) } keys %common;
+ print WRITE "; Common strings that belong to many files\n;[";
+ print WRITE join "]\n;[", @sorted;
+ print WRITE "]\n";
+
+ my $file = '';
+ foreach my $trans (sort { ($hash{$a} eq $hash{$b}) ? ($a cmp $b) : ($hash{$a} cmp $hash{$b}) } keys %hash) {
+ if ($hash{$trans} ne $file) {
+ $file = $hash{$trans};
+ print WRITE "\n; $file\n";
+ }
+ print WRITE ";[$trans]\n";
+ }
+
+ close(WRITE);
+ print " $outfile is complete ($clines)\n\n";
+}
+
+sub pre_dir {
+ # avoid parsing some ext SDKs
+ my @files = ();
+ return @files if (
+ $File::Find::name =~/..\/extplugins/ or
+ $File::Find::name =~/freeimage\/Source/ or
+ $File::Find::name =~/dbrw\/sqlite3/);
+ @files = grep { not /^\.\.?$/ } @_;
+ return sort @files;
+}
+
+sub append_str {
+ my $str = shift(@_);
+ my $found = shift(@_);
+ $str = substr($str, 1, length($str) - 2);
+ if (length($str) gt 0 and $str ne "List1" and $str ne "Tree1" and $str =~ /[a-zA-Z]+/g) {
+ my $path = $File::Find::name;
+ $path =~ s/(\.\.\/)+miranda\///;
+ if (!$hash{$str}) {
+ $hash{$str} = $path;
+ $clines ++;
+ return 1;
+ } elsif ($hash{$str} ne $path) {
+ if ($hash{$str} =~ /^\d+$/) {
+ $hash{$str} ++;
+ } else {
+ $hash{$str} = 1;
+ }
+ }
+ }
+ return 0;
+}
+
+sub csearch {
+ if (-f $_ and ($_ =~ m/\.c(pp)?$/i or $_ =~ m/\.h(pp)?$/i)) {
+ my $found = 0;
+ my $file = $_;
+ print " Processing $_ ";
+ open(READ, "< $_") or return;
+ my $all = '';
+ while (my $lines = <READ>) {
+ $all = $all.$lines;
+ }
+ close(READ);
+ $_ = $all;
+ while (/(?:Button_SetIcon_IcoLib|Translate[A-Z]{0,2}|LPGENT?|ICQTranslateUtfStatic)\s*\(\s*(\"[^\\]*?(\\.[^\\]*?)*\")\s*[,\)]/g) {
+ $found += append_str($1, $found);
+ }
+ print "($found)\n";
+ }
+}
+
+sub rcsearch {
+ if ( -f $_ and $_ =~ m/\.rc$/i) {
+ my $found = 0;
+ my $file = $_;
+ print " Processing $_ ";
+ open(READ, "< $_") or return;
+ my $all = '';
+ while (my $lines = <READ>) {
+ $all = $all.$lines;
+ }
+ close(READ);
+ $_ = $all;
+ s/\"\"/\\\"/g;
+ while (/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*(\"[^\\]*?(\\.[^\\]*?)*\")/g) {
+ $found += append_str($1, $found);
+ }
+ print "($found)\n";
+ }
+}
diff --git a/tools/_deprecated/lpgen_im/lpgen.pl.bat b/tools/_deprecated/lpgen_im/lpgen.pl.bat new file mode 100644 index 0000000000..5bf3c05946 --- /dev/null +++ b/tools/_deprecated/lpgen_im/lpgen.pl.bat @@ -0,0 +1,20 @@ +call lpgen.pl
+
+for /F %%i in ('dir /B /S ..\..\plugins\*-translation.txt') do copy /Y %%i ..\..\i18n
+
+for /F %%i in ('dir /B /S ..\..\protocols\*-translation.txt') do copy /Y %%i ..\..\i18n
+
+for /F %%i in ('dir /B /S ..\..\src\*-translation.txt') do copy /Y %%i ..\..\i18n
+
+for /F %%i in ('dir /B /S ..\..\tools\*-translation.txt') do copy /Y %%i ..\..\i18n
+
+pushd ..\..\i18n
+
+if exist langpack_english.txt del /Q langpack_english.txt
+
+
+for %%j in (*-translation.txt) do type "%%j" >> langpack_english.txt
+
+del /Q *-translation.txt
+
+popd
\ No newline at end of file diff --git a/tools/_deprecated/lpgen_im/lpgen_old.pl b/tools/_deprecated/lpgen_im/lpgen_old.pl new file mode 100644 index 0000000000..e58c7dbe7a --- /dev/null +++ b/tools/_deprecated/lpgen_im/lpgen_old.pl @@ -0,0 +1,228 @@ +#!/usr/bin/perl
+#
+# Script generating translation templates from sources
+#
+# Miranda IM: the free IM client for Microsoft* Windows*
+#
+# Copyright 2000-2008 Miranda ICQ/IM project,
+# all portions of this codebase are copyrighted to the people
+# listed in contributors.txt.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+use POSIX;
+use File::Find;
+use strict;
+
+my $rootdir = '';
+my %hash = ();
+my $clines = 0;
+
+my $version = '0.7svn';
+my $time = localtime();
+
+if (@ARGV && $ARGV[0] eq "version") {
+ shift @ARGV;
+ # 1st arg version major i.e. 07 for "0.7"
+ if (@ARGV) {
+ my $vermaj = shift @ARGV;
+ if ($vermaj =~ /^([0-9]*)([0-9])$/) {
+ if ($1 eq "") {
+ $version = $2;
+ } else {
+ $version = "$1.$2";
+ }
+ } else {
+ $version = $vermaj;
+ }
+ }
+ # 2nd arg version minor i.e. 1 for "0.7.1"
+ if (@ARGV) {
+ my $vermin = shift @ARGV;
+ if ($vermin =~ /^[0-9]+$/) {
+ $version .= ".$vermin";
+ } else {
+ $version .= $vermin;
+ }
+ }
+ # 3rd arg build number i.e. 36 for "0.7.1 build 36"
+ if (@ARGV) {
+ my $build = shift @ARGV;
+ if ($build =~ /^[0-9]+$/) {
+ $version .= " build $build";
+ } else {
+ $version .= $build;
+ }
+ }
+}
+
+#Language Files
+if (!@ARGV) {
+ create_langfile(
+ '../../miranda',
+ '../../miranda/i18n/langpack_english.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org',
+ 'Scriver,avs,chat,clist,clist_nicer,db3x,db3x_mmap,dbrw,advaimg,import,modernb,mwclist,png2dib,srmm,tabsrmm,AimOscar,Gadu-Gadu,IRC,IcqOscarJ,JabberG,MSN,Yahoo');
+}
+elsif ($ARGV[0] eq "core") {
+ create_langfile('../../miranda/src',
+ '../../miranda/i18n/core-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+elsif ($ARGV[0] eq "srmm") {
+ create_langfile('../../miranda/plugins/SRMM/',
+ '../../miranda/plugins/SRMM/Docs/srmm-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+elsif ($ARGV[0] eq "import") {
+ create_langfile('../../miranda/plugins/Import/',
+ '../../miranda/plugins/Import/docs/import-translation.txt',
+ 'English (US)', '0809',
+ 'Miranda IM Development Team',
+ 'project-info@miranda-im.org');
+}
+else {
+ print "Error: Unknown module $ARGV[0]\n";
+ exit 1;
+}
+
+sub create_langfile {
+ $rootdir = shift(@_);
+ my $outfile = shift(@_);
+ my $lang = shift(@_);
+ my $locale = shift(@_);
+ my $author = shift(@_);
+ my $email = shift(@_);
+ my $plugins = @_ ? shift(@_) : '';
+ %hash = ();
+ my %common = ();
+ $clines = 0;
+ print "Building language file for $rootdir:\n";
+ find({ wanted => \&csearch, preprocess => \&pre_dir }, $rootdir);
+ find({ wanted => \&rcsearch, preprocess => \&pre_dir }, $rootdir);
+ open(WRITE, "> $outfile") or die;
+ print WRITE <<HEADER;
+Miranda Language Pack Version 1
+Locale: $locale
+Authors: $author
+Author-email: $email
+Last-Modified-Using: Miranda IM $version
+Plugins-included: $plugins
+; Generated by lpgen on $time
+; Translations: $clines
+
+HEADER
+ foreach my $trans (keys %hash) {
+ if ($hash{$trans} =~ /^\d+$/) {
+ $common{$trans} = $hash{$trans};
+ delete $hash{$trans};
+ }
+ }
+
+ my @sorted = sort { (floor($common{$b}/20) == floor($common{$a}/20)) ? ($a cmp $b) : ($common{$b} <=> $common{$a}) } keys %common;
+ print WRITE "; Common strings that belong to many files\n;[";
+ print WRITE join "]\n;[", @sorted;
+ print WRITE "]\n";
+
+ my $file = '';
+ foreach my $trans (sort { ($hash{$a} eq $hash{$b}) ? ($a cmp $b) : ($hash{$a} cmp $hash{$b}) } keys %hash) {
+ if ($hash{$trans} ne $file) {
+ $file = $hash{$trans};
+ print WRITE "\n; $file\n";
+ }
+ print WRITE ";[$trans]\n";
+ }
+
+ close(WRITE);
+ print " $outfile is complete ($clines)\n\n";
+}
+
+sub pre_dir {
+ # avoid parsing some ext SDKs
+ my @files = ();
+ return @files if (
+ $File::Find::name =~/..\/extplugins/ or
+ $File::Find::name =~/freeimage\/Source/ or
+ $File::Find::name =~/dbrw\/sqlite3/);
+ @files = grep { not /^\.\.?$/ } @_;
+ return sort @files;
+}
+
+sub append_str {
+ my $str = shift(@_);
+ my $found = shift(@_);
+ $str = substr($str, 1, length($str) - 2);
+ if (length($str) gt 0 and $str ne "List1" and $str ne "Tree1" and $str =~ /[a-zA-Z]+/g) {
+ my $path = $File::Find::name;
+ $path =~ s/(\.\.\/)+miranda\///;
+ if (!$hash{$str}) {
+ $hash{$str} = $path;
+ $clines ++;
+ return 1;
+ } elsif ($hash{$str} ne $path) {
+ if ($hash{$str} =~ /^\d+$/) {
+ $hash{$str} ++;
+ } else {
+ $hash{$str} = 1;
+ }
+ }
+ }
+ return 0;
+}
+
+sub csearch {
+ if (-f $_ and ($_ =~ m/\.c(pp)?$/i or $_ =~ m/\.h(pp)?$/i)) {
+ my $found = 0;
+ my $file = $_;
+ print " Processing $_ ";
+ open(READ, "< $_") or return;
+ my $all = '';
+ while (my $lines = <READ>) {
+ $all = $all.$lines;
+ }
+ close(READ);
+ $_ = $all;
+ while (/(?:Button_SetIcon_IcoLib|Translate[A-Z]{0,2}|LPGENT?|ICQTranslateUtfStatic)\s*\(\s*(\"[^\\]*?(\\.[^\\]*?)*\")\s*[,\)]/g) {
+ $found += append_str($1, $found);
+ }
+ print "($found)\n";
+ }
+}
+
+sub rcsearch {
+ if ( -f $_ and $_ =~ m/\.rc$/i) {
+ my $found = 0;
+ my $file = $_;
+ print " Processing $_ ";
+ open(READ, "< $_") or return;
+ my $all = '';
+ while (my $lines = <READ>) {
+ $all = $all.$lines;
+ }
+ close(READ);
+ $_ = $all;
+ s/\"\"/\\\"/g;
+ while (/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*(\"[^\\]*?(\\.[^\\]*?)*\")/g) {
+ $found += append_str($1, $found);
+ }
+ print "($found)\n";
+ }
+}
diff --git a/tools/_deprecated/lpgen_im/trans.pl b/tools/_deprecated/lpgen_im/trans.pl new file mode 100644 index 0000000000..5bd15f57ce --- /dev/null +++ b/tools/_deprecated/lpgen_im/trans.pl @@ -0,0 +1,64 @@ +#!/usr/bin/perl
+#
+# Script generating new translation from template, using old translation
+#
+# Miranda IM: the free IM client for Microsoft* Windows*
+#
+# Copyright 2000-2008 Miranda ICQ/IM project,
+# all portions of this codebase are copyrighted to the people
+# listed in contributors.txt.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+use POSIX;
+
+if(@ARGV < 2)
+{
+ print "trans <to translate> <old translation> [<next old translation> ...]\n";
+ exit;
+}
+
+my $key;
+my %trans;
+my $totrans = shift @ARGV;
+while(@ARGV)
+{
+ my $oldtrans = shift @ARGV;
+ open OT, "<$oldtrans" or die "Error: Cannot open translation";
+ while(<OT>)
+ {
+ chop;
+ if(m/^\[(.*)\]/)
+ { $key = $1; next; }
+ elsif($key and !$trans{$key} and !m/^;/)
+ { $trans{$key} = $_; $key = 0; }
+ }
+}
+
+open TT, "<$totrans" or die "Error: Cannot open file to translate";
+while(<TT>)
+{
+ if(m/^;\[(.*)\]/ and $trans{$1})
+ {
+ print "[$1]\n";
+ print $trans{$1};
+ print "\n";
+ }
+ else
+ { print; }
+}
+
+close TT;
+close OT;
|