v 0. Pasted by Anonymous as php at 2013-02-17 06:15:04 MSK and set expiration to never.
v 1. Edited by WillisRed as php at 2015-04-27 17:48:23 MSK and set expiration to never.
v 2. Edited by WillisRed as php at 2015-04-30 01:40:31 MSK and set expiration to never.
v 3. Edited by ldDTrLPWCuNsCoQIwSK as php at 2015-07-31 11:36:24 MSK and set expiration to 2015-07-31 12:36:24 MSK.
v 4. Edited by Anonymous as php at 2015-07-31 11:36:31 MSK and set expiration to never.
v 6. Edited by Anonymous as php at 2015-08-09 09:39:50 MSK and set expiration to never.
v 5. Edited by NY as php at 2015-08-09 09:39:50 MSK and set expiration to 2015-08-09 15:39:50 MSK.
v 7. Edited by NY as php at 2015-08-19 14:06:06 MSK and set expiration to 2015-08-19 15:06:06 MSK.
v 8. Edited by Anonymous as php at 2015-08-19 14:06:06 MSK and set expiration to never.
v 9. Edited by VfOHSeieuPGcinl as php at 2015-08-19 16:14:09 MSK and set expiration to 2015-08-19 22:14:09 MSK.
v 10. Edited by Anonymous as php at 2015-08-19 16:14:14 MSK and set expiration to never.
v 11. Edited by NY as php at 2015-08-20 06:25:48 MSK and set expiration to 2015-08-20 18:25:48 MSK.
v 12. Edited by Anonymous as php at 2015-08-20 06:25:49 MSK and set expiration to never.
v 13. Edited by NY as php at 2015-08-20 06:25:49 MSK and set expiration to 2015-08-20 18:25:49 MSK.
v 14. Edited by Anonymous as php at 2015-08-20 06:25:50 MSK and set expiration to never.
v 15. Edited by NY as php at 2015-08-20 06:25:50 MSK and set expiration to 2015-08-20 18:25:50 MSK.
v 17. Edited by NY as php at 2015-08-20 06:25:51 MSK and set expiration to 2015-08-20 18:25:51 MSK.
v 16. Edited by Anonymous as php at 2015-08-20 06:25:51 MSK and set expiration to never.
v 18. Edited by Anonymous as php at 2015-08-20 06:25:52 MSK and set expiration to never.
v 19. Edited by NY as php at 2015-08-20 06:25:52 MSK and set expiration to 2015-08-20 18:25:52 MSK.
v 21. Edited by NY as php at 2015-08-20 06:25:53 MSK and set expiration to 2015-08-20 18:25:53 MSK.
v 20. Edited by Anonymous as php at 2015-08-20 06:25:53 MSK and set expiration to never.
v 22. Edited by Anonymous as php at 2015-08-20 06:25:54 MSK and set expiration to never.
v 23. Edited by NY as php at 2015-08-20 06:25:55 MSK and set expiration to 2015-08-20 18:25:55 MSK.
v 24. Edited by Anonymous as php at 2015-08-20 06:25:55 MSK and set expiration to never.
v 25. Edited by NY as php at 2015-08-20 06:25:56 MSK and set expiration to 2015-08-20 18:25:56 MSK.
v 27. Edited by NY as php at 2015-08-20 06:25:57 MSK and set expiration to 2015-08-20 18:25:57 MSK.
v 26. Edited by Anonymous as php at 2015-08-20 06:25:57 MSK and set expiration to never.
v 28. Edited by Anonymous as php at 2015-08-20 06:25:58 MSK and set expiration to never.
v 29. Edited by NY as php at 2015-08-20 06:25:59 MSK and set expiration to 2015-08-20 18:25:59 MSK.
v 30. Edited by Anonymous as php at 2015-08-20 06:25:59 MSK and set expiration to never.
v 32. Edited by Anonymous as php at 2015-08-20 11:55:00 MSK and set expiration to never.
v 31. Edited by NY as php at 2015-08-20 11:55:00 MSK and set expiration to 2015-08-20 23:55:00 MSK.
v 33. Edited by NY as php at 2015-08-20 11:55:01 MSK and set expiration to 2015-08-20 23:55:01 MSK.
v 34. Edited by Anonymous as php at 2015-08-20 11:55:02 MSK and set expiration to never.
v 35. Edited by NY as php at 2015-08-20 11:55:02 MSK and set expiration to 2015-08-20 23:55:02 MSK.
v 36. Edited by Anonymous as php at 2015-08-20 11:55:03 MSK and set expiration to never.
v 38. Edited by Anonymous as php at 2015-08-20 11:55:04 MSK and set expiration to never.
v 37. Edited by NY as php at 2015-08-20 11:55:04 MSK and set expiration to 2015-08-20 23:55:04 MSK.
v 39. Edited by NY as php at 2015-08-20 11:55:05 MSK and set expiration to 2015-08-20 23:55:05 MSK.
v 40. Edited by Anonymous as php at 2015-08-20 11:55:05 MSK and set expiration to never.
v 41. Edited by NY as php at 2015-08-20 11:55:06 MSK and set expiration to 2015-08-20 23:55:06 MSK.
v 43. Edited by NY as php at 2015-08-20 11:55:07 MSK and set expiration to 2015-08-20 23:55:07 MSK.
v 42. Edited by Anonymous as php at 2015-08-20 11:55:07 MSK and set expiration to never.
v 44. Edited by Anonymous as php at 2015-08-20 11:55:08 MSK and set expiration to never.
v 45. Edited by NY as php at 2015-08-20 11:55:09 MSK and set expiration to 2015-08-20 23:55:09 MSK.
v 46. Edited by Anonymous as php at 2015-08-20 11:55:09 MSK and set expiration to never.
v 47. Edited by NY as php at 2015-08-20 11:55:10 MSK and set expiration to 2015-08-20 23:55:10 MSK.
v 49. Edited by NY as php at 2015-08-20 11:55:11 MSK and set expiration to 2015-08-20 23:55:11 MSK.
v 48. Edited by Anonymous as php at 2015-08-20 11:55:11 MSK and set expiration to never.
v 50. Edited by Anonymous as php at 2015-08-20 11:55:12 MSK and set expiration to never.
v 51. Edited by NY as php at 2015-08-20 18:32:33 MSK and set expiration to 2015-08-20 19:32:33 MSK.
v 53. Edited by NY as php at 2015-08-20 18:32:34 MSK and set expiration to 2015-08-20 19:32:34 MSK.
v 52. Edited by Anonymous as php at 2015-08-20 18:32:34 MSK and set expiration to never.
v 54. Edited by Anonymous as php at 2015-08-20 18:32:35 MSK and set expiration to never.
v 55. Edited by NY as php at 2015-08-20 18:32:36 MSK and set expiration to 2015-08-20 19:32:36 MSK.
v 56. Edited by Anonymous as php at 2015-08-20 18:32:36 MSK and set expiration to never.
v 57. Edited by NY as php at 2015-08-20 18:32:37 MSK and set expiration to 2015-08-20 19:32:37 MSK.
v 59. Edited by NY as php at 2015-08-20 18:32:38 MSK and set expiration to 2015-08-20 19:32:38 MSK.
v 58. Edited by Anonymous as php at 2015-08-20 18:32:38 MSK and set expiration to never.
v 60. Edited by Anonymous as php at 2015-08-20 18:32:39 MSK and set expiration to never.
v 61. Edited by NY as php at 2015-08-20 18:32:40 MSK and set expiration to 2015-08-20 19:32:40 MSK.
v 62. Edited by Anonymous as php at 2015-08-20 18:32:40 MSK and set expiration to never.
v 64. Edited by Anonymous as php at 2015-08-20 18:32:41 MSK and set expiration to never.
v 63. Edited by NY as php at 2015-08-20 18:32:41 MSK and set expiration to 2015-08-20 19:32:41 MSK.
v 65. Edited by NY as php at 2015-08-20 18:32:42 MSK and set expiration to 2015-08-20 19:32:42 MSK.
v 66. Edited by Anonymous as php at 2015-08-20 18:32:43 MSK and set expiration to never.
v 67. Edited by NY as php at 2015-08-20 18:32:43 MSK and set expiration to 2015-08-20 19:32:43 MSK.
v 68. Edited by Anonymous as php at 2015-08-20 18:32:45 MSK and set expiration to never.
v 70. Edited by Anonymous as php at 2015-08-20 18:32:46 MSK and set expiration to never.
v 69. Edited by NY as php at 2015-08-20 18:32:46 MSK and set expiration to 2015-08-20 19:32:46 MSK.
v 71. Edited by NY as php at 2015-08-20 18:46:19 MSK and set expiration to 2015-08-21 18:46:19 MSK.
v 72. Edited by Anonymous as php at 2015-08-20 18:46:19 MSK and set expiration to never.
v 73. Edited by NY as php at 2015-08-20 18:46:20 MSK and set expiration to 2015-08-21 18:46:20 MSK.
v 75. Edited by NY as php at 2015-08-20 18:46:21 MSK and set expiration to 2015-08-21 18:46:21 MSK.
v 74. Edited by Anonymous as php at 2015-08-20 18:46:21 MSK and set expiration to never.
v 76. Edited by Anonymous as php at 2015-08-20 18:46:22 MSK and set expiration to never.
v 77. Edited by NY as php at 2015-08-20 18:46:23 MSK and set expiration to 2015-08-21 18:46:23 MSK.
v 78. Edited by Anonymous as php at 2015-08-20 18:46:23 MSK and set expiration to never.
v 80. Edited by Anonymous as php at 2015-08-20 18:46:24 MSK and set expiration to never.
v 79. Edited by NY as php at 2015-08-20 18:46:24 MSK and set expiration to 2015-08-21 18:46:24 MSK.
v 81. Edited by NY as php at 2015-08-20 18:46:25 MSK and set expiration to 2015-08-21 18:46:25 MSK.
v 82. Edited by Anonymous as php at 2015-08-20 18:46:26 MSK and set expiration to never.
v 83. Edited by NY as php at 2015-08-20 18:46:26 MSK and set expiration to 2015-08-21 18:46:26 MSK.
v 84. Edited by Anonymous as php at 2015-08-20 18:46:27 MSK and set expiration to never.
v 86. Edited by Anonymous as php at 2015-08-20 18:46:28 MSK and set expiration to never.
v 85. Edited by NY as php at 2015-08-20 18:46:28 MSK and set expiration to 2015-08-21 18:46:28 MSK.
v 87. Edited by NY as php at 2015-08-20 18:46:29 MSK and set expiration to 2015-08-21 18:46:29 MSK.
v 88. Edited by Anonymous as php at 2015-08-20 18:46:30 MSK and set expiration to never.
v 89. Edited by NY as php at 2015-08-20 18:46:30 MSK and set expiration to 2015-08-21 18:46:30 MSK.
v 90. Edited by Anonymous as php at 2015-08-20 18:46:31 MSK and set expiration to never.
v 91. Edited by NY as php at 2015-08-20 18:50:52 MSK and set expiration to 2015-08-21 18:50:52 MSK.
v 92. Edited by Anonymous as php at 2015-08-20 18:50:53 MSK and set expiration to never.
v 93. Edited by NY as php at 2015-08-20 18:50:54 MSK and set expiration to 2015-08-21 18:50:54 MSK.
v 94. Edited by Anonymous as php at 2015-08-20 18:50:54 MSK and set expiration to never.
v 95. Edited by NY as php at 2015-08-20 18:50:55 MSK and set expiration to 2015-08-21 18:50:55 MSK.
v 97. Edited by NY as php at 2015-08-20 18:50:56 MSK and set expiration to 2015-08-21 18:50:56 MSK.
v 96. Edited by Anonymous as php at 2015-08-20 18:50:56 MSK and set expiration to never.
v 98. Edited by Anonymous as php at 2015-08-20 18:50:57 MSK and set expiration to never.
v 99. Edited by NY as php at 2015-08-20 18:50:58 MSK and set expiration to 2015-08-21 18:50:58 MSK.
v 99. Edited by VGBhOfkjmRHxq as php at 2015-08-22 00:02:38 MSK and set expiration to 2015-08-23 00:02:38 MSK.
v 99. Edited by NY as php at 2015-08-23 18:04:35 MSK and set expiration to 2015-08-24 06:04:35 MSK.
v 99. Edited by NY as php at 2015-08-24 22:55:42 MSK and set expiration to 2015-08-24 23:55:42 MSK.
v 99. Edited by NY as php at 2015-08-27 18:00:23 MSK and set expiration to 2015-08-28 06:00:23 MSK.
v 99. Edited by NY as php at 2015-08-28 11:40:30 MSK and set expiration to 2015-08-28 23:40:30 MSK.
v 99. Edited by NY as php at 2015-08-29 14:35:32 MSK and set expiration to 2015-08-30 14:35:32 MSK.
v 99. Edited by NY as php at 2015-08-30 17:29:02 MSK and set expiration to 2015-08-31 05:29:02 MSK.
v 99. Edited by NY as php at 2015-08-31 20:50:12 MSK and set expiration to 2015-09-01 08:50:12 MSK.
v 99. Edited by NY as php at 2015-09-02 00:10:21 MSK and set expiration to 2015-09-03 00:10:21 MSK.
v 99. Edited by NY as php at 2015-10-08 12:42:57 MSK and set expiration to 2015-10-08 18:42:57 MSK.
v 99. Edited by wlyxGzdcYqW as php at 2015-10-10 13:50:09 MSK and set expiration to 2015-10-11 13:50:09 MSK.
v 99. Edited by NY as php at 2015-10-22 23:46:10 MSK and set expiration to 2015-10-23 00:46:10 MSK.
v 99. Edited by NY as php at 2015-10-24 13:09:46 MSK and set expiration to 2015-10-24 14:09:46 MSK.
v 99. Edited by NY as php at 2015-10-25 23:03:17 MSK and set expiration to 2015-10-26 23:03:17 MSK.
v 99. Edited by NY as php at 2015-10-28 06:04:36 MSK and set expiration to 2015-10-28 07:04:36 MSK.
v 99. Edited by NY as php at 2015-10-28 08:12:53 MSK and set expiration to 2015-10-28 09:12:53 MSK.
v 99. Edited by NY as php at 2015-10-28 10:28:45 MSK and set expiration to 2015-10-28 11:28:45 MSK.
v 99. Edited by NY as php at 2015-10-28 12:03:19 MSK and set expiration to 2015-10-28 13:03:19 MSK.
v 99. Edited by NY as php at 2015-10-28 13:06:42 MSK and set expiration to 2015-10-28 19:06:42 MSK.
v 99. Edited by NY as php at 2015-10-28 19:07:46 MSK and set expiration to 2015-10-29 07:07:46 MSK.
v 99. Edited by NY as php at 2015-10-29 07:09:37 MSK and set expiration to 2015-10-30 07:09:37 MSK.
v 99. Edited by NY as php at 2015-10-30 07:38:14 MSK and set expiration to 2015-10-30 13:38:14 MSK.
v 99. Edited by NY as php at 2015-10-30 14:02:31 MSK and set expiration to 2015-10-31 14:02:31 MSK.
v 99. Edited by NY as php at 2015-10-31 14:08:16 MSK and set expiration to 2015-10-31 20:08:16 MSK.
v 99. Edited by NY as php at 2015-10-31 20:22:39 MSK and set expiration to 2015-10-31 21:22:39 MSK.
v 99. Edited by NY as php at 2015-10-31 21:46:38 MSK and set expiration to 2015-11-01 21:46:38 MSK.
v 99. Edited by NY as php at 2015-11-01 21:51:09 MSK and set expiration to 2015-11-01 22:51:09 MSK.
v 99. Edited by NY as php at 2015-11-01 22:58:19 MSK and set expiration to 2015-11-02 10:58:19 MSK.
v 99. Edited by NY as php at 2015-11-02 10:59:53 MSK and set expiration to 2015-11-02 16:59:53 MSK.
v 99. Edited by NY as php at 2015-11-02 17:12:40 MSK and set expiration to 2015-11-03 05:12:40 MSK.
v 99. Edited by NY as php at 2015-11-03 05:41:54 MSK and set expiration to 2015-11-03 06:41:54 MSK.
v 99. Edited by NY as php at 2015-11-03 06:44:47 MSK and set expiration to 2015-11-03 18:44:47 MSK.
v 99. Edited by NY as php at 2015-11-03 18:47:09 MSK and set expiration to 2015-11-04 06:47:09 MSK.
v 99. Edited by NY as php at 2015-11-04 06:52:17 MSK and set expiration to 2015-11-04 18:52:17 MSK.
v 99. Edited by NY as php at 2015-11-04 18:56:28 MSK and set expiration to 2015-11-04 19:56:28 MSK.
v 99. Edited by NY as php at 2015-11-04 20:16:03 MSK and set expiration to 2015-11-05 08:16:03 MSK.
v 99. Edited by AnhJwoGyLrsudxWzWFP as php at 2015-11-05 08:17:45 MSK and set expiration to 2015-11-05 09:17:45 MSK.
v 99. Edited by NY as php at 2015-11-05 09:22:53 MSK and set expiration to 2015-11-05 21:22:53 MSK.
v 99. Edited by NY as php at 2015-11-05 21:26:13 MSK and set expiration to 2015-11-06 21:26:13 MSK.
v 99. Edited by NY as php at 2015-11-06 21:44:23 MSK and set expiration to 2015-11-07 21:44:23 MSK.
v 99. Edited by NY as php at 2015-11-07 22:07:37 MSK and set expiration to 2015-11-08 10:07:37 MSK.
v 99. Edited by NY as php at 2015-11-08 10:13:08 MSK and set expiration to 2015-11-08 16:13:08 MSK.
v 99. Edited by NY as php at 2015-11-08 16:19:05 MSK and set expiration to 2015-11-08 17:19:05 MSK.
v 99. Edited by NY as php at 2015-11-08 17:46:35 MSK and set expiration to 2015-11-08 23:46:35 MSK.
v 99. Edited by NY as php at 2015-11-08 23:47:03 MSK and set expiration to 2015-11-09 11:47:03 MSK.
v 99. Edited by NY as php at 2015-11-09 11:54:07 MSK and set expiration to 2015-11-09 12:54:07 MSK.
v 99. Edited by NY as php at 2015-11-09 12:54:45 MSK and set expiration to 2015-11-10 00:54:45 MSK.
v 99. Edited by NY as php at 2015-11-10 01:14:36 MSK and set expiration to 2015-11-11 01:14:36 MSK.
v 99. Edited by NY as php at 2015-11-11 02:10:39 MSK and set expiration to 2015-11-11 08:10:39 MSK.
v 99. Edited by NY as php at 2015-11-11 08:34:23 MSK and set expiration to 2015-11-11 09:34:23 MSK.
v 99. Edited by NY as php at 2015-11-11 10:45:37 MSK and set expiration to 2015-11-11 16:45:37 MSK.
v 99. Edited by NY as php at 2015-11-11 16:54:50 MSK and set expiration to 2015-11-11 22:54:50 MSK.
v 99. Edited by NY as php at 2015-11-11 23:19:25 MSK and set expiration to 2015-11-12 05:19:25 MSK.
v 99. Edited by NY as php at 2015-11-12 06:02:35 MSK and set expiration to 2015-11-12 18:02:35 MSK.
v 99. Edited by NY as php at 2015-11-12 18:15:42 MSK and set expiration to 2015-11-12 19:15:42 MSK.
v 99. Edited by NY as php at 2015-11-12 19:46:15 MSK and set expiration to 2015-11-13 01:46:15 MSK.
v 99. Edited by NY as php at 2015-11-13 01:51:43 MSK and set expiration to 2015-11-13 02:51:43 MSK.
v 99. Edited by NY as php at 2015-11-13 02:57:44 MSK and set expiration to 2015-11-13 03:57:44 MSK.
v 99. Edited by NY as php at 2015-11-13 04:00:37 MSK and set expiration to 2015-11-13 05:00:37 MSK.
v 99. Edited by NY as php at 2015-11-13 05:02:45 MSK and set expiration to 2015-11-13 17:02:45 MSK.
v 99. Edited by NY as php at 2015-11-13 17:20:16 MSK and set expiration to 2015-11-13 23:20:16 MSK.
v 99. Edited by NY as php at 2015-11-13 23:20:33 MSK and set expiration to 2015-11-14 05:20:33 MSK.
v 99. Edited by NY as php at 2015-11-14 05:36:35 MSK and set expiration to 2015-11-14 17:36:35 MSK.
v 99. Edited by NY as php at 2015-11-14 17:40:42 MSK and set expiration to 2015-11-14 18:40:42 MSK.
v 99. Edited by NY as php at 2015-11-14 18:41:45 MSK and set expiration to 2015-11-14 19:41:45 MSK.
v 99. Edited by NY as php at 2015-11-14 19:57:34 MSK and set expiration to 2015-11-15 07:57:34 MSK.
v 99. Edited by NY as php at 2015-11-15 08:03:23 MSK and set expiration to 2015-11-15 09:03:23 MSK.
v 99. Edited by NY as php at 2015-11-15 09:07:39 MSK and set expiration to 2015-11-15 15:07:39 MSK.
v 99. Edited by NY as php at 2015-11-15 15:09:24 MSK and set expiration to 2015-11-16 03:09:24 MSK.
v 99. Edited by NY as php at 2015-11-16 03:14:33 MSK and set expiration to 2015-11-17 03:14:33 MSK.
v 99. Edited by NY as php at 2015-11-17 03:42:41 MSK and set expiration to 2015-11-18 03:42:41 MSK.
v 99. Edited by NY as php at 2015-11-18 04:27:24 MSK and set expiration to 2015-11-18 05:27:24 MSK.
v 99. Edited by NY as php at 2015-11-18 05:51:08 MSK and set expiration to 2015-11-18 06:51:08 MSK.
v 99. Edited by NY as php at 2015-11-18 06:59:12 MSK and set expiration to 2015-11-19 06:59:12 MSK.
v 99. Edited by NY as php at 2015-11-19 07:07:18 MSK and set expiration to 2015-11-20 07:07:18 MSK.
v 99. Edited by NY as php at 2015-11-20 07:13:37 MSK and set expiration to 2015-11-20 08:13:37 MSK.
v 99. Edited by NY as php at 2015-11-20 08:16:19 MSK and set expiration to 2015-11-20 20:16:19 MSK.
v 99. Edited by NY as php at 2015-11-20 20:17:10 MSK and set expiration to 2015-11-21 08:17:10 MSK.
v 99. Edited by NY as php at 2015-11-21 08:28:51 MSK and set expiration to 2015-11-22 08:28:51 MSK.
v 99. Edited by NY as php at 2015-11-22 08:34:15 MSK and set expiration to 2015-11-22 20:34:15 MSK.
v 99. Edited by NY as php at 2015-11-22 20:38:41 MSK and set expiration to 2015-11-23 20:38:41 MSK.
v 99. Edited by NY as php at 2015-11-23 20:46:03 MSK and set expiration to 2015-11-24 20:46:03 MSK.
v 99. Edited by NY as php at 2015-11-24 20:52:50 MSK and set expiration to 2015-11-25 20:52:50 MSK.
v 99. Edited by NY as php at 2015-11-25 21:17:48 MSK and set expiration to 2015-11-26 09:17:48 MSK.
v 99. Edited by NY as php at 2015-11-26 09:21:21 MSK and set expiration to 2015-11-27 09:21:21 MSK.
v 99. Edited by NY as php at 2015-11-27 09:35:43 MSK and set expiration to 2015-11-27 21:35:43 MSK.
v 99. Edited by NY as php at 2015-11-27 21:38:41 MSK and set expiration to 2015-11-27 22:38:41 MSK.
v 99. Edited by NY as php at 2015-11-27 22:41:40 MSK and set expiration to 2015-11-27 23:41:40 MSK.
v 99. Edited by NY as php at 2015-11-27 23:55:42 MSK and set expiration to 2015-11-28 00:55:42 MSK.
v 99. Edited by NY as php at 2015-11-28 01:15:00 MSK and set expiration to 2015-11-28 02:15:00 MSK.
v 99. Edited by NY as php at 2015-11-28 02:43:44 MSK and set expiration to 2015-11-28 03:43:44 MSK.
v 99. Edited by NY as php at 2015-11-28 04:28:12 MSK and set expiration to 2015-11-28 05:28:12 MSK.
v 99. Edited by NY as php at 2015-11-28 05:29:15 MSK and set expiration to 2015-11-28 17:29:15 MSK.
v 99. Edited by NY as php at 2015-11-28 17:30:12 MSK and set expiration to 2015-11-29 05:30:12 MSK.
v 99. Edited by NY as php at 2015-11-29 05:36:13 MSK and set expiration to 2015-11-29 06:36:13 MSK.
v 99. Edited by NY as php at 2015-11-29 06:51:00 MSK and set expiration to 2015-11-29 07:51:00 MSK.
v 99. Edited by NY as php at 2015-11-29 07:53:10 MSK and set expiration to 2015-11-29 13:53:10 MSK.
v 99. Edited by NY as php at 2015-11-29 13:58:26 MSK and set expiration to 2015-11-29 19:58:26 MSK.
v 99. Edited by NY as php at 2015-11-29 19:59:10 MSK and set expiration to 2015-11-30 07:59:10 MSK.
v 99. Edited by NY as php at 2015-11-30 08:17:10 MSK and set expiration to 2015-12-01 08:17:10 MSK.
v 99. Edited by NY as php at 2015-12-01 09:08:19 MSK and set expiration to 2015-12-02 09:08:19 MSK.
v 99. Edited by NY as php at 2015-12-02 09:13:30 MSK and set expiration to 2015-12-02 10:13:30 MSK.
v 99. Edited by NY as php at 2015-12-02 10:21:09 MSK and set expiration to 2015-12-03 10:21:09 MSK.
v 99. Edited by NY as php at 2015-12-03 10:26:19 MSK and set expiration to 2015-12-03 22:26:19 MSK.
v 99. Edited by NY as php at 2015-12-03 22:29:09 MSK and set expiration to 2015-12-04 22:29:09 MSK.
v 99. Edited by NY as php at 2015-12-04 22:33:18 MSK and set expiration to 2015-12-05 22:33:18 MSK.
v 99. Edited by NY as php at 2015-12-05 22:58:35 MSK and set expiration to 2015-12-06 10:58:35 MSK.
v 99. Edited by NY as php at 2015-12-06 11:30:54 MSK and set expiration to 2015-12-06 12:30:54 MSK.
v 99. Edited by NY as php at 2015-12-06 12:53:07 MSK and set expiration to 2015-12-06 18:53:07 MSK.
v 99. Edited by NY as php at 2015-12-06 18:56:57 MSK and set expiration to 2015-12-07 18:56:57 MSK.
v 99. Edited by NY as php at 2015-12-07 19:12:59 MSK and set expiration to 2015-12-08 01:12:59 MSK.
v 99. Edited by NY as php at 2015-12-08 01:58:32 MSK and set expiration to 2015-12-09 01:58:32 MSK.
v 99. Edited by NY as php at 2015-12-09 03:07:57 MSK and set expiration to 2015-12-09 09:07:57 MSK.
v 99. Edited by NY as php at 2015-12-09 09:43:47 MSK and set expiration to 2015-12-09 15:43:47 MSK.
v 99. Edited by NY as php at 2015-12-09 16:59:29 MSK and set expiration to 2015-12-09 22:59:29 MSK.
v 99. Edited by NY as php at 2015-12-10 00:08:02 MSK and set expiration to 2015-12-11 00:08:02 MSK.
v 99. Edited by NY as php at 2015-12-11 00:36:37 MSK and set expiration to 2015-12-11 12:36:37 MSK.
v 99. Edited by NY as php at 2015-12-11 14:20:51 MSK and set expiration to 2015-12-12 14:20:51 MSK.
v 99. Edited by NY as php at 2015-12-12 23:01:01 MSK and set expiration to 2015-12-13 00:01:01 MSK.
v 99. Edited by NY as php at 2015-12-13 00:16:18 MSK and set expiration to 2015-12-13 01:16:18 MSK.
v 99. Edited by NY as php at 2015-12-13 01:54:45 MSK and set expiration to 2015-12-13 07:54:45 MSK.
v 99. Edited by NY as php at 2015-12-13 08:59:46 MSK and set expiration to 2015-12-13 20:59:46 MSK.
v 99. Edited by NY as php at 2015-12-13 21:17:17 MSK and set expiration to 2015-12-13 22:17:17 MSK.
v 99. Edited by NY as php at 2015-12-13 22:25:11 MSK and set expiration to 2015-12-13 23:25:11 MSK.
v 99. Edited by NY as php at 2015-12-13 23:40:27 MSK and set expiration to 2015-12-14 23:40:27 MSK.
v 99. Edited by NY as php at 2015-12-14 23:43:21 MSK and set expiration to 2015-12-15 05:43:21 MSK.
v 99. Edited by NY as php at 2015-12-15 05:48:09 MSK and set expiration to 2015-12-15 06:48:09 MSK.
v 99. Edited by NY as php at 2015-12-15 06:48:47 MSK and set expiration to 2015-12-16 06:48:47 MSK.
v 99. Edited by NY as php at 2015-12-16 06:53:22 MSK and set expiration to 2015-12-17 06:53:22 MSK.
v 99. Edited by NY as php at 2015-12-17 06:56:03 MSK and set expiration to 2015-12-17 12:56:03 MSK.
v 99. Edited by NY as php at 2015-12-17 13:05:15 MSK and set expiration to 2015-12-18 13:05:15 MSK.
v 99. Edited by NY as php at 2015-12-18 13:06:36 MSK and set expiration to 2015-12-19 01:06:36 MSK.
v 99. Edited by NY as php at 2015-12-19 01:06:39 MSK and set expiration to 2015-12-19 07:06:39 MSK.
v 99. Edited by NY as php at 2015-12-19 07:12:24 MSK and set expiration to 2015-12-19 13:12:24 MSK.
v 99. Edited by NY as php at 2015-12-19 13:26:33 MSK and set expiration to 2015-12-19 14:26:33 MSK.
v 99. Edited by NY as php at 2015-12-19 14:37:50 MSK and set expiration to 2015-12-20 14:37:50 MSK.
v 99. Edited by NY as php at 2015-12-20 14:41:18 MSK and set expiration to 2015-12-21 02:41:18 MSK.
v 99. Edited by NY as php at 2015-12-21 02:43:17 MSK and set expiration to 2015-12-21 08:43:17 MSK.
v 99. Edited by NY as php at 2015-12-21 08:45:02 MSK and set expiration to 2015-12-21 20:45:02 MSK.
v 99. Edited by NY as php at 2015-12-21 20:50:52 MSK and set expiration to 2015-12-22 08:50:52 MSK.
v 99. Edited by NY as php at 2015-12-22 08:52:31 MSK and set expiration to 2015-12-22 09:52:31 MSK.
v 99. Edited by NY as php at 2015-12-22 09:52:36 MSK and set expiration to 2015-12-22 15:52:36 MSK.
v 99. Edited by NY as php at 2015-12-22 16:04:01 MSK and set expiration to 2015-12-23 04:04:01 MSK.
v 99. Edited by NY as php at 2015-12-23 04:06:59 MSK and set expiration to 2015-12-23 05:06:59 MSK.
v 99. Edited by NY as php at 2015-12-23 05:09:20 MSK and set expiration to 2015-12-23 11:09:20 MSK.
v 99. Edited by NY as php at 2015-12-23 11:12:35 MSK and set expiration to 2015-12-23 17:12:35 MSK.
v 99. Edited by NY as php at 2015-12-23 17:17:10 MSK and set expiration to 2015-12-23 18:17:10 MSK.
v 99. Edited by NY as php at 2015-12-23 18:34:20 MSK and set expiration to 2015-12-24 06:34:20 MSK.
v 99. Edited by NY as php at 2015-12-24 06:35:53 MSK and set expiration to 2015-12-24 18:35:53 MSK.
v 99. Edited by NY as php at 2015-12-24 18:46:35 MSK and set expiration to 2015-12-25 00:46:35 MSK.
v 99. Edited by NY as php at 2015-12-25 01:03:05 MSK and set expiration to 2015-12-26 01:03:05 MSK.
v 99. Edited by NY as php at 2015-12-26 01:07:01 MSK and set expiration to 2015-12-27 01:07:01 MSK.
v 99. Edited by NY as php at 2015-12-27 01:09:44 MSK and set expiration to 2015-12-27 07:09:44 MSK.
v 99. Edited by NY as php at 2015-12-27 07:12:58 MSK and set expiration to 2015-12-27 08:12:58 MSK.
v 99. Edited by NY as php at 2015-12-27 08:19:30 MSK and set expiration to 2015-12-28 08:19:30 MSK.
v 99. Edited by NY as php at 2015-12-28 08:24:41 MSK and set expiration to 2015-12-29 08:24:41 MSK.
v 99. Edited by NY as php at 2015-12-29 08:27:53 MSK and set expiration to 2015-12-29 20:27:53 MSK.
v 99. Edited by NY as php at 2015-12-29 20:29:16 MSK and set expiration to 2015-12-29 21:29:16 MSK.
v 99. Edited by NY as php at 2015-12-29 21:29:44 MSK and set expiration to 2015-12-30 21:29:44 MSK.
v 99. Edited by NY as php at 2015-12-30 21:35:05 MSK and set expiration to 2015-12-31 21:35:05 MSK.
v 99. Edited by NY as php at 2015-12-31 21:36:39 MSK and set expiration to 2015-12-31 22:36:39 MSK.
v 99. Edited by NY as php at 2015-12-31 22:47:33 MSK and set expiration to 2015-12-31 23:47:33 MSK.
v 99. Edited by NY as php at 2015-12-31 23:47:44 MSK and set expiration to 2016-01-01 05:47:44 MSK.
v 99. Edited by NY as php at 2016-01-01 05:53:34 MSK and set expiration to 2016-01-01 11:53:34 MSK.
v 99. Edited by NY as php at 2016-01-01 11:55:13 MSK and set expiration to 2016-01-01 17:55:13 MSK.
v 99. Edited by NY as php at 2016-01-01 18:04:52 MSK and set expiration to 2016-01-02 06:04:52 MSK.
v 99. Edited by NY as php at 2016-01-02 06:09:23 MSK and set expiration to 2016-01-03 06:09:23 MSK.
v 99. Edited by NY as php at 2016-01-03 06:12:51 MSK and set expiration to 2016-01-04 06:12:51 MSK.
v 99. Edited by NY as php at 2016-01-04 06:30:12 MSK and set expiration to 2016-01-04 07:30:12 MSK.
v 99. Edited by NY as php at 2016-01-04 07:31:35 MSK and set expiration to 2016-01-04 08:31:35 MSK.
v 99. Edited by NY as php at 2016-01-04 08:36:48 MSK and set expiration to 2016-01-05 08:36:48 MSK.
v 99. Edited by NY as php at 2016-01-05 08:59:49 MSK and set expiration to 2016-01-05 09:59:49 MSK.
v 99. Edited by NY as php at 2016-01-05 10:07:46 MSK and set expiration to 2016-01-05 11:07:46 MSK.
v 99. Edited by NY as php at 2016-01-05 11:12:50 MSK and set expiration to 2016-01-05 17:12:50 MSK.
v 99. Edited by NY as php at 2016-01-05 17:26:29 MSK and set expiration to 2016-01-06 17:26:29 MSK.
v 99. Edited by NY as php at 2016-01-06 17:46:13 MSK and set expiration to 2016-01-06 18:46:13 MSK.
v 99. Edited by NY as php at 2016-01-06 18:56:52 MSK and set expiration to 2016-01-07 06:56:52 MSK.
v 99. Edited by NY as php at 2016-01-07 06:59:35 MSK and set expiration to 2016-01-07 12:59:35 MSK.
v 99. Edited by NY as php at 2016-01-07 12:59:53 MSK and set expiration to 2016-01-08 00:59:53 MSK.
v 99. Edited by NY as php at 2016-01-08 01:07:12 MSK and set expiration to 2016-01-08 13:07:12 MSK.
v 99. Edited by NY as php at 2016-01-08 13:21:09 MSK and set expiration to 2016-01-09 01:21:09 MSK.
v 99. Edited by NY as php at 2016-01-09 01:24:57 MSK and set expiration to 2016-01-09 13:24:57 MSK.
v 99. Edited by NY as php at 2016-01-09 13:29:09 MSK and set expiration to 2016-01-10 13:29:09 MSK.
v 99. Edited by NY as php at 2016-01-10 13:31:50 MSK and set expiration to 2016-01-11 13:31:50 MSK.
v 99. Edited by NY as php at 2016-01-11 13:40:23 MSK and set expiration to 2016-01-12 13:40:23 MSK.
v 99. Edited by NY as php at 2016-01-12 14:00:03 MSK and set expiration to 2016-01-13 02:00:03 MSK.
v 99. Edited by NY as php at 2016-01-13 02:10:51 MSK and set expiration to 2016-01-13 08:10:51 MSK.
v 99. Edited by NY as php at 2016-01-13 08:23:39 MSK and set expiration to 2016-01-13 20:23:39 MSK.
v 99. Edited by NY as php at 2016-01-13 21:05:13 MSK and set expiration to 2016-01-13 22:05:13 MSK.
v 99. Edited by NY as php at 2016-01-13 22:24:17 MSK and set expiration to 2016-01-14 04:24:17 MSK.
v 99. Edited by NY as php at 2016-01-14 04:58:56 MSK and set expiration to 2016-01-14 10:58:56 MSK.
v 99. Edited by NY as php at 2016-01-21 11:23:53 MSK and set expiration to 2016-01-21 12:23:53 MSK.
v 99. Edited by NY as php at 2016-01-21 13:20:47 MSK and set expiration to 2016-01-22 13:20:47 MSK.
v 99. Edited by NY as php at 2016-01-22 19:10:36 MSK and set expiration to 2016-01-23 07:10:36 MSK.
v 99. Edited by NY as php at 2016-01-23 08:09:45 MSK and set expiration to 2016-01-23 20:09:45 MSK.
v 99. Edited by NY as php at 2016-01-23 20:34:53 MSK and set expiration to 2016-01-23 21:34:53 MSK.
v 99. Edited by NY as php at 2016-01-24 00:42:59 MSK and set expiration to 2016-01-24 06:42:59 MSK.
v 99. Edited by NY as php at 2016-01-24 12:26:04 MSK and set expiration to 2016-01-24 18:26:04 MSK.
v 99. Edited by NY as php at 2016-01-24 18:29:14 MSK and set expiration to 2016-01-25 18:29:14 MSK.
v 99. Edited by NY as php at 2016-01-25 18:55:43 MSK and set expiration to 2016-01-26 18:55:43 MSK.
v 99. Edited by NY as php at 2016-01-26 19:28:33 MSK and set expiration to 2016-01-27 01:28:33 MSK.
v 99. Edited by NY as php at 2016-01-27 01:34:07 MSK and set expiration to 2016-01-27 13:34:07 MSK.
v 99. Edited by NY as php at 2016-01-27 13:34:53 MSK and set expiration to 2016-01-27 14:34:53 MSK.
v 99. Edited by NY as php at 2016-01-27 14:40:27 MSK and set expiration to 2016-01-28 02:40:27 MSK.
v 99. Edited by NY as php at 2016-01-28 02:41:32 MSK and set expiration to 2016-01-28 14:41:32 MSK.
v 99. Edited by NY as php at 2016-01-28 14:51:20 MSK and set expiration to 2016-01-28 15:51:20 MSK.
v 99. Edited by NY as php at 2016-01-28 15:53:42 MSK and set expiration to 2016-01-29 03:53:42 MSK.
v 99. Edited by NY as php at 2016-01-29 03:54:30 MSK and set expiration to 2016-01-29 15:54:30 MSK.
v 99. Edited by NY as php at 2016-01-29 16:46:33 MSK and set expiration to 2016-01-30 16:46:33 MSK.
v 99. Edited by NY as php at 2016-02-06 14:47:38 MSK and set expiration to 2016-02-07 02:47:38 MSK.
v 99. Edited by NY as php at 2016-02-11 09:15:51 MSK and set expiration to 2016-02-11 15:15:51 MSK.
v 99. Edited by NY as php at 2016-02-11 16:46:58 MSK and set expiration to 2016-02-11 17:46:58 MSK.
v 99. Edited by NY as php at 2016-02-11 18:27:02 MSK and set expiration to 2016-02-12 18:27:02 MSK.
v 99. Edited by NY as php at 2016-02-12 18:39:34 MSK and set expiration to 2016-02-13 18:39:34 MSK.
v 99. Edited by NY as php at 2016-02-13 18:49:44 MSK and set expiration to 2016-02-14 06:49:44 MSK.
v 99. Edited by NY as php at 2016-02-14 06:50:00 MSK and set expiration to 2016-02-15 06:50:00 MSK.
v 99. Edited by NY as php at 2016-02-15 07:07:12 MSK and set expiration to 2016-02-15 19:07:12 MSK.
v 99. Edited by NY as php at 2016-02-15 19:10:15 MSK and set expiration to 2016-02-16 19:10:15 MSK.
v 99. Edited by NY as php at 2016-02-16 19:16:40 MSK and set expiration to 2016-02-16 20:16:40 MSK.
v 99. Edited by NY as php at 2016-02-16 20:16:42 MSK and set expiration to 2016-02-17 20:16:42 MSK.
v 99. Edited by NY as php at 2016-02-17 20:17:17 MSK and set expiration to 2016-02-18 20:17:17 MSK.
v 99. Edited by NY as php at 2016-02-18 20:21:52 MSK and set expiration to 2016-02-19 20:21:52 MSK.
v 99. Edited by NY as php at 2016-02-19 20:22:53 MSK and set expiration to 2016-02-20 08:22:53 MSK.
v 99. Edited by NY as php at 2016-02-20 08:29:27 MSK and set expiration to 2016-02-20 14:29:27 MSK.
v 99. Edited by NY as php at 2016-02-20 14:39:56 MSK and set expiration to 2016-02-21 14:39:56 MSK.
v 99. Edited by NY as php at 2016-02-22 17:18:33 MSK and set expiration to 2016-02-23 05:18:33 MSK.
v 99. Edited by NY as php at 2016-02-28 08:46:32 MSK and set expiration to 2016-02-28 14:46:32 MSK.
v 99. Edited by NY as php at 2016-02-29 02:35:39 MSK and set expiration to 2016-03-01 02:35:39 MSK.
v 99. Edited by NY as php at 2016-03-08 17:33:39 MSK and set expiration to 2016-03-08 23:33:39 MSK.
v 99. Edited by NY as php at 2016-03-08 23:54:03 MSK and set expiration to 2016-03-09 23:54:03 MSK.
v 99. Edited by NY as php at 2016-03-12 10:38:43 MSK and set expiration to 2016-03-12 22:38:43 MSK.
v 99. Edited by NY as php at 2016-03-22 14:05:16 MSK and set expiration to 2016-03-23 02:05:16 MSK.
v 99. Edited by NY as php at 2016-10-15 05:12:13 MSK and set expiration to 2016-10-15 11:12:13 MSK.
v 99. Edited by NY as php at 2016-10-16 01:28:00 MSK and set expiration to 2016-10-16 07:28:00 MSK.
v 99. Edited by NY as php at 2016-10-16 12:46:34 MSK and set expiration to 2016-10-17 12:46:34 MSK.
v 99. Edited by NY as php at 2016-10-19 01:21:37 MSK and set expiration to 2016-10-19 07:21:37 MSK.
v 99. Edited by NY as php at 2016-10-21 08:02:20 MSK and set expiration to 2016-10-21 09:02:20 MSK.
v 99. Edited by NY as php at 2016-10-21 11:57:39 MSK and set expiration to 2016-10-21 12:57:39 MSK.
v 99. Edited by NY as php at 2016-10-21 13:59:55 MSK and set expiration to 2016-10-21 14:59:55 MSK.
v 99. Edited by NY as php at 2016-10-21 16:25:49 MSK and set expiration to 2016-10-22 04:25:49 MSK.
v 99. Edited by NY as php at 2016-10-22 09:48:28 MSK and set expiration to 2016-10-22 15:48:28 MSK.
v 99. Edited by NY as php at 2016-11-03 22:45:31 MSK and set expiration to 2016-11-04 10:45:31 MSK.
v 99. Edited by NY as php at 2022-01-26 15:55:53 MSK and set expiration to 2022-01-27 03:55:53 MSK.
v 99. Edited by NY as php at 2022-04-19 08:04:32 MSK and set expiration to 2022-04-19 20:04:32 MSK.

Paste will expire never.

  1. ::--------------------------------------------------------
  2. ::-- Leechcraft Win32 configuration and build script
  3. ::--------------------------------------------------------
  4. ::-- Requirements:
  5. ::--
  6. ::-- * Microsoft Visual Studio 2012 (not tested with Express version, but it _should_ work)
  7. ::-- * Visual C++ Compiler November 2012 CTP: http://www.microsoft.com/en-us/download/details.aspx?id=35515 for new C++11-related shit
  8. ::-- * CMake: http://cmake.org
  9. ::-- * Slik SVN: http://www.sliksvn.com or any other command line SVN client
  10. ::-- * msysgit: http://code.google.com/p/msysgit or any other command line Git client
  11. ::-- * OpenSSL (for QCA): http://slproweb.com/products/Win32OpenSSL.html (Avoid light versions of installer, since they don't contain development files that are required to build software that uses OpenSSL. The needed installer is typically around 8 MB in size, or maybe even more. The installer may ask whether to install the libraries into System32 folder or into installation folder. Choose the second.)
  12. ::--
  13. ::-- Qt:
  14. ::--
  15. ::-- * Strawberry Perl: http://strawberryperl.com
  16. ::-- * jom (for parallel multicore build) - downloads auomatically
  17. ::--
  18. ::--------------------------------------------------------
  19. ::-- TODO:
  20. ::--
  21. ::-- * Silent download and installation of requirements (see above)
  22. ::-- * Add flexible options for separate steps like checkout/update/fixsrc/config/build/install/etc. //partially done 'cos I'm lazy
  23. ::-- * Add support to build leechcraft via this script from within leechcraft, so you can have a freshly wet leechcraft while you still leechcrafting.
  24. ::-- * Build installer.
  25. ::-- * ...
  26. ::-- * Fix bugs ;)
  27. ::--
  28. ::-- BUGS:
  29. ::--
  30. ::-- * Local PATH variable overflow after many reruns in the same cmd session.
  31. ::-- * ...
  32. ::-- * (report 'em above)
  33. ::--
  34. ::--------------------------------------------------------
  35. @echo off
  36. set SANDBOX_DIR=H:/Sandbox
  37. set LIBS_BASE_DIR=%SANDBOX_DIR%/lc_libs
  38. set LIBS_BASE_INSTALL_DIR=%LIBS_BASE_DIR%/installed
  39. set DEFAULT_CONFIG=MinSizeRel
  40. set OPENSSL_DIR=C:/Libs/OpenSSL-Win32
  41. set TEMP_DIR=%temp%\viros
  42. set LC_LIBS=(BOOST_ OXYGENICONS_ QTQT_ SPEEX_ HUNSPELL_ LIBTORRENT_ QXMPP_ PCRE_ QJSON_ TAGLIB_ QCA_ QXT_ QWT_ QROSS_ LASTFM_)
  43. set MYMSVSVERSION=11
  44. set MYMSVSSTR=Visual Studio %MYMSVSVERSION%
  45. call "C:\Program Files\Microsoft %MYMSVSSTR%.0\Common7\Tools\vsvars32.bat"
  46. if not "%QTDIR%"=="" (
  47.     set np=%QTDIR%\bin
  48.     echo %path%|findstr /i /c:"%np:"=%">nul || set path=%path%;%np%
  49. )
  50. setlocal EnableDelayedExpansion
  51. set CMAKECOMPILERSTR='%MYMSVSSTR%'
  52. set CMAKEBIN=cmake
  53. set CMAKESRCPATH=../
  54. set CMAKECOMPILER=-G %CMAKECOMPILERSTR%
  55. set CMAKEVS=%CMAKEBIN% %CMAKESRCPATH% %CMAKECOMPILER%
  56. set CMAKEBUILDDIR=build
  57. set CMAKEVSPREFIX=-DCMAKE_INSTALL_PREFIX:PATH=
  58. set QMAKECMD=qmake ../ -config
  59. set QMAKECMDPREFIX=PREFIX=
  60. set BOOST_LCLIBNAME=boost
  61. set BOOST_LCLIBVERSION=1_52
  62. set BOOST_LCLIBDIR=%BOOST_LCLIBNAME%_%BOOST_LCLIBVERSION%
  63. set BOOST_LCLIBCONFIG=
  64. set BOOST_REPOURL=http://svn.boost.org/svn/boost/tags/release/Boost_%BOOST_LCLIBVERSION%_0
  65. set BOOST_CHECKOUTTOOL=svn checkout
  66. rem set BOOST_UPDATETOOL=svn update
  67. set BOOST_CONFIGTOOL=call bootstrap.bat
  68. set BOOST_POSTBUILDCMDNUM=1
  69. set BOOST_POSTBUILDCMD[1]=.\bjam link=shared
  70. set OXYGENICONS_LCLIBNAME=oxygen-icons
  71. set OXYGENICONS_LCLIBDIR=%OXYGENICONS_LCLIBNAME%
  72. set OXYGENICONS_REPOURL=svn://anonsvn.kde.org/home/kde/trunk/kdesupport/oxygen-icons/
  73. set OXYGENICONS_CHECKOUTTOOL=svn checkout
  74. set OXYGENICONS_UPDATETOOL=svn update
  75. set QTQT_LCLIBNAME=Qt
  76. set QTQT_LCLIBVERSION=4.8.4
  77. set QTQT_LCLIBDIR=%QTQT_LCLIBNAME%/%QTQT_LCLIBVERSION%
  78. set QTQT_REPOURL=git://gitorious.org/qt/qt.git
  79. set QTQT_CHECKOUTTOOL=call :git_checkout
  80. rem set QTQT_UPDATETOOL=call :git_update
  81. set QTQT_CONFIGTOOL=call :qtconfigure
  82. set QTQT_PRECONFIGCMDNUM=2
  83. set QTQT_PRECONFIGCMD[1]=call :qtwebkitfix
  84. set QTQT_PRECONFIGCMD[2]=call :download_and_extract_file ^"http://releases.qt-project.org/jom/jom.zip^"
  85. set QTQT_POSTBUILDCMDNUM=1
  86. set QTQT_POSTBUILDCMD[1]=jom\jom.exe -j %CORES_NUM%
  87. set LEECHCRAFT_NAME=leechcraft
  88. set LEECHCRAFT_DIR=%LEECHCRAFT_NAME%_DJm00n
  89. set LEECHCRAFT_CONFIG=RelWithDebInfo
  90. set LEECHCRAFT_REPOURL=https://github.com/DJm00n/leechcraft.git
  91. set LEECHCRAFT_CHECKOUTTOOL=git clone
  92. set LEECHCRAFT_UPDATETOOL=call :git_update
  93. set SPEEX_LCLIBNAME=speex
  94. set SPEEX_LCLIBDIR=%SPEEX_LCLIBNAME%
  95. set SPEEX_LCLIBCONFIG=Release
  96. set SPEEX_REPOURL=http://git.xiph.org/speex.git
  97. set SPEEX_CHECKOUTTOOL=git clone
  98. set SPEEX_UPDATETOOL=call :git_update
  99. set SPEEX_BUILDTOOL=devenv
  100. set SPEEX_PRECONFIGCMDNUM=1
  101. set SPEEX_PRECONFIGCMD[1]=cd win32/VS2008
  102. set HUNSPELL_LCLIBNAME=hunspell
  103. set HUNSPELL_LCLIBDIR=%HUNSPELL_LCLIBNAME%
  104. set HUNSPELL_LCLIBCONFIG=Release
  105. rem set HUNSPELL_REPOURL=https://chromium.googlesource.com/chromium/deps/hunspell
  106. rem set HUNSPELL_REPOURL=https://github.com/mscdex/spellcheck/tree/master/deps/hunspell
  107. rem set HUNSPELL_CHECKOUTTOOL=git clone
  108. rem set HUNSPELL_UPDATETOOL=call :git_update
  109. set HUNSPELL_BUILDTOOL=devenv
  110. set HUNSPELL_PRECONFIGCMDNUM=5
  111. set HUNSPELL_PRECONFIGCMD[1]=call :download_and_extract_file ^"http://ignum.dl.sourceforge.net/project/ezwinports/hunspell-1.3.2-2-w32-src.zip^"
  112. set HUNSPELL_PRECONFIGCMD[2]=move hunspell-1.3.2-2-w32-src/hunspell-1.3.2 %HUNSPELL_LCLIBDIR%
  113. set HUNSPELL_PRECONFIGCMD[3]=rmdir /s /q hunspell-1.3.2-2-w32-src
  114. set HUNSPELL_PRECONFIGCMD[4]=cd %HUNSPELL_LCLIBDIR%/src/%HUNSPELL_LCLIBNAME%
  115. set HUNSPELL_PRECONFIGCMD[5]=copy /y NUL config.h >NUL
  116. set HUNSPELL_PREBUILDCMD=call :hunspelldll
  117. set LIBTORRENT_LCLIBNAME=libtorrent
  118. set LIBTORRENT_LCLIBDIR=%LIBTORRENT_LCLIBNAME%
  119. set LIBTORRENT_LCLIBCONFIG=%DEFAULT_CONFIG%
  120. set LIBTORRENT_REPOURL=https://code.google.com/p/libtorrent/
  121. set LIBTORRENT_CHECKOUTTOOL=git clone
  122. set LIBTORRENT_UPDATETOOL=call :git_update
  123. set LIBTORRENT_CONFIGTOOL=%CMAKEVS%
  124. rem set LIBTORRENT_CONFIGPARAMS=-DCMAKE_PREFIX_PATH=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR%
  125. set LIBTORRENT_CONFIGPARAMS=-DBoost_INCLUDE_DIR:PATH=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR% -DBoost_LIBRARIES:PATH=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR%/stage/lib/boost_chrono-vc%MYMSVSVERSION%0-mt-%BOOST_LCLIBVERSION%.lib
  126. set LIBTORRENT_CONFIGPREFIX=%CMAKEVSPREFIX%
  127. set LIBTORRENT_BUILDTOOL=devenv
  128. set LIBTORRENT_PRECONFIGCMDNUM=1
  129. set LIBTORRENT_PRECONFIGCMD[1]=call :cmake_build_dir
  130. set QXMPP_LCLIBNAME=qxmpp
  131. set QXMPP_LCLIBDIR=%QXMPP_LCLIBNAME%
  132. set QXMPP_LCLIBCONFIG=release
  133. set QXMPP_REPOURL=https://code.google.com/p/qxmpp/
  134. set QXMPP_CHECKOUTTOOL=git clone
  135. set QXMPP_UPDATETOOL=call :git_update
  136. set QXMPP_CONFIGTOOL=%QMAKECMD% %QXMPP_LCLIBCONFIG%
  137. set QXMPP_CONFIGPREFIX=%QMAKECMDPREFIX%
  138. set QXMPP_POSTBUILDCMDNUM=2
  139. set QXMPP_POSTBUILDCMD[1]=nmake
  140. set QXMPP_POSTBUILDCMD[2]=nmake install
  141. set QXMPP_PRECONFIGCMDNUM=1
  142. set QXMPP_PRECONFIGCMD[1]=call :cmake_build_dir
  143. set PCRE_LCLIBNAME=pcre
  144. set PCRE_LCLIBDIR=%PCRE_LCLIBNAME%
  145. set PCRE_LCLIBCONFIG=%DEFAULT_CONFIG%
  146. set PCRE_REPOURL=svn://vcs.exim.org/pcre/code/trunk
  147. set PCRE_CHECKOUTTOOL=svn co
  148. set PCRE_UPDATETOOL=svn update
  149. set PCRE_CONFIGTOOL=%CMAKEVS%
  150. set PCRE_CONFIGPARAMS=-DPCRE_SUPPORT_JIT=ON -DBUILD_SHARED_LIBS=ON
  151. set PCRE_CONFIGPREFIX=%CMAKEVSPREFIX%
  152. set PCRE_BUILDTOOL=devenv
  153. set PCRE_PRECONFIGCMDNUM=1
  154. set PCRE_PRECONFIGCMD[1]=call :cmake_build_dir
  155. set QJSON_LCLIBNAME=qjson
  156. set QJSON_LCLIBDIR=%QJSON_LCLIBNAME%
  157. set QJSON_LCLIBCONFIG=%DEFAULT_CONFIG%
  158. set QJSON_REPOURL=https://github.com/flavio/qjson.git
  159. set QJSON_CHECKOUTTOOL=git clone
  160. set QJSON_UPDATETOOL=call :git_update
  161. set QJSON_CONFIGTOOL=%CMAKEVS%
  162. set QJSON_CONFIGPREFIX=%CMAKEVSPREFIX%
  163. set QJSON_BUILDTOOL=devenv
  164. set QJSON_PRECONFIGCMDNUM=3
  165. set QJSON_PRECONFIGCMD[1]=mkdir %QJSON_LCLIBNAME%
  166. set QJSON_PRECONFIGCMD[2]=xcopy src\*.h %QJSON_LCLIBNAME% /S /Y
  167. set QJSON_PRECONFIGCMD[3]=call :cmake_build_dir
  168. set TAGLIB_LCLIBNAME=taglib
  169. set TAGLIB_LCLIBDIR=%TAGLIB_LCLIBNAME%
  170. set TAGLIB_LCLIBCONFIG=%DEFAULT_CONFIG%
  171. set TAGLIB_REPOURL=https://github.com/taglib/taglib.git
  172. set TAGLIB_CHECKOUTTOOL=git clone
  173. set TAGLIB_UPDATETOOL=call :git_update
  174. set TAGLIB_CONFIGTOOL=%CMAKEVS%
  175. set TAGLIB_CONFIGPREFIX=%CMAKEVSPREFIX%
  176. set TAGLIB_BUILDTOOL=devenv
  177. set TAGLIB_PRECONFIGCMDNUM=3
  178. set TAGLIB_PRECONFIGCMD[1]=call :mycopy %TAGLIB_LCLIBNAME% %TAGLIB_LCLIBNAME% *.h
  179. set TAGLIB_PRECONFIGCMD[2]=call :mycopy %TAGLIB_LCLIBNAME% %TAGLIB_LCLIBNAME% *.tcc
  180. set TAGLIB_PRECONFIGCMD[3]=call :cmake_build_dir
  181. set TAGLIB_POSTBUILDCMDNUM=1
  182. set TAGLIB_POSTBUILDCMD[1]=xcopy ^"taglib_config.h^" ^"../%TAGLIB_LCLIBNAME%^" /Y
  183. set QCA_LCLIBNAME=qca
  184. set QCA_LCLIBDIR=%QCA_LCLIBNAME%
  185. set QCA_LCLIBCONFIG=%DEFAULT_CONFIG%
  186. set QCA_REPOURL=svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qca
  187. set QCA_CHECKOUTTOOL=svn checkout
  188. set QCA_UPDATETOOL=svn update
  189. set QCA_CONFIGTOOL=%CMAKEVS%
  190. set QCA_CONFIGPREFIX=-DOPENSSL_INCLUDE_DIR=%OPENSSL_DIR%/include -DLIB_EAY_DEBUG=%OPENSSL_DIR%/lib/VC/libeay32MDd.lib -DLIB_EAY_RELEASE=%OPENSSL_DIR%/lib/VC/libeay32MD.lib -DSSL_EAY_DEBUG=%OPENSSL_DIR%/lib/VC/ssleay32MDd.lib -DSSL_EAY_RELEASE=%OPENSSL_DIR%/lib/VC/ssleay32MD.lib %CMAKEVSPREFIX%
  191. set QCA_BUILDTOOL=devenv
  192. set QCA_PRECONFIGCMDNUM=2
  193. set QCA_PRECONFIGCMD[1]=call :qcasetupwinlocal
  194. set QCA_PRECONFIGCMD[2]=call :cmake_build_dir
  195. set QCA_POSTBUILDCMDNUM=1
  196. set QCA_POSTBUILDCMD[1]=call :qcapostbuild
  197. set QXT_LCLIBNAME=qxt
  198. set QXT_LCLIBVERSION=0.6.2
  199. set QXT_LCLIBDIR=lib%QXT_LCLIBNAME%
  200. set QXT_LCLIBCONFIG=-release
  201. set QXT_REPOURL=https://bitbucket.org/libqxt/libqxt.git
  202. set QXT_CHECKOUTTOOL=call :git_checkout
  203. rem set QXT_UPDATETOOL=call :git_update
  204. set QXT_CONFIGTOOL=call configure.bat %QXT_LCLIBCONFIG%
  205. set QXT_CONFIGPREFIX=-prefix
  206. set QXT_POSTBUILDCMDNUM=2
  207. set QXT_POSTBUILDCMD[1]=nmake
  208. set QXT_POSTBUILDCMD[2]=nmake install
  209. set QWT_LCLIBNAME=qwt
  210. set QWT_LCLIBDIR=%QWT_LCLIBNAME%
  211. set QWT_LCLIBCONFIG=release
  212. rem set QWT_REPOURL=svn://svn.code.sf.net/p/qwt/code/trunk/qwt
  213. set QWT_REPOURL=svn://svn.code.sf.net/p/qwt/code/branches/qwt-6.0
  214. set QWT_CHECKOUTTOOL=svn checkout
  215. set QWT_UPDATETOOL=svn update
  216. set QWT_CONFIGTOOL=%QMAKECMD% %QXMPP_LCLIBCONFIG%
  217. rem set QWT_CONFIGPREFIX=%QMAKECMDPREFIX%
  218. set QWT_POSTBUILDCMDNUM=2
  219. set QWT_POSTBUILDCMD[1]=nmake release
  220. set QWT_POSTBUILDCMD[2]=nmake install
  221. set QWT_PRECONFIGCMDNUM=2
  222. set QWT_PRECONFIGCMD[1]=call :replace_in_file "qwtconfig.pri" "C:/Qwt-$$QWT_VERSION-svn" "%LIBS_BASE_INSTALL_DIR%/%QWT_LCLIBDIR%"
  223. set QWT_PRECONFIGCMD[2]=call :cmake_build_dir
  224. set QROSS_LCLIBNAME=qross
  225. set QROSS_LCLIBDIR=%QROSS_LCLIBNAME%
  226. set QROSS_LCLIBCONFIG=%DEFAULT_CONFIG%
  227. set QROSS_REPOURL=https://github.com/0xd34df00d/Qross
  228. set QROSS_CHECKOUTTOOL=git clone
  229. set QROSS_UPDATETOOL=call :git_update
  230. set QROSS_CONFIGTOOL=%CMAKEBIN% ../src/%QROSS_LCLIBNAME% %CMAKECOMPILER%
  231. set QROSS_CONFIGPREFIX=%CMAKEVSPREFIX%
  232. set QROSS_BUILDTOOL=devenv
  233. set QROSS_PRECONFIGCMDNUM=1
  234. set QROSS_PRECONFIGCMD[1]=call :cmake_build_dir
  235. set LASTFM_LCLIBNAME=lastfm
  236. set LASTFM_LCLIBDIR=lib%LASTFM_LCLIBNAME%
  237. set LASTFM_LCLIBCONFIG=%DEFAULT_CONFIG%
  238. set LASTFM_REPOURL=https://github.com/eartle/liblastfm.git
  239. set LASTFM_CHECKOUTTOOL=git clone
  240. set LASTFM_UPDATETOOL=call :git_update
  241. set LASTFM_CONFIGTOOL=%CMAKEVS%
  242. set LASTFM_CONFIGPREFIX=%CMAKEVSPREFIX%
  243. set LASTFM_BUILDTOOL=devenv
  244. set LASTFM_PRECONFIGCMDNUM=3
  245. set LASTFM_PRECONFIGCMD[1]=mkdir %LASTFM_LCLIBNAME%
  246. set LASTFM_PRECONFIGCMD[2]=call :mycopy src %LASTFM_LCLIBNAME% *.h
  247. set LASTFM_PRECONFIGCMD[3]=call :cmake_build_dir
  248. set BUILD_LIB_SHIT=1
  249. set BUILD_LC_SHIT=1
  250. set COLLECT_SHIT=1
  251. :initloop
  252. if not "%1"=="" (
  253.     if "%1"=="-fixsrc" (
  254.         set FIXLCSRC=1
  255.     )
  256.     if "%1"=="-updatelc" (
  257.         set UPDATELC=1
  258.     )
  259.     if "%1"=="-nobuild" (
  260.         set BUILD_LIB_SHIT=0
  261.         set BUILD_LC_SHIT=0
  262.     )
  263.     if "%1"=="-nobuildlibs" (
  264.         set BUILD_LIB_SHIT=0
  265.     )
  266.     if "%1"=="-nobuildlc" (
  267.         set BUILD_LC_SHIT=0
  268.     )
  269.     if "%1"=="-nocollect" (
  270.         set COLLECT_SHIT=0
  271.     )
  272.     shift
  273.     goto :initloop
  274. )
  275. for /F "tokens=2 delims==" %%C in ('wmic cpu get NumberOfCores /value ^| findstr NumberOfCores') do set CORES_NUM=%%C
  276. echo Processor cores: %CORES_NUM%
  277. if "%BUILD_LIB_SHIT%"=="1" (
  278.     for %%i in %LC_LIBS% do (
  279.         for /F "tokens=2* delims=_=" %%A in ('SET %%i') do call :saveshit %%A "%%B"
  280.         if not "!LCLIBNAME!"=="" (
  281.             set LCLIBNAME=!LCLIBNAME:~1,-1!
  282.         )
  283.         if not "!LCLIBVERSION!"=="" (
  284.             set LCLIBVERSION=!LCLIBVERSION:~1,-1!
  285.         )
  286.         if not "!LCLIBDIR!"=="" (
  287.             set LCLIBDIR=!LCLIBDIR:~1,-1!
  288.         )
  289.         if not "!LCLIBCONFIG!"=="" (
  290.             set LCLIBCONFIG=!LCLIBCONFIG:~1,-1!
  291.         )
  292.         if not "!REPOURL!"=="" (
  293.             set REPOURL=!REPOURL:~1,-1!
  294.         )
  295.         if not "!CHECKOUTTOOL!"=="" (
  296.             set CHECKOUTTOOL=!CHECKOUTTOOL:~1,-1!
  297.         )
  298.         if not "!UPDATETOOL!"=="" (
  299.             set UPDATETOOL=!UPDATETOOL:~1,-1!
  300.         )
  301.         if not "!CONFIGTOOL!"=="" (
  302.             set CONFIGTOOL=!CONFIGTOOL:~1,-1!
  303.         )
  304.         if not "!CONFIGPARAMS!"=="" (
  305.             set CONFIGPARAMS=!CONFIGPARAMS:~1,-1!
  306.         )
  307.         if not "!CONFIGPREFIX!"=="" (
  308.             set CONFIGPREFIX=!CONFIGPREFIX:~1,-1!
  309.         )
  310.         if not "!BUILDTOOL!"=="" (
  311.             set BUILDTOOL=!BUILDTOOL:~1,-1!
  312.         )
  313.         if not "!POSTBUILDCMDNUM!"=="0" (
  314.             set /A POSTBUILDCMDNUM=!POSTBUILDCMDNUM:~1,-1!
  315.         )
  316.         for /L %%i in (1,1,!POSTBUILDCMDNUM!) do (
  317.             if not "!POSTBUILDCMD![%%i]"=="" (
  318.                 set POSTBUILDCMD[%%i]=!POSTBUILDCMD[%%i]:~1,-1!
  319.             )
  320.         )
  321.         if not "!PRECONFIGCMDNUM!"=="0" (
  322.             set /A PRECONFIGCMDNUM=!PRECONFIGCMDNUM:~1,-1!
  323.         )
  324.         for /L %%i in (1,1,!PRECONFIGCMDNUM!) do (
  325.             if not "!PRECONFIGCMD![%%i]"=="" (
  326.                 set PRECONFIGCMD[%%i]=!PRECONFIGCMD[%%i]:~1,-1!
  327.             )
  328.         )
  329.         if not "!PREBUILDCMD!"=="" (
  330.             set PREBUILDCMD=!PREBUILDCMD:~1,-1!
  331.         )
  332.         set LCLIBPREFIX=%LIBS_BASE_INSTALL_DIR%/!LCLIBDIR!
  333.         echo cd /D %LIBS_BASE_DIR%
  334.         cd /D %LIBS_BASE_DIR%
  335.         if not "!REPOURL!"=="" (
  336.             if exist !LCLIBDIR! (
  337.                 if not "!UPDATETOOL!"=="" (
  338.                     echo Updating !LCLIBNAME! from !REPOURL! ...
  339.                     echo !UPDATETOOL! !LCLIBDIR!
  340.                     !UPDATETOOL! !LCLIBDIR!
  341.                 )
  342.             ) else (
  343.                 set checkouthead=0
  344.                 if "!LCLIBVERSION!"=="" set checkouthead=1
  345.                 if "!CHECKOUTTOOL!"=="svn checkout" set checkouthead=1
  346.                 if not "!checkouthead!"=="1" (
  347.                     if not "!LCLIBVERSION!"=="" (
  348.                         echo Checking out !LCLIBVERSION! version of !LCLIBNAME! from !REPOURL! ...
  349.                         echo !CHECKOUTTOOL! !REPOURL! !LCLIBDIR! !LCLIBVERSION!
  350.                         !CHECKOUTTOOL! !REPOURL! !LCLIBDIR! !LCLIBVERSION!
  351.                     )
  352.                 ) else (
  353.                     echo Checking out !LCLIBNAME! from !REPOURL! ...
  354.                     echo !CHECKOUTTOOL! !REPOURL! !LCLIBDIR!
  355.                     !CHECKOUTTOOL! !REPOURL! !LCLIBDIR!
  356.                 )
  357.             )
  358.         )
  359.         echo cd !LCLIBDIR!
  360.         cd !LCLIBDIR!
  361.         for /L %%i in (1,1,!PRECONFIGCMDNUM!) do (
  362.             echo !PRECONFIGCMD[%%i]!
  363.             !PRECONFIGCMD[%%i]!
  364.         )
  365.         if not "!CONFIGTOOL!"=="" (
  366.             if not "!CONFIGPREFIX!"=="" (
  367.                 echo !CONFIGTOOL! !CONFIGPARAMS! !CONFIGPREFIX!!LCLIBPREFIX!
  368.                 !CONFIGTOOL! !CONFIGPARAMS! !CONFIGPREFIX!!LCLIBPREFIX!
  369.             ) else (
  370.                 echo !CONFIGTOOL! !CONFIGPARAMS!
  371.                 !CONFIGTOOL! !CONFIGPARAMS!
  372.             )
  373.         )
  374.         if "!BUILDTOOL!"=="devenv" (
  375.             for %%i in (*.sln) do (
  376.                 echo devenv %%~ni.sln /upgrade
  377.                 devenv %%~ni.sln /upgrade
  378.                 if not "!PREBUILDCMD!"=="" (
  379.                     echo !PREBUILDCMD!
  380.                     !PREBUILDCMD!
  381.                 )
  382.                 echo devenv %%~ni.sln /build !LCLIBCONFIG!
  383.                 devenv %%~ni.sln /build !LCLIBCONFIG!
  384.             )
  385.             if not exist !LCLIBNAME!.sln (
  386.                 if not exist !LCLIBNAME!.vcxproj (
  387.                     if exist !LCLIBNAME!.dsp (
  388.                         for %%i in (*.dsp) do (
  389.                             echo devenv %%~ni.dsp /upgrade
  390.                             devenv %%~ni.dsp /upgrade
  391.                         )
  392.                     )
  393.                 )
  394.                 if not "!PREBUILDCMD!"=="" (
  395.                     echo !PREBUILDCMD!
  396.                     !PREBUILDCMD!
  397.                 )
  398.                 echo devenv !LCLIBNAME!.vcxproj /build !LCLIBCONFIG!
  399.                 devenv !LCLIBNAME!.vcxproj /build !LCLIBCONFIG!
  400.             )
  401.         )
  402.         for /L %%i in (1,1,!POSTBUILDCMDNUM!) do (
  403.             echo !POSTBUILDCMD[%%i]!
  404.             !POSTBUILDCMD[%%i]!
  405.         )
  406.         set LCLIBNAME=
  407.         set LCLIBVERSION=
  408.         set LCLIBDIR=
  409.         set LCLIBCONFIG=
  410.         set REPOURL=
  411.         set CHECKOUTTOOL=
  412.         set UPDATETOOL=
  413.         set CONFIGTOOL=
  414.         set CONFIGPARAMS=
  415.         set CONFIGPREFIX=
  416.         set BUILDTOOL=
  417.         set /A POSTBUILDCMDNUM=0
  418.         set /A PRECONFIGCMDNUM=0
  419.         set PREBUILDCMD=
  420.     )
  421. )
  422. echo cd /D %SANDBOX_DIR%
  423. cd /D %SANDBOX_DIR%
  424. if exist !LEECHCRAFT_DIR! (
  425.     if "%UPDATELC%"=="1" (
  426.         echo Updating !LEECHCRAFT_NAME! from !LEECHCRAFT_REPOURL! ...
  427.         echo !LEECHCRAFT_UPDATETOOL! !LEECHCRAFT_DIR!
  428.         !LEECHCRAFT_UPDATETOOL! !LEECHCRAFT_DIR!
  429.     )
  430. ) else (
  431.     echo Checking out !LEECHCRAFT_NAME! from !LEECHCRAFT_REPOURL! ...
  432.     echo !LEECHCRAFT_CHECKOUTTOOL! !LEECHCRAFT_REPOURL! !LEECHCRAFT_DIR!
  433.     !LEECHCRAFT_CHECKOUTTOOL! !LEECHCRAFT_REPOURL! !LEECHCRAFT_DIR!
  434. )
  435. if "!FIXLCSRC!"=="1" (
  436.     cd %LEECHCRAFT_DIR%/src
  437.     set "p1=GetObject ("
  438.     set "p2=St00p1dD34foodGotObject ("
  439.     set "p3=GetMessage ("
  440.     set "p4=St00p1dD34foodGotMessage ("
  441.     set "p5=SetPort ("
  442.     set "p6=St00p1dD34foodSetPort ("
  443.     set "p7=GetForm ("
  444.     set "p8=St00p1dD34foodGotForm ("
  445.     set "p9=IDataFilter"
  446.     set "p10=ISt00p1dD34foodDataFilter"
  447.     set "p11=ISt00p1dD34foodDataFilter.h"
  448.     set "p12=IDataFilter.h"
  449.     set "p13=LoadIcon ("
  450.     set "p14=St00p1dD34foodLoadIcon ("
  451.     for /r %%f in (*.*) do (
  452.         echo call :replace_in_file "%%~f" "!p1!" "!p2!"
  453.         call :replace_in_file "%%~f" "!p1!" "!p2!"
  454.         echo call :replace_in_file "%%~f" "!p3!" "!p4!"
  455.         call :replace_in_file "%%~f" "!p3!" "!p4!"
  456.         echo call :replace_in_file "%%~f" "!p5!" "!p6!"
  457.         call :replace_in_file "%%~f" "!p5!" "!p6!"
  458.         echo call :replace_in_file "%%~f" "!p7!" "!p8!"
  459.         call :replace_in_file "%%~f" "!p7!" "!p8!"
  460.         echo call :replace_in_file "%%~f" "!p9!" "!p10!"
  461.         call :replace_in_file "%%~f" "!p9!" "!p10!"
  462.         echo call :replace_in_file "%%~f" "!p11!" "!p12!"
  463.         call :replace_in_file "%%~f" "!p11!" "!p12!"
  464.         echo call :replace_in_file "%%~f" "!p13!" "!p14!"
  465.         call :replace_in_file "%%~f" "!p13!" "!p14!"
  466.     )
  467.     cd ../..
  468. )
  469. cd %LEECHCRAFT_DIR%/tools/win32
  470. rem == Build variables ==
  471. set BOOST_ROOT=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR%
  472. set TORRENT_DIR=%LIBS_BASE_DIR%/%LIBTORRENT_LCLIBDIR%
  473. set QXMPP_LOCAL=%LIBS_BASE_INSTALL_DIR%/%QXMPP_LCLIBDIR%
  474. set QXMPP_DIR="%LIBS_BASE_INSTALL_DIR%/%QXMPP_LCLIBDIR%"
  475. rem Go to http://wiki.videolan.org/GenerateLibFromDll first!
  476. rem Generate libs into this folder
  477. set VLC_DIR=D:\Project\vlc-2.1.0-git-20120204-0003\
  478. set TAGLIB_DIR=%LIBS_BASE_INSTALL_DIR%/%TAGLIB_LCLIBDIR%
  479. set QWT_DIR="%LIBS_BASE_INSTALL_DIR%/%QWT_LCLIBDIR%"
  480. rem всеравно пока не работает
  481. rem set POPPLER_QT4_DIR=C:\Project\poppler-qt4
  482. set OXYGENICONS_DIR="%LIBS_BASE_DIR%/%OXYGENICONS_LCLIBDIR%"
  483. set QCA_DIR="%LIBS_BASE_DIR%/%QCA_LCLIBDIR%"
  484. set BUILD_RELEASE_AND_DEBUG=0
  485. rem == Collect variables ==
  486. set BUILD_TYPE=%LEECHCRAFT_CONFIG%
  487. rem This is the directory where LeechCraft will live
  488. set TARGET_DIR=LeechCraft
  489. set SIGNCOMMAND=signtool sign /a /t http://time.certum.pl
  490. set SIGNCODE=1
  491. rem Set these variables to proper paths of your system:
  492. set BOOST_BIN_DIR="%BOOST_ROOT%\stage\lib"
  493. set BOOST_VERSION="%BOOST_LCLIBVERSION%"
  494. rem set LIBTORRENT_BIN_DIR="%TORRENT_DIR%\bin\msvc-11.0\Release\boost-link-shared\boost-source\threading-multi"
  495. set LIBTORRENT_BIN_DIR="%TORRENT_DIR%/build/%LIBTORRENT_LCLIBCONFIG%"
  496. set OPENSSL_BIN_DIR="%OPENSSL_DIR%"
  497. set QT_BIN_DIR="%QTDIR%\bin"
  498. set QJSON_BIN_DIR="%LIBS_BASE_DIR%/%QJSON_LCLIBDIR%/build/lib/%QJSON_LCLIBCONFIG%"
  499. set TAGLIB_BIN_DIR="%LIBS_BASE_DIR%/%TAGLIB_LCLIBDIR%/build/%TAGLIB_LCLIBNAME%/%TAGLIB_LCLIBCONFIG%"
  500. rem set HUNSPELL_BIN_DIR="%LIBS_BASE_DIR%/%HUNSPELL_LCLIBDIR%/src/%HUNSPELL_LCLIBNAME%/%HUNSPELL_LCLIBCONFIG%/"
  501. set QCA_BIN_DIR="%LIBS_BASE_DIR%/%QCA_LCLIBDIR%/build/lib/%QCA_LCLIBCONFIG%"
  502. set LIBLASTFM_DIR="%LIBS_BASE_DIR%/%LASTFM_LCLIBDIR%/build/src/%LASTFM_LCLIBCONFIG%"
  503. set LEECHCRAFT_ROOT_DIR=%SANDBOX_DIR%\%LEECHCRAFT_DIR%
  504. set LEECHCRAFT_BUILD_DIR=build32
  505. set CMAKE_PREFIX_PATH=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR%;%OPENSSL_DIR%;%LIBS_BASE_DIR%/%PCRE_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QCA_LCLIBDIR%;%LIBS_BASE_DIR%/%QJSON_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QROSS_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QWT_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QXMPP_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QXT_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%TAGLIB_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%SPEEX_LCLIBDIR%
  506. @echo on
  507. cd ../..
  508. for /f "tokens=*" %%a in ('git describe') do set LEECHCRAFT_VERSION=%%a
  509. echo Version: %LEECHCRAFT_VERSION%
  510. cd tools\win32
  511. if "%BUILD_LC_SHIT%"=="1" (
  512.     if %BUILD_RELEASE_AND_DEBUG% == 0 (
  513.         if "%BUILD_TYPE%" == "Debug" (
  514.             SET BTYPE=-DCMAKE_BUILD_TYPE=Debug
  515.         )
  516.         if "%BUILD_TYPE%" == "Release" (
  517.             SET BTYPE=-DCMAKE_BUILD_TYPE=Release
  518.         )
  519.     )   
  520.     rem Be sure that cmake executable is in your system %PATH%.
  521.     if exist build32 rmdir /s /q build32
  522.     if not exist build32 mkdir build32
  523.     cd build32
  524.     cmake ../../../src  ^
  525.         %BTYPE% ^
  526.         -DCMAKE_PREFIX_PATH=%LIBS_BASE_DIR%/%BOOST_LCLIBDIR%;%OPENSSL_DIR%;%LIBS_BASE_DIR%/%PCRE_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QCA_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QJSON_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QROSS_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QWT_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QXMPP_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%QXT_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%TAGLIB_LCLIBDIR%;%LIBS_BASE_INSTALL_DIR%/%SPEEX_LCLIBDIR% ^
  527.         -DENABLE_DBUSMANAGER=False ^
  528.         -DENABLE_ANHERO=False ^
  529.         -DENABLE_MONOCLE=False ^
  530.         -DENABLE_LMP_MPRIS=False ^
  531.         -DENABLE_VROOBY=False ^
  532.         -DENABLE_AZOTH_VADER=False ^
  533.         -DWITH_MUSICZOMBIE_CHROMAPRINT=False ^
  534.         -DENABLE_LEMON=False ^
  535.         -DRBTorrent_DIR=%TORRENT_DIR% ^
  536.         -DRBTorrent_INCLUDE_DIR=%LIBS_BASE_DIR%/%LIBTORRENT_LCLIBDIR%/include ^
  537.         -DRBTorrent_LIBRARY=%LIBS_BASE_DIR%/%LIBTORRENT_LCLIBDIR%/build/%LIBTORRENT_LCLIBCONFIG%/torrent-rasterbar.lib ^
  538.         -DPC_PCRE_INCLUDE_DIRS=%LIBS_BASE_DIR%/%PCRE_LCLIBDIR%/build ^
  539.         -DPC_PCRE_LIBDIR=%LIBS_BASE_DIR%/%PCRE_LCLIBDIR%/build/%PCRE_LCLIBCONFIG% ^
  540.         -DQJSON_INCLUDE_DIR=%LIBS_BASE_DIR%/%QJSON_LCLIBDIR% ^
  541.         -DQJSON_LIBRARIES=%LIBS_BASE_DIR%/%QJSON_LCLIBDIR%/build/lib/%QJSON_LCLIBCONFIG%/%QJSON_LCLIBNAME%.lib ^
  542.         -DTAGLIB_INCLUDES=%LIBS_BASE_DIR%/%TAGLIB_LCLIBDIR% ^
  543.         -DTAGLIB_LIBRARIES=%LIBS_BASE_DIR%/%TAGLIB_LCLIBDIR%/build/%TAGLIB_LCLIBNAME%/%TAGLIB_LCLIBCONFIG%/tag.lib ^
  544.         -DSPEEX_INCLUDE_DIRS=%LIBS_BASE_DIR%/%SPEEX_LCLIBDIR%/include ^
  545.         -DSPEEX_LIBRARIES=%LIBS_BASE_DIR%/%SPEEX_LCLIBDIR%/win32/VS2008/%SPEEX_LCLIBCONFIG%/lib%SPEEX_LCLIBNAME%.lib ^
  546.         -DQWT_DIR=%QWT_DIR% ^
  547.         -DHUNSPELL_DIR=%LIBS_BASE_DIR%/%HUNSPELL_LCLIBDIR% ^
  548.         -DHUNSPELL_INCLUDE_DIR=%LIBS_BASE_DIR%/%HUNSPELL_LCLIBDIR%/src ^
  549.         -DHUNSPELL_LIBRARIES=%LIBS_BASE_DIR%/%HUNSPELL_LCLIBDIR%/src/%HUNSPELL_LCLIBNAME%/%HUNSPELL_LCLIBCONFIG%/%HUNSPELL_LCLIBNAME%.lib ^
  550.         -DQCA2_INCLUDE_DIR=%LIBS_BASE_DIR%/%QCA_LCLIBDIR%/include/QtCrypto ^
  551.         -DQCA2_LIBRARIES=%LIBS_BASE_DIR%/%QCA_LCLIBDIR%/build/lib/%QCA_LCLIBCONFIG%/%QCA_LCLIBNAME%.lib ^
  552.         -DLastFM_INCLUDE_DIR=%LIBS_BASE_DIR%/%LASTFM_LCLIBDIR% ^
  553.         -DLastFM_INCLUDE_DIRS=%LIBS_BASE_DIR%/%LASTFM_LCLIBDIR% ^
  554.         -DLastFM_LIBRARIES=%LIBS_BASE_DIR%/%LASTFM_LCLIBDIR%/build/src/%LASTFM_LCLIBCONFIG%/%LASTFM_LCLIBNAME%.lib
  555.     set "p1=<PlatformToolset>v110"
  556.     set "p2=<PlatformToolset>v120_CTP_Nov2012"
  557.     set "p3=<PreprocessorDefinitions>"
  558.     set "p4=<PreprocessorDefinitions>NOMINMAX;"
  559.     for /r %%f in (*.vcxproj) do (
  560.         rem cd /D %%~dpf
  561.         echo call :replace_in_file "%%~f" "!p1!" "!p2!"
  562.         call :replace_in_file "%%~f" "!p1!" "!p2!"
  563.         echo call :replace_in_file "%%~f" "!p3!" "!p4!"
  564.         call :replace_in_file "%%~f" "!p3!" "!p4!"
  565.     )
  566.     echo devenv %LEECHCRAFT_NAME%.sln /build %LEECHCRAFT_CONFIG%
  567.     devenv %LEECHCRAFT_NAME%.sln /build %LEECHCRAFT_CONFIG%
  568.     cd ..
  569. )
  570. rem if "!COLLECT_SHIT!"=="1" (
  571.     rem == Collect ==
  572.     set BOOST_LIB_SUFFIX=""
  573.     set QT_LIB_SUFFIX=
  574.     rem Boost and Qt libraries have Debug suffixies in names
  575.     if "%BUILD_TYPE%" == "Debug" (
  576.         set BOOST_LIB_SUFFIX="gd-"
  577.         set QT_LIB_SUFFIX="d"
  578.     )
  579.     if exist %TARGET_DIR% rmdir /s /q %TARGET_DIR%
  580.     rem === DIRECTORY STRUCTURE ===
  581.     mkdir %TARGET_DIR%
  582.     mkdir %TARGET_DIR%\certs
  583.     mkdir %TARGET_DIR%\plugins
  584.     mkdir %TARGET_DIR%\plugins\bin
  585.     mkdir %TARGET_DIR%\plugins\imageformats
  586.     mkdir %TARGET_DIR%\plugins\sqldrivers
  587.     mkdir %TARGET_DIR%\plugins\phonon_backend
  588.     mkdir %TARGET_DIR%\plugins\iconengines
  589.     mkdir %TARGET_DIR%\plugins\crypto
  590.     mkdir %TARGET_DIR%\settings
  591.     mkdir %TARGET_DIR%\translations
  592.     mkdir %TARGET_DIR%\leechcraft
  593.     mkdir %TARGET_DIR%\leechcraft\themes
  594.     mkdir %TARGET_DIR%\icons
  595.     rem === SHARED COMPONENTS ===
  596.     rem - Boost -
  597.     copy %BOOST_BIN_DIR%\boost_date_time-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.dll %TARGET_DIR%
  598.     copy %BOOST_BIN_DIR%\boost_filesystem-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.dll %TARGET_DIR%
  599.     copy %BOOST_BIN_DIR%\boost_program_options-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.dll %TARGET_DIR%
  600.     copy %BOOST_BIN_DIR%\boost_system-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.dll %TARGET_DIR%
  601.     copy %BOOST_BIN_DIR%\boost_thread-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.dll %TARGET_DIR%
  602.     rem - Qt -
  603.     copy %QT_BIN_DIR%\phonon%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  604.     copy %QT_BIN_DIR%\QtCore%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  605.     copy %QT_BIN_DIR%\QtDeclarative%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  606.     copy %QT_BIN_DIR%\QtGui%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  607.     copy %QT_BIN_DIR%\QtMultimedia%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  608.     copy %QT_BIN_DIR%\QtNetwork%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  609.     copy %QT_BIN_DIR%\QtScript%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  610.     copy %QT_BIN_DIR%\QtSql%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  611.     copy %QT_BIN_DIR%\QtSvg%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  612.     copy %QT_BIN_DIR%\QtWebKit%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  613.     copy %QT_BIN_DIR%\QtXml%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  614.     copy %QT_BIN_DIR%\QtXmlPatterns%QT_LIB_SUFFIX%4.dll %TARGET_DIR%
  615.     copy %QT_BIN_DIR%\..\plugins\imageformats\qgif%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  616.     copy %QT_BIN_DIR%\..\plugins\imageformats\qico%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  617.     copy %QT_BIN_DIR%\..\plugins\imageformats\qjpeg%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  618.     copy %QT_BIN_DIR%\..\plugins\imageformats\qmng%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  619.     copy %QT_BIN_DIR%\..\plugins\imageformats\qsvg%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  620.     copy %QT_BIN_DIR%\..\plugins\imageformats\qtiff%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\imageformats
  621.     copy %QT_BIN_DIR%\..\plugins\iconengines\qsvgicon%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\iconengines
  622.     copy %QT_BIN_DIR%\..\plugins\phonon_backend\phonon_ds9%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\phonon_backend
  623.     copy %QT_BIN_DIR%\..\plugins\sqldrivers\qsqlite%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\sqldrivers
  624.     copy %QT_BIN_DIR%\..\plugins\sqldrivers\qsqlpsql%QT_LIB_SUFFIX%4.dll %TARGET_DIR%\plugins\sqldrivers
  625.     rem copy %QT_BIN_DIR%\..\translations\qt_*.qm %TARGET_DIR%\translations
  626.     rem - OpenSSL -
  627.     copy %OPENSSL_BIN_DIR%\libeay32.dll %TARGET_DIR%
  628.     copy %OPENSSL_BIN_DIR%\ssleay32.dll %TARGET_DIR%
  629.     rem - libtorrent -
  630.     copy %LIBTORRENT_BIN_DIR%\torrent-rasterbar.dll %TARGET_DIR%
  631.     rem - qjson -
  632.     copy %QJSON_BIN_DIR%\qjson.dll %TARGET_DIR%
  633.     rem - VLC -
  634.     copy %VLC_DIR%\libvlc.dll %TARGET_DIR%
  635.     copy %VLC_DIR%\libvlccore.dll %TARGET_DIR%
  636.     rem - QWT -
  637.     copy %QWT_DIR%\lib\qwt%QT_LIB_SUFFIX%.dll %TARGET_DIR%
  638.     rem - Taglib -
  639.     copy %TAGLIB_BIN_DIR%\tag.dll %TARGET_DIR%
  640.     rem - Poppler-qt4 -
  641.     copy %POPPLER_QT4_BIN_DIR%\poppler-qt4.dll %TARGET_DIR%
  642.     rem - Hunspell -
  643.     rem copy %HUNSPELL_BIN_DIR%\libhunspell.dll %TARGET_DIR%
  644.     rem - QCA2 -
  645.     copy %QCA_BIN_DIR%\qca.dll %TARGET_DIR%
  646.     copy %QCA_DIR%\certs\rootcerts.pem %TARGET_DIR%\certs
  647.     rem copy %QTDIR%\plugins\crypto\qca-gnupg.dll %TARGET_DIR%\plugins\crypto
  648.     copy %QCA_BIN_DIR%\qca-gnupg.dll %TARGET_DIR%\plugins\crypto
  649.     rem - QXmpp -
  650.     copy %QXMPP_DIR%\lib\qxmpp%QT_LIB_SUFFIX%0.dll %TARGET_DIR%
  651.     rem - LibLastFM -
  652.     copy %LIBLASTFM_DIR%/lastfm.dll %TARGET_DIR%
  653.     rem - Other stuff -
  654.     copy "%LEECHCRAFT_ROOT_DIR%\tools\win32\installer\qt.conf" %TARGET_DIR%
  655.     rem == Copy install script to Leechcraft
  656.     XCOPY installer\*.* %TARGET_DIR% /Y
  657.     rem === Redist & tools ===
  658.     rem mkdir %TARGET_DIR%\myspell
  659.     rem xcopy /e /i %TOOLS_DIR%\myspell %TARGET_DIR%\myspell
  660.     copy %TOOLS_DIR%\7za.exe %TARGET_DIR%
  661.     copy %TOOLS_DIR%\vcredist_x86.exe %TARGET_DIR%
  662.     rem - Main files -
  663.     copy %LEECHCRAFT_BUILD_DIR%\core\%BUILD_TYPE%\leechcraft.exe %TARGET_DIR%
  664.     copy %LEECHCRAFT_BUILD_DIR%\util\%BUILD_TYPE%\lcutil.dll %TARGET_DIR%
  665.     copy %LEECHCRAFT_BUILD_DIR%\xmlsettingsdialog\%BUILD_TYPE%\xmlsettingsdialog.dll %TARGET_DIR%
  666.     rem - Plugins -
  667.     for /r %LEECHCRAFT_BUILD_DIR%\plugins %%f in (%BUILD_TYPE%\leechcraft_*.dll) do copy %%f %TARGET_DIR%\plugins\bin
  668.     rem - Oxygen icon theme -
  669.     xcopy /e /i %OXYGENICONS_DIR% %TARGET_DIR%\icons\oxygen
  670.     copy nul %TARGET_DIR%\leechcraft\themes\oxygen
  671.     rem === Debug files ===
  672.     set COPYDEBUG=0
  673.     if "%BUILD_TYPE%" == "Debug" set COPYDEBUG=1
  674.     if "%BUILD_TYPE%" == "RelWithDebInfo" set COPYDEBUG=1
  675.     if %COPYDEBUG% == 1 (
  676.         rem - qjson -
  677.         copy %QJSON_BIN_DIR%\qjson.pdb %TARGET_DIR%
  678.         rem - libtorrent -
  679.         copy %LIBTORRENT_BIN_DIR%\torrent.pdb %TARGET_DIR%
  680.         rem - QWT -
  681.         copy %QWT_DIR%\lib\qwt%QT_LIB_SUFFIX%.pdb %TARGET_DIR%
  682.         rem - Boost -
  683.         copy %BOOST_ROOT%\bin.v2\libs\date_time\build\msvc-%MYMSVSVERSION%.0\debug\threading-multi\boost_date_time-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.pdb %TARGET_DIR%
  684.         copy %BOOST_ROOT%\bin.v2\libs\filesystem\build\msvc-%MYMSVSVERSION%.0\debug\threading-multi\boost_filesystem-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.pdb %TARGET_DIR%
  685.         copy %BOOST_ROOT%\bin.v2\libs\program_options\build\msvc-%MYMSVSVERSION%.0\debug\threading-multi\boost_program_options-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.pdb %TARGET_DIR%
  686.         copy %BOOST_ROOT%\bin.v2\libs\system\build\msvc-%MYMSVSVERSION%.0\debug\threading-multi\boost_system-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.pdb %TARGET_DIR%
  687.         copy %BOOST_ROOT%\bin.v2\libs\thread\build\msvc-%MYMSVSVERSION%.0\debug\threading-multi\boost_thread-vc%MYMSVSVERSION%0-mt-%BOOST_LIB_SUFFIX%%BOOST_VERSION%.pdb %TARGET_DIR%
  688.         rem - Hunspell -
  689.         copy %HUNSPELL_BIN_DIR%\libhunspell.pdb %TARGET_DIR%
  690.         rem - Main files -
  691.         copy %LEECHCRAFT_BUILD_DIR%\core\%BUILD_TYPE%\leechcraft.pdb %TARGET_DIR%
  692.         copy %LEECHCRAFT_BUILD_DIR%\util\%BUILD_TYPE%\lcutil.pdb %TARGET_DIR%
  693.         copy %LEECHCRAFT_BUILD_DIR%\xmlsettingsdialog\%BUILD_TYPE%\xmlsettingsdialog.pdb %TARGET_DIR%
  694.         rem - Plugins -
  695.         for /r %LEECHCRAFT_BUILD_DIR%\plugins %%f in (%BUILD_TYPE%\leechcraft_*.pdb) do copy %%f %TARGET_DIR%\plugins\bin
  696.     )
  697. rem )
  698. endlocal
  699. goto :eof
  700. ::--------------------------------------------------------
  701. ::-- Function section starts below here
  702. ::--------------------------------------------------------
  703. :saveshit
  704. rem set %1="%~2"
  705. set a="%~2"
  706. set a=%a:'="%
  707. set %1=%a%
  708. exit /b 0
  709. :mycopy
  710. for /R %1 %%f in (%3) do copy %%f %2\
  711. exit /b 0
  712. :cmake_build_dir
  713. if not exist %CMAKEBUILDDIR% (
  714.     echo mkdir %CMAKEBUILDDIR%
  715.     mkdir %CMAKEBUILDDIR%
  716. )
  717. echo cd %CMAKEBUILDDIR%
  718. cd %CMAKEBUILDDIR%
  719. exit /b 0
  720. :git_checkout
  721. setlocal EnableDelayedExpansion
  722. set "updir=%CD%"
  723. echo git clone %1 %2
  724. git clone %1 %2
  725. echo cd %2
  726. cd %2
  727. echo git checkout v%3 -b my_v%3
  728. git checkout v%3 -b my_v%3
  729. echo cd %updir%
  730. cd %updir%
  731. endlocal
  732. exit /b 0
  733. :git_update
  734. setlocal EnableDelayedExpansion
  735. set "updir=%CD%"
  736. echo cd %1
  737. cd %1
  738. echo git stash
  739. git stash
  740. echo git pull
  741. git pull
  742. echo cd %updir%
  743. cd %updir%
  744. endlocal
  745. exit /b 0
  746. :qtconfigure
  747. cd mkspecs/win32-msvc2012
  748. set "qtp1= -Zc:wchar_t-"
  749. set "qtp2="
  750. echo call :replace_in_file "qmake.conf" "!qtp1!" "!qtp2!"
  751. call :replace_in_file "qmake.conf" "!qtp1!" "!qtp2!"
  752. cd ../..
  753. echo setx QTDIR "%LIBS_BASE_DIR%/!QTQT_LCLIBDIR!"
  754. setx QTDIR "%LIBS_BASE_DIR%/!QTQT_LCLIBDIR!"
  755. echo setx QMAKESPEC "win32-msvc2012"
  756. setx QMAKESPEC "win32-msvc2012"
  757. set np=%QTDIR%\bin
  758. echo %path%|findstr /i /c:"%np:"=%">nul || set path=%path%;%np%
  759. echo.y|configure -mp -opensource -openssl-linked OPENSSL_LIBS="-lssleay32MD -llibeay32MD" -I "%OPENSSL_DIR%\include" -L "%OPENSSL_DIR%\lib\VC\static" -l ws2_32 -l gdi32 -l user32 -l crypt32 -l advapi32 -nomake demos -nomake examples -platform win32-msvc2012
  760. exit /b 0
  761.  
  762. :qtwebkitfix
  763.  
  764. cd src/3rdparty/webkit/Source/JavaScriptCore/wtf
  765.  
  766. if not exist HashSet.h.old (
  767.     rename HashSet.h HashSet.h.old
  768.  
  769.     set num = 0
  770.  
  771.     (for /f "usebackq delims=" %%h in ("HashSet.h.old") do (
  772.         echo.%%h
  773.         if !num! equ 143 (
  774.             echo /*
  775.         )
  776.         if !num! equ 148 (
  777.             echo */
  778.             echo    // fix
  779.             echo        template^<typename T^, typename U^, typename V^>
  780.             echo        inline pair^<typename HashSet^<T^, U^, V^>::iterator^, bool^> HashSet^<T^, U^, V^>::add^(const ValueType^& value^)
  781.             echo        {
  782.             echo            typedef typename HashSet^<T^, U^, V^>::iterator iter_type^;
  783.             echo            auto^& tmpp ^= m_impl.add^(value^)^;
  784.             echo            return make_pair^(^(iter_type^)tmpp.first^, tmpp.second^)^;
  785.             echo        }
  786.             echo    /*
  787.         )
  788.         if !num! equ 156 (
  789.             echo    */
  790.             echo    // fix
  791.             echo    template^<typename Value^, typename HashFunctions^, typename Traits^>
  792.             echo    template^<typename T^, typename HashTranslator^>
  793.             echo    inline pair^<typename HashSet^<Value^, HashFunctions^, Traits^>::iterator^, bool^>
  794.             echo    HashSet^<Value^, HashFunctions^, Traits^>::add^(const T^& value^)
  795.             echo    {
  796.             echo        typedef HashSetTranslatorAdapter^<ValueType^, ValueTraits^, T^, HashTranslator^> Adapter^;
  797.             echo        typedef typename HashSet^<Value^, HashFunctions^, Traits^>::iterator iter_type^;
  798.             echo        auto^& tmpp ^= m_impl.template addPassingHashCode^<T^, T^, Adapter^>^(value^, value^)^;
  799.             echo        return make_pair^(^(iter_type^)tmpp.first^, tmpp.second^)^;
  800.             echo    }
  801.         )
  802.         set /a num+=1
  803.     ))>"HashSet.h"
  804.  
  805.     set "qtp1=it = end"
  806.     set "qtp2=it ^!= end"
  807.  
  808.     echo call :replace_in_file "HashSet.h" "!qtp1!" "!qtp2!"
  809.     call :replace_in_file "HashSet.h" "!qtp1!" "!qtp2!"
  810. )
  811.  
  812. cd ../../../../../..
  813.  
  814. cd src/3rdparty/webkit/Source/WebCore
  815.  
  816. if not exist WebCore.pri.old (
  817.     copy WebCore.pri WebCore.pri.old
  818.  
  819.     set "qtp1=win32-msvc2005|win32-msvc2008|win32-msvc2010"
  820.     set "qtp2=win32-msvc2005|win32-msvc2008|win32-msvc2010|win32-msvc2012"
  821.  
  822.     echo call :replace_in_file "WebCore.pri" "!qtp1!" "!qtp2!"
  823.     call :replace_in_file "WebCore.pri" "!qtp1!" "!qtp2!"
  824. )
  825.  
  826. cd ../../../../..
  827.  
  828. exit /b 0
  829.  
  830. :qcasetupwinlocal
  831.  
  832. exit /b 0
  833.  
  834. :qcapostbuild
  835.  
  836. cd %LIBS_BASE_INSTALL_DIR%
  837. mkdir %QCA_LCLIBNAME%
  838.  
  839. cd %LIBS_BASE_DIR%/%QCA_LCLIBNAME%
  840.  
  841. copy crypto.prf.in "%LIBS_BASE_INSTALL_DIR%/%QCA_LCLIBNAME%"
  842. copy installwin.bat "%LIBS_BASE_INSTALL_DIR%/%QCA_LCLIBNAME%"
  843.  
  844. cd %LIBS_BASE_INSTALL_DIR%/%QCA_LCLIBNAME%
  845.  
  846. call installwin.bat
  847.  
  848. exit /b 0
  849.  
  850. :hunspelldll
  851. set "HUNSPELLp1=<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>"
  852. set "HUNSPELLp2=<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>"
  853.  
  854. echo call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  855. call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  856.  
  857. set "HUNSPELLp1=<RuntimeLibrary>MultiThreaded</RuntimeLibrary>"
  858. set "HUNSPELLp2=<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>"
  859.  
  860. echo call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  861. call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  862.  
  863. set "HUNSPELLp1=<PreprocessorDefinitions>"
  864. rem set "HUNSPELLp2=<PreprocessorDefinitions>BUILDING_LIBHUNSPELL;"
  865. set "HUNSPELLp2=<PreprocessorDefinitions>HUNSPELL_STATIC;"
  866.  
  867. echo call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  868. call :replace_in_file "hunspell.vcxproj" "!HUNSPELLp1!" "!HUNSPELLp2!"
  869.  
  870. if not exist hunspell.vcxproj.old (
  871.     rename hunspell.vcxproj hunspell.vcxproj.old
  872.  
  873.     set "HUNSPELLp1=    <ClCompile Include="hashmgr.cxx" />"
  874.  
  875.     (for /f "usebackq delims=" %%h in ("hunspell.vcxproj.old") do (
  876.         echo.%%h
  877.         if "%%h" equ "!HUNSPELLp1!" (
  878.             echo ^<ClCompile Include="filemgr.cxx" /^>
  879.             echo ^<ClCompile Include="hunzip.cxx" /^>
  880.             echo ^<ClCompile Include="phonet.cxx" /^>
  881.             echo ^<ClCompile Include="replist.cxx" /^>
  882.         )
  883.     ))>"hunspell.vcxproj"
  884. )
  885. exit /b 0
  886.  
  887. :replace_in_file oldText newText file -- replaces a string in a text file
  888. ::                                  -- OldStr [in] - string to be replaced
  889. ::                                  -- NewStr [in] - string to replace with
  890. ::                                  -- File   [in] - file to be parsed:$created 20091222 :$changed 20091222 :$categories FileOperation,VB
  891. :$source http://www.dostips.com
  892. @echo off
  893. Setlocal Disabledelayedexpansion
  894. set "fn=%0"
  895. set "fn=%fn:~1%.vbs"
  896. md "%TEMP_DIR%\" >NUL 2>&1
  897. if exist "%TEMP_DIR%\%fn%" del "%TEMP_DIR%\%fn%"
  898. REM the xcopy helps checking if the vbs file needs to be created or re-created
  899. rem xcopy /diyl "%~f0?" "%TEMP_DIR%\%fn%"|find "1 File(s)">NUL&&(
  900. (
  901.     set "cpy="
  902.     (for /f "tokens=1* delims=]" %%A in ('find /v /n "" "%~f0"') do (
  903.         if "%%B"=="'%fn%" set "cpy=Y"
  904.         if "%%B"=="EXIT /b" set "cpy="
  905.         if defined cpy call echo.%%B
  906.     ))>"%TEMP_DIR%\%fn%"
  907.     REM echo.Updated:"%TEMP_DIR%\%fn%"
  908. )
  909. cscript //nologo "%TEMP_DIR%\%fn%" %*
  910. exit /b
  911. 'replace_in_file.vbs
  912. '$created 20091222 '$changed 20091222
  913. '$source http://www.dostips.com
  914. '$creatorbatch %~f0,%date%,%time%
  915. Const ForReading = 1
  916. Const ForWriting = 2
  917.  
  918. strFileName = Wscript.Arguments(0)
  919. strOldText = Wscript.Arguments(1)
  920. strNewText = Wscript.Arguments(2)
  921.  
  922. Set objFSO = CreateObject("Scripting.FileSystemObject")
  923. Set objFile = objFSO.OpenTextFile(strFileName, ForReading)
  924.  
  925. strText = objFile.ReadAll
  926. objFile.Close
  927. strNewText = Replace(strText, strOldText, strNewText)
  928.  
  929. Set objFile = objFSO.OpenTextFile(strFileName, ForWriting)
  930. objFile.WriteLine strNewText
  931. objFile.Close
  932.  
  933. EXIT /b
  934.  
  935.  
  936.  
  937. :download_and_extract_file
  938. @echo off
  939. Setlocal Disabledelayedexpansion
  940. set "fn=%0"
  941. set "fn=%fn:~1%.vbs"
  942. md "%TEMP_DIR%\" >NUL 2>&1
  943. if exist "%TEMP_DIR%\%fn%" del "%TEMP_DIR%\%fn%"
  944. REM the xcopy helps checking if the vbs file needs to be created or re-created
  945. rem xcopy /diyl "%~f0?" "%TEMP_DIR%\%fn%"|find "1 File(s)">NUL&&(
  946. (
  947.     set "cpy="
  948.     (for /f "tokens=1* delims=]" %%A in ('find /v /n "" "%~f0"') do (
  949.         if "%%B"=="'%fn%" set "cpy=Y"
  950.         if "%%B"=="EXIT /b" set "cpy="
  951.         if defined cpy call echo.%%B
  952.     ))>"%TEMP_DIR%\%fn%"
  953.     REM echo.Updated:"%TEMP_DIR%\%fn%"
  954. )
  955. cscript //nologo "%TEMP_DIR%\%fn%" %*
  956. exit /b
  957. 'download_and_extract_file.vbs
  958.  
  959. sUrl = Wscript.Arguments(0)
  960.  
  961. filename = split(sURL,"/")
  962. sTempFile = filename(uBound(filename))
  963.  
  964. '--- download
  965. WiTh CreateObject("MSXML2.XMLHTTP") '--VBS
  966.     .Open "GET", sUrl, false    '--VBS
  967.     .Send() '--VBS
  968.     If .Status = 200 Then   '--VBS
  969.         ResponseBody = .ResponseBody    '--VBS
  970.         With Createobject("Scripting.FileSystemObject") '--VBS
  971.             If .FileExists(sTempFile) Then  '--VBS
  972.                 .DeleteFile sTempFile   '--VBS
  973.             End If  '--VBS
  974.         End With    '--VBS
  975.         With CreateObject("ADODB.Stream")   '--VBS
  976.             .Open   '--VBS
  977.             .Type = 1 ' adTypeBinary    '--VBS
  978.             .Write ResponseBody '--VBS
  979.             .Position = 0   '--VBS
  980.             .SaveToFile sTempFile   '--VBS
  981.         End With    '--VBS
  982.     End If  '--VBS
  983. End With    '--VBS
  984. '--- extract
  985. With CreateObject("Scripting.FileSystemObject") '--VBS
  986.     On Error Resume Next    '--VBS
  987.     With Createobject("Scripting.FileSystemObject")
  988.         sFolder = .GetBaseName(sTempFile)
  989.         .DeleteFolder sFolder, True
  990.         .CreateFolder sFolder   '--VBS
  991.     End With
  992.     On Error GoTo 0 '--VBS
  993.     With CreateObject("Shell.Application")  '--VBS
  994.         Set fso = CreateObject("Scripting.FileSystemObject")
  995.         .NameSpace(fso.GetAbsolutePathName(sFolder)).CopyHere .NameSpace(fso.GetAbsolutePathName(sTempFile)).Items    '--VBS
  996.     End With    '--VBS
  997.     .DeleteFile sTempFile, True '--VBS
  998. End With    '--VBS
  999. EXIT /b