diff options
Diffstat (limited to 'nsis')
| -rw-r--r-- | nsis/COPYING.ja.txt | 420 | ||||
| -rw-r--r-- | nsis/COPYING.txt | 420 | ||||
| -rw-r--r-- | nsis/Makefile.am | 12 | ||||
| -rw-r--r-- | nsis/Makefile.in | 500 | ||||
| -rw-r--r-- | nsis/README.txt | 11 | ||||
| -rw-r--r-- | nsis/compile.bat | 15 | ||||
| -rw-r--r-- | nsis/english.nsh | 71 | ||||
| -rw-r--r-- | nsis/japanese.nsh | 71 | ||||
| -rw-r--r-- | nsis/plugin-updater.nsi | 173 | ||||
| -rw-r--r-- | nsis/spanish.nsh | 72 | ||||
| -rw-r--r-- | nsis/sylpheed-defs.nsh | 31 | ||||
| -rw-r--r-- | nsis/sylpheed.nsi | 568 | ||||
| -rw-r--r-- | nsis/update-manager.nsi | 124 |
13 files changed, 2488 insertions, 0 deletions
diff --git a/nsis/COPYING.ja.txt b/nsis/COPYING.ja.txt new file mode 100644 index 0000000..4b13371 --- /dev/null +++ b/nsis/COPYING.ja.txt | |||
| @@ -0,0 +1,420 @@ | |||
| 1 | Sylpheed is copyrighted 1999-2017 by Hiroyuki Yamamoto and | ||
| 2 | Sylpheed Development Team, and distributed under the GNU GPL. | ||
| 3 | |||
| 4 | Specific permission is granted for the GPLed code in this distribition to | ||
| 5 | be linked to OpenSSL without invoking GPL clause 2(b). | ||
| 6 | |||
| 7 | GLib, GTK+, Pango, and LibSylph is distributed under the GNU LGPL. | ||
| 8 | |||
| 9 | ------------------------------------------------------------------------------- | ||
| 10 | SylFilter - a message filter | ||
| 11 | |||
| 12 | Copyright (C) 2011-2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> | ||
| 13 | Copyright (C) 2011-2012 Sylpheed Development Team | ||
| 14 | |||
| 15 | All rights reserved. | ||
| 16 | |||
| 17 | Redistribution and use in source and binary forms, with or without | ||
| 18 | modification, are permitted provided that the following conditions are met: | ||
| 19 | |||
| 20 | * Redistributions of source code must retain the above copyright notice, | ||
| 21 | this list of conditions and the following disclaimer. | ||
| 22 | * Redistributions in binary form must reproduce the above copyright notice, | ||
| 23 | this list of conditions and the following disclaimer in the documentation | ||
| 24 | and/or other materials provided with the distribution. | ||
| 25 | * Neither the name of the Sylpheed Development Team nor the names of its | ||
| 26 | contributors may be used to endorse or promote products derived from this | ||
| 27 | software without specific prior written permission. | ||
| 28 | |||
| 29 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| 30 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| 31 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
| 32 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 33 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
| 34 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
| 35 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
| 36 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 37 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 38 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 39 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 40 | |||
| 41 | ------------------------------------------------------------------------------- | ||
| 42 | bsfilter Copyright (C) 2003, 2004, 2005, 2006 NABEYA Kenichi | ||
| 43 | bsfilter is released under the GNU GPL. | ||
| 44 | |||
| 45 | -------------------------------------------------------------------------- | ||
| 46 | QDBM: Quick Database Manager | ||
| 47 | Copyright (C) 2000-2007 Mikio Hirabayashi | ||
| 48 | |||
| 49 | QDBM is released under the terms of the GNU Lesser General Public | ||
| 50 | License. See the file COPYING.LGPL.txt for details. | ||
| 51 | |||
| 52 | QDBM was written by Mikio Hirabayashi. You can contact the author | ||
| 53 | by e-mail to `mikio@fallabs.com'. | ||
| 54 | |||
| 55 | ------------------------------------------------------------------------------- | ||
| 56 | Curl copyright notice | ||
| 57 | |||
| 58 | COPYRIGHT AND PERMISSION NOTICE | ||
| 59 | |||
| 60 | Copyright (c) 1996 - 2011, Daniel Stenberg, <daniel@haxx.se>. | ||
| 61 | |||
| 62 | All rights reserved. | ||
| 63 | |||
| 64 | Permission to use, copy, modify, and distribute this software for any purpose | ||
| 65 | with or without fee is hereby granted, provided that the above copyright | ||
| 66 | notice and this permission notice appear in all copies. | ||
| 67 | |||
| 68 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 69 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 70 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN | ||
| 71 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
| 72 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
| 73 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
| 74 | OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 75 | |||
| 76 | Except as contained in this notice, the name of a copyright holder shall not | ||
| 77 | be used in advertising or otherwise to promote the sale, use or other dealings | ||
| 78 | in this Software without prior written authorization of the copyright holder. | ||
| 79 | |||
| 80 | ------------------------------------------------------------------------------- | ||
| 81 | GNU GENERAL PUBLIC LICENSE | ||
| 82 | Version 2, June 1991 | ||
| 83 | |||
| 84 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||
| 85 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 86 | Everyone is permitted to copy and distribute verbatim copies | ||
| 87 | of this license document, but changing it is not allowed. | ||
| 88 | |||
| 89 | Preamble | ||
| 90 | |||
| 91 | The licenses for most software are designed to take away your | ||
| 92 | freedom to share and change it. By contrast, the GNU General Public | ||
| 93 | License is intended to guarantee your freedom to share and change free | ||
| 94 | software--to make sure the software is free for all its users. This | ||
| 95 | General Public License applies to most of the Free Software | ||
| 96 | Foundation's software and to any other program whose authors commit to | ||
| 97 | using it. (Some other Free Software Foundation software is covered by | ||
| 98 | the GNU Library General Public License instead.) You can apply it to | ||
| 99 | your programs, too. | ||
| 100 | |||
| 101 | When we speak of free software, we are referring to freedom, not | ||
| 102 | price. Our General Public Licenses are designed to make sure that you | ||
| 103 | have the freedom to distribute copies of free software (and charge for | ||
| 104 | this service if you wish), that you receive source code or can get it | ||
| 105 | if you want it, that you can change the software or use pieces of it | ||
| 106 | in new free programs; and that you know you can do these things. | ||
| 107 | |||
| 108 | To protect your rights, we need to make restrictions that forbid | ||
| 109 | anyone to deny you these rights or to ask you to surrender the rights. | ||
| 110 | These restrictions translate to certain responsibilities for you if you | ||
| 111 | distribute copies of the software, or if you modify it. | ||
| 112 | |||
| 113 | For example, if you distribute copies of such a program, whether | ||
| 114 | gratis or for a fee, you must give the recipients all the rights that | ||
| 115 | you have. You must make sure that they, too, receive or can get the | ||
| 116 | source code. And you must show them these terms so they know their | ||
| 117 | rights. | ||
| 118 | |||
| 119 | We protect your rights with two steps: (1) copyright the software, and | ||
| 120 | (2) offer you this license which gives you legal permission to copy, | ||
| 121 | distribute and/or modify the software. | ||
| 122 | |||
| 123 | Also, for each author's protection and ours, we want to make certain | ||
| 124 | that everyone understands that there is no warranty for this free | ||
| 125 | software. If the software is modified by someone else and passed on, we | ||
| 126 | want its recipients to know that what they have is not the original, so | ||
| 127 | that any problems introduced by others will not reflect on the original | ||
| 128 | authors' reputations. | ||
| 129 | |||
| 130 | Finally, any free program is threatened constantly by software | ||
| 131 | patents. We wish to avoid the danger that redistributors of a free | ||
| 132 | program will individually obtain patent licenses, in effect making the | ||
| 133 | program proprietary. To prevent this, we have made it clear that any | ||
| 134 | patent must be licensed for everyone's free use or not licensed at all. | ||
| 135 | |||
| 136 | The precise terms and conditions for copying, distribution and | ||
| 137 | modification follow. | ||
| 138 | |||
| 139 | GNU GENERAL PUBLIC LICENSE | ||
| 140 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
| 141 | |||
| 142 | 0. This License applies to any program or other work which contains | ||
| 143 | a notice placed by the copyright holder saying it may be distributed | ||
| 144 | under the terms of this General Public License. The "Program", below, | ||
| 145 | refers to any such program or work, and a "work based on the Program" | ||
| 146 | means either the Program or any derivative work under copyright law: | ||
| 147 | that is to say, a work containing the Program or a portion of it, | ||
| 148 | either verbatim or with modifications and/or translated into another | ||
| 149 | language. (Hereinafter, translation is included without limitation in | ||
| 150 | the term "modification".) Each licensee is addressed as "you". | ||
| 151 | |||
| 152 | Activities other than copying, distribution and modification are not | ||
| 153 | covered by this License; they are outside its scope. The act of | ||
| 154 | running the Program is not restricted, and the output from the Program | ||
| 155 | is covered only if its contents constitute a work based on the | ||
| 156 | Program (independent of having been made by running the Program). | ||
| 157 | Whether that is true depends on what the Program does. | ||
| 158 | |||
| 159 | 1. You may copy and distribute verbatim copies of the Program's | ||
| 160 | source code as you receive it, in any medium, provided that you | ||
| 161 | conspicuously and appropriately publish on each copy an appropriate | ||
| 162 | copyright notice and disclaimer of warranty; keep intact all the | ||
| 163 | notices that refer to this License and to the absence of any warranty; | ||
| 164 | and give any other recipients of the Program a copy of this License | ||
| 165 | along with the Program. | ||
| 166 | |||
| 167 | You may charge a fee for the physical act of transferring a copy, and | ||
| 168 | you may at your option offer warranty protection in exchange for a fee. | ||
| 169 | |||
| 170 | 2. You may modify your copy or copies of the Program or any portion | ||
| 171 | of it, thus forming a work based on the Program, and copy and | ||
| 172 | distribute such modifications or work under the terms of Section 1 | ||
| 173 | above, provided that you also meet all of these conditions: | ||
| 174 | |||
| 175 | a) You must cause the modified files to carry prominent notices | ||
| 176 | stating that you changed the files and the date of any change. | ||
| 177 | |||
| 178 | b) You must cause any work that you distribute or publish, that in | ||
| 179 | whole or in part contains or is derived from the Program or any | ||
| 180 | part thereof, to be licensed as a whole at no charge to all third | ||
| 181 | parties under the terms of this License. | ||
| 182 | |||
| 183 | c) If the modified program normally reads commands interactively | ||
| 184 | when run, you must cause it, when started running for such | ||
| 185 | interactive use in the most ordinary way, to print or display an | ||
| 186 | announcement including an appropriate copyright notice and a | ||
| 187 | notice that there is no warranty (or else, saying that you provide | ||
| 188 | a warranty) and that users may redistribute the program under | ||
| 189 | these conditions, and telling the user how to view a copy of this | ||
| 190 | License. (Exception: if the Program itself is interactive but | ||
| 191 | does not normally print such an announcement, your work based on | ||
| 192 | the Program is not required to print an announcement.) | ||
| 193 | |||
| 194 | These requirements apply to the modified work as a whole. If | ||
| 195 | identifiable sections of that work are not derived from the Program, | ||
| 196 | and can be reasonably considered independent and separate works in | ||
| 197 | themselves, then this License, and its terms, do not apply to those | ||
| 198 | sections when you distribute them as separate works. But when you | ||
| 199 | distribute the same sections as part of a whole which is a work based | ||
| 200 | on the Program, the distribution of the whole must be on the terms of | ||
| 201 | this License, whose permissions for other licensees extend to the | ||
| 202 | entire whole, and thus to each and every part regardless of who wrote it. | ||
| 203 | |||
| 204 | Thus, it is not the intent of this section to claim rights or contest | ||
| 205 | your rights to work written entirely by you; rather, the intent is to | ||
| 206 | exercise the right to control the distribution of derivative or | ||
| 207 | collective works based on the Program. | ||
| 208 | |||
| 209 | In addition, mere aggregation of another work not based on the Program | ||
| 210 | with the Program (or with a work based on the Program) on a volume of | ||
| 211 | a storage or distribution medium does not bring the other work under | ||
| 212 | the scope of this License. | ||
| 213 | |||
| 214 | 3. You may copy and distribute the Program (or a work based on it, | ||
| 215 | under Section 2) in object code or executable form under the terms of | ||
| 216 | Sections 1 and 2 above provided that you also do one of the following: | ||
| 217 | |||
| 218 | a) Accompany it with the complete corresponding machine-readable | ||
| 219 | source code, which must be distributed under the terms of Sections | ||
| 220 | 1 and 2 above on a medium customarily used for software interchange; or, | ||
| 221 | |||
| 222 | b) Accompany it with a written offer, valid for at least three | ||
| 223 | years, to give any third party, for a charge no more than your | ||
| 224 | cost of physically performing source distribution, a complete | ||
| 225 | machine-readable copy of the corresponding source code, to be | ||
| 226 | distributed under the terms of Sections 1 and 2 above on a medium | ||
| 227 | customarily used for software interchange; or, | ||
| 228 | |||
| 229 | c) Accompany it with the information you received as to the offer | ||
| 230 | to distribute corresponding source code. (This alternative is | ||
| 231 | allowed only for noncommercial distribution and only if you | ||
| 232 | received the program in object code or executable form with such | ||
| 233 | an offer, in accord with Subsection b above.) | ||
| 234 | |||
| 235 | The source code for a work means the preferred form of the work for | ||
| 236 | making modifications to it. For an executable work, complete source | ||
| 237 | code means all the source code for all modules it contains, plus any | ||
| 238 | associated interface definition files, plus the scripts used to | ||
| 239 | control compilation and installation of the executable. However, as a | ||
| 240 | special exception, the source code distributed need not include | ||
| 241 | anything that is normally distributed (in either source or binary | ||
| 242 | form) with the major components (compiler, kernel, and so on) of the | ||
| 243 | operating system on which the executable runs, unless that component | ||
| 244 | itself accompanies the executable. | ||
| 245 | |||
| 246 | If distribution of executable or object code is made by offering | ||
| 247 | access to copy from a designated place, then offering equivalent | ||
| 248 | access to copy the source code from the same place counts as | ||
| 249 | distribution of the source code, even though third parties are not | ||
| 250 | compelled to copy the source along with the object code. | ||
| 251 | |||
| 252 | 4. You may not copy, modify, sublicense, or distribute the Program | ||
| 253 | except as expressly provided under this License. Any attempt | ||
| 254 | otherwise to copy, modify, sublicense or distribute the Program is | ||
| 255 | void, and will automatically terminate your rights under this License. | ||
| 256 | However, parties who have received copies, or rights, from you under | ||
| 257 | this License will not have their licenses terminated so long as such | ||
| 258 | parties remain in full compliance. | ||
| 259 | |||
| 260 | 5. You are not required to accept this License, since you have not | ||
| 261 | signed it. However, nothing else grants you permission to modify or | ||
| 262 | distribute the Program or its derivative works. These actions are | ||
| 263 | prohibited by law if you do not accept this License. Therefore, by | ||
| 264 | modifying or distributing the Program (or any work based on the | ||
| 265 | Program), you indicate your acceptance of this License to do so, and | ||
| 266 | all its terms and conditions for copying, distributing or modifying | ||
| 267 | the Program or works based on it. | ||
| 268 | |||
| 269 | 6. Each time you redistribute the Program (or any work based on the | ||
| 270 | Program), the recipient automatically receives a license from the | ||
| 271 | original licensor to copy, distribute or modify the Program subject to | ||
| 272 | these terms and conditions. You may not impose any further | ||
| 273 | restrictions on the recipients' exercise of the rights granted herein. | ||
| 274 | You are not responsible for enforcing compliance by third parties to | ||
| 275 | this License. | ||
| 276 | |||
| 277 | 7. If, as a consequence of a court judgment or allegation of patent | ||
| 278 | infringement or for any other reason (not limited to patent issues), | ||
| 279 | conditions are imposed on you (whether by court order, agreement or | ||
| 280 | otherwise) that contradict the conditions of this License, they do not | ||
| 281 | excuse you from the conditions of this License. If you cannot | ||
| 282 | distribute so as to satisfy simultaneously your obligations under this | ||
| 283 | License and any other pertinent obligations, then as a consequence you | ||
| 284 | may not distribute the Program at all. For example, if a patent | ||
| 285 | license would not permit royalty-free redistribution of the Program by | ||
| 286 | all those who receive copies directly or indirectly through you, then | ||
| 287 | the only way you could satisfy both it and this License would be to | ||
| 288 | refrain entirely from distribution of the Program. | ||
| 289 | |||
| 290 | If any portion of this section is held invalid or unenforceable under | ||
| 291 | any particular circumstance, the balance of the section is intended to | ||
| 292 | apply and the section as a whole is intended to apply in other | ||
| 293 | circumstances. | ||
| 294 | |||
| 295 | It is not the purpose of this section to induce you to infringe any | ||
| 296 | patents or other property right claims or to contest validity of any | ||
| 297 | such claims; this section has the sole purpose of protecting the | ||
| 298 | integrity of the free software distribution system, which is | ||
| 299 | implemented by public license practices. Many people have made | ||
| 300 | generous contributions to the wide range of software distributed | ||
| 301 | through that system in reliance on consistent application of that | ||
| 302 | system; it is up to the author/donor to decide if he or she is willing | ||
| 303 | to distribute software through any other system and a licensee cannot | ||
| 304 | impose that choice. | ||
| 305 | |||
| 306 | This section is intended to make thoroughly clear what is believed to | ||
| 307 | be a consequence of the rest of this License. | ||
| 308 | |||
| 309 | 8. If the distribution and/or use of the Program is restricted in | ||
| 310 | certain countries either by patents or by copyrighted interfaces, the | ||
| 311 | original copyright holder who places the Program under this License | ||
| 312 | may add an explicit geographical distribution limitation excluding | ||
| 313 | those countries, so that distribution is permitted only in or among | ||
| 314 | countries not thus excluded. In such case, this License incorporates | ||
| 315 | the limitation as if written in the body of this License. | ||
| 316 | |||
| 317 | 9. The Free Software Foundation may publish revised and/or new versions | ||
| 318 | of the General Public License from time to time. Such new versions will | ||
| 319 | be similar in spirit to the present version, but may differ in detail to | ||
| 320 | address new problems or concerns. | ||
| 321 | |||
| 322 | Each version is given a distinguishing version number. If the Program | ||
| 323 | specifies a version number of this License which applies to it and "any | ||
| 324 | later version", you have the option of following the terms and conditions | ||
| 325 | either of that version or of any later version published by the Free | ||
| 326 | Software Foundation. If the Program does not specify a version number of | ||
| 327 | this License, you may choose any version ever published by the Free Software | ||
| 328 | Foundation. | ||
| 329 | |||
| 330 | 10. If you wish to incorporate parts of the Program into other free | ||
| 331 | programs whose distribution conditions are different, write to the author | ||
| 332 | to ask for permission. For software which is copyrighted by the Free | ||
| 333 | Software Foundation, write to the Free Software Foundation; we sometimes | ||
| 334 | make exceptions for this. Our decision will be guided by the two goals | ||
| 335 | of preserving the free status of all derivatives of our free software and | ||
| 336 | of promoting the sharing and reuse of software generally. | ||
| 337 | |||
| 338 | NO WARRANTY | ||
| 339 | |||
| 340 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
| 341 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
| 342 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
| 343 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
| 344 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 345 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
| 346 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
| 347 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
| 348 | REPAIR OR CORRECTION. | ||
| 349 | |||
| 350 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
| 351 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
| 352 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
| 353 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
| 354 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
| 355 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
| 356 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
| 357 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
| 358 | POSSIBILITY OF SUCH DAMAGES. | ||
| 359 | |||
| 360 | END OF TERMS AND CONDITIONS | ||
| 361 | |||
| 362 | How to Apply These Terms to Your New Programs | ||
| 363 | |||
| 364 | If you develop a new program, and you want it to be of the greatest | ||
| 365 | possible use to the public, the best way to achieve this is to make it | ||
| 366 | free software which everyone can redistribute and change under these terms. | ||
| 367 | |||
| 368 | To do so, attach the following notices to the program. It is safest | ||
| 369 | to attach them to the start of each source file to most effectively | ||
| 370 | convey the exclusion of warranty; and each file should have at least | ||
| 371 | the "copyright" line and a pointer to where the full notice is found. | ||
| 372 | |||
| 373 | <one line to give the program's name and a brief idea of what it does.> | ||
| 374 | Copyright (C) <year> <name of author> | ||
| 375 | |||
| 376 | This program is free software; you can redistribute it and/or modify | ||
| 377 | it under the terms of the GNU General Public License as published by | ||
| 378 | the Free Software Foundation; either version 2 of the License, or | ||
| 379 | (at your option) any later version. | ||
| 380 | |||
| 381 | This program is distributed in the hope that it will be useful, | ||
| 382 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 383 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 384 | GNU General Public License for more details. | ||
| 385 | |||
| 386 | You should have received a copy of the GNU General Public License | ||
| 387 | along with this program; if not, write to the Free Software | ||
| 388 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 389 | |||
| 390 | |||
| 391 | Also add information on how to contact you by electronic and paper mail. | ||
| 392 | |||
| 393 | If the program is interactive, make it output a short notice like this | ||
| 394 | when it starts in an interactive mode: | ||
| 395 | |||
| 396 | Gnomovision version 69, Copyright (C) year name of author | ||
| 397 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
| 398 | This is free software, and you are welcome to redistribute it | ||
| 399 | under certain conditions; type `show c' for details. | ||
| 400 | |||
| 401 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
| 402 | parts of the General Public License. Of course, the commands you use may | ||
| 403 | be called something other than `show w' and `show c'; they could even be | ||
| 404 | mouse-clicks or menu items--whatever suits your program. | ||
| 405 | |||
| 406 | You should also get your employer (if you work as a programmer) or your | ||
| 407 | school, if any, to sign a "copyright disclaimer" for the program, if | ||
| 408 | necessary. Here is a sample; alter the names: | ||
| 409 | |||
| 410 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
| 411 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
| 412 | |||
| 413 | <signature of Ty Coon>, 1 April 1989 | ||
| 414 | Ty Coon, President of Vice | ||
| 415 | |||
| 416 | This General Public License does not permit incorporating your program into | ||
| 417 | proprietary programs. If your program is a subroutine library, you may | ||
| 418 | consider it more useful to permit linking proprietary applications with the | ||
| 419 | library. If this is what you want to do, use the GNU Library General | ||
| 420 | Public License instead of this License. | ||
diff --git a/nsis/COPYING.txt b/nsis/COPYING.txt new file mode 100644 index 0000000..4b13371 --- /dev/null +++ b/nsis/COPYING.txt | |||
| @@ -0,0 +1,420 @@ | |||
| 1 | Sylpheed is copyrighted 1999-2017 by Hiroyuki Yamamoto and | ||
| 2 | Sylpheed Development Team, and distributed under the GNU GPL. | ||
| 3 | |||
| 4 | Specific permission is granted for the GPLed code in this distribition to | ||
| 5 | be linked to OpenSSL without invoking GPL clause 2(b). | ||
| 6 | |||
| 7 | GLib, GTK+, Pango, and LibSylph is distributed under the GNU LGPL. | ||
| 8 | |||
| 9 | ------------------------------------------------------------------------------- | ||
| 10 | SylFilter - a message filter | ||
| 11 | |||
| 12 | Copyright (C) 2011-2012 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> | ||
| 13 | Copyright (C) 2011-2012 Sylpheed Development Team | ||
| 14 | |||
| 15 | All rights reserved. | ||
| 16 | |||
| 17 | Redistribution and use in source and binary forms, with or without | ||
| 18 | modification, are permitted provided that the following conditions are met: | ||
| 19 | |||
| 20 | * Redistributions of source code must retain the above copyright notice, | ||
| 21 | this list of conditions and the following disclaimer. | ||
| 22 | * Redistributions in binary form must reproduce the above copyright notice, | ||
| 23 | this list of conditions and the following disclaimer in the documentation | ||
| 24 | and/or other materials provided with the distribution. | ||
| 25 | * Neither the name of the Sylpheed Development Team nor the names of its | ||
| 26 | contributors may be used to endorse or promote products derived from this | ||
| 27 | software without specific prior written permission. | ||
| 28 | |||
| 29 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
| 30 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
| 31 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
| 32 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 33 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
| 34 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
| 35 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
| 36 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 37 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 38 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 39 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 40 | |||
| 41 | ------------------------------------------------------------------------------- | ||
| 42 | bsfilter Copyright (C) 2003, 2004, 2005, 2006 NABEYA Kenichi | ||
| 43 | bsfilter is released under the GNU GPL. | ||
| 44 | |||
| 45 | -------------------------------------------------------------------------- | ||
| 46 | QDBM: Quick Database Manager | ||
| 47 | Copyright (C) 2000-2007 Mikio Hirabayashi | ||
| 48 | |||
| 49 | QDBM is released under the terms of the GNU Lesser General Public | ||
| 50 | License. See the file COPYING.LGPL.txt for details. | ||
| 51 | |||
| 52 | QDBM was written by Mikio Hirabayashi. You can contact the author | ||
| 53 | by e-mail to `mikio@fallabs.com'. | ||
| 54 | |||
| 55 | ------------------------------------------------------------------------------- | ||
| 56 | Curl copyright notice | ||
| 57 | |||
| 58 | COPYRIGHT AND PERMISSION NOTICE | ||
| 59 | |||
| 60 | Copyright (c) 1996 - 2011, Daniel Stenberg, <daniel@haxx.se>. | ||
| 61 | |||
| 62 | All rights reserved. | ||
| 63 | |||
| 64 | Permission to use, copy, modify, and distribute this software for any purpose | ||
| 65 | with or without fee is hereby granted, provided that the above copyright | ||
| 66 | notice and this permission notice appear in all copies. | ||
| 67 | |||
| 68 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 69 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 70 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN | ||
| 71 | NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
| 72 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | ||
| 73 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE | ||
| 74 | OR OTHER DEALINGS IN THE SOFTWARE. | ||
| 75 | |||
| 76 | Except as contained in this notice, the name of a copyright holder shall not | ||
| 77 | be used in advertising or otherwise to promote the sale, use or other dealings | ||
| 78 | in this Software without prior written authorization of the copyright holder. | ||
| 79 | |||
| 80 | ------------------------------------------------------------------------------- | ||
| 81 | GNU GENERAL PUBLIC LICENSE | ||
| 82 | Version 2, June 1991 | ||
| 83 | |||
| 84 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||
| 85 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 86 | Everyone is permitted to copy and distribute verbatim copies | ||
| 87 | of this license document, but changing it is not allowed. | ||
| 88 | |||
| 89 | Preamble | ||
| 90 | |||
| 91 | The licenses for most software are designed to take away your | ||
| 92 | freedom to share and change it. By contrast, the GNU General Public | ||
| 93 | License is intended to guarantee your freedom to share and change free | ||
| 94 | software--to make sure the software is free for all its users. This | ||
| 95 | General Public License applies to most of the Free Software | ||
| 96 | Foundation's software and to any other program whose authors commit to | ||
| 97 | using it. (Some other Free Software Foundation software is covered by | ||
| 98 | the GNU Library General Public License instead.) You can apply it to | ||
| 99 | your programs, too. | ||
| 100 | |||
| 101 | When we speak of free software, we are referring to freedom, not | ||
| 102 | price. Our General Public Licenses are designed to make sure that you | ||
| 103 | have the freedom to distribute copies of free software (and charge for | ||
| 104 | this service if you wish), that you receive source code or can get it | ||
| 105 | if you want it, that you can change the software or use pieces of it | ||
| 106 | in new free programs; and that you know you can do these things. | ||
| 107 | |||
| 108 | To protect your rights, we need to make restrictions that forbid | ||
| 109 | anyone to deny you these rights or to ask you to surrender the rights. | ||
| 110 | These restrictions translate to certain responsibilities for you if you | ||
| 111 | distribute copies of the software, or if you modify it. | ||
| 112 | |||
| 113 | For example, if you distribute copies of such a program, whether | ||
| 114 | gratis or for a fee, you must give the recipients all the rights that | ||
| 115 | you have. You must make sure that they, too, receive or can get the | ||
| 116 | source code. And you must show them these terms so they know their | ||
| 117 | rights. | ||
| 118 | |||
| 119 | We protect your rights with two steps: (1) copyright the software, and | ||
| 120 | (2) offer you this license which gives you legal permission to copy, | ||
| 121 | distribute and/or modify the software. | ||
| 122 | |||
| 123 | Also, for each author's protection and ours, we want to make certain | ||
| 124 | that everyone understands that there is no warranty for this free | ||
| 125 | software. If the software is modified by someone else and passed on, we | ||
| 126 | want its recipients to know that what they have is not the original, so | ||
| 127 | that any problems introduced by others will not reflect on the original | ||
| 128 | authors' reputations. | ||
| 129 | |||
| 130 | Finally, any free program is threatened constantly by software | ||
| 131 | patents. We wish to avoid the danger that redistributors of a free | ||
| 132 | program will individually obtain patent licenses, in effect making the | ||
| 133 | program proprietary. To prevent this, we have made it clear that any | ||
| 134 | patent must be licensed for everyone's free use or not licensed at all. | ||
| 135 | |||
| 136 | The precise terms and conditions for copying, distribution and | ||
| 137 | modification follow. | ||
| 138 | |||
| 139 | GNU GENERAL PUBLIC LICENSE | ||
| 140 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
| 141 | |||
| 142 | 0. This License applies to any program or other work which contains | ||
| 143 | a notice placed by the copyright holder saying it may be distributed | ||
| 144 | under the terms of this General Public License. The "Program", below, | ||
| 145 | refers to any such program or work, and a "work based on the Program" | ||
| 146 | means either the Program or any derivative work under copyright law: | ||
| 147 | that is to say, a work containing the Program or a portion of it, | ||
| 148 | either verbatim or with modifications and/or translated into another | ||
| 149 | language. (Hereinafter, translation is included without limitation in | ||
| 150 | the term "modification".) Each licensee is addressed as "you". | ||
| 151 | |||
| 152 | Activities other than copying, distribution and modification are not | ||
| 153 | covered by this License; they are outside its scope. The act of | ||
| 154 | running the Program is not restricted, and the output from the Program | ||
| 155 | is covered only if its contents constitute a work based on the | ||
| 156 | Program (independent of having been made by running the Program). | ||
| 157 | Whether that is true depends on what the Program does. | ||
| 158 | |||
| 159 | 1. You may copy and distribute verbatim copies of the Program's | ||
| 160 | source code as you receive it, in any medium, provided that you | ||
| 161 | conspicuously and appropriately publish on each copy an appropriate | ||
| 162 | copyright notice and disclaimer of warranty; keep intact all the | ||
| 163 | notices that refer to this License and to the absence of any warranty; | ||
| 164 | and give any other recipients of the Program a copy of this License | ||
| 165 | along with the Program. | ||
| 166 | |||
| 167 | You may charge a fee for the physical act of transferring a copy, and | ||
| 168 | you may at your option offer warranty protection in exchange for a fee. | ||
| 169 | |||
| 170 | 2. You may modify your copy or copies of the Program or any portion | ||
| 171 | of it, thus forming a work based on the Program, and copy and | ||
| 172 | distribute such modifications or work under the terms of Section 1 | ||
| 173 | above, provided that you also meet all of these conditions: | ||
| 174 | |||
| 175 | a) You must cause the modified files to carry prominent notices | ||
| 176 | stating that you changed the files and the date of any change. | ||
| 177 | |||
| 178 | b) You must cause any work that you distribute or publish, that in | ||
| 179 | whole or in part contains or is derived from the Program or any | ||
| 180 | part thereof, to be licensed as a whole at no charge to all third | ||
| 181 | parties under the terms of this License. | ||
| 182 | |||
| 183 | c) If the modified program normally reads commands interactively | ||
| 184 | when run, you must cause it, when started running for such | ||
| 185 | interactive use in the most ordinary way, to print or display an | ||
| 186 | announcement including an appropriate copyright notice and a | ||
| 187 | notice that there is no warranty (or else, saying that you provide | ||
| 188 | a warranty) and that users may redistribute the program under | ||
| 189 | these conditions, and telling the user how to view a copy of this | ||
| 190 | License. (Exception: if the Program itself is interactive but | ||
| 191 | does not normally print such an announcement, your work based on | ||
| 192 | the Program is not required to print an announcement.) | ||
| 193 | |||
| 194 | These requirements apply to the modified work as a whole. If | ||
| 195 | identifiable sections of that work are not derived from the Program, | ||
| 196 | and can be reasonably considered independent and separate works in | ||
| 197 | themselves, then this License, and its terms, do not apply to those | ||
| 198 | sections when you distribute them as separate works. But when you | ||
| 199 | distribute the same sections as part of a whole which is a work based | ||
| 200 | on the Program, the distribution of the whole must be on the terms of | ||
| 201 | this License, whose permissions for other licensees extend to the | ||
| 202 | entire whole, and thus to each and every part regardless of who wrote it. | ||
| 203 | |||
| 204 | Thus, it is not the intent of this section to claim rights or contest | ||
| 205 | your rights to work written entirely by you; rather, the intent is to | ||
| 206 | exercise the right to control the distribution of derivative or | ||
| 207 | collective works based on the Program. | ||
| 208 | |||
| 209 | In addition, mere aggregation of another work not based on the Program | ||
| 210 | with the Program (or with a work based on the Program) on a volume of | ||
| 211 | a storage or distribution medium does not bring the other work under | ||
| 212 | the scope of this License. | ||
| 213 | |||
| 214 | 3. You may copy and distribute the Program (or a work based on it, | ||
| 215 | under Section 2) in object code or executable form under the terms of | ||
| 216 | Sections 1 and 2 above provided that you also do one of the following: | ||
| 217 | |||
| 218 | a) Accompany it with the complete corresponding machine-readable | ||
| 219 | source code, which must be distributed under the terms of Sections | ||
| 220 | 1 and 2 above on a medium customarily used for software interchange; or, | ||
| 221 | |||
| 222 | b) Accompany it with a written offer, valid for at least three | ||
| 223 | years, to give any third party, for a charge no more than your | ||
| 224 | cost of physically performing source distribution, a complete | ||
| 225 | machine-readable copy of the corresponding source code, to be | ||
| 226 | distributed under the terms of Sections 1 and 2 above on a medium | ||
| 227 | customarily used for software interchange; or, | ||
| 228 | |||
| 229 | c) Accompany it with the information you received as to the offer | ||
| 230 | to distribute corresponding source code. (This alternative is | ||
| 231 | allowed only for noncommercial distribution and only if you | ||
| 232 | received the program in object code or executable form with such | ||
| 233 | an offer, in accord with Subsection b above.) | ||
| 234 | |||
| 235 | The source code for a work means the preferred form of the work for | ||
| 236 | making modifications to it. For an executable work, complete source | ||
| 237 | code means all the source code for all modules it contains, plus any | ||
| 238 | associated interface definition files, plus the scripts used to | ||
| 239 | control compilation and installation of the executable. However, as a | ||
| 240 | special exception, the source code distributed need not include | ||
| 241 | anything that is normally distributed (in either source or binary | ||
| 242 | form) with the major components (compiler, kernel, and so on) of the | ||
| 243 | operating system on which the executable runs, unless that component | ||
| 244 | itself accompanies the executable. | ||
| 245 | |||
| 246 | If distribution of executable or object code is made by offering | ||
| 247 | access to copy from a designated place, then offering equivalent | ||
| 248 | access to copy the source code from the same place counts as | ||
| 249 | distribution of the source code, even though third parties are not | ||
| 250 | compelled to copy the source along with the object code. | ||
| 251 | |||
| 252 | 4. You may not copy, modify, sublicense, or distribute the Program | ||
| 253 | except as expressly provided under this License. Any attempt | ||
| 254 | otherwise to copy, modify, sublicense or distribute the Program is | ||
| 255 | void, and will automatically terminate your rights under this License. | ||
| 256 | However, parties who have received copies, or rights, from you under | ||
| 257 | this License will not have their licenses terminated so long as such | ||
| 258 | parties remain in full compliance. | ||
| 259 | |||
| 260 | 5. You are not required to accept this License, since you have not | ||
| 261 | signed it. However, nothing else grants you permission to modify or | ||
| 262 | distribute the Program or its derivative works. These actions are | ||
| 263 | prohibited by law if you do not accept this License. Therefore, by | ||
| 264 | modifying or distributing the Program (or any work based on the | ||
| 265 | Program), you indicate your acceptance of this License to do so, and | ||
| 266 | all its terms and conditions for copying, distributing or modifying | ||
| 267 | the Program or works based on it. | ||
| 268 | |||
| 269 | 6. Each time you redistribute the Program (or any work based on the | ||
| 270 | Program), the recipient automatically receives a license from the | ||
| 271 | original licensor to copy, distribute or modify the Program subject to | ||
| 272 | these terms and conditions. You may not impose any further | ||
| 273 | restrictions on the recipients' exercise of the rights granted herein. | ||
| 274 | You are not responsible for enforcing compliance by third parties to | ||
| 275 | this License. | ||
| 276 | |||
| 277 | 7. If, as a consequence of a court judgment or allegation of patent | ||
| 278 | infringement or for any other reason (not limited to patent issues), | ||
| 279 | conditions are imposed on you (whether by court order, agreement or | ||
| 280 | otherwise) that contradict the conditions of this License, they do not | ||
| 281 | excuse you from the conditions of this License. If you cannot | ||
| 282 | distribute so as to satisfy simultaneously your obligations under this | ||
| 283 | License and any other pertinent obligations, then as a consequence you | ||
| 284 | may not distribute the Program at all. For example, if a patent | ||
| 285 | license would not permit royalty-free redistribution of the Program by | ||
| 286 | all those who receive copies directly or indirectly through you, then | ||
| 287 | the only way you could satisfy both it and this License would be to | ||
| 288 | refrain entirely from distribution of the Program. | ||
| 289 | |||
| 290 | If any portion of this section is held invalid or unenforceable under | ||
| 291 | any particular circumstance, the balance of the section is intended to | ||
| 292 | apply and the section as a whole is intended to apply in other | ||
| 293 | circumstances. | ||
| 294 | |||
| 295 | It is not the purpose of this section to induce you to infringe any | ||
| 296 | patents or other property right claims or to contest validity of any | ||
| 297 | such claims; this section has the sole purpose of protecting the | ||
| 298 | integrity of the free software distribution system, which is | ||
| 299 | implemented by public license practices. Many people have made | ||
| 300 | generous contributions to the wide range of software distributed | ||
| 301 | through that system in reliance on consistent application of that | ||
| 302 | system; it is up to the author/donor to decide if he or she is willing | ||
| 303 | to distribute software through any other system and a licensee cannot | ||
| 304 | impose that choice. | ||
| 305 | |||
| 306 | This section is intended to make thoroughly clear what is believed to | ||
| 307 | be a consequence of the rest of this License. | ||
| 308 | |||
| 309 | 8. If the distribution and/or use of the Program is restricted in | ||
| 310 | certain countries either by patents or by copyrighted interfaces, the | ||
| 311 | original copyright holder who places the Program under this License | ||
| 312 | may add an explicit geographical distribution limitation excluding | ||
| 313 | those countries, so that distribution is permitted only in or among | ||
| 314 | countries not thus excluded. In such case, this License incorporates | ||
| 315 | the limitation as if written in the body of this License. | ||
| 316 | |||
| 317 | 9. The Free Software Foundation may publish revised and/or new versions | ||
| 318 | of the General Public License from time to time. Such new versions will | ||
| 319 | be similar in spirit to the present version, but may differ in detail to | ||
| 320 | address new problems or concerns. | ||
| 321 | |||
| 322 | Each version is given a distinguishing version number. If the Program | ||
| 323 | specifies a version number of this License which applies to it and "any | ||
| 324 | later version", you have the option of following the terms and conditions | ||
| 325 | either of that version or of any later version published by the Free | ||
| 326 | Software Foundation. If the Program does not specify a version number of | ||
| 327 | this License, you may choose any version ever published by the Free Software | ||
| 328 | Foundation. | ||
| 329 | |||
| 330 | 10. If you wish to incorporate parts of the Program into other free | ||
| 331 | programs whose distribution conditions are different, write to the author | ||
| 332 | to ask for permission. For software which is copyrighted by the Free | ||
| 333 | Software Foundation, write to the Free Software Foundation; we sometimes | ||
| 334 | make exceptions for this. Our decision will be guided by the two goals | ||
| 335 | of preserving the free status of all derivatives of our free software and | ||
| 336 | of promoting the sharing and reuse of software generally. | ||
| 337 | |||
| 338 | NO WARRANTY | ||
| 339 | |||
| 340 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
| 341 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
| 342 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
| 343 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
| 344 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 345 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
| 346 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
| 347 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
| 348 | REPAIR OR CORRECTION. | ||
| 349 | |||
| 350 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
| 351 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
| 352 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
| 353 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
| 354 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
| 355 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
| 356 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
| 357 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
| 358 | POSSIBILITY OF SUCH DAMAGES. | ||
| 359 | |||
| 360 | END OF TERMS AND CONDITIONS | ||
| 361 | |||
| 362 | How to Apply These Terms to Your New Programs | ||
| 363 | |||
| 364 | If you develop a new program, and you want it to be of the greatest | ||
| 365 | possible use to the public, the best way to achieve this is to make it | ||
| 366 | free software which everyone can redistribute and change under these terms. | ||
| 367 | |||
| 368 | To do so, attach the following notices to the program. It is safest | ||
| 369 | to attach them to the start of each source file to most effectively | ||
| 370 | convey the exclusion of warranty; and each file should have at least | ||
| 371 | the "copyright" line and a pointer to where the full notice is found. | ||
| 372 | |||
| 373 | <one line to give the program's name and a brief idea of what it does.> | ||
| 374 | Copyright (C) <year> <name of author> | ||
| 375 | |||
| 376 | This program is free software; you can redistribute it and/or modify | ||
| 377 | it under the terms of the GNU General Public License as published by | ||
| 378 | the Free Software Foundation; either version 2 of the License, or | ||
| 379 | (at your option) any later version. | ||
| 380 | |||
| 381 | This program is distributed in the hope that it will be useful, | ||
| 382 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 383 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 384 | GNU General Public License for more details. | ||
| 385 | |||
| 386 | You should have received a copy of the GNU General Public License | ||
| 387 | along with this program; if not, write to the Free Software | ||
| 388 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 389 | |||
| 390 | |||
| 391 | Also add information on how to contact you by electronic and paper mail. | ||
| 392 | |||
| 393 | If the program is interactive, make it output a short notice like this | ||
| 394 | when it starts in an interactive mode: | ||
| 395 | |||
| 396 | Gnomovision version 69, Copyright (C) year name of author | ||
| 397 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
| 398 | This is free software, and you are welcome to redistribute it | ||
| 399 | under certain conditions; type `show c' for details. | ||
| 400 | |||
| 401 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
| 402 | parts of the General Public License. Of course, the commands you use may | ||
| 403 | be called something other than `show w' and `show c'; they could even be | ||
| 404 | mouse-clicks or menu items--whatever suits your program. | ||
| 405 | |||
| 406 | You should also get your employer (if you work as a programmer) or your | ||
| 407 | school, if any, to sign a "copyright disclaimer" for the program, if | ||
| 408 | necessary. Here is a sample; alter the names: | ||
| 409 | |||
| 410 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
| 411 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
| 412 | |||
| 413 | <signature of Ty Coon>, 1 April 1989 | ||
| 414 | Ty Coon, President of Vice | ||
| 415 | |||
| 416 | This General Public License does not permit incorporating your program into | ||
| 417 | proprietary programs. If your program is a subroutine library, you may | ||
| 418 | consider it more useful to permit linking proprietary applications with the | ||
| 419 | library. If this is what you want to do, use the GNU Library General | ||
| 420 | Public License instead of this License. | ||
diff --git a/nsis/Makefile.am b/nsis/Makefile.am new file mode 100644 index 0000000..e3d137a --- /dev/null +++ b/nsis/Makefile.am | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | EXTRA_DIST = \ | ||
| 2 | COPYING.ja.txt \ | ||
| 3 | COPYING.txt \ | ||
| 4 | README.txt \ | ||
| 5 | compile.bat \ | ||
| 6 | english.nsh \ | ||
| 7 | japanese.nsh \ | ||
| 8 | plugin-updater.nsi \ | ||
| 9 | spanish.nsh \ | ||
| 10 | sylpheed-defs.nsh \ | ||
| 11 | sylpheed.nsi \ | ||
| 12 | update-manager.nsi | ||
diff --git a/nsis/Makefile.in b/nsis/Makefile.in new file mode 100644 index 0000000..e3d177b --- /dev/null +++ b/nsis/Makefile.in | |||
| @@ -0,0 +1,500 @@ | |||
| 1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. | ||
| 2 | # @configure_input@ | ||
| 3 | |||
| 4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | # This Makefile.in is free software; the Free Software Foundation | ||
| 7 | # gives unlimited permission to copy and/or distribute it, | ||
| 8 | # with or without modifications, as long as this notice is preserved. | ||
| 9 | |||
| 10 | # This program is distributed in the hope that it will be useful, | ||
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
| 13 | # PARTICULAR PURPOSE. | ||
| 14 | |||
| 15 | @SET_MAKE@ | ||
| 16 | VPATH = @srcdir@ | ||
| 17 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | ||
| 18 | am__make_running_with_option = \ | ||
| 19 | case $${target_option-} in \ | ||
| 20 | ?) ;; \ | ||
| 21 | *) echo "am__make_running_with_option: internal error: invalid" \ | ||
| 22 | "target option '$${target_option-}' specified" >&2; \ | ||
| 23 | exit 1;; \ | ||
| 24 | esac; \ | ||
| 25 | has_opt=no; \ | ||
| 26 | sane_makeflags=$$MAKEFLAGS; \ | ||
| 27 | if $(am__is_gnu_make); then \ | ||
| 28 | sane_makeflags=$$MFLAGS; \ | ||
| 29 | else \ | ||
| 30 | case $$MAKEFLAGS in \ | ||
| 31 | *\\[\ \ ]*) \ | ||
| 32 | bs=\\; \ | ||
| 33 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | ||
| 34 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | ||
| 35 | esac; \ | ||
| 36 | fi; \ | ||
| 37 | skip_next=no; \ | ||
| 38 | strip_trailopt () \ | ||
| 39 | { \ | ||
| 40 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | ||
| 41 | }; \ | ||
| 42 | for flg in $$sane_makeflags; do \ | ||
| 43 | test $$skip_next = yes && { skip_next=no; continue; }; \ | ||
| 44 | case $$flg in \ | ||
| 45 | *=*|--*) continue;; \ | ||
| 46 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | ||
| 47 | -*I?*) strip_trailopt 'I';; \ | ||
| 48 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | ||
| 49 | -*O?*) strip_trailopt 'O';; \ | ||
| 50 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | ||
| 51 | -*l?*) strip_trailopt 'l';; \ | ||
| 52 | -[dEDm]) skip_next=yes;; \ | ||
| 53 | -[JT]) skip_next=yes;; \ | ||
| 54 | esac; \ | ||
| 55 | case $$flg in \ | ||
| 56 | *$$target_option*) has_opt=yes; break;; \ | ||
| 57 | esac; \ | ||
| 58 | done; \ | ||
| 59 | test $$has_opt = yes | ||
| 60 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | ||
| 61 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | ||
| 62 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
| 63 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
| 64 | pkglibdir = $(libdir)/@PACKAGE@ | ||
| 65 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
| 66 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
| 67 | install_sh_DATA = $(install_sh) -c -m 644 | ||
| 68 | install_sh_PROGRAM = $(install_sh) -c | ||
| 69 | install_sh_SCRIPT = $(install_sh) -c | ||
| 70 | INSTALL_HEADER = $(INSTALL_DATA) | ||
| 71 | transform = $(program_transform_name) | ||
| 72 | NORMAL_INSTALL = : | ||
| 73 | PRE_INSTALL = : | ||
| 74 | POST_INSTALL = : | ||
| 75 | NORMAL_UNINSTALL = : | ||
| 76 | PRE_UNINSTALL = : | ||
| 77 | POST_UNINSTALL = : | ||
| 78 | build_triplet = @build@ | ||
| 79 | host_triplet = @host@ | ||
| 80 | target_triplet = @target@ | ||
| 81 | subdir = nsis | ||
| 82 | DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | ||
| 83 | $(top_srcdir)/mkinstalldirs | ||
| 84 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
| 85 | am__aclocal_m4_deps = $(top_srcdir)/ac/aclocal-include.m4 \ | ||
| 86 | $(top_srcdir)/ac/gnupg-check-typedef.m4 \ | ||
| 87 | $(top_srcdir)/configure.ac | ||
| 88 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
| 89 | $(ACLOCAL_M4) | ||
| 90 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | ||
| 91 | CONFIG_HEADER = $(top_builddir)/config.h | ||
| 92 | CONFIG_CLEAN_FILES = | ||
| 93 | CONFIG_CLEAN_VPATH_FILES = | ||
| 94 | AM_V_P = $(am__v_P_@AM_V@) | ||
| 95 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | ||
| 96 | am__v_P_0 = false | ||
| 97 | am__v_P_1 = : | ||
| 98 | AM_V_GEN = $(am__v_GEN_@AM_V@) | ||
| 99 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | ||
| 100 | am__v_GEN_0 = @echo " GEN " $@; | ||
| 101 | am__v_GEN_1 = | ||
| 102 | AM_V_at = $(am__v_at_@AM_V@) | ||
| 103 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | ||
| 104 | am__v_at_0 = @ | ||
| 105 | am__v_at_1 = | ||
| 106 | SOURCES = | ||
| 107 | DIST_SOURCES = | ||
| 108 | am__can_run_installinfo = \ | ||
| 109 | case $$AM_UPDATE_INFO_DIR in \ | ||
| 110 | n|no|NO) false;; \ | ||
| 111 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
| 112 | esac | ||
| 113 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | ||
| 114 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
| 115 | ACLOCAL = @ACLOCAL@ | ||
| 116 | ALLOCA = @ALLOCA@ | ||
| 117 | AMTAR = @AMTAR@ | ||
| 118 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
| 119 | AR = @AR@ | ||
| 120 | AUTOCONF = @AUTOCONF@ | ||
| 121 | AUTOHEADER = @AUTOHEADER@ | ||
| 122 | AUTOMAKE = @AUTOMAKE@ | ||
| 123 | AWK = @AWK@ | ||
| 124 | BUILD_REVISION = @BUILD_REVISION@ | ||
| 125 | CATALOGS = @CATALOGS@ | ||
| 126 | CATOBJEXT = @CATOBJEXT@ | ||
| 127 | CC = @CC@ | ||
| 128 | CCDEPMODE = @CCDEPMODE@ | ||
| 129 | CFLAGS = @CFLAGS@ | ||
| 130 | CPP = @CPP@ | ||
| 131 | CPPFLAGS = @CPPFLAGS@ | ||
| 132 | CYGPATH_W = @CYGPATH_W@ | ||
| 133 | DATADIRNAME = @DATADIRNAME@ | ||
| 134 | DEFS = @DEFS@ | ||
| 135 | DEPDIR = @DEPDIR@ | ||
| 136 | DEVEL_VERSION = @DEVEL_VERSION@ | ||
| 137 | DLLTOOL = @DLLTOOL@ | ||
| 138 | DSYMUTIL = @DSYMUTIL@ | ||
| 139 | DUMPBIN = @DUMPBIN@ | ||
| 140 | ECHO_C = @ECHO_C@ | ||
| 141 | ECHO_N = @ECHO_N@ | ||
| 142 | ECHO_T = @ECHO_T@ | ||
| 143 | EGREP = @EGREP@ | ||
| 144 | EXEEXT = @EXEEXT@ | ||
| 145 | EXTRA_VERSION = @EXTRA_VERSION@ | ||
| 146 | FGREP = @FGREP@ | ||
| 147 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ | ||
| 148 | GLIB_CFLAGS = @GLIB_CFLAGS@ | ||
| 149 | GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@ | ||
| 150 | GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ | ||
| 151 | GLIB_LIBS = @GLIB_LIBS@ | ||
| 152 | GLIB_MKENUMS = @GLIB_MKENUMS@ | ||
| 153 | GMOFILES = @GMOFILES@ | ||
| 154 | GMSGFMT = @GMSGFMT@ | ||
| 155 | GOBJECT_QUERY = @GOBJECT_QUERY@ | ||
| 156 | GPGME_CFLAGS = @GPGME_CFLAGS@ | ||
| 157 | GPGME_CONFIG = @GPGME_CONFIG@ | ||
| 158 | GPGME_LIBS = @GPGME_LIBS@ | ||
| 159 | GREP = @GREP@ | ||
| 160 | GTK_CFLAGS = @GTK_CFLAGS@ | ||
| 161 | GTK_LIBS = @GTK_LIBS@ | ||
| 162 | INSTALL = @INSTALL@ | ||
| 163 | INSTALL_DATA = @INSTALL_DATA@ | ||
| 164 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
| 165 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
| 166 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
| 167 | INSTOBJEXT = @INSTOBJEXT@ | ||
| 168 | INTLLIBS = @INTLLIBS@ | ||
| 169 | LD = @LD@ | ||
| 170 | LDAP_LIBS = @LDAP_LIBS@ | ||
| 171 | LDFLAGS = @LDFLAGS@ | ||
| 172 | LEX = @LEX@ | ||
| 173 | LEXLIB = @LEXLIB@ | ||
| 174 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | ||
| 175 | LIBICONV = @LIBICONV@ | ||
| 176 | LIBOBJS = @LIBOBJS@ | ||
| 177 | LIBS = @LIBS@ | ||
| 178 | LIBSYLPH_CFLAGS = @LIBSYLPH_CFLAGS@ | ||
| 179 | LIBSYLPH_LIBS = @LIBSYLPH_LIBS@ | ||
| 180 | LIBTOOL = @LIBTOOL@ | ||
| 181 | LIPO = @LIPO@ | ||
| 182 | LN_S = @LN_S@ | ||
| 183 | LTLIBICONV = @LTLIBICONV@ | ||
| 184 | LTLIBOBJS = @LTLIBOBJS@ | ||
| 185 | LT_AGE = @LT_AGE@ | ||
| 186 | LT_CURRENT = @LT_CURRENT@ | ||
| 187 | LT_RELEASE = @LT_RELEASE@ | ||
| 188 | LT_REVISION = @LT_REVISION@ | ||
| 189 | MAINT = @MAINT@ | ||
| 190 | MAJOR_VERSION = @MAJOR_VERSION@ | ||
| 191 | MAKEINFO = @MAKEINFO@ | ||
| 192 | MANIFEST_TOOL = @MANIFEST_TOOL@ | ||
| 193 | MICRO_VERSION = @MICRO_VERSION@ | ||
| 194 | MINOR_VERSION = @MINOR_VERSION@ | ||
| 195 | MKDIR_P = @MKDIR_P@ | ||
| 196 | MKINSTALLDIRS = @MKINSTALLDIRS@ | ||
| 197 | MSGFMT = @MSGFMT@ | ||
| 198 | MSGFMT_OPTS = @MSGFMT_OPTS@ | ||
| 199 | NM = @NM@ | ||
| 200 | NMEDIT = @NMEDIT@ | ||
| 201 | OBJDUMP = @OBJDUMP@ | ||
| 202 | OBJEXT = @OBJEXT@ | ||
| 203 | OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ | ||
| 204 | OPENSSL_LIBS = @OPENSSL_LIBS@ | ||
| 205 | OTOOL = @OTOOL@ | ||
| 206 | OTOOL64 = @OTOOL64@ | ||
| 207 | PACKAGE = @PACKAGE@ | ||
| 208 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
| 209 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
| 210 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
| 211 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
| 212 | PACKAGE_URL = @PACKAGE_URL@ | ||
| 213 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
| 214 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
| 215 | PKG_CONFIG = @PKG_CONFIG@ | ||
| 216 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | ||
| 217 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | ||
| 218 | POFILES = @POFILES@ | ||
| 219 | POSUB = @POSUB@ | ||
| 220 | PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ | ||
| 221 | PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ | ||
| 222 | RANLIB = @RANLIB@ | ||
| 223 | SED = @SED@ | ||
| 224 | SET_MAKE = @SET_MAKE@ | ||
| 225 | SHELL = @SHELL@ | ||
| 226 | STRIP = @STRIP@ | ||
| 227 | SYLPHEED_LIBS = @SYLPHEED_LIBS@ | ||
| 228 | USE_NLS = @USE_NLS@ | ||
| 229 | VERSION = @VERSION@ | ||
| 230 | WINDRES = @WINDRES@ | ||
| 231 | XGETTEXT = @XGETTEXT@ | ||
| 232 | YACC = @YACC@ | ||
| 233 | YFLAGS = @YFLAGS@ | ||
| 234 | abs_builddir = @abs_builddir@ | ||
| 235 | abs_srcdir = @abs_srcdir@ | ||
| 236 | abs_top_builddir = @abs_top_builddir@ | ||
| 237 | abs_top_srcdir = @abs_top_srcdir@ | ||
| 238 | ac_ct_AR = @ac_ct_AR@ | ||
| 239 | ac_ct_CC = @ac_ct_CC@ | ||
| 240 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
| 241 | am__include = @am__include@ | ||
| 242 | am__leading_dot = @am__leading_dot@ | ||
| 243 | am__quote = @am__quote@ | ||
| 244 | am__tar = @am__tar@ | ||
| 245 | am__untar = @am__untar@ | ||
| 246 | bindir = @bindir@ | ||
| 247 | build = @build@ | ||
| 248 | build_alias = @build_alias@ | ||
| 249 | build_cpu = @build_cpu@ | ||
| 250 | build_os = @build_os@ | ||
| 251 | build_vendor = @build_vendor@ | ||
| 252 | builddir = @builddir@ | ||
| 253 | datadir = @datadir@ | ||
| 254 | datarootdir = @datarootdir@ | ||
| 255 | docdir = @docdir@ | ||
| 256 | dvidir = @dvidir@ | ||
| 257 | exec_prefix = @exec_prefix@ | ||
| 258 | faqdir = @faqdir@ | ||
| 259 | host = @host@ | ||
| 260 | host_alias = @host_alias@ | ||
| 261 | host_cpu = @host_cpu@ | ||
| 262 | host_os = @host_os@ | ||
| 263 | host_vendor = @host_vendor@ | ||
| 264 | htmldir = @htmldir@ | ||
| 265 | includedir = @includedir@ | ||
| 266 | infodir = @infodir@ | ||
| 267 | install_sh = @install_sh@ | ||
| 268 | libdir = @libdir@ | ||
| 269 | libexecdir = @libexecdir@ | ||
| 270 | localedir = @localedir@ | ||
| 271 | localstatedir = @localstatedir@ | ||
| 272 | mandir = @mandir@ | ||
| 273 | manualdir = @manualdir@ | ||
| 274 | mkdir_p = @mkdir_p@ | ||
| 275 | oldincludedir = @oldincludedir@ | ||
| 276 | pdfdir = @pdfdir@ | ||
| 277 | plugindir = @plugindir@ | ||
| 278 | prefix = @prefix@ | ||
| 279 | program_transform_name = @program_transform_name@ | ||
| 280 | psdir = @psdir@ | ||
| 281 | sbindir = @sbindir@ | ||
| 282 | sharedstatedir = @sharedstatedir@ | ||
| 283 | srcdir = @srcdir@ | ||
| 284 | sysconfdir = @sysconfdir@ | ||
| 285 | target = @target@ | ||
| 286 | target_alias = @target_alias@ | ||
| 287 | target_cpu = @target_cpu@ | ||
| 288 | target_os = @target_os@ | ||
| 289 | target_vendor = @target_vendor@ | ||
| 290 | themedir = @themedir@ | ||
| 291 | top_build_prefix = @top_build_prefix@ | ||
| 292 | top_builddir = @top_builddir@ | ||
| 293 | top_srcdir = @top_srcdir@ | ||
| 294 | EXTRA_DIST = \ | ||
| 295 | COPYING.ja.txt \ | ||
| 296 | COPYING.txt \ | ||
| 297 | README.txt \ | ||
| 298 | compile.bat \ | ||
| 299 | english.nsh \ | ||
| 300 | japanese.nsh \ | ||
| 301 | plugin-updater.nsi \ | ||
| 302 | spanish.nsh \ | ||
| 303 | sylpheed-defs.nsh \ | ||
| 304 | sylpheed.nsi \ | ||
| 305 | update-manager.nsi | ||
| 306 | |||
| 307 | all: all-am | ||
| 308 | |||
| 309 | .SUFFIXES: | ||
| 310 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) | ||
| 311 | @for dep in $?; do \ | ||
| 312 | case '$(am__configure_deps)' in \ | ||
| 313 | *$$dep*) \ | ||
| 314 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | ||
| 315 | && { if test -f $@; then exit 0; else break; fi; }; \ | ||
| 316 | exit 1;; \ | ||
| 317 | esac; \ | ||
| 318 | done; \ | ||
| 319 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign nsis/Makefile'; \ | ||
| 320 | $(am__cd) $(top_srcdir) && \ | ||
| 321 | $(AUTOMAKE) --foreign nsis/Makefile | ||
| 322 | .PRECIOUS: Makefile | ||
| 323 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
| 324 | @case '$?' in \ | ||
| 325 | *config.status*) \ | ||
| 326 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||
| 327 | *) \ | ||
| 328 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||
| 329 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||
| 330 | esac; | ||
| 331 | |||
| 332 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
| 333 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 334 | |||
| 335 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | ||
| 336 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 337 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | ||
| 338 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||
| 339 | $(am__aclocal_m4_deps): | ||
| 340 | |||
| 341 | mostlyclean-libtool: | ||
| 342 | -rm -f *.lo | ||
| 343 | |||
| 344 | clean-libtool: | ||
| 345 | -rm -rf .libs _libs | ||
| 346 | tags TAGS: | ||
| 347 | |||
| 348 | ctags CTAGS: | ||
| 349 | |||
| 350 | cscope cscopelist: | ||
| 351 | |||
| 352 | |||
| 353 | distdir: $(DISTFILES) | ||
| 354 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 355 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
| 356 | list='$(DISTFILES)'; \ | ||
| 357 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
| 358 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
| 359 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
| 360 | case $$dist_files in \ | ||
| 361 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
| 362 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
| 363 | sort -u` ;; \ | ||
| 364 | esac; \ | ||
| 365 | for file in $$dist_files; do \ | ||
| 366 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
| 367 | if test -d $$d/$$file; then \ | ||
| 368 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
| 369 | if test -d "$(distdir)/$$file"; then \ | ||
| 370 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 371 | fi; \ | ||
| 372 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
| 373 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 374 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
| 375 | fi; \ | ||
| 376 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
| 377 | else \ | ||
| 378 | test -f "$(distdir)/$$file" \ | ||
| 379 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
| 380 | || exit 1; \ | ||
| 381 | fi; \ | ||
| 382 | done | ||
| 383 | check-am: all-am | ||
| 384 | check: check-am | ||
| 385 | all-am: Makefile | ||
| 386 | installdirs: | ||
| 387 | install: install-am | ||
| 388 | install-exec: install-exec-am | ||
| 389 | install-data: install-data-am | ||
| 390 | uninstall: uninstall-am | ||
| 391 | |||
| 392 | install-am: all-am | ||
| 393 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
| 394 | |||
| 395 | installcheck: installcheck-am | ||
| 396 | install-strip: | ||
| 397 | if test -z '$(STRIP)'; then \ | ||
| 398 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 399 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 400 | install; \ | ||
| 401 | else \ | ||
| 402 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
| 403 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
| 404 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | ||
| 405 | fi | ||
| 406 | mostlyclean-generic: | ||
| 407 | |||
| 408 | clean-generic: | ||
| 409 | |||
| 410 | distclean-generic: | ||
| 411 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
| 412 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
| 413 | |||
| 414 | maintainer-clean-generic: | ||
| 415 | @echo "This command is intended for maintainers to use" | ||
| 416 | @echo "it deletes files that may require special tools to rebuild." | ||
| 417 | clean: clean-am | ||
| 418 | |||
| 419 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
| 420 | |||
| 421 | distclean: distclean-am | ||
| 422 | -rm -f Makefile | ||
| 423 | distclean-am: clean-am distclean-generic | ||
| 424 | |||
| 425 | dvi: dvi-am | ||
| 426 | |||
| 427 | dvi-am: | ||
| 428 | |||
| 429 | html: html-am | ||
| 430 | |||
| 431 | html-am: | ||
| 432 | |||
| 433 | info: info-am | ||
| 434 | |||
| 435 | info-am: | ||
| 436 | |||
| 437 | install-data-am: | ||
| 438 | |||
| 439 | install-dvi: install-dvi-am | ||
| 440 | |||
| 441 | install-dvi-am: | ||
| 442 | |||
| 443 | install-exec-am: | ||
| 444 | |||
| 445 | install-html: install-html-am | ||
| 446 | |||
| 447 | install-html-am: | ||
| 448 | |||
| 449 | install-info: install-info-am | ||
| 450 | |||
| 451 | install-info-am: | ||
| 452 | |||
| 453 | install-man: | ||
| 454 | |||
| 455 | install-pdf: install-pdf-am | ||
| 456 | |||
| 457 | install-pdf-am: | ||
| 458 | |||
| 459 | install-ps: install-ps-am | ||
| 460 | |||
| 461 | install-ps-am: | ||
| 462 | |||
| 463 | installcheck-am: | ||
| 464 | |||
| 465 | maintainer-clean: maintainer-clean-am | ||
| 466 | -rm -f Makefile | ||
| 467 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
| 468 | |||
| 469 | mostlyclean: mostlyclean-am | ||
| 470 | |||
| 471 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
| 472 | |||
| 473 | pdf: pdf-am | ||
| 474 | |||
| 475 | pdf-am: | ||
| 476 | |||
| 477 | ps: ps-am | ||
| 478 | |||
| 479 | ps-am: | ||
| 480 | |||
| 481 | uninstall-am: | ||
| 482 | |||
| 483 | .MAKE: install-am install-strip | ||
| 484 | |||
| 485 | .PHONY: all all-am check check-am clean clean-generic clean-libtool \ | ||
| 486 | cscopelist-am ctags-am distclean distclean-generic \ | ||
| 487 | distclean-libtool distdir dvi dvi-am html html-am info info-am \ | ||
| 488 | install install-am install-data install-data-am install-dvi \ | ||
| 489 | install-dvi-am install-exec install-exec-am install-html \ | ||
| 490 | install-html-am install-info install-info-am install-man \ | ||
| 491 | install-pdf install-pdf-am install-ps install-ps-am \ | ||
| 492 | install-strip installcheck installcheck-am installdirs \ | ||
| 493 | maintainer-clean maintainer-clean-generic mostlyclean \ | ||
| 494 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | ||
| 495 | tags-am uninstall uninstall-am | ||
| 496 | |||
| 497 | |||
| 498 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
| 499 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
| 500 | .NOEXPORT: | ||
diff --git a/nsis/README.txt b/nsis/README.txt new file mode 100644 index 0000000..d056d05 --- /dev/null +++ b/nsis/README.txt | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | NSIS scripts for Sylpheed installer | ||
| 2 | =================================== | ||
| 3 | |||
| 4 | How to compile installer: | ||
| 5 | |||
| 6 | 1. Install latest version of NSIS. | ||
| 7 | 2. Install NsProcess plug-in into NSIS. | ||
| 8 | 3. Install nsisunz plug-in (http://nsis.sourceforge.net/Nsisunz_plug-in). | ||
| 9 | 4. Make Sylpheed/ bsfilter/ plugins/ folders here. | ||
| 10 | 5. Run compile.bat. | ||
| 11 | 6. If successful, Sylpheed-x.y.z_setup.exe should be made. | ||
diff --git a/nsis/compile.bat b/nsis/compile.bat new file mode 100644 index 0000000..cd45104 --- /dev/null +++ b/nsis/compile.bat | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | PATH "C:\Program Files\NSIS";%PATH% | ||
| 2 | |||
| 3 | makensis plugin-updater.nsi | ||
| 4 | move plugin-updater.exe Sylpheed | ||
| 5 | makensis update-manager.nsi | ||
| 6 | move update-manager.exe Sylpheed | ||
| 7 | makensis sylpheed.nsi | ||
| 8 | |||
| 9 | rem makensis /DSYLPHEED_PRO plugin-updater.nsi | ||
| 10 | rem move plugin-updater.exe Sylpheed | ||
| 11 | rem makensis /DSYLPHEED_PRO update-manager.nsi | ||
| 12 | rem move update-manager.exe Sylpheed | ||
| 13 | rem makensis /DSYLPHEED_PRO sylpheed.nsi | ||
| 14 | |||
| 15 | pause | ||
diff --git a/nsis/english.nsh b/nsis/english.nsh new file mode 100644 index 0000000..a715ca8 --- /dev/null +++ b/nsis/english.nsh | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | LicenseLangString license ${LANG_ENGLISH} "COPYING.txt" | ||
| 2 | LangString readme ${LANG_ENGLISH} "Show README" | ||
| 3 | LangString jump ${LANG_ENGLISH} "Show ${INST_NAME}'s Website" | ||
| 4 | LangString plugins ${LANG_ENGLISH} "Sylpheed Plug-ins" | ||
| 5 | LangString attachment_tool_plugin ${LANG_ENGLISH} "attachment_tool" | ||
| 6 | LangString autoenc_plugin ${LANG_ENGLISH} "autoenc plugin" | ||
| 7 | LangString desktop_shortcut ${LANG_ENGLISH} "Shortcut for Desktop" | ||
| 8 | LangString quick_shortcut ${LANG_ENGLISH} "Shortcut for Quick Launch" | ||
| 9 | LangString handler ${LANG_ENGLISH} "Register associations" | ||
| 10 | LangString sylpheed_description ${LANG_ENGLISH} "Sylpheed itself" | ||
| 11 | LangString plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed" | ||
| 12 | LangString sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in" | ||
| 13 | LangString attachment_tool_plugin_description ${LANG_ENGLISH} "attachment_tool plugin" | ||
| 14 | LangString autoenc_plugin_description ${LANG_ENGLISH} "autoenc plugin" | ||
| 15 | LangString sylfilter_description ${LANG_ENGLISH} "SylFilter bayesian spam filter" | ||
| 16 | LangString bsfilter_description ${LANG_ENGLISH} "bsfilter bayesian spam filter" | ||
| 17 | LangString desktop_shortcut_description ${LANG_ENGLISH} "Create shortcut for Desktop (current user only)" | ||
| 18 | LangString quick_shortcut_description ${LANG_ENGLISH} "Create shortcut for Quick Launch (current user only)" | ||
| 19 | LangString handler_description ${LANG_ENGLISH} "Start Sylpheed when a mailto: link \ | ||
| 20 | is clicked on Web browser etc., or an eml file is opened" | ||
| 21 | LangString un_sylpheed_description ${LANG_ENGLISH} "Sylpheed itself" | ||
| 22 | LangString un_plugins_description ${LANG_ENGLISH} "Plug-ins for Sylpheed" | ||
| 23 | LangString un_sylpheed_pro_description ${LANG_ENGLISH} "Sylpheed Pro Full-text Search Plug-in" | ||
| 24 | LangString un_attachment_tool_plugin_description ${LANG_ENGLISH} "attachment_tool plugin" | ||
| 25 | LangString un_autoenc_plugin_description ${LANG_ENGLISH} "autoenc plugin" | ||
| 26 | LangString un_sylfilter_description ${LANG_ENGLISH} "SylFilter bayesian spam filter" | ||
| 27 | LangString un_bsfilter_description ${LANG_ENGLISH} "bsfilter bayesian spam filter" | ||
| 28 | LangString un_desktop_shortcut_description ${LANG_ENGLISH} "Delete shortcut for Desktop (current user only)" | ||
| 29 | LangString un_quick_shortcut_description ${LANG_ENGLISH} "Delete shortcut for Quick Launch (current user only)" | ||
| 30 | LangString delete_caution ${LANG_ENGLISH} "Sylpheed is already installed. $\n$\nClick `OK` to remove the \ | ||
| 31 | previous version or `Cancel` to cancel this upgrade." | ||
| 32 | LangString app_running ${LANG_ENGLISH} "Sylpheed is running. Please quit Sylpheed before installing." | ||
| 33 | LangString app_running_uninst ${LANG_ENGLISH} "Sylpheed is running. Please quit Sylpheed before uninstalling." | ||
| 34 | |||
| 35 | LangString sylpheed_manual_lnk ${LANG_ENGLISH} "Sylpheed Manual" | ||
| 36 | LangString sylpheed_debug_mode_lnk ${LANG_ENGLISH} "Sylpheed (debug mode)" | ||
| 37 | LangString sylpheed_safe_mode_lnk ${LANG_ENGLISH} "Sylpheed (safe mode)" | ||
| 38 | LangString sylpheed_all_quit_lnk ${LANG_ENGLISH} "Sylpheed All Quit" | ||
| 39 | LangString sylpheed_homepage_lnk ${LANG_ENGLISH} "Sylpheed Homepage" | ||
| 40 | LangString uninstall_lnk ${LANG_ENGLISH} "Uninstall" | ||
| 41 | |||
| 42 | LangString downloading ${LANG_ENGLISH} "Downloading %s" | ||
| 43 | LangString connecting ${LANG_ENGLISH} "Connecting ..." | ||
| 44 | LangString second ${LANG_ENGLISH} " (1 second remaining)" | ||
| 45 | LangString minute ${LANG_ENGLISH} " (1 minute remaining)" | ||
| 46 | LangString hour ${LANG_ENGLISH} " (1 hour remaining)" | ||
| 47 | LangString seconds ${LANG_ENGLISH} " (%u seconds remaining)" | ||
| 48 | LangString minutes ${LANG_ENGLISH} " (%u minutes remaining)" | ||
| 49 | LangString hours ${LANG_ENGLISH} " (%u hours remaining)" | ||
| 50 | LangString progress ${LANG_ENGLISH} "%skB (%d%%) of %skB @ %u.%01ukB/s" | ||
| 51 | LangString download_failed ${LANG_ENGLISH} "Download Failed:" | ||
| 52 | LangString update_confirm ${LANG_ENGLISH} "Update $(^NameDA)?" | ||
| 53 | LangString kill_and_update_confirm ${LANG_ENGLISH} "Quit Sylpheed, and update $(^NameDA)?" | ||
| 54 | LangString un_confirmpage_text_top ${LANG_ENGLISH} "$(^NameDA) will be uninstalled from the following folder. $_CLICK$\r$\n* The user data which exists in $APPDATA\${PRODUCT_NAME} will not be deleted." | ||
| 55 | LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_ENGLISH} "$(^NameDA) has been uninstalled from your computer.$\r$\n$\r$\nClick Finish to close this wizard." | ||
| 56 | ;-------------------------------- | ||
| 57 | ; Localized strings for use with nsisunz | ||
| 58 | ; The '%f' in the string is replaced with the filename on run-time. | ||
| 59 | ; "%c" and "%u" is replaced with compressed size and uncompressed size | ||
| 60 | ; respectively. | ||
| 61 | LangString plugin_updater_nsisunz_text ${LANG_ENGLISH} "Extract: %f (%c -> %u)" | ||
| 62 | LangString plugin_updater_completed_text ${LANG_ENGLISH} "Plugin update completed!" | ||
| 63 | LangString plugin_updater_header ${LANG_ENGLISH} "Plugin Updater" | ||
| 64 | LangString plugin_updater_header_description ${LANG_ENGLISH} "Select plugins to update" | ||
| 65 | LangString plugin_updater_must_select ${LANG_ENGLISH} "You must select at least one plugin!" | ||
| 66 | LangString plugin_updater_extracting ${LANG_ENGLISH} "Extracting" | ||
| 67 | LangString plugin_updater_extracting_files ${LANG_ENGLISH} "Extracting files" | ||
| 68 | LangString plugin_updater_extracted ${LANG_ENGLISH} "Extracted" | ||
| 69 | LangString plugin_updater_extracted_description ${LANG_ENGLISH} "Thes files has been extracted" | ||
| 70 | LangString plugin_updater_extraction_aborted ${LANG_ENGLISH} "Extraction aborted" | ||
| 71 | LangString plugin_updater_extraction_aborted_description ${LANG_ENGLISH} "The extraction process was aborted" | ||
diff --git a/nsis/japanese.nsh b/nsis/japanese.nsh new file mode 100644 index 0000000..a93b604 --- /dev/null +++ b/nsis/japanese.nsh | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | LicenseLangString license ${LANG_JAPANESE} "COPYING.ja.txt" | ||
| 2 | LangString readme ${LANG_JAPANESE} "README‚ð•\ަ" | ||
| 3 | LangString jump ${LANG_JAPANESE} "${INST_NAME}‚ÌWebƒTƒCƒg‚ð•\ަ‚·‚é" | ||
| 4 | LangString plugins ${LANG_JAPANESE} "Sylpheed ƒvƒ‰ƒOƒCƒ“" | ||
| 5 | LangString attachment_tool_plugin ${LANG_JAPANESE} "attachment_tool" | ||
| 6 | LangString autoenc_plugin ${LANG_JAPANESE} "autoencƒvƒ‰ƒOƒCƒ“" | ||
| 7 | LangString desktop_shortcut ${LANG_JAPANESE} "ƒfƒXƒNƒgƒbƒv‚̃Vƒ‡�[ƒgƒJƒbƒg" | ||
| 8 | LangString quick_shortcut ${LANG_JAPANESE} "ƒNƒCƒbƒN‹N“®‚̃Vƒ‡�[ƒgƒJƒbƒg" | ||
| 9 | LangString handler ${LANG_JAPANESE} "ŠÖ˜A•t‚¯‚Ì“o˜^" | ||
| 10 | LangString sylpheed_description ${LANG_JAPANESE} "Sylpheed–{‘̂ł·" | ||
| 11 | LangString plugins_description ${LANG_JAPANESE} "Sylpheed—p‚̃vƒ‰ƒOƒCƒ“" | ||
| 12 | LangString sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro ‘S•¶ŒŸ�õƒvƒ‰ƒOƒCƒ“" | ||
| 13 | LangString attachment_tool_plugin_description ${LANG_JAPANESE} "attachment_tool ƒvƒ‰ƒOƒCƒ“" | ||
| 14 | LangString autoenc_plugin_description ${LANG_JAPANESE} "“Y•tƒtƒ@ƒCƒ‹Ž©“®ˆÃ�†‰»ƒvƒ‰ƒOƒCƒ“" | ||
| 15 | LangString sylfilter_description ${LANG_JAPANESE} "SylFilter –À˜fƒ��[ƒ‹ƒtƒBƒ‹ƒ^" | ||
| 16 | LangString bsfilter_description ${LANG_JAPANESE} "bsfilter –À˜fƒ��[ƒ‹ƒtƒBƒ‹ƒ^" | ||
| 17 | LangString desktop_shortcut_description ${LANG_JAPANESE} "ƒfƒXƒNƒgƒbƒv‚ɃVƒ‡�[ƒgƒJƒbƒg‚ð�ì�¬‚µ‚Ü‚·(Œ»�݂̃†�[ƒU‚Ì‚Ý)" | ||
| 18 | LangString quick_shortcut_description ${LANG_JAPANESE} "ƒNƒCƒbƒN‹N“®‚ɃVƒ‡�[ƒgƒJƒbƒg‚ð�ì�¬‚µ‚Ü‚·(Œ»�݂̃†�[ƒU‚Ì‚Ý)" | ||
| 19 | LangString handler_description ${LANG_JAPANESE} "Webƒuƒ‰ƒEƒU‚ȂǂŠmailto: ‚ÌƒŠƒ“ƒN‚ðƒNƒŠƒbƒN‚µ‚½�ê�‡�A\ | ||
| 20 | ‚Ü‚½emlƒtƒ@ƒCƒ‹‚ðŠJ‚¢‚½�ê�‡�ASylpheed‚ð‹N“®‚·‚邿‚¤‚É�ݒ肵‚Ü‚·" | ||
| 21 | LangString un_sylpheed_description ${LANG_JAPANESE} "Sylpheed–{‘̂ł·" | ||
| 22 | LangString un_plugins_description ${LANG_JAPANESE} "Sylpheed—p‚̃vƒ‰ƒOƒCƒ“" | ||
| 23 | LangString un_sylpheed_pro_description ${LANG_JAPANESE} "Sylpheed Pro ‘S•¶ŒŸ�õƒvƒ‰ƒOƒCƒ“" | ||
| 24 | LangString un_attachment_tool_plugin_description ${LANG_JAPANESE} "attachment_tool ƒvƒ‰ƒOƒCƒ“" | ||
| 25 | LangString un_autoenc_plugin_description ${LANG_JAPANESE} "“Y•tƒtƒ@ƒCƒ‹Ž©“®ˆÃ�†‰»ƒvƒ‰ƒOƒCƒ“" | ||
| 26 | LangString un_sylfilter_description ${LANG_JAPANESE} "SylFilter –À˜fƒ��[ƒ‹ƒtƒBƒ‹ƒ^" | ||
| 27 | LangString un_bsfilter_description ${LANG_JAPANESE} "bsfilter –À˜fƒ��[ƒ‹ƒtƒBƒ‹ƒ^" | ||
| 28 | LangString un_desktop_shortcut_description ${LANG_JAPANESE} "ƒfƒXƒNƒgƒbƒv‚̃Vƒ‡�[ƒgƒJƒbƒg‚ð�í�œ‚µ‚Ü‚·(Œ»�݂̃†�[ƒU‚Ì‚Ý)" | ||
| 29 | LangString un_quick_shortcut_description ${LANG_JAPANESE} "ƒNƒCƒbƒN‹N“®‚̃Vƒ‡�[ƒgƒJƒbƒg‚ð�í�œ‚µ‚Ü‚·(Œ»�݂̃†�[ƒU‚Ì‚Ý)" | ||
| 30 | LangString delete_caution ${LANG_JAPANESE} "${PRODUCT_NAME} ‚ª‚·‚łɃCƒ“ƒXƒg�[ƒ‹‚³‚ê‚Ä‚¢‚Ü‚·�B$\n$\nOK ‚ðƒNƒŠƒbƒN‚·‚邯\ | ||
| 31 | ƒCƒ“ƒXƒg�[ƒ‹‚³‚ê‚Ä‚¢‚éƒo�[ƒWƒ‡ƒ“‚ð�í�œ‚µ�A ƒLƒƒƒ“ƒZƒ‹ ‚ðƒNƒŠƒbƒN‚·‚邯ƒCƒ“ƒXƒg�[ƒ‹‚𒆎~‚µ‚Ü‚·�B" | ||
| 32 | LangString app_running ${LANG_JAPANESE} "${PRODUCT_NAME} ‚ª‹N“®’†‚Å‚·�BƒCƒ“ƒXƒg�[ƒ‹‚Ì‘O‚É ${PRODUCT_NAME} ‚ð�I—¹‚µ‚Ä‚‚¾‚³‚¢�B" | ||
| 33 | LangString app_running_uninst ${LANG_JAPANESE} "${PRODUCT_NAME} ‚ª‹N“®’†‚Å‚·�BƒAƒ“ƒCƒ“ƒXƒg�[ƒ‹‚Ì‘O‚É ${PRODUCT_NAME} ‚ð�I—¹‚µ‚Ä‚‚¾‚³‚¢�B" | ||
| 34 | |||
| 35 | LangString sylpheed_manual_lnk ${LANG_JAPANESE} "Sylpheed ƒ}ƒjƒ…ƒAƒ‹" | ||
| 36 | LangString sylpheed_debug_mode_lnk ${LANG_JAPANESE} "Sylpheed (ƒfƒoƒbƒOƒ‚�[ƒh)" | ||
| 37 | LangString sylpheed_safe_mode_lnk ${LANG_JAPANESE} "Sylpheed (ƒZ�[ƒtƒ‚�[ƒh)" | ||
| 38 | LangString sylpheed_all_quit_lnk ${LANG_JAPANESE} "Sylpheed ‘S�I—¹" | ||
| 39 | LangString sylpheed_homepage_lnk ${LANG_JAPANESE} "Sylpheed ƒz�[ƒ€ƒy�[ƒW" | ||
| 40 | LangString uninstall_lnk ${LANG_JAPANESE} "ƒAƒ“ƒCƒ“ƒXƒg�[ƒ‹" | ||
| 41 | |||
| 42 | LangString downloading ${LANG_JAPANESE} "%s‚ðƒ_ƒEƒ“ƒ��[ƒh’†" | ||
| 43 | LangString connecting ${LANG_JAPANESE} "�Ú‘±’† ..." | ||
| 44 | LangString second ${LANG_JAPANESE} " (Žc‚è 1 •b)" | ||
| 45 | LangString minute ${LANG_JAPANESE} " (Žc‚è 1 •ª)" | ||
| 46 | LangString hour ${LANG_JAPANESE} " (Žc‚è 1 ŽžŠÔ)" | ||
| 47 | LangString seconds ${LANG_JAPANESE} " (Žc‚è %u •b)" | ||
| 48 | LangString minutes ${LANG_JAPANESE} " (Žc‚è %u •ª)" | ||
| 49 | LangString hours ${LANG_JAPANESE} " (Žc‚è %u ŽžŠÔ)" | ||
| 50 | LangString progress ${LANG_JAPANESE} "%skB (%d%%) of %skB @ %u.%01ukB/s" | ||
| 51 | LangString download_failed ${LANG_JAPANESE} "ƒ_ƒEƒ“ƒ��[ƒhޏ”s:" | ||
| 52 | LangString update_confirm ${LANG_JAPANESE} "$(^NameDA)‚ðƒAƒbƒvƒf�[ƒg‚µ‚Ü‚·‚©?" | ||
| 53 | LangString kill_and_update_confirm ${LANG_JAPANESE} "Sylpheed‚ð�I—¹‚µ‚Ä�A$(^NameDA)‚ðƒAƒbƒvƒf�[ƒg‚µ‚Ü‚·‚©?" | ||
| 54 | LangString un_confirmpage_text_top ${LANG_JAPANESE} "$(^NameDA)‚Í�AˆÈ‰º‚̃tƒHƒ‹ƒ_‚©‚çƒAƒ“ƒCƒ“ƒXƒg�[ƒ‹‚³‚ê‚Ü‚·�B$_CLICK$\r$\n�¦ $APPDATA\${PRODUCT_NAME} ‚É‚ ‚郆�[ƒU‚̃f�[ƒ^‚Í�í�œ‚³‚ê‚Ü‚¹‚ñ�B" | ||
| 55 | LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_JAPANESE} "$(^NameDA)‚Í�A‚±‚̃Rƒ“ƒsƒ…�[ƒ^‚©‚çƒAƒ“ƒCƒ“ƒXƒg�[ƒ‹‚³‚ê‚Ü‚µ‚½�B$\r$\n$\r$\nƒEƒBƒU�[ƒh‚ð•‚¶‚é‚É‚Í [Š®—¹] ‚ð‰Ÿ‚µ‚Ä‚‚¾‚³‚¢�B" | ||
| 56 | ;-------------------------------- | ||
| 57 | ; Localized strings for use with nsisunz | ||
| 58 | ; The '%f' in the string is replaced with the filename on run-time. | ||
| 59 | ; "%c" and "%u" is replaced with compressed size and uncompressed size | ||
| 60 | ; respectively. | ||
| 61 | LangString plugin_updater_nsisunz_text ${LANG_JAPANESE} "“WŠJ: %f (%c -> %u)" | ||
| 62 | LangString plugin_updater_completed_text ${LANG_JAPANESE} "ƒvƒ‰ƒOƒCƒ“‚̃Aƒbƒvƒf�[ƒg‚ªŠ®—¹‚µ‚Ü‚µ‚½�B" | ||
| 63 | LangString plugin_updater_header ${LANG_JAPANESE} "ƒvƒ‰ƒOƒCƒ“ƒAƒbƒvƒf�[ƒ^�[" | ||
| 64 | LangString plugin_updater_header_description ${LANG_JAPANESE} "�X�V‚·‚éƒvƒ‰ƒOƒCƒ“‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢" | ||
| 65 | LangString plugin_updater_must_select ${LANG_JAPANESE} "�‚È‚‚Æ‚à1ŒÂƒvƒ‰ƒOƒCƒ“‚ð‘I‘ð‚µ‚Ä‚‚¾‚³‚¢�B" | ||
| 66 | LangString plugin_updater_extracting ${LANG_JAPANESE} "“WŠJ’†" | ||
| 67 | LangString plugin_updater_extracting_files ${LANG_JAPANESE} "ƒtƒ@ƒCƒ‹‚ð“WŠJ’†" | ||
| 68 | LangString plugin_updater_extracted ${LANG_JAPANESE} "“WŠJŠ®—¹" | ||
| 69 | LangString plugin_updater_extracted_description ${LANG_JAPANESE} "ƒtƒ@ƒCƒ‹‚ð“WŠJ‚µ‚Ü‚µ‚½�B" | ||
| 70 | LangString plugin_updater_extraction_aborted ${LANG_JAPANESE} "“WŠJ’†Ž~" | ||
| 71 | LangString plugin_updater_extraction_aborted_description ${LANG_JAPANESE} "“WŠJ�ˆ—�‚𒆎~‚µ‚Ü‚µ‚½�B" | ||
diff --git a/nsis/plugin-updater.nsi b/nsis/plugin-updater.nsi new file mode 100644 index 0000000..efb4b15 --- /dev/null +++ b/nsis/plugin-updater.nsi | |||
| @@ -0,0 +1,173 @@ | |||
| 1 | ; Dependencies: | ||
| 2 | ; - nsisunz.dll Plug-in | ||
| 3 | ; - InstallOptions.dll Plug-in | ||
| 4 | ; | ||
| 5 | ; usage: plugin-updater.exe /ini 'path\to\some-install-options.ini' | ||
| 6 | ;-------------------------------- | ||
| 7 | |||
| 8 | !include "sylpheed-defs.nsh" | ||
| 9 | |||
| 10 | SetCompressor /SOLID lzma | ||
| 11 | |||
| 12 | ;-------------------------------- | ||
| 13 | |||
| 14 | !include "MUI.nsh" | ||
| 15 | !include "Sections.nsh" | ||
| 16 | !include "FileFunc.nsh" | ||
| 17 | !include "LogicLib.nsh" | ||
| 18 | |||
| 19 | ; location of nsisunz.dll | ||
| 20 | !addplugindir "." | ||
| 21 | |||
| 22 | ; MUI Settings | ||
| 23 | !define MUI_ABORTWARNING | ||
| 24 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install-blue.ico" | ||
| 25 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall-blue.ico" | ||
| 26 | |||
| 27 | ;-------------------------------- | ||
| 28 | |||
| 29 | !define INSTALL_OPTIONS_INI "$R2" | ||
| 30 | !define TEMP1 $R3 ;Temp variable | ||
| 31 | |||
| 32 | OutFile "plugin-updater.exe" | ||
| 33 | Name "${PRODUCT_NAME} Plugin Updater" | ||
| 34 | Caption "$(^Name)" | ||
| 35 | ShowInstDetails show | ||
| 36 | CompletedText "$(plugin_updater_completed_text)" | ||
| 37 | BrandingText "${INST_NAME} ${INST_VERSION}" | ||
| 38 | |||
| 39 | ; $INSTDIR | ||
| 40 | InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" | ||
| 41 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" | ||
| 42 | |||
| 43 | ;Things that need to be extracted on startup (keep these lines before any File command!) | ||
| 44 | ;Only useful for BZIP2 compression | ||
| 45 | ;Use ReserveFile for your own InstallOptions INI files too! | ||
| 46 | |||
| 47 | ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" | ||
| 48 | |||
| 49 | RequestExecutionLevel admin | ||
| 50 | XPStyle on | ||
| 51 | |||
| 52 | ;Order of pages | ||
| 53 | Page custom SetCustom ValidateCustom ": Select update plugins" ;Custom page. InstallOptions gets called in SetCustom. | ||
| 54 | !define MUI_PAGE_HEADER_TEXT "$(plugin_updater_extracting)" | ||
| 55 | !define MUI_PAGE_HEADER_SUBTEXT "$(plugin_updater_extracting_files)" | ||
| 56 | !define MUI_INSTFILESPAGE_FINISHHEADER_TEXT "$(plugin_updater_extracted)" | ||
| 57 | !define MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT "$(plugin_updater_extracted_description)" | ||
| 58 | !define MUI_INSTFILESPAGE_ABORTHEADER_TEXT "$(plugin_updater_extraction_aborted)" | ||
| 59 | !define MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT "$(plugin_updater_extraction_aborted_description)" | ||
| 60 | ; Instfiles page | ||
| 61 | !insertmacro MUI_PAGE_INSTFILES | ||
| 62 | |||
| 63 | ;-------------------------------- | ||
| 64 | ; Language files | ||
| 65 | !insertmacro MUI_LANGUAGE "English" # ${LANG_ENGLISH} | ||
| 66 | !insertmacro MUI_LANGUAGE "Spanish" # ${LANG_SPANISH} | ||
| 67 | !insertmacro MUI_LANGUAGE "Japanese" # ${LANG_JAPANESE} | ||
| 68 | |||
| 69 | !include "English.nsh" | ||
| 70 | !include "Spanish.nsh" | ||
| 71 | !include "Japanese.nsh" | ||
| 72 | ;-------------------------------- | ||
| 73 | |||
| 74 | Var field | ||
| 75 | Var NumFields | ||
| 76 | Var URL | ||
| 77 | Var basename | ||
| 78 | Var name | ||
| 79 | Var archive | ||
| 80 | |||
| 81 | Section "Components" | ||
| 82 | |||
| 83 | ;Get Install Options dialog user input | ||
| 84 | |||
| 85 | ;DetailPrint "TEMP=$TEMP" | ||
| 86 | |||
| 87 | ReadINIStr $NumFields "${INSTALL_OPTIONS_INI}" "Settings" "NumFields" | ||
| 88 | ;DetailPrint "NumFields=$NumFields" | ||
| 89 | |||
| 90 | StrCpy $field 1 | ||
| 91 | ${While} $field < $NumFields ; > | ||
| 92 | IntOp $field $field + 1 | ||
| 93 | ReadINIStr ${TEMP1} "${INSTALL_OPTIONS_INI}" "Field $field" "State" | ||
| 94 | StrCmp ${TEMP1} 0 skip | ||
| 95 | ReadINIStr $URL "${INSTALL_OPTIONS_INI}" "Field $field" "URL" | ||
| 96 | ReadINIStr $basename "${INSTALL_OPTIONS_INI}" "Field $field" "basename" | ||
| 97 | ReadINIStr $name "${INSTALL_OPTIONS_INI}" "Field $field" "name" | ||
| 98 | ;DetailPrint "Field $field State=${TEMP1}" | ||
| 99 | ;DetailPrint "Field $field URL=$URL" | ||
| 100 | ;DetailPrint "Field $field basename=$basename" | ||
| 101 | ;DetailPrint "Field $field name=$name" | ||
| 102 | StrCpy $archive "$TEMP\sylpheed-plugin-$basename.zip" | ||
| 103 | |||
| 104 | DetailPrint "$name:" | ||
| 105 | DetailPrint "Downloading from $URL" | ||
| 106 | DetailPrint " to $archive" | ||
| 107 | NSISdl::download \ | ||
| 108 | /TRANSLATE2 "$(downloading)" "$(connecting)" "$(second)" "$(minute)" "$(hour)" "$(seconds)" "$(minutes)" "$(hours)" "$(progress)" \ | ||
| 109 | /TIMEOUT=30000 "$URL" "$archive" | ||
| 110 | Pop $0 | ||
| 111 | StrCmp "$0" "success" download_ok | ||
| 112 | DetailPrint "$(download_failed) $0" | ||
| 113 | Abort | ||
| 114 | download_ok: | ||
| 115 | |||
| 116 | SetOutPath "$INSTDIR" | ||
| 117 | nsisunz::UnzipToLog /text "$(plugin_updater_nsisunz_text)" "$archive" "$INSTDIR" | ||
| 118 | |||
| 119 | ; Always check for errors. Everything else than "success" means an error. | ||
| 120 | Pop $0 | ||
| 121 | StrCmp $0 "success" extract_ok | ||
| 122 | Abort "$0" | ||
| 123 | extract_ok: | ||
| 124 | |||
| 125 | skip: | ||
| 126 | ${EndWhile} | ||
| 127 | |||
| 128 | SectionEnd | ||
| 129 | |||
| 130 | |||
| 131 | Function .onInit | ||
| 132 | InitPluginsDir | ||
| 133 | |||
| 134 | ${GetParameters} $R0 | ||
| 135 | ${GetOptions} "$R0" "/ini" "${INSTALL_OPTIONS_INI}" | ||
| 136 | |||
| 137 | StrCmp "${INSTALL_OPTIONS_INI}" "" 0 ini_option_found | ||
| 138 | MessageBox MB_ICONEXCLAMATION|MB_OK "usage: plugin-updater.exe /ini 'path\to\some-install-options.ini'" | ||
| 139 | Abort | ||
| 140 | ini_option_found: | ||
| 141 | FunctionEnd | ||
| 142 | |||
| 143 | Function SetCustom | ||
| 144 | ;Display the InstallOptions dialog | ||
| 145 | |||
| 146 | !insertmacro MUI_HEADER_TEXT "$(plugin_updater_header)" "$(plugin_updater_header_description)" | ||
| 147 | |||
| 148 | Push ${TEMP1} | ||
| 149 | |||
| 150 | InstallOptions::dialog "${INSTALL_OPTIONS_INI}" | ||
| 151 | Pop ${TEMP1} | ||
| 152 | |||
| 153 | Pop ${TEMP1} | ||
| 154 | |||
| 155 | FunctionEnd | ||
| 156 | |||
| 157 | Function ValidateCustom | ||
| 158 | |||
| 159 | ReadINIStr $NumFields "${INSTALL_OPTIONS_INI}" "Settings" "NumFields" | ||
| 160 | |||
| 161 | StrCpy $field 1 | ||
| 162 | ${While} $field < $NumFields ; > | ||
| 163 | IntOp $field $field + 1 | ||
| 164 | ReadINIStr ${TEMP1} "${INSTALL_OPTIONS_INI}" "Field $field" "State" | ||
| 165 | StrCmp ${TEMP1} 1 done | ||
| 166 | ${EndWhile} | ||
| 167 | |||
| 168 | MessageBox MB_ICONEXCLAMATION|MB_OK "$(plugin_updater_must_select)" | ||
| 169 | Abort | ||
| 170 | |||
| 171 | done: | ||
| 172 | |||
| 173 | FunctionEnd | ||
diff --git a/nsis/spanish.nsh b/nsis/spanish.nsh new file mode 100644 index 0000000..9a1b6af --- /dev/null +++ b/nsis/spanish.nsh | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | LicenseLangString license ${LANG_SPANISH} "COPYING.txt" | ||
| 2 | LangString readme ${LANG_SPANISH} "Ver README" | ||
| 3 | LangString jump ${LANG_SPANISH} "Ver la página web de ${INST_NAME}" | ||
| 4 | LangString plugins ${LANG_SPANISH} "Sylpheed Plug-ins" | ||
| 5 | LangString attachment_tool_plugin ${LANG_SPANISH} "attachment_tool" | ||
| 6 | LangString autoenc_plugin ${LANG_SPANISH} "autoenc plugin" | ||
| 7 | LangString desktop_shortcut ${LANG_SPANISH} "Acceso directo en el escritorio" | ||
| 8 | LangString quick_shortcut ${LANG_SPANISH} "Acceso directo en la barra rápida" | ||
| 9 | LangString handler ${LANG_SPANISH} "Mantener asociado al protocolo mailto:" | ||
| 10 | LangString sylpheed_description ${LANG_SPANISH} "el propio Sylpheed" | ||
| 11 | LangString plugins_description ${LANG_SPANISH} "Plug-ins for Sylpheed" | ||
| 12 | LangString sylpheed_pro_description ${LANG_SPANISH} "Sylpheed Pro Full-text Search Plug-in" | ||
| 13 | LangString attachment_tool_plugin_description ${LANG_SPANISH} "attachment_tool Plug-in" | ||
| 14 | LangString autoenc_plugin_description ${LANG_SPANISH} "autoenc Plug-in" | ||
| 15 | LangString sylfilter_description ${LANG_SPANISH} "SylFilter bayesian spam filter" | ||
| 16 | LangString bsfilter_description ${LANG_SPANISH} "bsfilter bayesian spam filter" | ||
| 17 | LangString desktop_shortcut_description ${LANG_SPANISH} "Se realizó el acceso directo al escritorio." | ||
| 18 | LangString quick_shortcut_description ${LANG_SPANISH} "Se realizó el acceso directo a la barra rápida. " | ||
| 19 | LangString handler_description ${LANG_SPANISH} "Se iniciará Sylpheed cuando se haga clic en \ | ||
| 20 | los enlaces mailto: del navegador web y similares." | ||
| 21 | LangString un_sylpheed_description ${LANG_SPANISH} "el propio Sylpheed" | ||
| 22 | LangString un_plugins_description ${LANG_SPANISH} "Plug-ins for Sylpheed" | ||
| 23 | LangString un_sylpheed_pro_description ${LANG_SPANISH} "Sylpheed Pro Full-text Search Plug-in" | ||
| 24 | LangString un_attachment_tool_plugin_description ${LANG_SPANISH} "attachment_tool Plug-in" | ||
| 25 | LangString un_autoenc_plugin_description ${LANG_SPANISH} "autoenc Plug-in" | ||
| 26 | LangString un_sylfilter_description ${LANG_SPANISH} "SylFilter bayesian spam filter" | ||
| 27 | LangString un_bsfilter_description ${LANG_SPANISH} "bsfilter bayesian spam filter" | ||
| 28 | LangString un_desktop_shortcut_description ${LANG_SPANISH} "Delete shortcut for Desktop (current user only)" | ||
| 29 | LangString un_quick_shortcut_description ${LANG_SPANISH} "Delete shortcut for Quick Launch (current user only)" | ||
| 30 | LangString delete_caution ${LANG_SPANISH} "${PRODUCT_NAME} ya está instalado. $\n$\nPulse «Aceptar» para \ | ||
| 31 | eliminar la versión anterior o «Cancelar» para cancelar la actualización. $\n$\n\ | ||
| 32 | Tenga en cuenta que todos los ficheros existentes en $INSTDIR serán eliminados. " | ||
| 33 | LangString app_running ${LANG_SPANISH} "Sylpheed is running. Please quit Sylpheed before installing." | ||
| 34 | LangString app_running_uninst ${LANG_SPANISH} "Sylpheed is running. Please quit Sylpheed before uninstalling." | ||
| 35 | |||
| 36 | LangString sylpheed_manual_lnk ${LANG_SPANISH} "Sylpheed Manual" | ||
| 37 | LangString sylpheed_debug_mode_lnk ${LANG_SPANISH} "Sylpheed (debug mode)" | ||
| 38 | LangString sylpheed_safe_mode_lnk ${LANG_SPANISH} "Sylpheed (safe mode)" | ||
| 39 | LangString sylpheed_all_quit_lnk ${LANG_SPANISH} "Sylpheed All Quit" | ||
| 40 | LangString sylpheed_homepage_lnk ${LANG_SPANISH} "Sylpheed Homepage" | ||
| 41 | LangString uninstall_lnk ${LANG_SPANISH} "Uninstall" | ||
| 42 | |||
| 43 | LangString downloading ${LANG_SPANISH} "Downloading %s" | ||
| 44 | LangString connecting ${LANG_SPANISH} "Connecting ..." | ||
| 45 | LangString second ${LANG_SPANISH} " (1 second remaining)" | ||
| 46 | LangString minute ${LANG_SPANISH} " (1 minute remaining)" | ||
| 47 | LangString hour ${LANG_SPANISH} " (1 hour remaining)" | ||
| 48 | LangString seconds ${LANG_SPANISH} " (%u seconds remaining)" | ||
| 49 | LangString minutes ${LANG_SPANISH} " (%u minutes remaining)" | ||
| 50 | LangString hours ${LANG_SPANISH} " (%u hours remaining)" | ||
| 51 | LangString progress ${LANG_SPANISH} "%skB (%d%%) of %skB @ %u.%01ukB/s" | ||
| 52 | LangString download_failed ${LANG_SPANISH} "Download Failed:" | ||
| 53 | LangString update_confirm ${LANG_SPANISH} "Update $(^NameDA)?" | ||
| 54 | LangString kill_and_update_confirm ${LANG_SPANISH} "Quit Sylpheed, and update $(^NameDA)?" | ||
| 55 | LangString un_confirmpage_text_top ${LANG_SPANISH} "$(^NameDA) will be uninstalled from the following folder. $_CLICK$\r$\n* The user data which exists in $APPDATA\${PRODUCT_NAME} will not be deleted." | ||
| 56 | LangString MUI_UNTEXT_FINISH_INFO_TEXT ${LANG_SPANISH} "$(^NameDA) ha sido desinstalado de su sistema.$\r$\n$\r$\nPresione Terminar para cerrar este asistente." | ||
| 57 | ;-------------------------------- | ||
| 58 | ; Localized strings for use with nsisunz | ||
| 59 | ; The '%f' in the string is replaced with the filename on run-time. | ||
| 60 | ; "%c" and "%u" is replaced with compressed size and uncompressed size | ||
| 61 | ; respectively. | ||
| 62 | LangString plugin_updater_nsisunz_text ${LANG_SPANISH} "Extract: %f (%c -> %u)" | ||
| 63 | LangString plugin_updater_completed_text ${LANG_SPANISH} "Plugin update completed!" | ||
| 64 | LangString plugin_updater_header ${LANG_SPANISH} "Plugin Updater" | ||
| 65 | LangString plugin_updater_header_description ${LANG_SPANISH} "Select plugins to update" | ||
| 66 | LangString plugin_updater_must_select ${LANG_SPANISH} "You must select at least one plugin!" | ||
| 67 | LangString plugin_updater_extracting ${LANG_SPANISH} "Extracting" | ||
| 68 | LangString plugin_updater_extracting_files ${LANG_SPANISH} "Extracting files" | ||
| 69 | LangString plugin_updater_extracted ${LANG_SPANISH} "Extracted" | ||
| 70 | LangString plugin_updater_extracted_description ${LANG_SPANISH} "Thes files has been extracted" | ||
| 71 | LangString plugin_updater_extraction_aborted ${LANG_SPANISH} "Extraction aborted" | ||
| 72 | LangString plugin_updater_extraction_aborted_description ${LANG_SPANISH} "The extraction process was aborted" | ||
diff --git a/nsis/sylpheed-defs.nsh b/nsis/sylpheed-defs.nsh new file mode 100644 index 0000000..2e0aea0 --- /dev/null +++ b/nsis/sylpheed-defs.nsh | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | ;!define SYLPHEED_PRO | ||
| 2 | ;!define HAVE_AUTOENC_PLUGIN | ||
| 3 | |||
| 4 | !define PRODUCT_NAME "Sylpheed" | ||
| 5 | !define PRODUCT_VERSION "3.7" | ||
| 6 | |||
| 7 | !ifdef SYLPHEED_PRO | ||
| 8 | !define PRODUCT_PUBLISHER "SRA OSS, Inc. Japan" | ||
| 9 | !define PRODUCT_WEB_SITE "http://www.sraoss.co.jp/sylpheed-pro/" | ||
| 10 | !else | ||
| 11 | !define PRODUCT_PUBLISHER "Hiroyuki Yamamoto" | ||
| 12 | !define PRODUCT_WEB_SITE "http://sylpheed.sraoss.jp/" | ||
| 13 | !endif | ||
| 14 | |||
| 15 | !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\sylpheed.exe" | ||
| 16 | !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" | ||
| 17 | !define PRODUCT_UNINST_ROOT_KEY "HKLM" | ||
| 18 | !define MEMENTO_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" | ||
| 19 | !define MEMENTO_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" | ||
| 20 | |||
| 21 | !ifdef SYLPHEED_PRO | ||
| 22 | !define INST_NAME "Sylpheed Pro" | ||
| 23 | !define INST_VERSION "2.6" | ||
| 24 | !define INST_FILENAME "Sylpheed_Pro" | ||
| 25 | !else | ||
| 26 | !define INST_NAME ${PRODUCT_NAME} | ||
| 27 | !define INST_VERSION ${PRODUCT_VERSION} | ||
| 28 | !define INST_FILENAME ${PRODUCT_NAME} | ||
| 29 | !endif | ||
| 30 | |||
| 31 | !define ORIG_WEB_SITE "http://sylpheed.sraoss.jp/" | ||
diff --git a/nsis/sylpheed.nsi b/nsis/sylpheed.nsi new file mode 100644 index 0000000..86ae32a --- /dev/null +++ b/nsis/sylpheed.nsi | |||
| @@ -0,0 +1,568 @@ | |||
| 1 | ; Script generated by the HM NIS Edit Script Wizard. | ||
| 2 | ; Modified by Ikuya Awashiro <ikuya@fruitsbasket.info> | ||
| 3 | ; Modified by Hiroyuki Yamamoto <hiro-y@kcn.ne.jp> | ||
| 4 | |||
| 5 | ; This script requires NsProcess plugin: | ||
| 6 | ; http://nsis.sourceforge.net/NsProcess_plugin | ||
| 7 | |||
| 8 | !include "sylpheed-defs.nsh" | ||
| 9 | |||
| 10 | SetCompressor /SOLID lzma | ||
| 11 | |||
| 12 | !include "nsProcess.nsh" | ||
| 13 | !include "Memento.nsh" | ||
| 14 | |||
| 15 | ; MUI 1.67 compatible ------ | ||
| 16 | !include "MUI.nsh" | ||
| 17 | !include "Sections.nsh" | ||
| 18 | !include "LogicLib.nsh" | ||
| 19 | |||
| 20 | ; MUI Settings | ||
| 21 | !define MUI_ABORTWARNING | ||
| 22 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install-blue.ico" | ||
| 23 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall-blue.ico" | ||
| 24 | |||
| 25 | ; Welcome page | ||
| 26 | !insertmacro MUI_PAGE_WELCOME | ||
| 27 | ; License page | ||
| 28 | !define MUI_LICENSEPAGE_RADIOBUTTONS | ||
| 29 | !insertmacro MUI_PAGE_LICENSE $(license) | ||
| 30 | ; Components page | ||
| 31 | !insertmacro MUI_PAGE_COMPONENTS | ||
| 32 | ; Directory page | ||
| 33 | !insertmacro MUI_PAGE_DIRECTORY | ||
| 34 | ; Instfiles page | ||
| 35 | !insertmacro MUI_PAGE_INSTFILES | ||
| 36 | ; Finish page | ||
| 37 | ;!define MUI_FINISHPAGE_RUN "$INSTDIR\sylpheed.exe" | ||
| 38 | ;!define MUI_FINISHPAGE_RUN_NOTCHECKED | ||
| 39 | !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt" | ||
| 40 | ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README-win32.txt" | ||
| 41 | ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README-win32-ja.txt" | ||
| 42 | !define MUI_FINISHPAGE_SHOWREADME_FUNCTION "ShowReadme" | ||
| 43 | !define MUI_FINISHPAGE_SHOWREADME_TEXT "$(readme)" | ||
| 44 | !define MUI_FINISHPAGE_LINK "$(jump)" | ||
| 45 | !define MUI_FINISHPAGE_LINK_LOCATION ${PRODUCT_WEB_SITE} | ||
| 46 | !insertmacro MUI_PAGE_FINISH | ||
| 47 | |||
| 48 | ; Uninstaller pages | ||
| 49 | !insertmacro MUI_UNPAGE_WELCOME | ||
| 50 | !define MUI_UNCONFIRMPAGE_TEXT_TOP "$(un_confirmpage_text_top)" | ||
| 51 | !insertmacro MUI_UNPAGE_CONFIRM | ||
| 52 | !insertmacro MUI_UNPAGE_COMPONENTS | ||
| 53 | !insertmacro MUI_UNPAGE_INSTFILES | ||
| 54 | !insertmacro MUI_UNPAGE_FINISH | ||
| 55 | |||
| 56 | ; Language files | ||
| 57 | !insertmacro MUI_LANGUAGE "English" # ${LANG_ENGLISH} | ||
| 58 | !insertmacro MUI_LANGUAGE "Spanish" # ${LANG_SPANISH} | ||
| 59 | !insertmacro MUI_LANGUAGE "Japanese" # ${LANG_JAPANESE} | ||
| 60 | |||
| 61 | ; Reserve files | ||
| 62 | !insertmacro MUI_RESERVEFILE_INSTALLOPTIONS | ||
| 63 | ReserveFile "${NSISDIR}\Plugins\nsProcess.dll" | ||
| 64 | |||
| 65 | ; MUI end ------ | ||
| 66 | |||
| 67 | !include "English.nsh" | ||
| 68 | !include "Spanish.nsh" | ||
| 69 | !include "Japanese.nsh" | ||
| 70 | |||
| 71 | Var ISSILENT | ||
| 72 | |||
| 73 | ;Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" | ||
| 74 | ;OutFile "${PRODUCT_NAME}-${PRODUCT_VERSION}_setup.exe" | ||
| 75 | Name "${INST_NAME} ${INST_VERSION}" | ||
| 76 | OutFile "${INST_FILENAME}-${INST_VERSION}_setup.exe" | ||
| 77 | InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" | ||
| 78 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" | ||
| 79 | RequestExecutionLevel admin | ||
| 80 | ShowInstDetails hide | ||
| 81 | ShowUnInstDetails hide | ||
| 82 | XPStyle on | ||
| 83 | BrandingText "${INST_NAME} ${INST_VERSION}" | ||
| 84 | |||
| 85 | ${MementoSection} "!Sylpheed" sec_sylpheed | ||
| 86 | SetShellVarContext all | ||
| 87 | SectionIn RO | ||
| 88 | SetOutPath "$INSTDIR" | ||
| 89 | File /r "Sylpheed\" | ||
| 90 | CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}" | ||
| 91 | |||
| 92 | ${If} $LANGUAGE = "${LANG_JAPANESE}" | ||
| 93 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_manual_lnk).lnk" "$INSTDIR\doc\manual\ja\Sylpheed.html" | ||
| 94 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\README.lnk" "$INSTDIR\README-win32-ja.txt" | ||
| 95 | File /oname=README.txt "Sylpheed\README-win32-ja.txt" | ||
| 96 | ${ElseIf} $LANGUAGE = "${LANG_SPANISH}" | ||
| 97 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_manual_lnk).lnk" "$INSTDIR\doc\manual\en\Sylpheed.html" | ||
| 98 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\README.lnk" "$INSTDIR\README-win32-es.txt" | ||
| 99 | File /oname=README.txt "Sylpheed\README-win32-es.txt" | ||
| 100 | ${Else} | ||
| 101 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_manual_lnk).lnk" "$INSTDIR\doc\manual\en\Sylpheed.html" | ||
| 102 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\README.lnk" "$INSTDIR\README-win32.txt" | ||
| 103 | File /oname=README.txt "Sylpheed\README-win32.txt" | ||
| 104 | ${EndIf} | ||
| 105 | |||
| 106 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed.lnk" "$INSTDIR\sylpheed.exe" | ||
| 107 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_debug_mode_lnk).lnk" "$INSTDIR\sylpheed.exe" "--debug" | ||
| 108 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_safe_mode_lnk).lnk" "$INSTDIR\sylpheed.exe" "--safe-mode" | ||
| 109 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_all_quit_lnk).lnk" "$INSTDIR\sylpheed.exe" "--exit" | ||
| 110 | WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${ORIG_WEB_SITE}" | ||
| 111 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_homepage_lnk).lnk" "$INSTDIR\${PRODUCT_NAME}.url" | ||
| 112 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\$(uninstall_lnk).lnk" "$INSTDIR\uninst.exe" | ||
| 113 | ${MementoSectionEnd} | ||
| 114 | |||
| 115 | SectionGroup /e "$(plugins)" sec_plugins | ||
| 116 | |||
| 117 | !ifdef SYLPHEED_PRO | ||
| 118 | ${MementoSection} "Sylpheed Pro" sec_sylpheed_pro | ||
| 119 | SetShellVarContext all | ||
| 120 | SetOutPath "$INSTDIR" | ||
| 121 | File /r "Sylpheed-Pro\" | ||
| 122 | WriteIniStr "$INSTDIR\${INST_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" | ||
| 123 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed Pro Homepage.lnk" "$INSTDIR\${INST_NAME}.url" | ||
| 124 | CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed Pro Manual.lnk" "$INSTDIR\doc\manual\sylpheed-pro\ja\search-plugin.html" | ||
| 125 | ${MementoSectionEnd} | ||
| 126 | !endif | ||
| 127 | |||
| 128 | ${MementoSection} "$(attachment_tool_plugin)" sec_attachment_tool_plugin | ||
| 129 | SetOutPath "$INSTDIR\plugins" | ||
| 130 | File "plugins\plugins\attachment_tool.dll" | ||
| 131 | SetOutPath "$INSTDIR\doc\plugins" | ||
| 132 | File "plugins\doc\plugins\README.attachment_tool.txt" | ||
| 133 | ${MementoSectionEnd} | ||
| 134 | |||
| 135 | !ifdef HAVE_AUTOENC_PLUGIN | ||
| 136 | ${MementoSection} "$(autoenc_plugin)" sec_autoenc_plugin | ||
| 137 | SetOutPath "$INSTDIR" | ||
| 138 | File /r "autoenc\" | ||
| 139 | ${MementoSectionEnd} | ||
| 140 | !endif | ||
| 141 | |||
| 142 | SectionGroupEnd | ||
| 143 | |||
| 144 | ${MementoSection} "sylfilter" sec_sylfilter | ||
| 145 | SetOutPath "$INSTDIR" | ||
| 146 | File /r "sylfilter\" | ||
| 147 | ${MementoSectionEnd} | ||
| 148 | |||
| 149 | ${MementoSection} "bsfilter" sec_bsfilter | ||
| 150 | SetOutPath "$INSTDIR" | ||
| 151 | File /r "bsfilter\" | ||
| 152 | ${MementoSectionEnd} | ||
| 153 | |||
| 154 | ${MementoSection} "$(desktop_shortcut)" sec_desktop_shortcut | ||
| 155 | SetShellVarContext current | ||
| 156 | CreateShortCut "$DESKTOP\Sylpheed.lnk" "$INSTDIR\sylpheed.exe" | ||
| 157 | ${MementoSectionEnd} | ||
| 158 | |||
| 159 | ${MementoUnselectedSection} "$(quick_shortcut)" sec_quick_shortcut | ||
| 160 | SetShellVarContext current | ||
| 161 | CreateShortCut "$QUICKLAUNCH\Sylpheed.lnk" "$INSTDIR\sylpheed.exe" | ||
| 162 | ${MementoSectionEnd} | ||
| 163 | |||
| 164 | ${MementoSection} "$(handler)" sec_handler | ||
| 165 | ; HKLM | ||
| 166 | ; .eml | ||
| 167 | WriteRegStr HKLM "Software\Classes\Sylpheed.EML" "" "Sylpheed Message" | ||
| 168 | WriteRegDWORD HKLM "Software\Classes\Sylpheed.EML" "EditFlags" 0x00000002 | ||
| 169 | WriteRegStr HKLM "Software\Classes\Sylpheed.EML" "FriendlyTypeName" "Sylpheed Message" | ||
| 170 | WriteRegStr HKLM "Software\Classes\Sylpheed.EML\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 171 | WriteRegStr HKLM "Software\Classes\Sylpheed.EML\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --open $\"%1$\"" | ||
| 172 | |||
| 173 | ; mailto: | ||
| 174 | WriteRegStr HKLM "Software\Classes\mailto" "" "URL:MailTo Protocol" | ||
| 175 | WriteRegDWORD HKLM "Software\Classes\mailto" "EditFlags" 0x00000002 | ||
| 176 | WriteRegStr HKLM "Software\Classes\mailto" "FriendlyTypeName" "Sylpheed MailTo" | ||
| 177 | WriteRegStr HKLM "Software\Classes\mailto" "URL Protocol" "" | ||
| 178 | WriteRegStr HKLM "Software\Classes\mailto\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 179 | WriteRegStr HKLM "Software\Classes\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\"" | ||
| 180 | |||
| 181 | WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "" "URL:MailTo Protocol" | ||
| 182 | WriteRegDWORD HKLM "Software\Classes\Sylpheed.Url.MailTo" "EditFlags" 0x00000002 | ||
| 183 | WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "FriendlyTypeName" "Sylpheed MailTo" | ||
| 184 | WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo" "URL Protocol" "" | ||
| 185 | WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 186 | WriteRegStr HKLM "Software\Classes\Sylpheed.Url.MailTo\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\"" | ||
| 187 | |||
| 188 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed" "" "Sylpheed" | ||
| 189 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 190 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto" "" "URL:MailTo Protocol" | ||
| 191 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto" "URL Protocol" "" | ||
| 192 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 193 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Protocols\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\"" | ||
| 194 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\"" | ||
| 195 | |||
| 196 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationName" "Sylpheed" | ||
| 197 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationIcon" "$INSTDIR\sylpheed.exe,0" | ||
| 198 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities" "ApplicationDescription" "Sylpheed - lightweight and user-friendly e-mail client" | ||
| 199 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\FileAssociations" ".eml" "Sylpheed.EML" | ||
| 200 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\URLAssociations" "mailto" "Sylpheed.Url.MailTo" | ||
| 201 | WriteRegStr HKLM "Software\Clients\Mail\Sylpheed\Capabilities\StartMenu" "Mail" "Sylpheed" | ||
| 202 | |||
| 203 | WriteRegStr HKLM "Software\RegisteredApplications" "Sylpheed" "SOFTWARE\Clients\Mail\Sylpheed\Capabilities" | ||
| 204 | |||
| 205 | ; HKCU | ||
| 206 | WriteRegStr HKCU "Software\Clients\Mail" "" "Sylpheed" | ||
| 207 | |||
| 208 | WriteRegStr HKCU "Software\Microsoft\Windows\Shell\Associations\URLAssociations\mailto\UserChoice" "Progid" "Sylpheed.Url.MailTo" | ||
| 209 | DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eml\UserChoice" | ||
| 210 | WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.eml\UserChoice" "Progid" "Sylpheed.EML" | ||
| 211 | |||
| 212 | ; .eml | ||
| 213 | WriteRegStr HKCU "Software\Classes\.eml" "" "Sylpheed.EML" | ||
| 214 | |||
| 215 | WriteRegStr HKCU "Software\Classes\Sylpheed.EML" "" "Sylpheed Message" | ||
| 216 | WriteRegDWORD HKCU "Software\Classes\Sylpheed.EML" "EditFlags" 0x00000002 | ||
| 217 | WriteRegStr HKCU "Software\Classes\Sylpheed.EML" "FriendlyTypeName" "Sylpheed Message" | ||
| 218 | WriteRegStr HKCU "Software\Classes\Sylpheed.EML\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 219 | WriteRegStr HKCU "Software\Classes\Sylpheed.EML\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --open $\"%1$\"" | ||
| 220 | |||
| 221 | ; mailto: | ||
| 222 | WriteRegStr HKCU "Software\Classes\mailto" "" "URL:MailTo Protocol" | ||
| 223 | WriteRegDWORD HKCU "Software\Classes\mailto" "EditFlags" 0x00000002 | ||
| 224 | WriteRegStr HKCU "Software\Classes\mailto" "FriendlyTypeName" "Sylpheed MailTo" | ||
| 225 | WriteRegStr HKCU "Software\Classes\mailto" "URL Protocol" "" | ||
| 226 | WriteRegStr HKCU "Software\Classes\mailto\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 227 | WriteRegStr HKCU "Software\Classes\mailto\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\"" | ||
| 228 | |||
| 229 | WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "" "URL:MailTo Protocol" | ||
| 230 | WriteRegDWORD HKCU "Software\Classes\Sylpheed.Url.MailTo" "EditFlags" 0x00000002 | ||
| 231 | WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "FriendlyTypeName" "Sylpheed MailTo" | ||
| 232 | WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo" "URL Protocol" "" | ||
| 233 | WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo\DefaultIcon" "" "$INSTDIR\sylpheed.exe,0" | ||
| 234 | WriteRegStr HKCU "Software\Classes\Sylpheed.Url.MailTo\shell\open\command" "" "$\"$INSTDIR\sylpheed.exe$\" --compose $\"%1$\"" | ||
| 235 | ${MementoSectionEnd} | ||
| 236 | |||
| 237 | ${MementoSectionDone} | ||
| 238 | |||
| 239 | Section -Post | ||
| 240 | WriteUninstaller "$INSTDIR\uninst.exe" | ||
| 241 | WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\sylpheed.exe" | ||
| 242 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" | ||
| 243 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" | ||
| 244 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\sylpheed.exe" | ||
| 245 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" | ||
| 246 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" | ||
| 247 | WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" | ||
| 248 | SectionEnd | ||
| 249 | |||
| 250 | Section "!un.Sylpheed" sec_un_sylpheed | ||
| 251 | SetShellVarContext all | ||
| 252 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_manual_lnk).lnk" | ||
| 253 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\README.lnk" | ||
| 254 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed.lnk" | ||
| 255 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_debug_mode_lnk).lnk" | ||
| 256 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_safe_mode_lnk).lnk" | ||
| 257 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_all_quit_lnk).lnk" | ||
| 258 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(sylpheed_homepage_lnk).lnk" | ||
| 259 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\$(uninstall_lnk).lnk" | ||
| 260 | SetShellVarContext current | ||
| 261 | |||
| 262 | Delete "$INSTDIR\curl.exe" | ||
| 263 | Delete "$INSTDIR\gpgme-w32spawn.exe" | ||
| 264 | Delete "$INSTDIR\gspawn-win32-helper-console.exe" | ||
| 265 | Delete "$INSTDIR\gspawn-win32-helper.exe" | ||
| 266 | Delete "$INSTDIR\iconv.dll" | ||
| 267 | Delete "$INSTDIR\intl.dll" | ||
| 268 | Delete "$INSTDIR\jpeg62.dll" | ||
| 269 | Delete "$INSTDIR\libasprintf-0.dll" | ||
| 270 | Delete "$INSTDIR\libassuan-0.dll" | ||
| 271 | Delete "$INSTDIR\libatk-1.0-0.dll" | ||
| 272 | Delete "$INSTDIR\libcairo-2.dll" | ||
| 273 | Delete "$INSTDIR\libcompface.dll" | ||
| 274 | Delete "$INSTDIR\libeay32.dll" | ||
| 275 | Delete "$INSTDIR\libffi-6.dll" | ||
| 276 | Delete "$INSTDIR\libgdk-win32-2.0-0.dll" | ||
| 277 | Delete "$INSTDIR\libgdk_pixbuf-2.0-0.dll" | ||
| 278 | Delete "$INSTDIR\libgio-2.0-0.dll" | ||
| 279 | Delete "$INSTDIR\libglib-2.0-0.dll" | ||
| 280 | Delete "$INSTDIR\libgmodule-2.0-0.dll" | ||
| 281 | Delete "$INSTDIR\libgobject-2.0-0.dll" | ||
| 282 | Delete "$INSTDIR\libgpg-error-0.dll" | ||
| 283 | Delete "$INSTDIR\libgpgme-11.dll" | ||
| 284 | Delete "$INSTDIR\libgthread-2.0-0.dll" | ||
| 285 | Delete "$INSTDIR\libgtk-win32-2.0-0.dll" | ||
| 286 | Delete "$INSTDIR\libonig.dll" | ||
| 287 | Delete "$INSTDIR\libpango-1.0-0.dll" | ||
| 288 | Delete "$INSTDIR\libpangocairo-1.0-0.dll" | ||
| 289 | Delete "$INSTDIR\libpangowin32-1.0-0.dll" | ||
| 290 | Delete "$INSTDIR\libpng14-14.dll" | ||
| 291 | Delete "$INSTDIR\libsylph-0-1.dll" | ||
| 292 | Delete "$INSTDIR\libsylpheed-plugin-0-1.dll" | ||
| 293 | Delete "$INSTDIR\ssleay32.dll" | ||
| 294 | Delete "$INSTDIR\sylpheed.exe" | ||
| 295 | Delete "$INSTDIR\wabread.exe" | ||
| 296 | Delete "$INSTDIR\zlib1.dll" | ||
| 297 | |||
| 298 | Delete "$INSTDIR\README-win32-es.txt" | ||
| 299 | Delete "$INSTDIR\README-win32-ja.txt" | ||
| 300 | Delete "$INSTDIR\README-win32.txt" | ||
| 301 | Delete "$INSTDIR\README.txt" | ||
| 302 | |||
| 303 | Delete "$INSTDIR\sample-sylpheed.ini" | ||
| 304 | |||
| 305 | Delete "$INSTDIR\sylpheed-128x128.png" | ||
| 306 | Delete "$INSTDIR\sylpheed-64x64.png" | ||
| 307 | Delete "$INSTDIR\sylpheed-mailto-protocol_admin.reg" | ||
| 308 | Delete "$INSTDIR\sylpheed-mailto-protocol_user.reg" | ||
| 309 | Delete "$INSTDIR\sylpheed.png" | ||
| 310 | Delete "$INSTDIR\${PRODUCT_NAME}.url" | ||
| 311 | |||
| 312 | Delete "$INSTDIR\plugin-updater.exe" | ||
| 313 | Delete "$INSTDIR\update-manager.exe" | ||
| 314 | Delete "$INSTDIR\uninst.exe" | ||
| 315 | |||
| 316 | RMDir /r "$INSTDIR\doc" | ||
| 317 | RMDir /r "$INSTDIR\etc" | ||
| 318 | RMDir /r "$INSTDIR\lib" | ||
| 319 | RMDir /r "$INSTDIR\share\locale" | ||
| 320 | RMDir /r "$INSTDIR\share\themes" | ||
| 321 | RMDir "$INSTDIR\share" | ||
| 322 | SectionEnd | ||
| 323 | |||
| 324 | SectionGroup /e "un.$(plugins)" sec_un_plugins | ||
| 325 | |||
| 326 | !ifdef SYLPHEED_PRO | ||
| 327 | Section "un.Sylpheed Pro" sec_un_sylpheed_pro | ||
| 328 | SetShellVarContext all | ||
| 329 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed Pro Homepage.lnk" | ||
| 330 | Delete "$SMPROGRAMS\${PRODUCT_NAME}\Sylpheed Pro Manual.lnk" | ||
| 331 | SetShellVarContext current | ||
| 332 | |||
| 333 | ; Sylpheed Pro components | ||
| 334 | Delete "$INSTDIR\bzip2.dll" | ||
| 335 | Delete "$INSTDIR\dbimport-ext.exe" | ||
| 336 | Delete "$INSTDIR\dts-indexer.exe" | ||
| 337 | Delete "$INSTDIR\libarchive2.dll" | ||
| 338 | Delete "$INSTDIR\libmecab.dll" | ||
| 339 | Delete "$INSTDIR\libpq.dll" | ||
| 340 | Delete "$INSTDIR\mecabrc" | ||
| 341 | Delete "$INSTDIR\Sylpheed Pro.url" | ||
| 342 | Delete "$INSTDIR\plugins\dbimport.dll" | ||
| 343 | Delete "$INSTDIR\plugins\scheduler.dll" | ||
| 344 | RMDir /r "$INSTDIR\dic" | ||
| 345 | RMDir /r "$INSTDIR\pgsql" | ||
| 346 | RMDir /r "$INSTDIR\pgsql83" | ||
| 347 | RMDir /r "$INSTDIR\share\sylpheed-pro" | ||
| 348 | RMDir "$INSTDIR\share" | ||
| 349 | SectionEnd | ||
| 350 | !endif | ||
| 351 | |||
| 352 | Section "un.$(attachment_tool_plugin)" sec_un_attachment_tool_plugin | ||
| 353 | Delete "$INSTDIR\plugins\attachment_tool.dll" | ||
| 354 | Delete "$INSTDIR\doc\plugins\README.attachment_tool.txt" | ||
| 355 | SectionEnd | ||
| 356 | |||
| 357 | !ifdef HAVE_AUTOENC_PLUGIN | ||
| 358 | Section "un.$(autoenc_plugin)" sec_un_autoenc_plugin | ||
| 359 | Delete "$INSTDIR\plugins\autoenc.dll" | ||
| 360 | Delete "$INSTDIR\doc\autoenc\COPYING.txt" | ||
| 361 | Delete "$INSTDIR\doc\autoenc\README.autoenc.txt" | ||
| 362 | Delete "$INSTDIR\doc\autoenc\LICENSE.7-zip.txt" | ||
| 363 | RMDir "$INSTDIR\doc\autoenc" | ||
| 364 | Delete "$INSTDIR\7z.dll" | ||
| 365 | Delete "$INSTDIR\7z.exe" | ||
| 366 | SectionEnd | ||
| 367 | !endif | ||
| 368 | |||
| 369 | SectionGroupEnd | ||
| 370 | |||
| 371 | Section "un.sylfilter" sec_un_sylfilter | ||
| 372 | ; sylfilter components | ||
| 373 | Delete "$INSTDIR\sylfilter.exe" | ||
| 374 | Delete "$INSTDIR\sylfilter-cui.exe" | ||
| 375 | SectionEnd | ||
| 376 | |||
| 377 | Section "un.bsfilter" sec_un_bsfilter | ||
| 378 | ; bsfilter components | ||
| 379 | Delete "$INSTDIR\bsfilter" | ||
| 380 | Delete "$INSTDIR\bsfilterw.exe" | ||
| 381 | SectionEnd | ||
| 382 | |||
| 383 | Section "un.$(desktop_shortcut)" sec_un_desktop_shortcut | ||
| 384 | SetShellVarContext current | ||
| 385 | Delete "$DESKTOP\Sylpheed.lnk" | ||
| 386 | SectionEnd | ||
| 387 | |||
| 388 | Section "un.$(quick_shortcut)" sec_un_quick_shortcut | ||
| 389 | SetShellVarContext current | ||
| 390 | Delete "$QUICKLAUNCH\Sylpheed.lnk" | ||
| 391 | SectionEnd | ||
| 392 | |||
| 393 | Section "-un.install" | ||
| 394 | SetShellVarContext all | ||
| 395 | RMDir "$SMPROGRAMS\Sylpheed" | ||
| 396 | SetShellVarContext current | ||
| 397 | |||
| 398 | ; remove plug-ins dir only when empty | ||
| 399 | RMDir "$INSTDIR\plugins" | ||
| 400 | RMDir "$INSTDIR" | ||
| 401 | |||
| 402 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" | ||
| 403 | DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_DIR_REGKEY}" | ||
| 404 | DeleteRegKey HKLM "Software\Classes\Sylpheed.EML" | ||
| 405 | DeleteRegKey HKLM "Software\Classes\Sylpheed.Url.MailTo" | ||
| 406 | DeleteRegKey HKLM "Software\Clients\Mail\Sylpheed" | ||
| 407 | DeleteRegValue HKLM "Software\RegisteredApplications" "Sylpheed" | ||
| 408 | DeleteRegKey HKCU "Software\Classes\Sylpheed.EML" | ||
| 409 | DeleteRegKey HKCU "Software\Classes\Sylpheed.Url.MailTo" | ||
| 410 | DeleteRegKey ${MEMENTO_REGISTRY_ROOT} "${MEMENTO_REGISTRY_KEY}" | ||
| 411 | |||
| 412 | SetAutoClose true | ||
| 413 | SectionEnd | ||
| 414 | |||
| 415 | ; Section descriptions | ||
| 416 | !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN | ||
| 417 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_sylpheed} "$(sylpheed_description)" | ||
| 418 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_plugins} "$(plugins_description)" | ||
| 419 | !ifdef SYLPHEED_PRO | ||
| 420 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_sylpheed_pro} "$(sylpheed_pro_description)" | ||
| 421 | !endif | ||
| 422 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_attachment_tool_plugin} "$(attachment_tool_plugin_description)" | ||
| 423 | !ifdef HAVE_AUTOENC_PLUGIN | ||
| 424 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_autoenc_plugin} "$(autoenc_plugin_description)" | ||
| 425 | !endif | ||
| 426 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_sylfilter} "$(sylfilter_description)" | ||
| 427 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_bsfilter} "$(bsfilter_description)" | ||
| 428 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_desktop_shortcut} "$(desktop_shortcut_description)" | ||
| 429 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_quick_shortcut} "$(quick_shortcut_description)" | ||
| 430 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_handler} "$(handler_description)" | ||
| 431 | !insertmacro MUI_FUNCTION_DESCRIPTION_END | ||
| 432 | !insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN | ||
| 433 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_sylpheed} "$(un_sylpheed_description)" | ||
| 434 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_plugins} "$(un_plugins_description)" | ||
| 435 | !ifdef SYLPHEED_PRO | ||
| 436 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_sylpheed_pro} "$(un_sylpheed_pro_description)" | ||
| 437 | !endif | ||
| 438 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_attachment_tool_plugin} "$(un_attachment_tool_plugin_description)" | ||
| 439 | !ifdef HAVE_AUTOENC_PLUGIN | ||
| 440 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_autoenc_plugin} "$(un_autoenc_plugin_description)" | ||
| 441 | !endif | ||
| 442 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_sylfilter} "$(un_sylfilter_description)" | ||
| 443 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_bsfilter} "$(un_bsfilter_description)" | ||
| 444 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_desktop_shortcut} "$(un_desktop_shortcut_description)" | ||
| 445 | !insertmacro MUI_DESCRIPTION_TEXT ${sec_un_quick_shortcut} "$(un_quick_shortcut_description)" | ||
| 446 | ; handler is not uninstallable. | ||
| 447 | !insertmacro MUI_UNFUNCTION_DESCRIPTION_END | ||
| 448 | |||
| 449 | Function .onInit | ||
| 450 | ${MementoSectionRestore} | ||
| 451 | |||
| 452 | StrCpy $1 ${sec_sylpheed} | ||
| 453 | |||
| 454 | ; Prevent install while Sylpheed is running | ||
| 455 | check_app_running: | ||
| 456 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 457 | StrCmp $R0 "0" 0 +3 | ||
| 458 | MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "$(app_running)" IDOK check_app_running | ||
| 459 | Abort | ||
| 460 | |||
| 461 | ; Auto-uninstall old before installing new | ||
| 462 | ; http://nsis.sourceforge.net/Auto-uninstall_old_before_installing_new | ||
| 463 | ReadRegStr $R0 HKLM \ | ||
| 464 | "${PRODUCT_UNINST_KEY}" "UninstallString" | ||
| 465 | StrCmp $R0 "" done_ | ||
| 466 | |||
| 467 | MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \ | ||
| 468 | "$(delete_caution)" \ | ||
| 469 | /SD IDOK \ | ||
| 470 | IDOK uninst | ||
| 471 | Abort | ||
| 472 | |||
| 473 | ;Run the uninstaller | ||
| 474 | uninst: | ||
| 475 | ClearErrors | ||
| 476 | StrCpy $ISSILENT "/S" | ||
| 477 | IfSilent +2 | ||
| 478 | StrCpy $ISSILENT "" | ||
| 479 | ExecWait '$R0 $ISSILENT _?=$INSTDIR' ;Do not copy the uninstaller to a temp file | ||
| 480 | |||
| 481 | IfErrors no_remove_uninstaller done_ | ||
| 482 | no_remove_uninstaller: | ||
| 483 | Abort | ||
| 484 | |||
| 485 | ; label "done" used in MementoSectionRestore | ||
| 486 | done_: | ||
| 487 | FunctionEnd | ||
| 488 | |||
| 489 | Function .onInstSuccess | ||
| 490 | ${MementoSectionSave} | ||
| 491 | FunctionEnd | ||
| 492 | |||
| 493 | Function .onSelChange | ||
| 494 | !insertmacro StartRadioButtons $1 | ||
| 495 | !insertmacro RadioButton ${sec_sylpheed} | ||
| 496 | !insertmacro EndRadioButtons | ||
| 497 | FunctionEnd | ||
| 498 | |||
| 499 | Function un.onInit | ||
| 500 | check_app_running: | ||
| 501 | ; Prevent uninstall while Sylpheed is running | ||
| 502 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 503 | StrCmp $R0 "0" 0 +3 | ||
| 504 | MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "$(app_running_uninst)" IDOK check_app_running | ||
| 505 | Abort | ||
| 506 | |||
| 507 | ${nsProcess::KillProcess} "sylpheed.exe" $R0 | ||
| 508 | ${nsProcess::KillProcess} "dts-indexer.exe" $R0 | ||
| 509 | ${nsProcess::KillProcess} "postgres.exe" $R0 | ||
| 510 | |||
| 511 | SetShellVarContext current | ||
| 512 | |||
| 513 | IfFileExists "$INSTDIR\sylpheed.exe" sylpheed_file_exists | ||
| 514 | !insertmacro UnselectSection ${sec_un_sylpheed} | ||
| 515 | sylpheed_file_exists: | ||
| 516 | !insertmacro SetSectionFlag ${sec_un_sylpheed} ${SF_RO} | ||
| 517 | |||
| 518 | !ifdef SYLPHEED_PRO | ||
| 519 | IfFileExists "$INSTDIR\plugins\dbimport.dll" sylpheed_pro_file_exists | ||
| 520 | !insertmacro UnselectSection ${sec_un_sylpheed_pro} | ||
| 521 | !insertmacro SetSectionFlag ${sec_un_sylpheed_pro} ${SF_RO} | ||
| 522 | sylpheed_pro_file_exists: | ||
| 523 | !endif | ||
| 524 | |||
| 525 | IfFileExists "$INSTDIR\plugins\attachment_tool.dll" attachment_tool_plugin_file_exists | ||
| 526 | !insertmacro UnselectSection ${sec_un_attachment_tool_plugin} | ||
| 527 | !insertmacro SetSectionFlag ${sec_un_attachment_tool_plugin} ${SF_RO} | ||
| 528 | attachment_tool_plugin_file_exists: | ||
| 529 | |||
| 530 | !ifdef HAVE_AUTOENC_PLUGIN | ||
| 531 | IfFileExists "$INSTDIR\plugins\autoenc.dll" autoenc_plugin_file_exists | ||
| 532 | !insertmacro UnselectSection ${sec_un_autoenc_plugin} | ||
| 533 | !insertmacro SetSectionFlag ${sec_un_autoenc_plugin} ${SF_RO} | ||
| 534 | autoenc_plugin_file_exists: | ||
| 535 | !endif | ||
| 536 | |||
| 537 | IfFileExists "$INSTDIR\sylfilter.exe" sylfilter_file_exists | ||
| 538 | !insertmacro UnselectSection ${sec_un_sylfilter} | ||
| 539 | !insertmacro SetSectionFlag ${sec_un_sylfilter} ${SF_RO} | ||
| 540 | sylfilter_file_exists: | ||
| 541 | |||
| 542 | IfFileExists "$INSTDIR\bsfilter" bsfilter_file_exists | ||
| 543 | !insertmacro UnselectSection ${sec_un_bsfilter} | ||
| 544 | !insertmacro SetSectionFlag ${sec_un_bsfilter} ${SF_RO} | ||
| 545 | bsfilter_file_exists: | ||
| 546 | |||
| 547 | SetShellVarContext current | ||
| 548 | IfFileExists "$DESKTOP\Sylpheed.lnk" desktop_shortcut_file_exists | ||
| 549 | !insertmacro UnselectSection ${sec_un_desktop_shortcut} | ||
| 550 | !insertmacro SetSectionFlag ${sec_un_desktop_shortcut} ${SF_RO} | ||
| 551 | desktop_shortcut_file_exists: | ||
| 552 | |||
| 553 | SetShellVarContext current | ||
| 554 | IfFileExists "$QUICKLAUNCH\Sylpheed.lnk" quick_shortcut_file_exists | ||
| 555 | !insertmacro UnselectSection ${sec_un_quick_shortcut} | ||
| 556 | !insertmacro SetSectionFlag ${sec_un_quick_shortcut} ${SF_RO} | ||
| 557 | quick_shortcut_file_exists: | ||
| 558 | FunctionEnd | ||
| 559 | |||
| 560 | Function ShowReadme | ||
| 561 | ExecShell open "$INSTDIR\README.txt" | ||
| 562 | !ifdef SYLPHEED_PRO | ||
| 563 | ${If} $LANGUAGE = "${LANG_JAPANESE}" | ||
| 564 | IfFileExists "$INSTDIR\doc\manual\sylpheed-pro\ja\search-plugin.html" 0 +2 | ||
| 565 | ExecShell open "$INSTDIR\doc\manual\sylpheed-pro\ja\search-plugin.html" | ||
| 566 | ${EndIf} | ||
| 567 | !endif | ||
| 568 | FunctionEnd | ||
diff --git a/nsis/update-manager.nsi b/nsis/update-manager.nsi new file mode 100644 index 0000000..f79a8a6 --- /dev/null +++ b/nsis/update-manager.nsi | |||
| @@ -0,0 +1,124 @@ | |||
| 1 | ;-------------------------------- | ||
| 2 | |||
| 3 | !include "sylpheed-defs.nsh" | ||
| 4 | |||
| 5 | SetCompressor /SOLID lzma | ||
| 6 | |||
| 7 | ;-------------------------------- | ||
| 8 | |||
| 9 | !include "nsProcess.nsh" | ||
| 10 | |||
| 11 | !include "MUI.nsh" | ||
| 12 | !include "Sections.nsh" | ||
| 13 | !include "FileFunc.nsh" | ||
| 14 | |||
| 15 | ; MUI Settings | ||
| 16 | !define MUI_ABORTWARNING | ||
| 17 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install-blue.ico" | ||
| 18 | !define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall-blue.ico" | ||
| 19 | |||
| 20 | ; Welcome page | ||
| 21 | ;!insertmacro MUI_PAGE_WELCOME | ||
| 22 | ; License page | ||
| 23 | ;!define MUI_LICENSEPAGE_RADIOBUTTONS | ||
| 24 | ;!insertmacro MUI_PAGE_LICENSE $(license) | ||
| 25 | ; Components page | ||
| 26 | ;!insertmacro MUI_PAGE_COMPONENTS | ||
| 27 | ; Directory page | ||
| 28 | ;!insertmacro MUI_PAGE_DIRECTORY | ||
| 29 | ; Instfiles page | ||
| 30 | !insertmacro MUI_PAGE_INSTFILES | ||
| 31 | ; Finish page | ||
| 32 | ;!define MUI_FINISHPAGE_RUN "$INSTDIR\sylpheed.exe" | ||
| 33 | ;!define MUI_FINISHPAGE_RUN_NOTCHECKED | ||
| 34 | !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt" | ||
| 35 | ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README-win32.txt" | ||
| 36 | ;!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README-win32-ja.txt" | ||
| 37 | !define MUI_FINISHPAGE_SHOWREADME_FUNCTION "ShowReadme" | ||
| 38 | !define MUI_FINISHPAGE_SHOWREADME_TEXT "$(readme)" | ||
| 39 | !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED | ||
| 40 | !define MUI_FINISHPAGE_LINK "$(jump)" | ||
| 41 | !define MUI_FINISHPAGE_LINK_LOCATION ${PRODUCT_WEB_SITE} | ||
| 42 | !insertmacro MUI_PAGE_FINISH | ||
| 43 | |||
| 44 | ; Language files | ||
| 45 | !insertmacro MUI_LANGUAGE "English" # ${LANG_ENGLISH} | ||
| 46 | !insertmacro MUI_LANGUAGE "Spanish" # ${LANG_SPANISH} | ||
| 47 | !insertmacro MUI_LANGUAGE "Japanese" # ${LANG_JAPANESE} | ||
| 48 | |||
| 49 | !include "English.nsh" | ||
| 50 | !include "Spanish.nsh" | ||
| 51 | !include "Japanese.nsh" | ||
| 52 | ;-------------------------------- | ||
| 53 | |||
| 54 | Caption "$(^Name) Update Manager" | ||
| 55 | Name "${PRODUCT_NAME}" | ||
| 56 | OutFile "update-manager.exe" | ||
| 57 | InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" | ||
| 58 | InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" | ||
| 59 | |||
| 60 | RequestExecutionLevel admin | ||
| 61 | |||
| 62 | ShowInstDetails hide | ||
| 63 | XPStyle on | ||
| 64 | BrandingText "${INST_NAME} ${INST_VERSION}" | ||
| 65 | |||
| 66 | !define TEMP_INSTALLER_PATH "$TEMP\${PRODUCT_NAME}_setup.exe" | ||
| 67 | |||
| 68 | Section "Download" | ||
| 69 | ; SetOutPath "$TEMP" | ||
| 70 | |||
| 71 | ${GetParameters} $R0 | ||
| 72 | ${GetOptions} "$R0" "/uri" $1 | ||
| 73 | |||
| 74 | StrCmp "$1" "" 0 uri_option_found | ||
| 75 | DetailPrint "usage: update-manager.exe /uri 'http://example.com/Sylpheed-VER_setup.exe'" | ||
| 76 | DetailPrint "or update-manager.exe /uri path\to\Sylpheed-VER_setup.exe" | ||
| 77 | Abort | ||
| 78 | uri_option_found: | ||
| 79 | |||
| 80 | IfFileExists "$1" copy_file | ||
| 81 | |||
| 82 | DetailPrint "Downloading $1" | ||
| 83 | NSISdl::download \ | ||
| 84 | /TRANSLATE2 "$(downloading)" "$(connecting)" "$(second)" "$(minute)" "$(hour)" "$(seconds)" "$(minutes)" "$(hours)" "$(progress)" \ | ||
| 85 | /TIMEOUT=30000 "$1" "${TEMP_INSTALLER_PATH}" | ||
| 86 | Pop $0 | ||
| 87 | StrCmp "$0" "success" download_ok | ||
| 88 | DetailPrint "$(download_failed) $0" | ||
| 89 | Abort | ||
| 90 | |||
| 91 | |||
| 92 | copy_file: | ||
| 93 | CopyFiles "$1" "${TEMP_INSTALLER_PATH}" | ||
| 94 | Goto download_ok | ||
| 95 | |||
| 96 | download_ok: | ||
| 97 | SectionEnd | ||
| 98 | |||
| 99 | Section "Exec Installer" | ||
| 100 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 101 | StrCmp $R0 "0" 0 +3 | ||
| 102 | MessageBox MB_ICONQUESTION|MB_YESNO "$(kill_and_update_confirm)" /SD IDYES IDYES +2 | ||
| 103 | Abort | ||
| 104 | |||
| 105 | ExecWait "$INSTDIR\sylpheed.exe --exit" $R0 | ||
| 106 | |||
| 107 | ; Wait for sylpheed.exe quit completely | ||
| 108 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 109 | StrCmp $R0 "0" 0 wait_done | ||
| 110 | Sleep 1000 | ||
| 111 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 112 | StrCmp $R0 "0" 0 wait_done | ||
| 113 | Sleep 1000 | ||
| 114 | ${nsProcess::FindProcess} "sylpheed.exe" $R0 | ||
| 115 | StrCmp $R0 "0" 0 wait_done | ||
| 116 | Sleep 1000 | ||
| 117 | |||
| 118 | wait_done: | ||
| 119 | ExecWait '"${TEMP_INSTALLER_PATH}" /S' $0 | ||
| 120 | SectionEnd | ||
| 121 | |||
| 122 | Function ShowReadme | ||
| 123 | ExecShell open "$INSTDIR\README.txt" | ||
| 124 | FunctionEnd | ||
