Browse Source

Initial import from kshowmail 3.3.1 sources

Timothy Pearson 5 years ago
commit
b888c7edb5
100 changed files with 28179 additions and 0 deletions
  1. 4
    0
      AUTHORS
  2. 280
    0
      COPYING
  3. 196
    0
      ChangeLog
  4. 176
    0
      INSTALL
  5. 29
    0
      Makefile.am
  6. 14
    0
      Makefile.dist
  7. 101
    0
      README
  8. 16
    0
      ReleaseNotes
  9. 0
    0
      TODO
  10. 11863
    0
      acinclude.m4
  11. 863
    0
      aclocal.m4
  12. 48
    0
      build-kshowmail/RPMROOT/SPECS/kshowmail.spec
  13. 28
    0
      build-kshowmail/RPMROOT/tmp/rpm-tmp.22447
  14. 2
    0
      build-kshowmail/rpmmacros
  15. 1
    0
      build-kshowmail/rpmrc
  16. 238
    0
      config.h
  17. 237
    0
      config.h.in
  18. 2
    0
      configure.files
  19. 142
    0
      configure.in
  20. 14
    0
      configure.in.in
  21. 10
    0
      doc/Makefile.am
  22. 10
    0
      doc/cs/Makefile.am
  23. 516
    0
      doc/cs/index.docbook
  24. 10
    0
      doc/de/Makefile.am
  25. 522
    0
      doc/de/index.docbook
  26. 10
    0
      doc/en/Makefile.am
  27. 516
    0
      doc/en/index.docbook
  28. 10
    0
      doc/es/Makefile.am
  29. 428
    0
      doc/es/index.docbook
  30. 10
    0
      doc/fr/Makefile.am
  31. 372
    0
      doc/fr/index.docbook
  32. 296
    0
      doc/html/AlertDlg_8cpp-source.html
  33. 79
    0
      doc/html/AlertDlg_8h-source.html
  34. 126
    0
      doc/html/AlertDlg_8moc-source.html
  35. 186
    0
      doc/html/CommandDlg_8cpp-source.html
  36. 82
    0
      doc/html/CommandDlg_8h-source.html
  37. 144
    0
      doc/html/CommandDlg_8moc-source.html
  38. 167
    0
      doc/html/CommandEntryDlg_8cpp-source.html
  39. 82
    0
      doc/html/CommandEntryDlg_8h-source.html
  40. 132
    0
      doc/html/CommandEntryDlg_8moc-source.html
  41. 119
    0
      doc/html/EditDlg_8cpp-source.html
  42. 72
    0
      doc/html/EditDlg_8h-source.html
  43. 126
    0
      doc/html/EditDlg_8moc-source.html
  44. 223
    0
      doc/html/FilterDlg_8cpp-source.html
  45. 90
    0
      doc/html/FilterDlg_8h-source.html
  46. 147
    0
      doc/html/FilterDlg_8moc-source.html
  47. 332
    0
      doc/html/FilterEntryDlg_8cpp-source.html
  48. 110
    0
      doc/html/FilterEntryDlg_8h-source.html
  49. 195
    0
      doc/html/FilterEntryDlg_8moc-source.html
  50. 579
    0
      doc/html/OptionDlg_8cpp-source.html
  51. 157
    0
      doc/html/OptionDlg_8h-source.html
  52. 162
    0
      doc/html/OptionDlg_8moc-source.html
  53. 204
    0
      doc/html/ServerDlg_8cpp-source.html
  54. 91
    0
      doc/html/ServerDlg_8h-source.html
  55. 126
    0
      doc/html/ServerDlg_8moc-source.html
  56. 61
    0
      doc/html/alertdialog_8cpp-source.html
  57. 63
    0
      doc/html/alertdialog_8h-source.html
  58. 138
    0
      doc/html/alertdialog_8moc_8cpp-source.html
  59. 70
    0
      doc/html/annotated.html
  60. 41
    0
      doc/html/classAlertDialog-members.html
  61. 144
    0
      doc/html/classAlertDialog.html
  62. BIN
      doc/html/classAlertDialog.png
  63. 39
    0
      doc/html/classAlertDlg-members.html
  64. 275
    0
      doc/html/classAlertDlg.html
  65. BIN
      doc/html/classAlertDlg.png
  66. 55
    0
      doc/html/classCommandDialog-members.html
  67. 81
    0
      doc/html/classCommandDialog.html
  68. BIN
      doc/html/classCommandDialog.png
  69. 49
    0
      doc/html/classCommandDlg-members.html
  70. 110
    0
      doc/html/classCommandDlg.html
  71. BIN
      doc/html/classCommandDlg.png
  72. 38
    0
      doc/html/classCommandEntry-members.html
  73. 69
    0
      doc/html/classCommandEntry.html
  74. 52
    0
      doc/html/classCommandEntryDialog-members.html
  75. 69
    0
      doc/html/classCommandEntryDialog.html
  76. BIN
      doc/html/classCommandEntryDialog.png
  77. 48
    0
      doc/html/classCommandEntryDlg-members.html
  78. 107
    0
      doc/html/classCommandEntryDlg.html
  79. BIN
      doc/html/classCommandEntryDlg.png
  80. 38
    0
      doc/html/classCommandList-members.html
  81. 69
    0
      doc/html/classCommandList.html
  82. 149
    0
      doc/html/classConfigElem-members.html
  83. 2855
    0
      doc/html/classConfigElem.html
  84. 122
    0
      doc/html/classConfigList-members.html
  85. 2087
    0
      doc/html/classConfigList.html
  86. 44
    0
      doc/html/classEditDialog-members.html
  87. 63
    0
      doc/html/classEditDialog.html
  88. BIN
      doc/html/classEditDialog.png
  89. 40
    0
      doc/html/classEditDlg-members.html
  90. 83
    0
      doc/html/classEditDlg.html
  91. BIN
      doc/html/classEditDlg.png
  92. 39
    0
      doc/html/classFilter-members.html
  93. 67
    0
      doc/html/classFilter.html
  94. 58
    0
      doc/html/classFilterDialog-members.html
  95. 78
    0
      doc/html/classFilterDialog.html
  96. BIN
      doc/html/classFilterDialog.png
  97. 55
    0
      doc/html/classFilterDlg-members.html
  98. 128
    0
      doc/html/classFilterDlg.html
  99. BIN
      doc/html/classFilterDlg.png
  100. 0
    0
      doc/html/classFilterElem-members.html

+ 4
- 0
AUTHORS View File

@@ -0,0 +1,4 @@
1
+Eggert Ehmke <eggert.ehmke@berlin.de>
2
+Allistar Melville <allistar@silvermoon.co.nz>
3
+Oleg Ivanov <saruman@unigsm.com>
4
+Ulrich Weigelt <ulrich.weigelt@gmx.de>

+ 280
- 0
COPYING View File

@@ -0,0 +1,280 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+                          675 Mass Ave, Cambridge, MA 02139, USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+			    Preamble
10
+
11
+  The licenses for most software are designed to take away your
12
+freedom to share and change it.  By contrast, the GNU General Public
13
+License is intended to guarantee your freedom to share and change free
14
+software--to make sure the software is free for all its users.  This
15
+General Public License applies to most of the Free Software
16
+Foundation's software and to any other program whose authors commit to
17
+using it.  (Some other Free Software Foundation software is covered by
18
+the GNU Library General Public License instead.)  You can apply it to
19
+your programs, too.
20
+
21
+  When we speak of free software, we are referring to freedom, not
22
+price.  Our General Public Licenses are designed to make sure that you
23
+have the freedom to distribute copies of free software (and charge for
24
+this service if you wish), that you receive source code or can get it
25
+if you want it, that you can change the software or use pieces of it
26
+in new free programs; and that you know you can do these things.
27
+
28
+  To protect your rights, we need to make restrictions that forbid
29
+anyone to deny you these rights or to ask you to surrender the rights.
30
+These restrictions translate to certain responsibilities for you if you
31
+distribute copies of the software, or if you modify it.
32
+
33
+  For example, if you distribute copies of such a program, whether
34
+gratis or for a fee, you must give the recipients all the rights that
35
+you have.  You must make sure that they, too, receive or can get the
36
+source code.  And you must show them these terms so they know their
37
+rights.
38
+
39
+  We protect your rights with two steps: (1) copyright the software, and
40
+(2) offer you this license which gives you legal permission to copy,
41
+distribute and/or modify the software.
42
+
43
+  Also, for each author's protection and ours, we want to make certain
44
+that everyone understands that there is no warranty for this free
45
+software.  If the software is modified by someone else and passed on, we
46
+want its recipients to know that what they have is not the original, so
47
+that any problems introduced by others will not reflect on the original
48
+authors' reputations.
49
+
50
+  Finally, any free program is threatened constantly by software
51
+patents.  We wish to avoid the danger that redistributors of a free
52
+program will individually obtain patent licenses, in effect making the
53
+program proprietary.  To prevent this, we have made it clear that any
54
+patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+  The precise terms and conditions for copying, distribution and
57
+modification follow.
58
+
59
+		    GNU GENERAL PUBLIC LICENSE
60
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+  0. This License applies to any program or other work which contains
63
+a notice placed by the copyright holder saying it may be distributed
64
+under the terms of this General Public License.  The "Program", below,
65
+refers to any such program or work, and a "work based on the Program"
66
+means either the Program or any derivative work under copyright law:
67
+that is to say, a work containing the Program or a portion of it,
68
+either verbatim or with modifications and/or translated into another
69
+language.  (Hereinafter, translation is included without limitation in
70
+the term "modification".)  Each licensee is addressed as "you".
71
+
72
+Activities other than copying, distribution and modification are not
73
+covered by this License; they are outside its scope.  The act of
74
+running the Program is not restricted, and the output from the Program
75
+is covered only if its contents constitute a work based on the
76
+Program (independent of having been made by running the Program).
77
+Whether that is true depends on what the Program does.
78
+
79
+  1. You may copy and distribute verbatim copies of the Program's
80
+source code as you receive it, in any medium, provided that you
81
+conspicuously and appropriately publish on each copy an appropriate
82
+copyright notice and disclaimer of warranty; keep intact all the
83
+notices that refer to this License and to the absence of any warranty;
84
+and give any other recipients of the Program a copy of this License
85
+along with the Program.
86
+
87
+You may charge a fee for the physical act of transferring a copy, and
88
+you may at your option offer warranty protection in exchange for a fee.
89
+
90
+  2. You may modify your copy or copies of the Program or any portion
91
+of it, thus forming a work based on the Program, and copy and
92
+distribute such modifications or work under the terms of Section 1
93
+above, provided that you also meet all of these conditions:
94
+
95
+    a) You must cause the modified files to carry prominent notices
96
+    stating that you changed the files and the date of any change.
97
+
98
+    b) You must cause any work that you distribute or publish, that in
99
+    whole or in part contains or is derived from the Program or any
100
+    part thereof, to be licensed as a whole at no charge to all third
101
+    parties under the terms of this License.
102
+
103
+    c) If the modified program normally reads commands interactively
104
+    when run, you must cause it, when started running for such
105
+    interactive use in the most ordinary way, to print or display an
106
+    announcement including an appropriate copyright notice and a
107
+    notice that there is no warranty (or else, saying that you provide
108
+    a warranty) and that users may redistribute the program under
109
+    these conditions, and telling the user how to view a copy of this
110
+    License.  (Exception: if the Program itself is interactive but
111
+    does not normally print such an announcement, your work based on
112
+    the Program is not required to print an announcement.)
113
+
114
+These requirements apply to the modified work as a whole.  If
115
+identifiable sections of that work are not derived from the Program,
116
+and can be reasonably considered independent and separate works in
117
+themselves, then this License, and its terms, do not apply to those
118
+sections when you distribute them as separate works.  But when you
119
+distribute the same sections as part of a whole which is a work based
120
+on the Program, the distribution of the whole must be on the terms of
121
+this License, whose permissions for other licensees extend to the
122
+entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+Thus, it is not the intent of this section to claim rights or contest
125
+your rights to work written entirely by you; rather, the intent is to
126
+exercise the right to control the distribution of derivative or
127
+collective works based on the Program.
128
+
129
+In addition, mere aggregation of another work not based on the Program
130
+with the Program (or with a work based on the Program) on a volume of
131
+a storage or distribution medium does not bring the other work under
132
+the scope of this License.
133
+
134
+  3. You may copy and distribute the Program (or a work based on it,
135
+under Section 2) in object code or executable form under the terms of
136
+Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+    a) Accompany it with the complete corresponding machine-readable
139
+    source code, which must be distributed under the terms of Sections
140
+    1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+    b) Accompany it with a written offer, valid for at least three
143
+    years, to give any third party, for a charge no more than your
144
+    cost of physically performing source distribution, a complete
145
+    machine-readable copy of the corresponding source code, to be
146
+    distributed under the terms of Sections 1 and 2 above on a medium
147
+    customarily used for software interchange; or,
148
+
149
+    c) Accompany it with the information you received as to the offer
150
+    to distribute corresponding source code.  (This alternative is
151
+    allowed only for noncommercial distribution and only if you
152
+    received the program in object code or executable form with such
153
+    an offer, in accord with Subsection b above.)
154
+
155
+The source code for a work means the preferred form of the work for
156
+making modifications to it.  For an executable work, complete source
157
+code means all the source code for all modules it contains, plus any
158
+associated interface definition files, plus the scripts used to
159
+control compilation and installation of the executable.  However, as a
160
+special exception, the source code distributed need not include
161
+anything that is normally distributed (in either source or binary
162
+form) with the major components (compiler, kernel, and so on) of the
163
+operating system on which the executable runs, unless that component
164
+itself accompanies the executable.
165
+
166
+If distribution of executable or object code is made by offering
167
+access to copy from a designated place, then offering equivalent
168
+access to copy the source code from the same place counts as
169
+distribution of the source code, even though third parties are not
170
+compelled to copy the source along with the object code.
171
+
172
+  4. You may not copy, modify, sublicense, or distribute the Program
173
+except as expressly provided under this License.  Any attempt
174
+otherwise to copy, modify, sublicense or distribute the Program is
175
+void, and will automatically terminate your rights under this License.
176
+However, parties who have received copies, or rights, from you under
177
+this License will not have their licenses terminated so long as such
178
+parties remain in full compliance.
179
+
180
+  5. You are not required to accept this License, since you have not
181
+signed it.  However, nothing else grants you permission to modify or
182
+distribute the Program or its derivative works.  These actions are
183
+prohibited by law if you do not accept this License.  Therefore, by
184
+modifying or distributing the Program (or any work based on the
185
+Program), you indicate your acceptance of this License to do so, and
186
+all its terms and conditions for copying, distributing or modifying
187
+the Program or works based on it.
188
+
189
+  6. Each time you redistribute the Program (or any work based on the
190
+Program), the recipient automatically receives a license from the
191
+original licensor to copy, distribute or modify the Program subject to
192
+these terms and conditions.  You may not impose any further
193
+restrictions on the recipients' exercise of the rights granted herein.
194
+You are not responsible for enforcing compliance by third parties to
195
+this License.
196
+
197
+  7. If, as a consequence of a court judgment or allegation of patent
198
+infringement or for any other reason (not limited to patent issues),
199
+conditions are imposed on you (whether by court order, agreement or
200
+otherwise) that contradict the conditions of this License, they do not
201
+excuse you from the conditions of this License.  If you cannot
202
+distribute so as to satisfy simultaneously your obligations under this
203
+License and any other pertinent obligations, then as a consequence you
204
+may not distribute the Program at all.  For example, if a patent
205
+license would not permit royalty-free redistribution of the Program by
206
+all those who receive copies directly or indirectly through you, then
207
+the only way you could satisfy both it and this License would be to
208
+refrain entirely from distribution of the Program.
209
+
210
+If any portion of this section is held invalid or unenforceable under
211
+any particular circumstance, the balance of the section is intended to
212
+apply and the section as a whole is intended to apply in other
213
+circumstances.
214
+
215
+It is not the purpose of this section to induce you to infringe any
216
+patents or other property right claims or to contest validity of any
217
+such claims; this section has the sole purpose of protecting the
218
+integrity of the free software distribution system, which is
219
+implemented by public license practices.  Many people have made
220
+generous contributions to the wide range of software distributed
221
+through that system in reliance on consistent application of that
222
+system; it is up to the author/donor to decide if he or she is willing
223
+to distribute software through any other system and a licensee cannot
224
+impose that choice.
225
+
226
+This section is intended to make thoroughly clear what is believed to
227
+be a consequence of the rest of this License.
228
+
229
+  8. If the distribution and/or use of the Program is restricted in
230
+certain countries either by patents or by copyrighted interfaces, the
231
+original copyright holder who places the Program under this License
232
+may add an explicit geographical distribution limitation excluding
233
+those countries, so that distribution is permitted only in or among
234
+countries not thus excluded.  In such case, this License incorporates
235
+the limitation as if written in the body of this License.
236
+
237
+  9. The Free Software Foundation may publish revised and/or new versions
238
+of the General Public License from time to time.  Such new versions will
239
+be similar in spirit to the present version, but may differ in detail to
240
+address new problems or concerns.
241
+
242
+Each version is given a distinguishing version number.  If the Program
243
+specifies a version number of this License which applies to it and "any
244
+later version", you have the option of following the terms and conditions
245
+either of that version or of any later version published by the Free
246
+Software Foundation.  If the Program does not specify a version number of
247
+this License, you may choose any version ever published by the Free Software
248
+Foundation.
249
+
250
+  10. If you wish to incorporate parts of the Program into other free
251
+programs whose distribution conditions are different, write to the author
252
+to ask for permission.  For software which is copyrighted by the Free
253
+Software Foundation, write to the Free Software Foundation; we sometimes
254
+make exceptions for this.  Our decision will be guided by the two goals
255
+of preserving the free status of all derivatives of our free software and
256
+of promoting the sharing and reuse of software generally.
257
+
258
+			    NO WARRANTY
259
+
260
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+REPAIR OR CORRECTION.
269
+
270
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+POSSIBILITY OF SUCH DAMAGES.
279
+
280
+		     END OF TERMS AND CONDITIONS

+ 196
- 0
ChangeLog View File

@@ -0,0 +1,196 @@
1
+Versions            Changes
2
+--------            -------
3
+
4
+May  6 2000: V0.1:  initial release
5
+
6
+May  7 2000: V0.2:  minor improvements and bug fixes
7
+                     implemented context menus
8
+                     delete confirmation option
9
+
10
+May 10 2000: V0.3:   several bug fixes
11
+                     redesign of the configuration menu
12
+                     implemented multiple accounts
13
+                     implemented timer automatic
14
+                     improved error diagnostic
15
+
16
+May 20 2000: V0.4    minor bug fixes
17
+                     implemented connect via port 110
18
+                     implemented show of complete messages
19
+
20
+Jun 24 2000: V0.5    bug fixes
21
+                     changed event handling to allow update of status line during transfer
22
+                     store UIDL's / Message ID's in rc file to allow persistent detection of new mail
23
+                     play sound if new mail
24
+                     file dialog to select sound file
25
+                     implemented scrambled password in rc file
26
+                     command line parameter to select account
27
+                     tool bar combobox to select account
28
+
29
+Jun 29 2000 V0.5.1   Spanish translation provided by Edgardo Garc�
30
+                     Help file updated in english, german and spanish
31
+                     modified password scrambling algorithm
32
+
33
+Jul 10 2000 V0.5.2   bug fixes
34
+                     Implemented hide on startup
35
+                     Implemented minimize/terminate if no new mail
36
+                     Improved cache handling
37
+                     Implemented configurable user commands
38
+                     The application is started as unique instance
39
+
40
+Aug 2 2000 V0.5.3  A new option to allow keeping of new mails as "new"
41
+      The size of mails is now recognized correctly
42
+      Implementation of the anti-spam complain command
43
+      Swedish language files
44
+
45
+Oct 15 2000  V0.9  Delete key works now. A popup window can be shown
46
+      if new messages arrive. Config dialog updated.
47
+
48
+Oct 19 2000 V0.9.1  Bugfix release due to segfault in 0.9
49
+
50
+Oct 20 2000 V0.9.2  Automatic backup of config file
51
+      Swedish language files updated
52
+      French language files added
53
+      Mail size options added
54
+      Launch external programs on new mail
55
+
56
+Dec 30 2001 V2.2.0  Final version for KDE 2.2.x.
57
+      Improved support of multiple accounts.
58
+      Implementation of pop3 kioslave
59
+      User interface adapted to KActions
60
+      Keyboard shortcuts finally work
61
+      Continuation at next account after errors
62
+      Persistent storage of headers in xml config file
63
+
64
+Jan 02 2002 V2.2.1 Bugfix release
65
+      The option dialog is divided by tab bars to make it smaller
66
+      New stop button to interrupt transfer
67
+      Changed icon format to png
68
+
69
+Jan 31 2002 V2.2.2 Bugfix release
70
+      The crash on kde shutdown has been fixed
71
+      Mail subjects are now RFC2047 decoded
72
+      The truncating of large messages works again
73
+
74
+Feb 24 2002 V2.2.3 Bugfix release
75
+      Crash when complain command is assigned to new mail fixed
76
+      Added time information to status line
77
+      Added account size information
78
+      Request password when empty
79
+      Show only messages of active accounts
80
+      Store iconsize and icontext of toolbar
81
+      Show user and host in statusbar.
82
+      show countdown counter in statusbar
83
+
84
+Apr 06 2002 V3.0.0 Migration to KDE3
85
+      Bug 535377 order by header fields fixed
86
+
87
+Apr 25 2002 V3.0.1 Sort by message numbers fixed (multiple accounts)
88
+      New icons provided by Maic Szotek
89
+      Display and sort date in locale format
90
+      Hide taskbar button if minimized
91
+      Implement configurable pop3 timer
92
+      Animated traybar icon while fetching messages
93
+      Crash if no account assigned is fixed
94
+      Optimized sorting of new messages
95
+      Store sort column in config file
96
+      Crash and missing columns (542602) fixed
97
+      Improved tab order in dialogs
98
+      Beep if illegal user actions
99
+      Crash when disabling accounts (559122) fixed
100
+
101
+May 30 2002 V3.0.2 Implemented user feedback
102
+      Bug 562903 (Wrong account activated if sorted backw) fixed
103
+
104
+Jul 06 2002 V3.0.3 corrected compile errors in 3.0.2
105
+
106
+Feb 22 2003 V3.0.4 corrected segfault when password, server url and account name are too long;
107
+      Finally set up the cvs account. (Hi, Allistar !);
108
+      Added the option for users to hide account or message columns in the main window;
109
+      Added french translation finally;
110
+      Added option to allow rich text formatting (simple html);
111
+      set tab focus to editdialog to allow keyboard navigation;
112
+      header information filtered in view complete mail;
113
+      fix of the locking problem when running commands;
114
+      security update: xml file has mode 0600 now.
115
+
116
+Sep 05 2004 V3.0.5 Bugfix: crash when storing empty password
117
+
118
+Dec 06 2003 V3.1.0 added confirm close box
119
+      Added the long awaited filters to fight the Swen worm
120
+      Implemented regular expressions as filter conditions
121
+      Added logfile to monitor deleted messages
122
+      Font now derived from KDE settings
123
+      Added reply option
124
+      Added save option
125
+      Added ungarian translation for GUI and Help
126
+      Fixed bug #853651
127
+
128
+Jan 30 2004 V3.1.1
129
+      Added italian translation for gui and help
130
+      Disabled save actions if nothing changed
131
+      Added tooltip for traybar
132
+      Improved html, we use KTextBrowser now
133
+      Czech gui translation added
134
+
135
+Jul 12 2005 V3.1.1
136
+      Works fine with KDE3.4
137
+      Fixed bug #860024
138
+      Added "Close to tray" and "Minimize to tray" settings
139
+      Fixed bug with crashes on (de)activation of accounts
140
+
141
+Mar 31 2007 V3.1.2
142
+      BUGFIX: Crashed, when you click on an item of the account list
143
+
144
+May 19 2007 V3.1.9.1 (3.2-pre1)
145
+	Revised all code for POP3 operations and moved it into the account
146
+	class. Now the refresh and delete operations of every account run
147
+	simultaneously and it doesn't crash at Quit anymore.
148
+
149
+	Dropped the menu item Clear and Forced Refresh because they are
150
+	dispensable now. The mail list is cleared at every refresh.
151
+
152
+	Removed the complain action.
153
+
154
+	The view of complete messages was improved. It decodes the quoted
155
+	printable encoding (like "=25" ). But it is not perfect yet.
156
+
157
+	The configure script is looking for the mimelib headers "mimepp.h"
158
+	and "datetime.h" now. If they are not installed, the user will be shown a
159
+	invitation to install the kdepim devel package.
160
+
161
+	Revised the makefile.am files to avoid some warnings
162
+
163
+	Replaced the admin folder
164
+
165
+Jul 06 2007 V3.2.0
166
+	New setup dialog
167
+
168
+	A configurable tool bar
169
+
170
+	An easier code to build the GUI
171
+
172
+	The warnings that kshowmail couldn't connect to the server during refresh,
173
+	if there is no network connection available, can be disabled now.
174
+
175
+	You can use KWallet to store the passwords.
176
+
177
+Jul 14 2007 V3.2.1
178
+	Fixed bug where if you configure 2 accounts, retrieve mail, and then deactivate
179
+	one of the accounts, it's number of messages still reflects in the tray icon.
180
+
181
+	Fixed sort of message number and size columns in message list to be numerical
182
+	rather than alpha.
183
+
184
+Aug 04 2007 V3.2.9 (3.3-pre1)
185
+	Add support for SSL/TLS
186
+
187
+Apr 20 2008 V3.3.0
188
+	Revised filter (dialog and worker)
189
+	  * White- and Blacklist
190
+	  * indefinite number of filters
191
+	  * moving of mails into mailboxes
192
+	  * ignoring of mails (e.g. for mailing lists)
193
+	Spam check with SpamAssassin (just basically)
194
+	Revised filter log
195
+
196
+

+ 176
- 0
INSTALL View File

@@ -0,0 +1,176 @@
1
+Basic Installation
2
+==================
3
+
4
+   These are generic installation instructions.
5
+
6
+   The `configure' shell script attempts to guess correct values for
7
+various system-dependent variables used during compilation.  It uses
8
+those values to create a `Makefile' in each directory of the package.
9
+It may also create one or more `.h' files containing system-dependent
10
+definitions.  Finally, it creates a shell script `config.status' that
11
+you can run in the future to recreate the current configuration, a file
12
+`config.cache' that saves the results of its tests to speed up
13
+reconfiguring, and a file `config.log' containing compiler output
14
+(useful mainly for debugging `configure').
15
+
16
+   If you need to do unusual things to compile the package, please try
17
+to figure out how `configure' could check whether to do them, and mail
18
+diffs or instructions to the address given in the `README' so they can
19
+be considered for the next release.  If at some point `config.cache'
20
+contains results you don't want to keep, you may remove or edit it.
21
+
22
+   The file `configure.in' is used to create `configure' by a program
23
+called `autoconf'.  You only need `configure.in' if you want to change
24
+it or regenerate `configure' using a newer version of `autoconf'.
25
+
26
+It is useful to set the KDEDIR environment variable to the proper location.
27
+For SuSE this is /opt/kde3. Before starting, enter
28
+export KDEDIR=/opt/kde3
29
+
30
+The simplest way to compile this package is:
31
+
32
+  1. `cd' to the directory containing the package's source code and type
33
+     `./configure' to configure the package for your system.  If you're
34
+     using `csh' on an old version of System V, you might need to type
35
+     `sh ./configure' instead to prevent `csh' from trying to execute
36
+     `configure' itself.
37
+
38
+     If KDEDIR is not set, it can be helpful to run configure with the --prefix option:
39
+     ./configure --prefix=/opt/kde3
40
+
41
+     Running `configure' takes a while.  While running, it prints some
42
+     messages telling which features it is checking for.
43
+
44
+  2. Type `make' to compile the package.
45
+
46
+  3. Type `make install' to install the programs and any data files and
47
+     documentation. Read the output of the install process carefully and
48
+     verify the files have been installed in the correct locations. If the
49
+     directory is wrong (not a subdirectory of KDEDIR) the icons will not be found.
50
+
51
+  4. You can remove the program binaries and object files from the
52
+     source code directory by typing `make clean'.  
53
+
54
+Compilers and Options
55
+=====================
56
+
57
+   Some systems require unusual options for compilation or linking that
58
+the `configure' script does not know about.  You can give `configure'
59
+initial values for variables by setting them in the environment.  Using
60
+a Bourne-compatible shell, you can do that on the command line like
61
+this:
62
+     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
63
+
64
+Or on systems that have the `env' program, you can do it like this:
65
+     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
66
+
67
+Compiling For Multiple Architectures
68
+====================================
69
+
70
+   You can compile the package for more than one kind of computer at the
71
+same time, by placing the object files for each architecture in their
72
+own directory.  To do this, you must use a version of `make' that
73
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
74
+directory where you want the object files and executables to go and run
75
+the `configure' script.  `configure' automatically checks for the
76
+source code in the directory that `configure' is in and in `..'.
77
+
78
+   If you have to use a `make' that does not supports the `VPATH'
79
+variable, you have to compile the package for one architecture at a time
80
+in the source code directory.  After you have installed the package for
81
+one architecture, use `make distclean' before reconfiguring for another
82
+architecture.
83
+
84
+Installation Names
85
+==================
86
+
87
+   By default, `make install' will install the package's files in
88
+`/usr/local/bin', `/usr/local/man', etc.  You can specify an
89
+installation prefix other than `/usr/local' by giving `configure' the
90
+option `--prefix=PATH'.
91
+
92
+   You can specify separate installation prefixes for
93
+architecture-specific files and architecture-independent files.  If you
94
+give `configure' the option `--exec-prefix=PATH', the package will use
95
+PATH as the prefix for installing programs and libraries.
96
+Documentation and other data files will still use the regular prefix.
97
+
98
+   If the package supports it, you can cause programs to be installed
99
+with an extra prefix or suffix on their names by giving `configure' the
100
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
101
+
102
+Optional Features
103
+=================
104
+
105
+   Some packages pay attention to `--enable-FEATURE' options to
106
+`configure', where FEATURE indicates an optional part of the package.
107
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
108
+is something like `gnu-as' or `x' (for the X Window System).  The
109
+`README' should mention any `--enable-' and `--with-' options that the
110
+package recognizes.
111
+
112
+   For packages that use the X Window System, `configure' can usually
113
+find the X include and library files automatically, but if it doesn't,
114
+you can use the `configure' options `--x-includes=DIR' and
115
+`--x-libraries=DIR' to specify their locations.
116
+
117
+Specifying the System Type
118
+==========================
119
+
120
+   There may be some features `configure' can not figure out
121
+automatically, but needs to determine by the type of host the package
122
+will run on.  Usually `configure' can figure that out, but if it prints
123
+a message saying it can not guess the host type, give it the
124
+`--host=TYPE' option.  TYPE can either be a short name for the system
125
+type, such as `sun4', or a canonical name with three fields:
126
+     CPU-COMPANY-SYSTEM
127
+
128
+See the file `config.sub' for the possible values of each field.  If
129
+`config.sub' isn't included in this package, then this package doesn't
130
+need to know the host type.
131
+
132
+   If you are building compiler tools for cross-compiling, you can also
133
+use the `--target=TYPE' option to select the type of system they will
134
+produce code for and the `--build=TYPE' option to select the type of
135
+system on which you are compiling the package.
136
+
137
+Sharing Defaults
138
+================
139
+
140
+   If you want to set default values for `configure' scripts to share,
141
+you can create a site shell script called `config.site' that gives
142
+default values for variables like `CC', `cache_file', and `prefix'.
143
+`configure' looks for `PREFIX/share/config.site' if it exists, then
144
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
145
+`CONFIG_SITE' environment variable to the location of the site script.
146
+A warning: not all `configure' scripts look for a site script.
147
+
148
+Operation Controls
149
+==================
150
+
151
+   `configure' recognizes the following options to control how it
152
+operates.
153
+
154
+`--cache-file=FILE'
155
+     Use and save the results of the tests in FILE instead of
156
+     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
157
+     debugging `configure'.
158
+
159
+`--help'
160
+     Print a summary of the options to `configure', and exit.
161
+
162
+`--quiet'
163
+`--silent'
164
+`-q'
165
+     Do not print messages saying which checks are being made.
166
+
167
+`--srcdir=DIR'
168
+     Look for the package's source code in directory DIR.  Usually
169
+     `configure' can determine that directory automatically.
170
+
171
+`--version'
172
+     Print the version of Autoconf used to generate the `configure'
173
+     script, and exit.
174
+
175
+`configure' also accepts some other, not widely useful, options.
176
+

+ 29
- 0
Makefile.am View File

@@ -0,0 +1,29 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+SUBDIRS = kshowmail po doc pics sounds 
4
+
5
+EXTRA_DIST = kshowmail.kdevprj admin AUTHORS COPYING ChangeLog INSTALL README TODO kshowmail.spec 
6
+
7
+####### kdevelop will overwrite this part!!! (end)############
8
+# not a GNU package. You can remove this line, if 
9
+# have all needed files, that a GNU package needs
10
+AUTOMAKE_OPTIONS = foreign 
11
+
12
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
13
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
14
+
15
+$(top_srcdir)/subdirs:
16
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
17
+
18
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
19
+	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
20
+
21
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
22
+
23
+package-messages:
24
+	$(MAKE) -f admin/Makefile.common package-messages
25
+	$(MAKE) -C po merge
26
+
27
+dist-hook:
28
+	cd $(top_distdir) && perl admin/am_edit -padmin
29
+	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

+ 14
- 0
Makefile.dist View File

@@ -0,0 +1,14 @@
1
+all: 
2
+	@echo "This Makefile is only for the CVS repository"
3
+	@echo "This will be deleted before making the distribution"
4
+	@echo ""
5
+	@if test ! -d admin; then \
6
+	   echo "Please recheckout this module!" ;\
7
+	   echo "for cvs: use checkout once and after that update again" ;\
8
+	   echo "for cvsup: checkout kde-common from cvsup and" ;\
9
+	   echo "   link kde-common/admin to ./admin" ;\
10
+	   exit 1 ;\
11
+	fi
12
+	$(MAKE) -f admin/Makefile.common cvs
13
+
14
+.SILENT:

+ 101
- 0
README View File

@@ -0,0 +1,101 @@
1
+This program is written by Eggert Ehmke, eggert.ehmke@berlin.de.
2
+It is distributed under the GNU public license. See COPYING for details.
3
+It is based on the command line tool showmail written by Manfred Haertel,
4
+Manfred.Haertel@rz-online.de.
5
+
6
+Kshowmail is a KDE tool to watch mails on a POP3 server.
7
+Headers and complete mails can be viewed without loading them to the
8
+local mail client. Unpleasant mail can be deleted from the server.
9
+The list of displayed mails can be refreshed via configurable timers.
10
+Filters can be assigned to mark known spam for deletion.
11
+Multiple accounts are supported.
12
+A sound can be played if new mail arrives.
13
+A command menu allows user configurable commands like fetchmail or sendmail.
14
+A special command can be defined to send complain mail against spam.
15
+
16
+The modifications I provided are mainly Qt/KDE stuff to generate a nice
17
+GUI interface. I am using the great development tool kDevelop V2.1.
18
+
19
+If you find the tool useful, tell me about it. If you find any bugs or
20
+want some additional features, just give me a hint. As time allows,
21
+I will try to fix them. If you like to translate the language files,
22
+I would be very happy.
23
+
24
+With version 0.5 the passwords are stored as scrambled text in the kshowmailrc file.
25
+This is no absolute protection, but at least the password cannot be read as
26
+clear text anymore. If you have old rc files with stored passwords, you must reeenter
27
+them.
28
+
29
+With version 2.2.0 large parts of the configuration are stored in the kshowmail.xml file,
30
+together with already loaded headers. The improves the speed of refresh a lot, as only
31
+new headers are loaded again. However, this concept is again imcompatible with the old
32
+rc file. You have to create your accounts again.
33
+
34
+Installation: see the INSTALL file and check the following:
35
+make sure the environment variables KDEDIR, QTDIR and PATH contain the correct values.
36
+For SuSE these are:
37
+KDEDIR=/opt/kde3
38
+QTDIR=/usr/lib/qt3
39
+PATH=$KDEDIR/bin:$QTDIR/bin:...
40
+If not already installed, you need the kde network include files. Get the
41
+kdenetwork-devel and kdepim-devel rpm packages or the source files.
42
+
43
+Known bugs:
44
+The connection to the pop3 server fails, if there is a null password.
45
+Sound gets interrupted sometimes.
46
+
47
+Fixed bugs:
48
+the messages are sorted in a wrong sequence;              fixed in 0.2
49
+the optiondelete.xpm file is not installed via tgz;       fixed in 0.2
50
+some messages are not translated into other languages;    fixed in 0.3
51
+segfaults when working on empty config list;              fixed in 0.3
52
+on some servers the service is called pop-3.              fixed in 0.4 by connect via port 110
53
+the status line is only updated after transfer.           fixed in 0.5 by changed event handling
54
+during dialogs or message boxes conflicting timers        fixed in 0.5
55
+password scrambling algorithm problem                     fixed in 0.5.1
56
+Endless loop if long messages are displayed               fixed in 0.5.2
57
+kshowmail locks if several messages are shown in sequence fixed in 0.5.2
58
+Sometimes the toolbar/statusbar get lost                  fixed in 2.2.0
59
+If the number of UIDL's in the cache exceedes 200,        fixed in 2.2.0; no uidl cache anymore
60
+old mail may be shown as new, if still on the server.                     we use xml file now
61
+the uidl0 is not found in the cache, even if it exists
62
+If the first account has no new messages, and the
63
+second account can't get connection,
64
+the list is not refreshed.																fixed in 2.2.1
65
+Crash when KDE shutdown                                   fixed in 2.2.2
66
+The sorting of messages by other columns (size)
67
+does not work. (535377)                                   fixed in 3.0.0
68
+The sorting by message numbers does not work correctly    fixed in 3.0.1
69
+in case of multiple accounts
70
+The AlertDialog::signalOk does not work.  (514243)        fixed in 3.0.1, was KDE2 bug
71
+Crash if all messages of last account are deleted         fixed in 3.0.1, never seen again
72
+Missing header fields if transfer interrupted (542602)    fixed in 3.0.1
73
+Crash when disabling account (559122)                     fixed in 3.0.1
74
+Wrong account activated if sorted backward (562903)       fixed in 3.0.2
75
+
76
+Acknowledgements:
77
+Since I started the kshowmail development, I received lots of feedback and constructive
78
+critics from all over the world. I appreciate this very much and want to say "thank you"
79
+to all of you. In particular:
80
+
81
+Manfred Haertel <Manfred.Haertel@rz-online.de> who wrote the original command line version.
82
+Espen Sand <espen.sand@neo.no>                 who provided the timers and some keyboard shortcuts.
83
+Nicolas Vignal <nicolas.vignal@fnac.net>       who provided RPM's for RedHat,
84
+                                                 and the french translation.
85
+Serge Parmentier <gerapa@skynet.be>�           who updated the french translation
86
+Edgardo Garc�a <edyx@mindless.com>             who provided the spanish translation
87
+Stephan Giesler <giesler@gmx.net>              who updated the spanish translation and
88
+                                                 did some testing.
89
+Mattias Newzella <newzella@swipnet.se>         who provided the swedish translation
90
+Aharon Schkolnik <aharon@health.gov.il>,       who did a lot of testing and created a lot of
91
+Matthias Doell <mail@MatthiasDoell.de>,          ideas that are now part of kshowmail.
92
+Thomas Watz <twatz@gmx.de>
93
+Maic Szotek <webmaster@dragontower.de>         who provided the nice new icons for the
94
+                                               3.x.x version.
95
+Gustavo Zamorano S. <gzsuniq@cableonda.net>    who suggested the "Reply" feature and tested
96
+                                               some scripts.
97
+Sandor Laza <slaza@xs4all.nl>                  who provided the hungarian translation.
98
+Gabriele Postorino <g.posto@tin.it>            who provided the italian translation.
99
+Robert Kratky <kratky@rob.cz>                  who provided the czech translation.
100
+
101
+Have a lot of fun! ;-)

+ 16
- 0
ReleaseNotes View File

@@ -0,0 +1,16 @@
1
+Release Notes for Kshowmail
2
+
3
+20 April 2008
4
+Version 3.3.0
5
+	Revised filter (dialog and worker)
6
+	  * White- and Blacklist
7
+	  * indefinite number of filters
8
+	  * moving of mails into mailboxes
9
+	  * ignoring of mails (e.g. for mailing lists)
10
+	Spam check with SpamAssassin (just basically)
11
+	Revised filter log
12
+
13
+04 August 2007
14
+Version 3.2.9 (3.3-pre1)
15
+
16
+	Added support for SSL/TLS

+ 0
- 0
TODO View File


+ 11863
- 0
acinclude.m4
File diff suppressed because it is too large
View File


+ 863
- 0
aclocal.m4 View File

@@ -0,0 +1,863 @@
1
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
2
+
3
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+# 2005  Free Software Foundation, Inc.
5
+# This file is free software; the Free Software Foundation
6
+# gives unlimited permission to copy and/or distribute it,
7
+# with or without modifications, as long as this notice is preserved.
8
+
9
+# This program is distributed in the hope that it will be useful,
10
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+# PARTICULAR PURPOSE.
13
+
14
+# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
15
+#
16
+# This file is free software; the Free Software Foundation
17
+# gives unlimited permission to copy and/or distribute it,
18
+# with or without modifications, as long as this notice is preserved.
19
+
20
+# AM_AUTOMAKE_VERSION(VERSION)
21
+# ----------------------------
22
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
+# generated from the m4 files accompanying Automake X.Y.
24
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
25
+
26
+# AM_SET_CURRENT_AUTOMAKE_VERSION
27
+# -------------------------------
28
+# Call AM_AUTOMAKE_VERSION so it can be traced.
29
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
+	 [AM_AUTOMAKE_VERSION([1.9.6])])
32
+
33
+# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
+
35
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
36
+#
37
+# This file is free software; the Free Software Foundation
38
+# gives unlimited permission to copy and/or distribute it,
39
+# with or without modifications, as long as this notice is preserved.
40
+
41
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
42
+# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
43
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
44
+#
45
+# Of course, Automake must honor this variable whenever it calls a
46
+# tool from the auxiliary directory.  The problem is that $srcdir (and
47
+# therefore $ac_aux_dir as well) can be either absolute or relative,
48
+# depending on how configure is run.  This is pretty annoying, since
49
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
50
+# source directory, any form will work fine, but in subdirectories a
51
+# relative path needs to be adjusted first.
52
+#
53
+# $ac_aux_dir/missing
54
+#    fails when called from a subdirectory if $ac_aux_dir is relative
55
+# $top_srcdir/$ac_aux_dir/missing
56
+#    fails if $ac_aux_dir is absolute,
57
+#    fails when called from a subdirectory in a VPATH build with
58
+#          a relative $ac_aux_dir
59
+#
60
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
61
+# are both prefixed by $srcdir.  In an in-source build this is usually
62
+# harmless because $srcdir is `.', but things will broke when you
63
+# start a VPATH build or use an absolute $srcdir.
64
+#
65
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
66
+# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
67
+#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
68
+# and then we would define $MISSING as
69
+#   MISSING="\${SHELL} $am_aux_dir/missing"
70
+# This will work as long as MISSING is not called from configure, because
71
+# unfortunately $(top_srcdir) has no meaning in configure.
72
+# However there are other variables, like CC, which are often used in
73
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
74
+#
75
+# Another solution, used here, is to always expand $ac_aux_dir to an
76
+# absolute PATH.  The drawback is that using absolute paths prevent a
77
+# configured tree to be moved without reconfiguration.
78
+
79
+AC_DEFUN([AM_AUX_DIR_EXPAND],
80
+[dnl Rely on autoconf to set up CDPATH properly.
81
+AC_PREREQ([2.50])dnl
82
+# expand $ac_aux_dir to an absolute path
83
+am_aux_dir=`cd $ac_aux_dir && pwd`
84
+])
85
+
86
+# AM_CONDITIONAL                                            -*- Autoconf -*-
87
+
88
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
89
+# Free Software Foundation, Inc.
90
+#
91
+# This file is free software; the Free Software Foundation
92
+# gives unlimited permission to copy and/or distribute it,
93
+# with or without modifications, as long as this notice is preserved.
94
+
95
+# serial 7
96
+
97
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
+# -------------------------------------
99
+# Define a conditional.
100
+AC_DEFUN([AM_CONDITIONAL],
101
+[AC_PREREQ(2.52)dnl
102
+ ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
+	[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
+AC_SUBST([$1_TRUE])
105
+AC_SUBST([$1_FALSE])
106
+if $2; then
107
+  $1_TRUE=
108
+  $1_FALSE='#'
109
+else
110
+  $1_TRUE='#'
111
+  $1_FALSE=
112
+fi
113
+AC_CONFIG_COMMANDS_PRE(
114
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
115
+  AC_MSG_ERROR([[conditional "$1" was never defined.
116
+Usually this means the macro was only invoked conditionally.]])
117
+fi])])
118
+
119
+
120
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
121
+# Free Software Foundation, Inc.
122
+#
123
+# This file is free software; the Free Software Foundation
124
+# gives unlimited permission to copy and/or distribute it,
125
+# with or without modifications, as long as this notice is preserved.
126
+
127
+# serial 8
128
+
129
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130
+# written in clear, in which case automake, when reading aclocal.m4,
131
+# will think it sees a *use*, and therefore will trigger all it's
132
+# C support machinery.  Also note that it means that autoscan, seeing
133
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
134
+
135
+
136
+# _AM_DEPENDENCIES(NAME)
137
+# ----------------------
138
+# See how the compiler implements dependency checking.
139
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
140
+# We try a few techniques and use that to set a single cache variable.
141
+#
142
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
143
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
144
+# dependency, and given that the user is not expected to run this macro,
145
+# just rely on AC_PROG_CC.
146
+AC_DEFUN([_AM_DEPENDENCIES],
147
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
148
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
149
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
150
+AC_REQUIRE([AM_DEP_TRACK])dnl
151
+
152
+ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
+       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
+       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
155
+       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
+                   [depcc="$$1"   am_compiler_list=])
157
+
158
+AC_CACHE_CHECK([dependency style of $depcc],
159
+               [am_cv_$1_dependencies_compiler_type],
160
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
161
+  # We make a subdir and do the tests there.  Otherwise we can end up
162
+  # making bogus files that we don't know about and never remove.  For
163
+  # instance it was reported that on HP-UX the gcc test will end up
164
+  # making a dummy file named `D' -- because `-MD' means `put the output
165
+  # in D'.
166
+  mkdir conftest.dir
167
+  # Copy depcomp to subdir because otherwise we won't find it if we're
168
+  # using a relative directory.
169
+  cp "$am_depcomp" conftest.dir
170
+  cd conftest.dir
171
+  # We will build objects and dependencies in a subdirectory because
172
+  # it helps to detect inapplicable dependency modes.  For instance
173
+  # both Tru64's cc and ICC support -MD to output dependencies as a
174
+  # side effect of compilation, but ICC will put the dependencies in
175
+  # the current directory while Tru64 will put them in the object
176
+  # directory.
177
+  mkdir sub
178
+
179
+  am_cv_$1_dependencies_compiler_type=none
180
+  if test "$am_compiler_list" = ""; then
181
+     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
182
+  fi
183
+  for depmode in $am_compiler_list; do
184
+    # Setup a source with many dependencies, because some compilers
185
+    # like to wrap large dependency lists on column 80 (with \), and
186
+    # we should not choose a depcomp mode which is confused by this.
187
+    #
188
+    # We need to recreate these files for each test, as the compiler may
189
+    # overwrite some of them when testing with obscure command lines.
190
+    # This happens at least with the AIX C compiler.
191
+    : > sub/conftest.c
192
+    for i in 1 2 3 4 5 6; do
193
+      echo '#include "conftst'$i'.h"' >> sub/conftest.c
194
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
195
+      # Solaris 8's {/usr,}/bin/sh.
196
+      touch sub/conftst$i.h
197
+    done
198
+    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
199
+
200
+    case $depmode in
201
+    nosideeffect)
202
+      # after this tag, mechanisms are not by side-effect, so they'll
203
+      # only be used when explicitly requested
204
+      if test "x$enable_dependency_tracking" = xyes; then
205
+	continue
206
+      else
207
+	break
208
+      fi
209
+      ;;
210
+    none) break ;;
211
+    esac
212
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
213
+    # mode.  It turns out that the SunPro C++ compiler does not properly
214
+    # handle `-M -o', and we need to detect this.
215
+    if depmode=$depmode \
216
+       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
217
+       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
+       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
+         >/dev/null 2>conftest.err &&
220
+       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
+       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
223
+      # icc doesn't choke on unknown options, it will just issue warnings
224
+      # or remarks (even with -Werror).  So we grep stderr for any message
225
+      # that says an option was ignored or not supported.
226
+      # When given -MP, icc 7.0 and 7.1 complain thusly:
227
+      #   icc: Command line warning: ignoring option '-M'; no argument required
228
+      # The diagnosis changed in icc 8.0:
229
+      #   icc: Command line remark: option '-MP' not supported
230
+      if (grep 'ignoring option' conftest.err ||
231
+          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
232
+        am_cv_$1_dependencies_compiler_type=$depmode
233
+        break
234
+      fi
235
+    fi
236
+  done
237
+
238
+  cd ..
239
+  rm -rf conftest.dir
240
+else
241
+  am_cv_$1_dependencies_compiler_type=none
242
+fi
243
+])
244
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
245
+AM_CONDITIONAL([am__fastdep$1], [
246
+  test "x$enable_dependency_tracking" != xno \
247
+  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
248
+])
249
+
250
+
251
+# AM_SET_DEPDIR
252
+# -------------
253
+# Choose a directory name for dependency files.
254
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
255
+AC_DEFUN([AM_SET_DEPDIR],
256
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
257
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
258
+])
259
+
260
+
261
+# AM_DEP_TRACK
262
+# ------------
263
+AC_DEFUN([AM_DEP_TRACK],
264
+[AC_ARG_ENABLE(dependency-tracking,
265
+[  --disable-dependency-tracking  speeds up one-time build
266
+  --enable-dependency-tracking   do not reject slow dependency extractors])
267
+if test "x$enable_dependency_tracking" != xno; then
268
+  am_depcomp="$ac_aux_dir/depcomp"
269
+  AMDEPBACKSLASH='\'
270
+fi
271
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
+AC_SUBST([AMDEPBACKSLASH])
273
+])
274
+
275
+# Generate code to set up dependency tracking.              -*- Autoconf -*-
276
+
277
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
278
+# Free Software Foundation, Inc.
279
+#
280
+# This file is free software; the Free Software Foundation
281
+# gives unlimited permission to copy and/or distribute it,
282
+# with or without modifications, as long as this notice is preserved.
283
+
284
+#serial 3
285
+
286
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
287
+# ------------------------------
288
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
289
+[for mf in $CONFIG_FILES; do
290
+  # Strip MF so we end up with the name of the file.
291
+  mf=`echo "$mf" | sed -e 's/:.*$//'`
292
+  # Check whether this is an Automake generated Makefile or not.
293
+  # We used to match only the files named `Makefile.in', but
294
+  # some people rename them; so instead we look at the file content.
295
+  # Grep'ing the first line is not enough: some people post-process
296
+  # each Makefile.in and add a new line on top of each file to say so.
297
+  # So let's grep whole file.
298
+  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
299
+    dirpart=`AS_DIRNAME("$mf")`
300
+  else
301
+    continue
302
+  fi
303
+  # Extract the definition of DEPDIR, am__include, and am__quote
304
+  # from the Makefile without running `make'.
305
+  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
306
+  test -z "$DEPDIR" && continue
307
+  am__include=`sed -n 's/^am__include = //p' < "$mf"`
308
+  test -z "am__include" && continue
309
+  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
310
+  # When using ansi2knr, U may be empty or an underscore; expand it
311
+  U=`sed -n 's/^U = //p' < "$mf"`
312
+  # Find all dependency output files, they are included files with
313
+  # $(DEPDIR) in their names.  We invoke sed twice because it is the
314
+  # simplest approach to changing $(DEPDIR) to its actual value in the
315
+  # expansion.
316
+  for file in `sed -n "
317
+    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
318
+       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
319
+    # Make sure the directory exists.
320
+    test -f "$dirpart/$file" && continue
321
+    fdir=`AS_DIRNAME(["$file"])`
322
+    AS_MKDIR_P([$dirpart/$fdir])
323
+    # echo "creating $dirpart/$file"
324
+    echo '# dummy' > "$dirpart/$file"
325
+  done
326
+done
327
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
328
+
329
+
330
+# AM_OUTPUT_DEPENDENCY_COMMANDS
331
+# -----------------------------
332
+# This macro should only be invoked once -- use via AC_REQUIRE.
333
+#
334
+# This code is only required when automatic dependency tracking
335
+# is enabled.  FIXME.  This creates each `.P' file that we will
336
+# need in order to bootstrap the dependency handling code.
337
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
338
+[AC_CONFIG_COMMANDS([depfiles],
339
+     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
340
+     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
341
+])
342
+
343
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
344
+# Free Software Foundation, Inc.
345
+#
346
+# This file is free software; the Free Software Foundation
347
+# gives unlimited permission to copy and/or distribute it,
348
+# with or without modifications, as long as this notice is preserved.
349
+
350
+# serial 8
351
+
352
+# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
353
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
354
+
355
+# Do all the work for Automake.                             -*- Autoconf -*-
356
+
357
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
+# Free Software Foundation, Inc.
359
+#
360
+# This file is free software; the Free Software Foundation
361
+# gives unlimited permission to copy and/or distribute it,
362
+# with or without modifications, as long as this notice is preserved.
363
+
364
+# serial 12
365
+
366
+# This macro actually does too much.  Some checks are only needed if
367
+# your package does certain things.  But this isn't really a big deal.
368
+
369
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
370
+# AM_INIT_AUTOMAKE([OPTIONS])
371
+# -----------------------------------------------
372
+# The call with PACKAGE and VERSION arguments is the old style
373
+# call (pre autoconf-2.50), which is being phased out.  PACKAGE
374
+# and VERSION should now be passed to AC_INIT and removed from
375
+# the call to AM_INIT_AUTOMAKE.
376
+# We support both call styles for the transition.  After
377
+# the next Automake release, Autoconf can make the AC_INIT
378
+# arguments mandatory, and then we can depend on a new Autoconf
379
+# release and drop the old call support.
380
+AC_DEFUN([AM_INIT_AUTOMAKE],
381
+[AC_PREREQ([2.58])dnl
382
+dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
+dnl the ones we care about.
384
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
+AC_REQUIRE([AC_PROG_INSTALL])dnl
387
+# test to see if srcdir already configured
388
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
+   test -f $srcdir/config.status; then
390
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
391
+fi
392
+
393
+# test whether we have cygpath
394
+if test -z "$CYGPATH_W"; then
395
+  if (cygpath --version) >/dev/null 2>/dev/null; then
396
+    CYGPATH_W='cygpath -w'
397
+  else
398
+    CYGPATH_W=echo
399
+  fi
400
+fi
401
+AC_SUBST([CYGPATH_W])
402
+
403
+# Define the identity of the package.
404
+dnl Distinguish between old-style and new-style calls.
405
+m4_ifval([$2],
406
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
407
+ AC_SUBST([PACKAGE], [$1])dnl
408
+ AC_SUBST([VERSION], [$2])],
409
+[_AM_SET_OPTIONS([$1])dnl
410
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
+
413
+_AM_IF_OPTION([no-define],,
414
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
415
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
416
+
417
+# Some tools Automake needs.
418
+AC_REQUIRE([AM_SANITY_CHECK])dnl
419
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
420
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
421
+AM_MISSING_PROG(AUTOCONF, autoconf)
422
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
423
+AM_MISSING_PROG(AUTOHEADER, autoheader)
424
+AM_MISSING_PROG(MAKEINFO, makeinfo)
425
+AM_PROG_INSTALL_SH
426
+AM_PROG_INSTALL_STRIP
427
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
428
+# We need awk for the "check" target.  The system "awk" is bad on
429
+# some platforms.
430
+AC_REQUIRE([AC_PROG_AWK])dnl
431
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
432
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
433
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
434
+              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
435
+	      		     [_AM_PROG_TAR([v7])])])
436
+_AM_IF_OPTION([no-dependencies],,
437
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
438
+                  [_AM_DEPENDENCIES(CC)],
439
+                  [define([AC_PROG_CC],
440
+                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
441
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
442
+                  [_AM_DEPENDENCIES(CXX)],
443
+                  [define([AC_PROG_CXX],
444
+                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
445
+])
446
+])
447
+
448
+
449
+# When config.status generates a header, we must update the stamp-h file.
450
+# This file resides in the same directory as the config header
451
+# that is generated.  The stamp files are numbered to have different names.
452
+
453
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
454
+# loop where config.status creates the headers, so we can generate
455
+# our stamp files there.
456
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
457
+[# Compute $1's index in $config_headers.
458
+_am_stamp_count=1
459
+for _am_header in $config_headers :; do
460
+  case $_am_header in
461
+    $1 | $1:* )
462
+      break ;;
463
+    * )
464
+      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
465
+  esac
466
+done
467
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
468
+
469
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
470
+#
471
+# This file is free software; the Free Software Foundation
472
+# gives unlimited permission to copy and/or distribute it,
473
+# with or without modifications, as long as this notice is preserved.
474
+
475
+# AM_PROG_INSTALL_SH
476
+# ------------------
477
+# Define $install_sh.
478
+AC_DEFUN([AM_PROG_INSTALL_SH],
479
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
481
+AC_SUBST(install_sh)])
482
+
483
+# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
484
+#
485
+# This file is free software; the Free Software Foundation
486
+# gives unlimited permission to copy and/or distribute it,
487
+# with or without modifications, as long as this notice is preserved.
488
+
489
+# serial 2
490
+
491
+# Check whether the underlying file-system supports filenames
492
+# with a leading dot.  For instance MS-DOS doesn't.
493
+AC_DEFUN([AM_SET_LEADING_DOT],
494
+[rm -rf .tst 2>/dev/null
495
+mkdir .tst 2>/dev/null
496
+if test -d .tst; then
497
+  am__leading_dot=.
498
+else
499
+  am__leading_dot=_
500
+fi
501
+rmdir .tst 2>/dev/null
502
+AC_SUBST([am__leading_dot])])
503
+
504
+# Check to see how 'make' treats includes.	            -*- Autoconf -*-
505
+
506
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
507
+#
508
+# This file is free software; the Free Software Foundation
509
+# gives unlimited permission to copy and/or distribute it,
510
+# with or without modifications, as long as this notice is preserved.
511
+
512
+# serial 3
513
+
514
+# AM_MAKE_INCLUDE()
515
+# -----------------
516
+# Check to see how make treats includes.
517
+AC_DEFUN([AM_MAKE_INCLUDE],
518
+[am_make=${MAKE-make}
519
+cat > confinc << 'END'
520
+am__doit:
521
+	@echo done
522
+.PHONY: am__doit
523
+END
524
+# If we don't find an include directive, just comment out the code.
525
+AC_MSG_CHECKING([for style of include used by $am_make])
526
+am__include="#"
527
+am__quote=
528
+_am_result=none
529
+# First try GNU make style include.
530
+echo "include confinc" > confmf
531
+# We grep out `Entering directory' and `Leaving directory'
532
+# messages which can occur if `w' ends up in MAKEFLAGS.
533
+# In particular we don't look at `^make:' because GNU make might
534
+# be invoked under some other name (usually "gmake"), in which
535
+# case it prints its new name instead of `make'.
536
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
537
+   am__include=include
538
+   am__quote=
539
+   _am_result=GNU
540
+fi
541
+# Now try BSD make style include.
542
+if test "$am__include" = "#"; then
543
+   echo '.include "confinc"' > confmf
544
+   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
545
+      am__include=.include
546
+      am__quote="\""
547
+      _am_result=BSD
548
+   fi
549
+fi
550
+AC_SUBST([am__include])
551
+AC_SUBST([am__quote])
552
+AC_MSG_RESULT([$_am_result])
553
+rm -f confinc confmf
554
+])
555
+
556
+# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
557
+
558
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
559
+# Free Software Foundation, Inc.
560
+#
561
+# This file is free software; the Free Software Foundation
562
+# gives unlimited permission to copy and/or distribute it,
563
+# with or without modifications, as long as this notice is preserved.
564
+
565
+# serial 4
566
+
567
+# AM_MISSING_PROG(NAME, PROGRAM)
568
+# ------------------------------
569
+AC_DEFUN([AM_MISSING_PROG],
570
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
571
+$1=${$1-"${am_missing_run}$2"}
572
+AC_SUBST($1)])
573
+
574
+
575
+# AM_MISSING_HAS_RUN
576
+# ------------------
577
+# Define MISSING if not defined so far and test if it supports --run.
578
+# If it does, set am_missing_run to use it, otherwise, to nothing.
579
+AC_DEFUN([AM_MISSING_HAS_RUN],
580
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
581
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
582
+# Use eval to expand $SHELL
583
+if eval "$MISSING --run true"; then
584
+  am_missing_run="$MISSING --run "
585
+else
586
+  am_missing_run=
587
+  AC_MSG_WARN([`missing' script is too old or missing])
588
+fi
589
+])
590
+
591
+# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
592
+#
593
+# This file is free software; the Free Software Foundation
594
+# gives unlimited permission to copy and/or distribute it,
595
+# with or without modifications, as long as this notice is preserved.
596
+
597
+# AM_PROG_MKDIR_P
598
+# ---------------
599
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
600
+#
601
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
602
+# created by `make install' are always world readable, even if the
603
+# installer happens to have an overly restrictive umask (e.g. 077).
604
+# This was a mistake.  There are at least two reasons why we must not
605
+# use `-m 0755':
606
+#   - it causes special bits like SGID to be ignored,
607
+#   - it may be too restrictive (some setups expect 775 directories).
608
+#
609
+# Do not use -m 0755 and let people choose whatever they expect by
610
+# setting umask.
611
+#
612
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
613
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
614
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
615
+# concurrently, both version can detect that a/ is missing, but only
616
+# one can create it and the other will error out.  Consequently we
617
+# restrict ourselves to GNU make (using the --version option ensures
618
+# this.)
619
+AC_DEFUN([AM_PROG_MKDIR_P],
620
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
621
+  # We used to keeping the `.' as first argument, in order to
622
+  # allow $(mkdir_p) to be used without argument.  As in
623
+  #   $(mkdir_p) $(somedir)
624
+  # where $(somedir) is conditionally defined.  However this is wrong
625
+  # for two reasons:
626
+  #  1. if the package is installed by a user who cannot write `.'
627
+  #     make install will fail,
628
+  #  2. the above comment should most certainly read
629
+  #     $(mkdir_p) $(DESTDIR)$(somedir)
630
+  #     so it does not work when $(somedir) is undefined and
631
+  #     $(DESTDIR) is not.
632
+  #  To support the latter case, we have to write
633
+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
634
+  #  so the `.' trick is pointless.
635
+  mkdir_p='mkdir -p --'
636
+else
637
+  # On NextStep and OpenStep, the `mkdir' command does not
638
+  # recognize any option.  It will interpret all options as
639
+  # directories to create, and then abort because `.' already
640
+  # exists.
641
+  for d in ./-p ./--version;
642
+  do
643
+    test -d $d && rmdir $d
644
+  done
645
+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
646
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
647
+    mkdir_p='$(mkinstalldirs)'
648
+  else
649
+    mkdir_p='$(install_sh) -d'
650
+  fi
651
+fi
652
+AC_SUBST([mkdir_p])])
653
+
654
+# Helper functions for option handling.                     -*- Autoconf -*-
655
+
656
+# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
657
+#
658
+# This file is free software; the Free Software Foundation
659
+# gives unlimited permission to copy and/or distribute it,
660
+# with or without modifications, as long as this notice is preserved.
661
+
662
+# serial 3
663
+
664
+# _AM_MANGLE_OPTION(NAME)
665
+# -----------------------
666
+AC_DEFUN([_AM_MANGLE_OPTION],
667
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
668
+
669
+# _AM_SET_OPTION(NAME)
670
+# ------------------------------
671
+# Set option NAME.  Presently that only means defining a flag for this option.
672
+AC_DEFUN([_AM_SET_OPTION],
673
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
674
+
675
+# _AM_SET_OPTIONS(OPTIONS)
676
+# ----------------------------------
677
+# OPTIONS is a space-separated list of Automake options.
678
+AC_DEFUN([_AM_SET_OPTIONS],
679
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
680
+
681
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
682
+# -------------------------------------------
683
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
684
+AC_DEFUN([_AM_IF_OPTION],
685
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
686
+
687
+# Check to make sure that the build environment is sane.    -*- Autoconf -*-
688
+
689
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
690
+# Free Software Foundation, Inc.
691
+#
692
+# This file is free software; the Free Software Foundation
693
+# gives unlimited permission to copy and/or distribute it,
694
+# with or without modifications, as long as this notice is preserved.
695
+
696
+# serial 4
697
+
698
+# AM_SANITY_CHECK
699
+# ---------------
700
+AC_DEFUN([AM_SANITY_CHECK],
701
+[AC_MSG_CHECKING([whether build environment is sane])
702
+# Just in case
703
+sleep 1
704
+echo timestamp > conftest.file
705
+# Do `set' in a subshell so we don't clobber the current shell's
706
+# arguments.  Must try -L first in case configure is actually a
707
+# symlink; some systems play weird games with the mod time of symlinks
708
+# (eg FreeBSD returns the mod time of the symlink's containing
709
+# directory).
710
+if (
711
+   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
712
+   if test "$[*]" = "X"; then
713
+      # -L didn't work.
714
+      set X `ls -t $srcdir/configure conftest.file`
715
+   fi
716
+   rm -f conftest.file
717
+   if test "$[*]" != "X $srcdir/configure conftest.file" \
718
+      && test "$[*]" != "X conftest.file $srcdir/configure"; then
719
+
720
+      # If neither matched, then we have a broken ls.  This can happen
721
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
722
+      # broken ls alias from the environment.  This has actually
723
+      # happened.  Such a system could not be considered "sane".
724
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
725
+alias in your environment])
726
+   fi
727
+
728
+   test "$[2]" = conftest.file
729
+   )
730
+then
731
+   # Ok.
732
+   :
733
+else
734
+   AC_MSG_ERROR([newly created file is older than distributed files!
735
+Check your system clock])
736
+fi
737
+AC_MSG_RESULT(yes)])
738
+
739
+# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
740
+#
741
+# This file is free software; the Free Software Foundation
742
+# gives unlimited permission to copy and/or distribute it,
743
+# with or without modifications, as long as this notice is preserved.
744
+
745
+# AM_PROG_INSTALL_STRIP
746
+# ---------------------
747
+# One issue with vendor `install' (even GNU) is that you can't
748
+# specify the program used to strip binaries.  This is especially
749
+# annoying in cross-compiling environments, where the build's strip
750
+# is unlikely to handle the host's binaries.
751
+# Fortunately install-sh will honor a STRIPPROG variable, so we
752
+# always use install-sh in `make install-strip', and initialize
753
+# STRIPPROG with the value of the STRIP variable (set by the user).
754
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
755
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
756
+# Installed binaries are usually stripped using `strip' when the user
757
+# run `make install-strip'.  However `strip' might not be the right
758
+# tool to use in cross-compilation environments, therefore Automake
759
+# will honor the `STRIP' environment variable to overrule this program.
760
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
761
+if test "$cross_compiling" != no; then
762
+  AC_CHECK_TOOL([STRIP], [strip], :)
763
+fi
764
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
765
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
766
+
767
+# Check how to create a tarball.                            -*- Autoconf -*-
768
+
769
+# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
770
+#
771
+# This file is free software; the Free Software Foundation
772
+# gives unlimited permission to copy and/or distribute it,
773
+# with or without modifications, as long as this notice is preserved.
774
+
775
+# serial 2
776
+
777
+# _AM_PROG_TAR(FORMAT)
778
+# --------------------
779
+# Check how to create a tarball in format FORMAT.
780
+# FORMAT should be one of `v7', `ustar', or `pax'.
781
+#
782
+# Substitute a variable $(am__tar) that is a command
783
+# writing to stdout a FORMAT-tarball containing the directory
784
+# $tardir.
785
+#     tardir=directory && $(am__tar) > result.tar
786
+#
787
+# Substitute a variable $(am__untar) that extract such
788
+# a tarball read from stdin.
789
+#     $(am__untar) < result.tar
790
+AC_DEFUN([_AM_PROG_TAR],
791
+[# Always define AMTAR for backward compatibility.
792
+AM_MISSING_PROG([AMTAR], [tar])
793
+m4_if([$1], [v7],
794
+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
795
+     [m4_case([$1], [ustar],, [pax],,
796
+              [m4_fatal([Unknown tar format])])
797
+AC_MSG_CHECKING([how to create a $1 tar archive])
798
+# Loop over all known methods to create a tar archive until one works.
799
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
800
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
801
+# Do not fold the above two line into one, because Tru64 sh and
802
+# Solaris sh will not grok spaces in the rhs of `-'.
803
+for _am_tool in $_am_tools
804
+do
805
+  case $_am_tool in
806
+  gnutar)
807
+    for _am_tar in tar gnutar gtar;
808
+    do
809
+      AM_RUN_LOG([$_am_tar --version]) && break
810
+    done
811
+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
812
+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
813
+    am__untar="$_am_tar -xf -"
814
+    ;;
815
+  plaintar)
816
+    # Must skip GNU tar: if it does not support --format= it doesn't create
817
+    # ustar tarball either.
818
+    (tar --version) >/dev/null 2>&1 && continue
819
+    am__tar='tar chf - "$$tardir"'
820
+    am__tar_='tar chf - "$tardir"'
821
+    am__untar='tar xf -'
822
+    ;;
823
+  pax)
824
+    am__tar='pax -L -x $1 -w "$$tardir"'
825
+    am__tar_='pax -L -x $1 -w "$tardir"'
826
+    am__untar='pax -r'
827
+    ;;
828
+  cpio)
829
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
830
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
831
+    am__untar='cpio -i -H $1 -d'
832
+    ;;
833
+  none)
834
+    am__tar=false
835
+    am__tar_=false
836
+    am__untar=false
837
+    ;;
838
+  esac
839
+
840
+  # If the value was cached, stop now.  We just wanted to have am__tar
841
+  # and am__untar set.
842
+  test -n "${am_cv_prog_tar_$1}" && break
843
+
844
+  # tar/untar a dummy directory, and stop if the command works
845
+  rm -rf conftest.dir
846
+  mkdir conftest.dir
847
+  echo GrepMe > conftest.dir/file
848
+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
849
+  rm -rf conftest.dir
850
+  if test -s conftest.tar; then
851
+    AM_RUN_LOG([$am__untar <conftest.tar])
852
+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
853
+  fi
854
+done
855
+rm -rf conftest.dir
856
+
857
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
858
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
859
+AC_SUBST([am__tar])
860
+AC_SUBST([am__untar])
861
+]) # _AM_PROG_TAR
862
+
863
+m4_include([acinclude.m4])

+ 48
- 0
build-kshowmail/RPMROOT/SPECS/kshowmail.spec View File

@@ -0,0 +1,48 @@
1
+# This spec file was generated using Kpp
2
+# If you find any problems with this spec file please report
3
+# the error to ian geiser <geiseri@msoe.edu>
4
+Summary:   
5
+Name:      kshowmail
6
+Version:   3.0.1-beta
7
+Release:   0
8
+Copyright: GPL
9
+Vendor:    Eggert Ehmke <eggert.ehmke@berlin.de>
10
+Url:       http://www.sourceforge.net/projects/kshowmail
11
+
12
+Packager:  Eggert Ehmke <eggert.ehmke@berlin.de>
13
+Group:     Mail
14
+Source:    kshowmail-3.0.1-beta.tar.gz
15
+BuildRoot: 
16
+
17
+%description
18
+
19
+
20
+%prep
21
+%setup
22
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
23
+                 \
24
+                $LOCALFLAGS
25
+%build
26
+# Setup for parallel builds
27
+numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
28
+if [ "$numprocs" = "0" ]; then
29
+  numprocs=1
30
+fi
31
+
32
+make -j$numprocs
33
+
34
+%install
35
+make install-strip DESTDIR=$RPM_BUILD_ROOT
36
+
37
+cd $RPM_BUILD_ROOT
38
+find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kshowmail
39
+find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshowmail
40
+find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kshowmail
41
+
42
+%clean
43
+rm -rf $RPM_BUILD_ROOT/*
44
+rm -rf $RPM_BUILD_DIR/kshowmail
45
+rm -rf ../file.list.kshowmail
46
+
47
+
48
+%files -f ../file.list.kshowmail

+ 28
- 0
build-kshowmail/RPMROOT/tmp/rpm-tmp.22447 View File

@@ -0,0 +1,28 @@
1
+#!/bin/sh
2
+
3
+RPM_SOURCE_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//SOURCES"
4
+RPM_BUILD_DIR="/home/eggert/src/kshowmail//build-kshowmail/RPMROOT//BUILD"
5
+RPM_OPT_FLAGS="-O2"
6
+RPM_ARCH="i386"
7
+RPM_OS="linux"
8
+export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
9
+RPM_DOC_DIR="/usr/doc/packages"
10
+export RPM_DOC_DIR
11
+RPM_PACKAGE_NAME="kshowmail"
12
+RPM_PACKAGE_VERSION="2.1.e"
13
+RPM_PACKAGE_RELEASE="cd /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/BUILD
14
+rm -rf kshowmail-2.1.e
15
+/bin/gzip -dc /home/eggert/src/kshowmail/build-kshowmail/RPMROOT/SOURCES/kshowmail-2.1.e.tar.gz | tar -xvvf -
16
+STATUS=$?
17
+if [ $STATUS -ne 0 ]; then
18
+  exit $STATUS
19
+fi
20
+cd kshowmail-2.1.e
21
+[ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root .
22
+[ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root .
23
+/bin/chmod -Rf a+rX,g-w,o-w .
24
+CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
25
+                 \
26
+                $LOCALFLAGS
27
+
28
+exit 0

+ 2
- 0
build-kshowmail/rpmmacros View File

@@ -0,0 +1,2 @@
1
+%_topdir /home/eggert/src/kshowmail//build-kshowmail/RPMROOT/
2
+%_tmppath /home/eggert/src/kshowmail//build-kshowmail/RPMROOT/tmp/

+ 1
- 0
build-kshowmail/rpmrc View File

@@ -0,0 +1 @@
1
+macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros:/home/eggert/src/kshowmail//build-kshowmail/rpmmacros

+ 238
- 0
config.h View File

@@ -0,0 +1,238 @@
1
+/* config.h.  Generated from config.h.in by configure.  */
2
+/* config.h.in.  Generated from configure.in by autoheader.  */
3
+
4
+/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
5
+/* #undef HAVE_CARBON_CARBON_H */
6
+
7
+/* Define if you have the CoreAudio API */
8
+/* #undef HAVE_COREAUDIO */
9
+
10
+/* Define to 1 if you have the <crt_externs.h> header file. */
11
+/* #undef HAVE_CRT_EXTERNS_H */
12
+
13
+/* Defines if your system has the crypt function */
14
+#define HAVE_CRYPT 1
15
+
16
+/* Define to 1 if you have the <dlfcn.h> header file. */
17
+#define HAVE_DLFCN_H 1
18
+
19
+/* Define to 1 if you have the <inttypes.h> header file. */
20
+#define HAVE_INTTYPES_H 1
21
+
22
+/* Define if you have libjpeg */
23
+#define HAVE_LIBJPEG 1
24
+
25
+/* Define if you have libpng */
26
+#define HAVE_LIBPNG 1
27
+
28
+/* Define if you have a working libpthread (will enable threaded code) */
29
+#define HAVE_LIBPTHREAD 1
30
+
31
+/* Define if you have libz */
32
+#define HAVE_LIBZ 1
33
+
34
+/* Define to 1 if you have the <memory.h> header file. */
35
+#define HAVE_MEMORY_H 1
36
+
37
+/* Define if your system needs _NSGetEnviron to set up the environment */
38
+/* #undef HAVE_NSGETENVIRON */
39
+
40
+/* Define if you have res_init */
41
+#define HAVE_RES_INIT 1
42
+
43
+/* Define if you have the res_init prototype */
44
+#define HAVE_RES_INIT_PROTO 1
45
+
46
+/* Define if you have a STL implementation by SGI */
47
+#define HAVE_SGI_STL 1
48
+
49
+/* Define to 1 if you have the `snprintf' function. */
50
+#define HAVE_SNPRINTF 1
51
+
52
+/* Define to 1 if you have the <stdint.h> header file. */
53
+#define HAVE_STDINT_H 1
54
+
55
+/* Define to 1 if you have the <stdlib.h> header file. */
56
+#define HAVE_STDLIB_H 1
57
+
58
+/* Define to 1 if you have the <strings.h> header file. */
59
+#define HAVE_STRINGS_H 1
60
+
61
+/* Define to 1 if you have the <string.h> header file. */
62
+#define HAVE_STRING_H 1
63
+
64
+/* Define if you have strlcat */
65
+/* #undef HAVE_STRLCAT */
66
+
67
+/* Define if you have the strlcat prototype */
68
+/* #undef HAVE_STRLCAT_PROTO */
69
+
70
+/* Define if you have strlcpy */
71
+/* #undef HAVE_STRLCPY */
72
+
73
+/* Define if you have the strlcpy prototype */
74
+/* #undef HAVE_STRLCPY_PROTO */
75
+
76
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
77
+#define HAVE_SYS_BITYPES_H 1
78
+
79
+/* Define to 1 if you have the <sys/stat.h> header file. */
80
+#define HAVE_SYS_STAT_H 1
81
+
82
+/* Define to 1 if you have the <sys/types.h> header file. */
83
+#define HAVE_SYS_TYPES_H 1
84
+
85
+/* Define to 1 if you have the <unistd.h> header file. */
86
+#define HAVE_UNISTD_H 1
87
+
88
+/* Define to 1 if you have the `vsnprintf' function. */
89
+#define HAVE_VSNPRINTF 1
90
+
91
+/* Suffix for lib directories */
92
+#define KDELIBSUFF ""
93
+
94
+/* Name of package */
95
+#define PACKAGE "kshowmail"
96
+
97
+/* Define to the address where bug reports for this package should be sent. */
98
+#define PACKAGE_BUGREPORT ""
99
+
100
+/* Define to the full name of this package. */
101
+#define PACKAGE_NAME ""
102
+
103
+/* Define to the full name and version of this package. */
104
+#define PACKAGE_STRING ""
105
+
106
+/* Define to the one symbol short name of this package. */
107
+#define PACKAGE_TARNAME ""
108
+
109
+/* Define to the version of this package. */
110
+#define PACKAGE_VERSION ""
111
+
112
+/* The size of `char *', as computed by sizeof. */
113
+#define SIZEOF_CHAR_P 4
114
+
115
+/* The size of `int', as computed by sizeof. */
116
+#define SIZEOF_INT 4
117
+
118
+/* The size of `long', as computed by sizeof. */
119
+#define SIZEOF_LONG 4
120
+
121
+/* The size of `short', as computed by sizeof. */
122
+#define SIZEOF_SHORT 2
123
+
124
+/* The size of `size_t', as computed by sizeof. */
125
+#define SIZEOF_SIZE_T 4
126
+
127
+/* The size of `unsigned long', as computed by sizeof. */
128
+#define SIZEOF_UNSIGNED_LONG 4
129
+
130
+/* Define to 1 if you have the ANSI C header files. */
131
+#define STDC_HEADERS 1
132
+
133
+/* Version number of package */
134
+#define VERSION "3.3.1"
135
+
136
+/* Defined if compiling without arts */
137
+/* #undef WITHOUT_ARTS */
138
+
139
+/*
140
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
141
+ * headers and I'm too lazy to write a configure test as long as only
142
+ * unixware is related
143
+ */
144
+#ifdef _UNIXWARE
145
+#define HAVE_BOOLEAN
146
+#endif
147
+
148
+
149
+
150
+/*
151
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
152
+ * that defines bzero.
153
+ */
154
+
155
+#if defined(_AIX)
156
+#include <strings.h>
157
+#endif
158
+
159
+
160
+
161
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
162
+# include <sys/time.h>
163
+# include <crt_externs.h>
164
+# define environ (*_NSGetEnviron())
165
+#endif
166
+
167
+
168
+
169
+#if !defined(HAVE_RES_INIT_PROTO)
170
+#ifdef __cplusplus
171
+extern "C" {
172
+#endif
173
+int res_init(void);
174
+#ifdef __cplusplus
175
+}
176
+#endif
177
+#endif
178
+
179
+
180
+
181
+#if !defined(HAVE_STRLCAT_PROTO)
182
+#ifdef __cplusplus
183
+extern "C" {
184
+#endif
185
+unsigned long strlcat(char*, const char*, unsigned long);
186
+#ifdef __cplusplus
187
+}
188
+#endif
189
+#endif
190
+
191
+
192
+
193
+#if !defined(HAVE_STRLCPY_PROTO)
194
+#ifdef __cplusplus
195
+extern "C" {
196
+#endif
197
+unsigned long strlcpy(char*, const char*, unsigned long);
198
+#ifdef __cplusplus
199
+}
200
+#endif
201
+#endif
202
+
203
+
204
+
205
+/*
206
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
207
+ */
208
+
209
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
210
+#if __STDC__
211
+#include <stdarg.h>
212
+#include <stdlib.h>
213
+#else
214
+#include <varargs.h>
215
+#endif
216
+#ifdef __cplusplus
217
+extern "C"
218
+#endif
219
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
220
+#ifdef __cplusplus
221
+extern "C"
222
+#endif
223
+int snprintf(char *str, size_t n, char const *fmt, ...);
224
+#endif
225
+
226
+
227
+
228
+#if defined(__SVR4) && !defined(__svr4__)
229
+#define __svr4__ 1
230
+#endif
231
+
232
+
233
+/* type to use in place of socklen_t if not defined */
234
+#define kde_socklen_t socklen_t
235
+
236
+/* type to use in place of socklen_t if not defined (deprecated, use
237
+   kde_socklen_t) */
238
+#define ksize_t socklen_t

+ 237
- 0
config.h.in View File

@@ -0,0 +1,237 @@
1
+/* config.h.in.  Generated from configure.in by autoheader.  */
2
+
3
+/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
4
+#undef HAVE_CARBON_CARBON_H
5
+
6
+/* Define if you have the CoreAudio API */
7
+#undef HAVE_COREAUDIO
8
+
9
+/* Define to 1 if you have the <crt_externs.h> header file. */
10
+#undef HAVE_CRT_EXTERNS_H
11
+
12
+/* Defines if your system has the crypt function */
13
+#undef HAVE_CRYPT
14
+
15
+/* Define to 1 if you have the <dlfcn.h> header file. */
16
+#undef HAVE_DLFCN_H
17
+
18
+/* Define to 1 if you have the <inttypes.h> header file. */
19
+#undef HAVE_INTTYPES_H
20
+
21
+/* Define if you have libjpeg */
22
+#undef HAVE_LIBJPEG
23
+
24
+/* Define if you have libpng */
25
+#undef HAVE_LIBPNG
26
+
27
+/* Define if you have a working libpthread (will enable threaded code) */
28
+#undef HAVE_LIBPTHREAD
29
+
30
+/* Define if you have libz */
31
+#undef HAVE_LIBZ
32
+
33
+/* Define to 1 if you have the <memory.h> header file. */
34
+#undef HAVE_MEMORY_H
35
+
36
+/* Define if your system needs _NSGetEnviron to set up the environment */
37
+#undef HAVE_NSGETENVIRON
38
+
39
+/* Define if you have res_init */
40
+#undef HAVE_RES_INIT
41
+
42
+/* Define if you have the res_init prototype */
43
+#undef HAVE_RES_INIT_PROTO
44
+
45
+/* Define if you have a STL implementation by SGI */
46
+#undef HAVE_SGI_STL
47
+
48
+/* Define to 1 if you have the `snprintf' function. */
49
+#undef HAVE_SNPRINTF
50
+
51
+/* Define to 1 if you have the <stdint.h> header file. */
52
+#undef HAVE_STDINT_H
53
+
54
+/* Define to 1 if you have the <stdlib.h> header file. */
55
+#undef HAVE_STDLIB_H
56
+
57
+/* Define to 1 if you have the <strings.h> header file. */
58
+#undef HAVE_STRINGS_H
59
+
60
+/* Define to 1 if you have the <string.h> header file. */
61
+#undef HAVE_STRING_H
62
+
63
+/* Define if you have strlcat */
64
+#undef HAVE_STRLCAT
65
+
66
+/* Define if you have the strlcat prototype */
67
+#undef HAVE_STRLCAT_PROTO
68
+
69
+/* Define if you have strlcpy */
70
+#undef HAVE_STRLCPY
71
+
72
+/* Define if you have the strlcpy prototype */
73
+#undef HAVE_STRLCPY_PROTO
74
+
75
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
76
+#undef HAVE_SYS_BITYPES_H
77
+
78
+/* Define to 1 if you have the <sys/stat.h> header file. */
79
+#undef HAVE_SYS_STAT_H
80
+
81
+/* Define to 1 if you have the <sys/types.h> header file. */
82
+#undef HAVE_SYS_TYPES_H
83
+
84
+/* Define to 1 if you have the <unistd.h> header file. */
85
+#undef HAVE_UNISTD_H
86
+
87
+/* Define to 1 if you have the `vsnprintf' function. */
88
+#undef HAVE_VSNPRINTF
89
+
90
+/* Suffix for lib directories */
91
+#undef KDELIBSUFF
92
+
93
+/* Name of package */
94
+#undef PACKAGE
95
+
96
+/* Define to the address where bug reports for this package should be sent. */
97
+#undef PACKAGE_BUGREPORT
98
+
99
+/* Define to the full name of this package. */
100
+#undef PACKAGE_NAME
101
+
102
+/* Define to the full name and version of this package. */
103
+#undef PACKAGE_STRING
104
+
105
+/* Define to the one symbol short name of this package. */
106
+#undef PACKAGE_TARNAME
107
+
108
+/* Define to the version of this package. */
109
+#undef PACKAGE_VERSION
110
+
111
+/* The size of `char *', as computed by sizeof. */
112
+#undef SIZEOF_CHAR_P
113
+
114
+/* The size of `int', as computed by sizeof. */
115
+#undef SIZEOF_INT
116
+
117
+/* The size of `long', as computed by sizeof. */
118
+#undef SIZEOF_LONG
119
+
120
+/* The size of `short', as computed by sizeof. */
121
+#undef SIZEOF_SHORT
122
+
123
+/* The size of `size_t', as computed by sizeof. */
124
+#undef SIZEOF_SIZE_T
125
+
126
+/* The size of `unsigned long', as computed by sizeof. */
127
+#undef SIZEOF_UNSIGNED_LONG
128
+
129
+/* Define to 1 if you have the ANSI C header files. */
130
+#undef STDC_HEADERS
131
+
132
+/* Version number of package */
133
+#undef VERSION
134
+
135
+/* Defined if compiling without arts */
136
+#undef WITHOUT_ARTS
137
+
138
+/*
139
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
140
+ * headers and I'm too lazy to write a configure test as long as only
141
+ * unixware is related
142
+ */
143
+#ifdef _UNIXWARE
144
+#define HAVE_BOOLEAN
145
+#endif
146
+
147
+
148
+
149
+/*
150
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
151
+ * that defines bzero.
152
+ */
153
+
154
+#if defined(_AIX)
155
+#include <strings.h>
156
+#endif
157
+
158
+
159
+
160
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
161
+# include <sys/time.h>
162
+# include <crt_externs.h>
163
+# define environ (*_NSGetEnviron())
164
+#endif
165
+
166
+
167
+
168
+#if !defined(HAVE_RES_INIT_PROTO)
169
+#ifdef __cplusplus
170
+extern "C" {
171
+#endif
172
+int res_init(void);
173
+#ifdef __cplusplus
174
+}
175
+#endif
176
+#endif
177
+
178
+
179
+
180
+#if !defined(HAVE_STRLCAT_PROTO)
181
+#ifdef __cplusplus
182
+extern "C" {
183
+#endif
184
+unsigned long strlcat(char*, const char*, unsigned long);
185
+#ifdef __cplusplus
186
+}
187
+#endif
188
+#endif
189
+
190
+
191
+
192
+#if !defined(HAVE_STRLCPY_PROTO)
193
+#ifdef __cplusplus
194
+extern "C" {
195
+#endif
196
+unsigned long strlcpy(char*, const char*, unsigned long);
197
+#ifdef __cplusplus
198
+}
199
+#endif
200
+#endif
201
+
202
+
203
+
204
+/*
205
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
206
+ */
207
+
208
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
209
+#if __STDC__
210
+#include <stdarg.h>
211
+#include <stdlib.h>
212
+#else
213
+#include <varargs.h>
214
+#endif
215
+#ifdef __cplusplus
216
+extern "C"
217
+#endif
218
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
219
+#ifdef __cplusplus
220
+extern "C"
221
+#endif
222
+int snprintf(char *str, size_t n, char const *fmt, ...);
223
+#endif
224
+
225
+
226
+
227
+#if defined(__SVR4) && !defined(__svr4__)
228
+#define __svr4__ 1
229
+#endif
230
+
231
+
232
+/* type to use in place of socklen_t if not defined */
233
+#undef kde_socklen_t
234
+
235
+/* type to use in place of socklen_t if not defined (deprecated, use
236
+   kde_socklen_t) */
237
+#undef ksize_t

+ 2
- 0
configure.files View File

@@ -0,0 +1,2 @@
1
+./admin/configure.in.min
2
+configure.in.in

+ 142
- 0
configure.in View File

@@ -0,0 +1,142 @@
1
+dnl =======================================================
2
+dnl FILE: ./admin/configure.in.min
3
+dnl =======================================================
4
+
5
+dnl    This file is part of the KDE libraries/packages
6
+dnl    Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
7
+ 
8
+dnl    This file is free software; you can redistribute it and/or
9
+dnl    modify it under the terms of the GNU Library General Public
10
+dnl    License as published by the Free Software Foundation; either
11
+dnl    version 2 of the License, or (at your option) any later version.
12
+ 
13
+dnl    This library is distributed in the hope that it will be useful,
14
+dnl    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+dnl    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
+dnl    Library General Public License for more details.
17
+ 
18
+dnl    You should have received a copy of the GNU Library General Public License
19
+dnl    along with this library; see the file COPYING.LIB.  If not, write to
20
+dnl    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
+dnl    Boston, MA 02110-1301, USA.
22
+
23
+# Original Author was Kalle@kde.org
24
+# I lifted it in some mater. (Stephan Kulow)
25
+# I used much code from Janos Farkas
26
+
27
+dnl Process this file with autoconf to produce a configure script.
28
+
29
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
30
+
31
+dnl This is so we can use kde-common
32
+AC_CONFIG_AUX_DIR(admin)
33
+
34
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
35
+unset CDPATH
36
+
37
+dnl Checking host/target/build systems, for make, install etc.
38
+AC_CANONICAL_SYSTEM 
39
+dnl Perform program name transformation
40
+AC_ARG_PROGRAM
41
+
42
+dnl Automake doc recommends to do this only here. (Janos)
43
+AM_INIT_AUTOMAKE(kshowmail, 3.3.1) dnl searches for some needed programs
44
+
45
+KDE_SET_PREFIX
46
+
47
+dnl generate the config header
48
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
49
+
50
+dnl Checks for programs.
51
+AC_CHECK_COMPILERS
52
+AC_ENABLE_SHARED(yes)
53
+AC_ENABLE_STATIC(no)
54
+KDE_PROG_LIBTOOL
55
+
56
+dnl for NLS support. Call them in this order!
57
+dnl WITH_NLS is for the po files
58
+AM_KDE_WITH_NLS
59
+
60
+KDE_USE_QT(3)
61
+AC_PATH_KDE
62
+dnl =======================================================
63
+dnl FILE: configure.in.in
64
+dnl =======================================================
65
+
66
+#MIN_CONFIG(3)
67
+
68
+dnl PACKAGE set before
69
+
70
+dnl check for mimelib/mimepp.h and mimelib/datetime.h
71
+
72
+AC_MSG_CHECKING(for headers $kde_incdir/mimelib/mimepp.h and $kde_incdir/mimelib/datetime.h)
73
+AC_FIND_FILE("/mimelib/mimepp.h", $kde_incdirs, mimeppdir)
74
+AC_FIND_FILE("/mimelib/datetime.h", $kde_incdirs, datetimedir)
75
+if test $mimeppdir = "NO" || test $datetimedir = "NO"; then
76
+  AC_MSG_ERROR(Headers $kde_incdir/mimelib/mimepp.h or $kde_incdir/mimelib/datetime.h not found. Please install kdepim devel package.)
77
+else
78
+  AC_MSG_RESULT([found])
79
+fi
80
+KDE_CREATE_SUBDIRSLIST
81
+AC_CONFIG_FILES([ Makefile ])
82
+AC_CONFIG_FILES([ doc/Makefile ])
83
+AC_CONFIG_FILES([ doc/cs/Makefile ])
84
+AC_CONFIG_FILES([ doc/de/Makefile ])
85
+AC_CONFIG_FILES([ doc/en/Makefile ])
86
+AC_CONFIG_FILES([ doc/es/Makefile ])
87
+AC_CONFIG_FILES([ doc/fr/Makefile ])
88
+AC_CONFIG_FILES([ doc/hu/Makefile ])
89
+AC_CONFIG_FILES([ doc/it/Makefile ])
90
+AC_CONFIG_FILES([ doc/ru/Makefile ])
91
+AC_CONFIG_FILES([ doc/sv/Makefile ])
92
+AC_CONFIG_FILES([ kshowmail/Makefile ])
93
+AC_CONFIG_FILES([ kshowmail/kcmconfigs/Makefile ])
94
+AC_CONFIG_FILES([ pics/Makefile ])
95
+AC_CONFIG_FILES([ po/Makefile ])
96
+AC_CONFIG_FILES([ sounds/Makefile ])
97
+AC_OUTPUT
98
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
99
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
100
+  # And if so, warn when they don't match
101
+  if test "$kde_libs_prefix" != "$given_prefix"; then
102
+    # And if kde doesn't know about the prefix yet
103
+    echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
104
+    if test $? -ne 0; then
105
+      echo ""
106
+      echo "Warning: you chose to install this package in $given_prefix,"
107
+      echo "but KDE was found in $kde_libs_prefix."
108
+      echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
109
+      echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
110
+      echo "Then restart KDE."
111
+      echo ""
112
+    fi
113
+  fi
114
+fi
115
+
116
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
117
+  echo ""
118
+  echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
119
+  echo "was not included. Therefore, GCC symbol visibility support remains disabled."
120
+  echo ""
121
+  echo "For better performance, consider including the Qt visibility supporting patch"
122
+  echo "located at:"
123
+  echo ""
124
+  echo "http://bugs.kde.org/show_bug.cgi?id=109386"
125
+  echo ""
126
+  echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
127
+  echo "everything will continue to work just fine without it."
128
+  echo ""
129
+fi
130
+
131
+if test "$all_tests" = "bad"; then
132
+  if test ! "$cache_file" = "/dev/null"; then
133
+    echo ""
134
+    echo "Please remove the file $cache_file after changing your setup"
135
+    echo "so that configure will find the changes next time."
136
+    echo ""
137
+  fi
138
+else
139
+  echo ""
140
+  echo "Good - your configure finished. Start make now"
141
+  echo ""
142
+fi

+ 14
- 0
configure.in.in View File

@@ -0,0 +1,14 @@
1
+#MIN_CONFIG(3)
2
+
3
+AM_INIT_AUTOMAKE(kshowmail, 3.3.1)
4
+
5
+dnl check for mimelib/mimepp.h and mimelib/datetime.h
6
+
7
+AC_MSG_CHECKING(for headers $kde_incdir/mimelib/mimepp.h and $kde_incdir/mimelib/datetime.h)
8
+AC_FIND_FILE("/mimelib/mimepp.h", $kde_incdirs, mimeppdir)
9
+AC_FIND_FILE("/mimelib/datetime.h", $kde_incdirs, datetimedir)
10
+if test $mimeppdir = "NO" || test $datetimedir = "NO"; then
11
+  AC_MSG_ERROR(Headers $kde_incdir/mimelib/mimepp.h or $kde_incdir/mimelib/datetime.h not found. Please install kdepim devel package.)
12
+else
13
+  AC_MSG_RESULT([found])
14
+fi

+ 10
- 0
doc/Makefile.am View File

@@ -0,0 +1,10 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+SUBDIRS = en de es sv fr hu it ru
4
+
5
+####### kdevelop will overwrite this part!!! (end)############
6
+
7
+KDE_LANG = ru
8
+KDE_DOCS = kshowmail
9
+
10
+

+ 10
- 0
doc/cs/Makefile.am View File

@@ -0,0 +1,10 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+
4
+EXTRA_DIST = index.docbook 
5
+
6
+####### kdevelop will overwrite this part!!! (end)############
7
+
8
+KDE_LANG = en
9
+KDE_DOCS = kshowmail
10
+

+ 516
- 0
doc/cs/index.docbook View File

@@ -0,0 +1,516 @@
1
+<?xml version="1.0" ?>
2
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
3
+  <!ENTITY kshowmail '<application>Kshowmail</application>'>
4
+  <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here -->
5
+  <!ENTITY % addindex "IGNORE">
6
+  <!ENTITY % English "INCLUDE"><!-- change language only here -->
7
+  
8
+  
9
+  <!-- Do not define any other entities; instead, use the entities
10
+       from kde-genent.entities and $LANG/user.entities. -->
11
+]>
12
+<!-- kdoctemplate v0.8 October 1 1999 
13
+     Minor update to "Credits and Licenses" section on August 24, 2000
14
+     Removed "Revision history" section on 22 January 2001   -->
15
+
16
+<!-- ................................................................ -->
17
+
18
+<!-- The language must NOT be changed here. -->
19
+
20
+<book lang="&language;">
21
+
22
+<!-- This header contains all of the meta-information for the document such
23
+as Authors, publish date, the abstract, and Keywords -->
24
+
25
+<bookinfo>
26
+<title>The Kshowmail Handbook</title>
27
+
28
+<authorgroup>
29
+<author>
30
+<firstname>Eggert</firstname>
31
+<surname>Ehmke</surname>
32
+<affiliation>
33
+<address><email>eggert.ehmke@berlin.de</email></address>
34
+</affiliation>
35
+</author>
36
+<author>
37
+<firstname>Allistar</firstname>