Browse Source

Initial import of kshutdown 1.0.4

tags/r14.0.0
Slávek Banko 5 years ago
commit
48a589b8c5
100 changed files with 23640 additions and 0 deletions
  1. 1
    0
      AUTHORS
  2. 340
    0
      COPYING
  3. 410
    0
      ChangeLog
  4. 278
    0
      Doxyfile
  5. 180
    0
      INSTALL
  6. 23
    0
      Makefile.am
  7. 1
    0
      NEWS
  8. 33
    0
      README
  9. 266
    0
      Setup
  10. 55
    0
      TODO
  11. 1
    0
      VERSION
  12. 11809
    0
      acinclude.m4
  13. 863
    0
      aclocal.m4
  14. 237
    0
      config.h.in
  15. 2
    0
      configure.files
  16. 136
    0
      configure.in
  17. 10
    0
      configure.in.in
  18. 1
    0
      doc/Makefile.am
  19. 2
    0
      doc/de/Makefile.am
  20. 269
    0
      doc/de/index.docbook
  21. BIN
      doc/de/mainwindow.png
  22. 2
    0
      doc/kshutdown/Makefile.am
  23. 270
    0
      doc/kshutdown/index.docbook
  24. BIN
      doc/kshutdown/mainwindow.png
  25. 11
    0
      extras/Makefile.am
  26. 17
    0
      extras/hibernate.desktop
  27. 7
    0
      extras/multimedia/.directory
  28. 13
    0
      extras/multimedia/Makefile.am
  29. 12
    0
      extras/multimedia/amarok.desktop
  30. 19
    0
      extras/multimedia/juk.desktop
  31. 20
    0
      extras/multimedia/kaffeine.desktop
  32. 19
    0
      extras/multimedia/kdetv.desktop
  33. 20
    0
      extras/multimedia/kscd.desktop
  34. 18
    0
      extras/multimedia/noatun.desktop
  35. 12
    0
      extras/multimedia/xmms.desktop
  36. 7
    0
      extras/shutdown/.directory
  37. 8
    0
      extras/shutdown/Makefile.am
  38. 19
    0
      extras/shutdown/cancelshutdown.desktop
  39. 19
    0
      extras/shutdown/fsck.desktop
  40. 6
    0
      extras/system/.directory
  41. 9
    0
      extras/system/Makefile.am
  42. 20
    0
      extras/system/adsl-stop.desktop
  43. 19
    0
      extras/system/kdeeject.desktop
  44. 19
    0
      extras/system/kppp.desktop
  45. 8
    0
      karamba/Makefile.am
  46. BIN
      karamba/kshutdown-48x48.png
  47. 8
    0
      karamba/kshutdown-classic-notext.theme
  48. 11
    0
      karamba/kshutdown-classic-text.theme
  49. 86
    0
      kshutdown-mdk.spec
  50. 94
    0
      kshutdown-suse.spec
  51. 321
    0
      kshutdown.kdevelop
  52. 12
    0
      kshutdown.lsm
  53. 65
    0
      kshutdown.spec
  54. 44
    0
      kshutdown/Makefile.am
  55. 455
    0
      kshutdown/actions.cpp
  56. 217
    0
      kshutdown/actions.h
  57. 290
    0
      kshutdown/appobserver.cpp
  58. 99
    0
      kshutdown/appobserver.h
  59. 80
    0
      kshutdown/configuration.cpp
  60. 91
    0
      kshutdown/configuration.h
  61. 97
    0
      kshutdown/confirmation.cpp
  62. 38
    0
      kshutdown/confirmation.h
  63. 309
    0
      kshutdown/extras.cpp
  64. 115
    0
      kshutdown/extras.h
  65. 19
    0
      kshutdown/kshutdown.desktop
  66. 10
    0
      kshutdown/kshutdown.upd
  67. 98
    0
      kshutdown/kshutdowniface.h
  68. 53
    0
      kshutdown/kshutdowniface.kidl
  69. 135
    0
      kshutdown/kshutdowniface_skel.cpp
  70. 229
    0
      kshutdown/kshutdowniface_stub.cpp
  71. 38
    0
      kshutdown/kshutdowniface_stub.h
  72. 210
    0
      kshutdown/links.cpp
  73. 74
    0
      kshutdown/links.h
  74. 225
    0
      kshutdown/mactioneditdialog.cpp
  75. 76
    0
      kshutdown/mactioneditdialog.h
  76. 393
    0
      kshutdown/main.cpp
  77. 244
    0
      kshutdown/miscutils.cpp
  78. 135
    0
      kshutdown/miscutils.h
  79. 954
    0
      kshutdown/mmainwindow.cpp
  80. 209
    0
      kshutdown/mmainwindow.h
  81. 184
    0
      kshutdown/mmessagedialog.cpp
  82. 68
    0
      kshutdown/mmessagedialog.h
  83. 622
    0
      kshutdown/msettingsdialog.cpp
  84. 127
    0
      kshutdown/msettingsdialog.h
  85. 196
    0
      kshutdown/mstatstab.cpp
  86. 74
    0
      kshutdown/mstatstab.h
  87. 212
    0
      kshutdown/msystemtray.cpp
  88. 113
    0
      kshutdown/msystemtray.h
  89. 90
    0
      kshutdown/mtip.cpp
  90. 65
    0
      kshutdown/mtip.h
  91. 153
    0
      kshutdown/progressbar.cpp
  92. 66
    0
      kshutdown/progressbar.h
  93. 189
    0
      kshutdown/systemconfig.cpp
  94. 60
    0
      kshutdown/systemconfig.h
  95. 15
    0
      kshutdownlockout/Makefile.am
  96. 71
    0
      kshutdownlockout/kshutdownlockout.desktop
  97. 236
    0
      kshutdownlockout/lockout.cpp
  98. 59
    0
      kshutdownlockout/lockout.h
  99. 15
    0
      pics/Makefile.am
  100. 0
    0
      pics/hi32-app-kshutdown.png

+ 1
- 0
AUTHORS View File

@@ -0,0 +1 @@
1
+See Help -> About KShutDown -> Thanks To...

+ 340
- 0
COPYING View File

@@ -0,0 +1,340 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  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
281
+
282
+	    How to Apply These Terms to Your New Programs
283
+
284
+  If you develop a new program, and you want it to be of the greatest
285
+possible use to the public, the best way to achieve this is to make it
286
+free software which everyone can redistribute and change under these terms.
287
+
288
+  To do so, attach the following notices to the program.  It is safest
289
+to attach them to the start of each source file to most effectively
290
+convey the exclusion of warranty; and each file should have at least
291
+the "copyright" line and a pointer to where the full notice is found.
292
+
293
+    <one line to give the program's name and a brief idea of what it does.>
294
+    Copyright (C) <year>  <name of author>
295
+
296
+    This program is free software; you can redistribute it and/or modify
297
+    it under the terms of the GNU General Public License as published by
298
+    the Free Software Foundation; either version 2 of the License, or
299
+    (at your option) any later version.
300
+
301
+    This program is distributed in the hope that it will be useful,
302
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
+    GNU General Public License for more details.
305
+
306
+    You should have received a copy of the GNU General Public License
307
+    along with this program; if not, write to the Free Software
308
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
309
+
310
+
311
+Also add information on how to contact you by electronic and paper mail.
312
+
313
+If the program is interactive, make it output a short notice like this
314
+when it starts in an interactive mode:
315
+
316
+    Gnomovision version 69, Copyright (C) year name of author
317
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+    This is free software, and you are welcome to redistribute it
319
+    under certain conditions; type `show c' for details.
320
+
321
+The hypothetical commands `show w' and `show c' should show the appropriate
322
+parts of the General Public License.  Of course, the commands you use may
323
+be called something other than `show w' and `show c'; they could even be
324
+mouse-clicks or menu items--whatever suits your program.
325
+
326
+You should also get your employer (if you work as a programmer) or your
327
+school, if any, to sign a "copyright disclaimer" for the program, if
328
+necessary.  Here is a sample; alter the names:
329
+
330
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+  <signature of Ty Coon>, 1 April 1989
334
+  Ty Coon, President of Vice
335
+
336
+This General Public License does not permit incorporating your program into
337
+proprietary programs.  If your program is a subroutine library, you may
338
+consider it more useful to permit linking proprietary applications with the
339
+library.  If this is what you want to do, use the GNU Library General
340
+Public License instead of this License.

+ 410
- 0
ChangeLog View File

@@ -0,0 +1,410 @@
1
+// svn log -r 347:HEAD|tac|xsel -i -b
2
+// See also: http://kshutdown.sourceforge.net/releases/
3
+
4
+2009/01/15  1.0.4
5
+
6
+* Fixed Restart/Turn Off Computer action in newer distributions
7
+* Removed deprecated entries and values from *.desktop files
8
+
9
+
10
+2008/05/26  1.0.3
11
+
12
+* Updated Czech translation
13
+* Updated Italian translation
14
+* Updated Polish translation
15
+* Updated Slovak translation
16
+* Extras: Show icon of the selected action (thanks to Guillaume Millet)
17
+* Setup: Automatically create "configure" file if necessary
18
+* Source: Added RPM .spec file for SUSE
19
+
20
+2007/11/25  1.0.2
21
+- Now the sound is disabled by default.
22
+  You can re-enable sound notifications via menu -> Settings -> Configure Notifications...
23
+- Updated Italian translation (thanks to Andrea Florio)
24
+- Updated Turkish translation
25
+- Updated Polish translation
26
+- NEW: Added "extra" command line option. Run "kshutdown --help" for more info.
27
+- NEW: Remember recent "Extras" command
28
+
29
+2007/07/08  1.0.1
30
+- NEW: Arabic translation. Thanks to Abdulaziz Alsharif and Youssef Chahibi.
31
+- NEW: Bulgarian translation. Thanks to Zlatko Popov
32
+- Updated Greek (el) translation
33
+- Minor fixes
34
+
35
+2007/04/14  1.0
36
+- NEW: Added "Hibernate Computer" action (see Extras -> Select a command...)
37
+- NEW: Added action to mute and quit kdetv (see Extras -> Select a command...)
38
+- Fixed compilation problems
39
+- Fixed system tray icon size
40
+- Updated language translations (es, sk, tr)
41
+
42
+2006/10/10  0.9.1 Beta
43
+- Updated German, Greek, Portuguese-Brazilian, and Spanish translations
44
+- NEW: French translation (thanks to Maxime Chéramy)
45
+- Fixed some DCOP functions
46
+- Fixed KShutDown autostart and session saving
47
+- NEW: Warning info in task bar title
48
+- Improved progress bar
49
+
50
+2006/06/29  0.9 Beta
51
+- NEW: Progress bar
52
+- FIXED: Setup: Launch installer in existing Konsole window
53
+- FIXED: Fixed compilation errors (thanks to Ole)
54
+- NEW: Global keyboard shortcuts
55
+- NEW: Redesigned and improved KShutDown panel applet
56
+- NEW: DCOP: Added "makeInvisible()" function
57
+- Added missing "What's this?" texts
58
+- Action icons are now cached
59
+- Addded passive messages
60
+- NEW: Greek translation (thanks to Spiros Georgaras)
61
+- Patches from the FreeBSD (thanks to Markus Brueffer)
62
+- Simplified "link creator" in the "Settings" dialog
63
+- NEW: "Presets" menu in the "Custom Message" configuration
64
+- FIXED: "Test" button in the "Custom Message" configuration
65
+- Code cleanup
66
+- NEW: Redesigned the system tray context menu
67
+- Statistics: Changed the "Options" view
68
+- NEW: Statistics: Ctrl+R or F5 refreshes the view
69
+- NEW: Selected action/time in the confirmation dialog
70
+- NEW: Shortcut configuration (Settings -> Configure Shortcuts...)
71
+- NEW: "Actions" menu in the menu bar
72
+
73
+2006/02/05  0.8.2
74
+- NEW: Turkish translation (thanks to Ahmet AYGÜN)
75
+- French desktop entry (e.g. in the "K" Menu)
76
+- Updated the "./admin" directory
77
+
78
+2006/01/09  0.8.1
79
+- NEW: Chinese translation
80
+- NEW: German Handbook
81
+- Setup: Do not ask for root password
82
+  if prefix directory exists and is writeable by the current user
83
+- Changed some GUI texts
84
+- Added generic name for "K" menu entry
85
+- Setup: Removed the "Changes" command (ChangeLog);
86
+  added "What's new?" instead (NEWS)
87
+- Removed "Help" from the system tray context menu
88
+- API: public MiscUtils::playSound -> private MiscUtils::notifyUser
89
+- Action list: display "s" suffix for pause value
90
+- Action editor: display "No pause" instead of "0 second(s)"
91
+- Updated "kshutdown/templates" files
92
+- FIXED: Do not display popup message if "test mode" is already enabled/disabled
93
+- Setup: Removed confusing "root password" message
94
+- Setup: Fixed Polish encoding
95
+- Setup: Added support for "LANG=pl_PL.UTF-8"
96
+- Changed title time separator from " - " to " > "
97
+- FIXED: "dcop kshutdown KShutdownIface makeVisible"
98
+- Removed broken links from the About dialog
99
+- Removed unused "kshutdown/karamba/kshutdown-32x32.png" file
100
+- NEW: NEWS file with human readable list of changes
101
+- Updated German translation
102
+- Updated Czech translation
103
+
104
+2005/11/27  0.8
105
+- NEW: Swedish translation (thanks to Daniel Nylander)
106
+- Minor bugfixes
107
+- Removed the Authors tab from the About dialog
108
+- Setup: Fast compilation is now enabled by default (--enable-final)
109
+- Updated documentation
110
+- Setup: "kdesu" instead of "su" (works on both Fedora and Kubuntu)
111
+
112
+2005/10/18  0.7.1 Beta
113
+- NEW: Ability to execute a specified action when selected application exit
114
+- Removed "Download" menu item
115
+- FIXED: Captions in system tray menu
116
+- NEW: Changed default custom message command to:
117
+  "kdialog --title \"%title\" --passivepopup \"%text\" 10"
118
+- NEW: System configuration checker (EXPERIMENTAL)
119
+- Updated Handbook
120
+- Removed obsolete FAQ
121
+- Removed "locolor" icon
122
+- RPM .spec: Removed "kdebase" dependency
123
+- Removed deprecated Wizard and Scheduler functions
124
+- NEW: "Shut Down" and "Reboot" commands are now disabled if KDM is not running.
125
+  To enable these commands go to "Settings" -> "Configure KShutDown" -> "Actions",
126
+  and set methods to "/sbin/...", "poweroff" or "reboot".
127
+- NEW: Balloon popup messages based on the "kdialog" program
128
+- QListView* -> KListView*
129
+- Improved and fixed KDE Kiosk support
130
+- FIXED: System tray icon hidding option
131
+- FIXED: Confirmation message box position
132
+- FIXED: Enter key now starts/stops the selected action
133
+- Removed the "Action" menu from the menu bar
134
+- FIXED: "Common Problems" buttons in the "Settings" dialog
135
+- FIXED: DCOP "cancel()" function now can cancel the warning message dialog
136
+- Misc. bugfixes
137
+- Updated the "admin" directory
138
+ACTION EDIT DIALOG:
139
+- Removed the "Help" button
140
+- "KDE" -> "KDE (default)"
141
+- Improved tip text
142
+- Changed the default external "Lock Session" command
143
+  from "xlock" to "xscreensaver-command -lock"
144
+
145
+2005/07/02  0.7.0 Beta
146
+NEW:
147
+- Redesigned the main window (thanks to Stephen)
148
+- Redesigned the settings dialog
149
+- Menu bar
150
+- Link to the "Download" page in the "File" menu
151
+- KShutDown Kicker Applet (based on the KDE Lock/Logout Applet)
152
+- New icons
153
+- System tray icon configuration
154
+- Redesigned "Statistics" dialog
155
+- Cool tray icon fade effects
156
+- Portuguese Brazilian language translation (also in version 0.6.1)
157
+- The "--confirm" command line option forces confirmation message box:
158
+  EXAMPLE 1 - with confirmation:
159
+  "kshutdown --confirm --shutdown"
160
+  EXAMPLE 2 - without confirmation (default):
161
+  "kshutdown --shutdown"
162
+IMPORTANT:
163
+- Since version 0.7.0 KShutDown requires KDE 3.3.x or newer
164
+- "K Menu" link is now placed in the "Accessories" menu.
165
+  Old menu items (Utilities->KShutDown and Utilities->KShutDown Wizard)
166
+  are now obsolete. You can remove these items manually.
167
+- Removed the Wizard dialog
168
+- Removed "Examples" directory from the "Extras" menu
169
+- Removed "Scheduler".
170
+  "Scheduler" DCOP functions are now deprecated, and should not be used.
171
+- "-w" and "--wizard" command line arguments are now deprecated, and should not be used.
172
+IMPROVED:
173
+- Setup script
174
+- Usability
175
+- KShutDown is now smaller and faster
176
+- Link creator: confirmation messages, shut down, reboot, lock screen and logout links
177
+- Warning message
178
+- A confirmation message box
179
+- Visual and sound notifications
180
+UNDER CONSTRUCTION:
181
+- A new popup messages (based on the Kopete "balloon")
182
+- Action execution when a desired application exit
183
+- .spec file for Fedora Core
184
+- System configuration checker
185
+FIXED/MISC:
186
+- Fixed possible "make install" error (thanks to Gregorio)
187
+- Removed "build" info from the "About" dialog
188
+
189
+2005/02/28  0.6.0
190
+- NEW: Settings: "Default" button in action edit dialog
191
+- NEW: DCOP functions: "configure" and "makeVisible"
192
+- REMOVED: Removed color configuration from the "Statistics" tab
193
+- FIXED: Text alignment in reversed layout
194
+- Cleaned up the settings dialog
195
+- Small fixes related to window management
196
+- Updated Italian translation
197
+
198
+2005/02/12  0.5.1 Beta
199
+- NEW: Added options to execute a shell commad before
200
+  shut down, reboot, logout or lock screen
201
+  (Configure -> Actions & Extras Menu)
202
+- NEW: Added option to close the CD-ROM tray before logout
203
+  (Configure -> Automation)
204
+- NEW: Changed window caption and system tray tool tip to be more usable
205
+- FIXED: Now the Wizard dialog window does not block the entire desktop
206
+- FIXED: Do not show minimized main window after Wizard cancel
207
+- Updated Manual and README
208
+- A shorter date/time format in window title
209
+- Minor fixes and improvements
210
+
211
+2004/12/15  0.5.0 Beta
212
+- NEW: A custom message command
213
+- NEW: Selected time in the main window
214
+- NEW: Added support for AM/PM time format
215
+- NEW: Statistics: Added option to toggle the "from" (remote hostname) field
216
+- NEW: A new notifications configuration dialog
217
+- NEW: Last selected tab page is remembered
218
+- NEW: Last selected settings page is remembered
219
+- NEW: Warning 1 hour before action
220
+- FIXED: Fixed focus and default button in the Wizard
221
+- Added help button to the Wizard dialog
222
+- Info is displayed if "test" mode has been toggled
223
+- Now KShutDown should compile on KDE 3.1.1+
224
+- Cleaned up the source files
225
+- Updated API documentation
226
+- Added link to "xscreensaver-command" manual in action edit dialog
227
+- Link to the SuperKaramba home page in settings dialog
228
+- Smaller bugfixes and improvements
229
+- The source package is smaller
230
+
231
+2004/11/13  0.4.0
232
+- NEW: Cancel button in passive message
233
+- NEW: Now the date/time editor will automatically advance focus
234
+  to the next date/time section if a user has completed a section
235
+- Kiosk: Time selection is disabled in Wizard
236
+  if "kshutdown_tab_time" is set to "false"
237
+- Updated translations
238
+
239
+2004/10/23  0.3.2 Beta
240
+- NEW: Added Karamba info (click Configure button)
241
+- NEW: Standard KDE notifications
242
+  (Control Center > Sound & Multimedia > System Notifications > KShutDown
243
+  or
244
+  KShutDown > Configure > Confirmations & Messages > Configure Notifications)
245
+- NEW: Added option to re-enable all messages which have been disabled with the
246
+  "Do not show this message again" option
247
+- NEW: Changed Wizard image
248
+- NEW: Changed statistics default colors
249
+- NEW: Title in the system tray context menu
250
+- FIXED: Fixed amaroK "stop" function
251
+- FIXED: Wizard window is now centered on screen
252
+- FIXED: No confirmations if you execute a KShutDown action from the command
253
+  line
254
+- SETUP: Added Polish language
255
+- SETUP: Added option "--enable-final" (press "F" to toggle)
256
+- SETUP: "Setup" is launched in a new Konsole window,
257
+  so you can run it from a Konqueror (EXPERIMENTAL)
258
+- Improved and updated help
259
+- Bugfixes
260
+
261
+2004/09/11  0.3.1 Beta
262
+- NEW: Russian translation
263
+- NEW: Simple Karamba themes
264
+  (see /YOUR_INSTALL_PATH/share/apps/kshutdown/karamba)
265
+- CHANGE: Smaller Vorbis Ogg sound files
266
+- CHANGE: All KIOSK keys are now prefixed with "kshutdown_" string
267
+  (see Handbook)
268
+- Updated translations
269
+
270
+2004/08/30  0.3.0 Beta
271
+- NEW: Ability to run a command before shut down
272
+  (click "Configure", "Automation")
273
+- NEW: Automatic screen locking after login (click "Configure", "Automation")
274
+- NEW: Reorganized and improved settings dialog
275
+- NEW: Colors in the "Setup" script
276
+- NEW: Added help buttons
277
+- NEW: Icons in tool tips
278
+- NEW: Italian translation
279
+- NEW: Links creator (click "Configure", "Links")
280
+- SYSTEM TRAY: Middle mouse button displays the actions menu
281
+- SYSTEM TRAY: Added confirmations
282
+- SYSTEM TRAY: Tear off handles in menus
283
+- FIXED: Source code and API cleanup
284
+- FIXED: Better usability
285
+- FIXED: Added "now" argument to the command line options
286
+- FIXED: Message window is now always on top
287
+- Added new items to the "Extras" menu
288
+
289
+2004/07/19  0.2.0
290
+- Improved "Extras" menu
291
+- Better sounds quality; Vorbis Ogg format
292
+- Added Handbook (see Help menu)
293
+- Fixed documentation
294
+
295
+2004/07/05  0.1.9 Beta
296
+- Changed DCOP API:
297
+  changed "registerTask"
298
+  removed "command"; use "activateAction" instead
299
+  added "getStatusInfo"
300
+- Updated translations
301
+- Added .spec file
302
+- Changed Wizard "finish" button
303
+- Bugfixes
304
+
305
+2004/06/13  0.1.8 Beta
306
+- NEW: New name - KShutDown
307
+- NEW: Wizard
308
+- NEW: Dutch translation
309
+- NEW: KDE Kiosk support. For example you can disable "Shut down" command,
310
+  or the "Statistics" tab. See README for details.
311
+- NEW: "Extras" - user commands.
312
+  Now you can add as many new commands as you want.
313
+- NEW: Options in the "Statistics" tab
314
+- NEW: Rewritten popup messages
315
+- NEW: Time argument in the command line. Examples:
316
+  "kshutdown --your-option HH:MM" (absolute time),
317
+  or "kshutdown --your-option MM" (time from now in minutes)
318
+- NEW: "--default" command line option disables test mode
319
+- FIXED: Sound configuration
320
+- IMPROVED: User interface
321
+- IMPROVED: "Setup" script
322
+- Updated translations
323
+- Bugfixes
324
+
325
+2004/03/27  0.1.7 Beta
326
+- Slovak translation
327
+- German translation
328
+- Improved usability
329
+- Updated CVS...
330
+- More tool tips
331
+- Source files cleanup
332
+- Bugfixes
333
+
334
+2004/03/11  0.1.6 Beta
335
+- Fixed "Statistics" tab
336
+- Command line option to display standard logout dialog (--standard)
337
+- Flat buttons
338
+- Removed "Options" tab
339
+- Settings dialog size is saved in the configuration file
340
+- "Remove All" button in the "Scheduler" tab
341
+- Czech translation and FAQ
342
+- Hungarian translation
343
+- Changed some icons
344
+- Bugfixes
345
+
346
+2004/02/22  0.1.5 Beta
347
+- Bugfixes
348
+- Improved warning message box
349
+- Improved scheduler and DCOP server (still under construction)
350
+- Code cleanups
351
+- Fixed memory leaks
352
+- Added cancel option to the command line (-c and --cancel)
353
+
354
+2004/02/07  0.1.4 Beta
355
+- Code cleanups
356
+- Fixed keyboard shortcuts
357
+- Fixed default window size
358
+- Added -s and --shutdown to the command line options
359
+- LED icon has been replaced with the system tray icon
360
+- Spanish translation by Quique
361
+- Test mode (kshutdown --test)
362
+- Error message if selected date/time is earlier than current date/time
363
+- Bugfixes
364
+
365
+2004/01/17  0.1.3 Beta
366
+- "Exit" to the system tray
367
+- "Settings" command in the system tray context menu
368
+- Links to "man" manuals
369
+- Some tabs are initialized on demand (faster startup)
370
+- Tab icons
371
+- Statistics: colorized `w` output (logged-in users, uptime)
372
+- Scheduler: changed columns order, application icons
373
+- Bugfixes
374
+- System tray: caption
375
+
376
+2003/12/08  0.1.2 Beta
377
+- ui improvements
378
+- system tray context menu
379
+- migration to KDevelop 3
380
+- user interface fixes
381
+- now you can directly specify delay in seconds, minutes, or hours
382
+- fixed "about" window
383
+- FAQ file
384
+- system tray icon is now always visible
385
+- changed default external commands to /sbin/reboot and /sbin/poweroff
386
+- experimental DCOP interface (will be useful in v0.2.0)
387
+- code and api cleanups + api docs
388
+- fixed settings saving
389
+- "embedded" tool tips
390
+- only 1 instance of kshutdown is now allowed
391
+- bugfixes
392
+- new icons (created with Sodipodi and GIMP)
393
+- warning is displayed 10 seconds before timeout
394
+
395
+2003/11/09  0.1.1 Beta
396
+- polska jezyk, trudna jezyk ;-))) (pl.po)
397
+- standard gui items
398
+- passive popup warning messages (optional)
399
+- status info
400
+- install script
401
+- simple system tray configuration
402
+- support for /sbin/shutdown, xlock, and user commands
403
+- added command line options for lock screen (-k and --lock)
404
+- a new settings dialog
405
+- code and API clean-ups
406
+- different "cancel" button texts (Close/Cancel)
407
+- added "Whats This" texts
408
+
409
+2003/10/27  0.1.0 Beta
410
+- first version

+ 278
- 0
Doxyfile View File

@@ -0,0 +1,278 @@
1
+# Doxyfile 1.4.1-KDevelop
2
+
3
+#---------------------------------------------------------------------------
4
+# Project related configuration options
5
+#---------------------------------------------------------------------------
6
+PROJECT_NAME           = KShutDown
7
+PROJECT_NUMBER         = 
8
+OUTPUT_DIRECTORY       = 
9
+CREATE_SUBDIRS         = NO
10
+OUTPUT_LANGUAGE        = English
11
+USE_WINDOWS_ENCODING   = NO
12
+BRIEF_MEMBER_DESC      = NO
13
+REPEAT_BRIEF           = YES
14
+ABBREVIATE_BRIEF       = "The $name class" \
15
+                         "The $name widget" \
16
+                         "The $name file" \
17
+                         is \
18
+                         provides \
19
+                         specifies \
20
+                         contains \
21
+                         represents \
22
+                         a \
23
+                         an \
24
+                         the
25
+ALWAYS_DETAILED_SEC    = NO
26
+INLINE_INHERITED_MEMB  = NO
27
+FULL_PATH_NAMES        = NO
28
+STRIP_FROM_PATH        = /home/kdt/Documents/src/kshutdown/kshutdown/
29
+STRIP_FROM_INC_PATH    = 
30
+SHORT_NAMES            = NO
31
+JAVADOC_AUTOBRIEF      = NO
32
+MULTILINE_CPP_IS_BRIEF = NO
33
+DETAILS_AT_TOP         = YES
34
+INHERIT_DOCS           = YES
35
+DISTRIBUTE_GROUP_DOC   = NO
36
+TAB_SIZE               = 4
37
+ALIASES                = 
38
+OPTIMIZE_OUTPUT_FOR_C  = NO
39
+OPTIMIZE_OUTPUT_JAVA   = NO
40
+SUBGROUPING            = YES
41
+#---------------------------------------------------------------------------
42
+# Build related configuration options
43
+#---------------------------------------------------------------------------
44
+EXTRACT_ALL            = NO
45
+EXTRACT_PRIVATE        = NO
46
+EXTRACT_STATIC         = YES
47
+EXTRACT_LOCAL_CLASSES  = NO
48
+EXTRACT_LOCAL_METHODS  = NO
49
+HIDE_UNDOC_MEMBERS     = NO
50
+HIDE_UNDOC_CLASSES     = NO
51
+HIDE_FRIEND_COMPOUNDS  = NO
52
+HIDE_IN_BODY_DOCS      = YES
53
+INTERNAL_DOCS          = NO
54
+CASE_SENSE_NAMES       = YES
55
+HIDE_SCOPE_NAMES       = NO
56
+SHOW_INCLUDE_FILES     = YES
57
+INLINE_INFO            = YES
58
+SORT_MEMBER_DOCS       = YES
59
+SORT_BRIEF_DOCS        = YES
60
+SORT_BY_SCOPE_NAME     = NO
61
+GENERATE_TODOLIST      = NO
62
+GENERATE_TESTLIST      = NO
63
+GENERATE_BUGLIST       = NO
64
+GENERATE_DEPRECATEDLIST= NO
65
+ENABLED_SECTIONS       = 
66
+MAX_INITIALIZER_LINES  = 30
67
+SHOW_USED_FILES        = YES
68
+SHOW_DIRECTORIES       = YES
69
+FILE_VERSION_FILTER    = 
70
+#---------------------------------------------------------------------------
71
+# configuration options related to warning and progress messages
72
+#---------------------------------------------------------------------------
73
+QUIET                  = NO
74
+WARNINGS               = YES
75
+WARN_IF_UNDOCUMENTED   = YES
76
+WARN_IF_DOC_ERROR      = YES
77
+WARN_NO_PARAMDOC       = NO
78
+WARN_FORMAT            = "$file:$line: $text"
79
+WARN_LOGFILE           = 
80
+#---------------------------------------------------------------------------
81
+# configuration options related to the input files
82
+#---------------------------------------------------------------------------
83
+INPUT                  = /home/kdt/src/kshutdown
84
+FILE_PATTERNS          = *.c \
85
+                         *.cc \
86
+                         *.cxx \
87
+                         *.cpp \
88
+                         *.c++ \
89
+                         *.java \
90
+                         *.ii \
91
+                         *.ixx \
92
+                         *.ipp \
93
+                         *.i++ \
94
+                         *.inl \
95
+                         *.h \
96
+                         *.hh \
97
+                         *.hxx \
98
+                         *.hpp \
99
+                         *.h++ \
100
+                         *.idl \
101
+                         *.odl \
102
+                         *.cs \
103
+                         *.php \
104
+                         *.php3 \
105
+                         *.inc \
106
+                         *.m \
107
+                         *.mm \
108
+                         *.dox \
109
+                         *.C \
110
+                         *.CC \
111
+                         *.C++ \
112
+                         *.II \
113
+                         *.I++ \
114
+                         *.H \
115
+                         *.HH \
116
+                         *.H++ \
117
+                         *.CS \
118
+                         *.PHP \
119
+                         *.PHP3 \
120
+                         *.M \
121
+                         *.MM \
122
+                         *.C \
123
+                         *.H \
124
+                         *.tlh \
125
+                         *.diff \
126
+                         *.patch \
127
+                         *.moc \
128
+                         *.xpm \
129
+                         *.dox
130
+RECURSIVE              = YES
131
+EXCLUDE                = 
132
+EXCLUDE_SYMLINKS       = NO
133
+EXCLUDE_PATTERNS       = *.moc.cpp \
134
+                         kshutdowniface_stub.h \
135
+                         kshutdowniface_stub.cpp \
136
+                         kshutdowniface_skel.cpp
137
+EXAMPLE_PATH           = 
138
+EXAMPLE_PATTERNS       = *
139
+EXAMPLE_RECURSIVE      = NO
140
+IMAGE_PATH             = 
141
+INPUT_FILTER           = 
142
+FILTER_PATTERNS        = 
143
+FILTER_SOURCE_FILES    = NO
144
+#---------------------------------------------------------------------------
145
+# configuration options related to source browsing
146
+#---------------------------------------------------------------------------
147
+SOURCE_BROWSER         = NO
148
+INLINE_SOURCES         = NO
149
+STRIP_CODE_COMMENTS    = YES
150
+REFERENCED_BY_RELATION = YES
151
+REFERENCES_RELATION    = YES
152
+VERBATIM_HEADERS       = YES
153
+#---------------------------------------------------------------------------
154
+# configuration options related to the alphabetical class index
155
+#---------------------------------------------------------------------------
156
+ALPHABETICAL_INDEX     = YES
157
+COLS_IN_ALPHA_INDEX    = 5
158
+IGNORE_PREFIX          = 
159
+#---------------------------------------------------------------------------
160
+# configuration options related to the HTML output
161
+#---------------------------------------------------------------------------
162
+GENERATE_HTML          = YES
163
+HTML_OUTPUT            = html
164
+HTML_FILE_EXTENSION    = .html
165
+HTML_HEADER            = 
166
+HTML_FOOTER            = 
167
+HTML_STYLESHEET        = 
168
+HTML_ALIGN_MEMBERS     = YES
169
+GENERATE_HTMLHELP      = NO
170
+CHM_FILE               = 
171
+HHC_LOCATION           = 
172
+GENERATE_CHI           = NO
173
+BINARY_TOC             = NO
174
+TOC_EXPAND             = NO
175
+DISABLE_INDEX          = NO
176
+ENUM_VALUES_PER_LINE   = 4
177
+GENERATE_TREEVIEW      = NO
178
+TREEVIEW_WIDTH         = 250
179
+#---------------------------------------------------------------------------
180
+# configuration options related to the LaTeX output
181
+#---------------------------------------------------------------------------
182
+GENERATE_LATEX         = NO
183
+LATEX_OUTPUT           = latex
184
+LATEX_CMD_NAME         = latex
185
+MAKEINDEX_CMD_NAME     = makeindex
186
+COMPACT_LATEX          = NO
187
+PAPER_TYPE             = a4wide
188
+EXTRA_PACKAGES         = 
189
+LATEX_HEADER           = 
190
+PDF_HYPERLINKS         = YES
191
+USE_PDFLATEX           = NO
192
+LATEX_BATCHMODE        = NO
193
+LATEX_HIDE_INDICES     = NO
194
+#---------------------------------------------------------------------------
195
+# configuration options related to the RTF output
196
+#---------------------------------------------------------------------------
197
+GENERATE_RTF           = NO
198
+RTF_OUTPUT             = rtf
199
+COMPACT_RTF            = NO
200
+RTF_HYPERLINKS         = NO
201
+RTF_STYLESHEET_FILE    = 
202
+RTF_EXTENSIONS_FILE    = 
203
+#---------------------------------------------------------------------------
204
+# configuration options related to the man page output
205
+#---------------------------------------------------------------------------
206
+GENERATE_MAN           = NO
207
+MAN_OUTPUT             = man
208
+MAN_EXTENSION          = .3
209
+MAN_LINKS              = NO
210
+#---------------------------------------------------------------------------
211
+# configuration options related to the XML output
212
+#---------------------------------------------------------------------------
213
+GENERATE_XML           = NO
214
+XML_OUTPUT             = xml
215
+XML_SCHEMA             = 
216
+XML_DTD                = 
217
+XML_PROGRAMLISTING     = YES
218
+#---------------------------------------------------------------------------
219
+# configuration options for the AutoGen Definitions output
220
+#---------------------------------------------------------------------------
221
+GENERATE_AUTOGEN_DEF   = NO
222
+#---------------------------------------------------------------------------
223
+# configuration options related to the Perl module output
224
+#---------------------------------------------------------------------------
225
+GENERATE_PERLMOD       = NO
226
+PERLMOD_LATEX          = NO
227
+PERLMOD_PRETTY         = YES
228
+PERLMOD_MAKEVAR_PREFIX = 
229
+#---------------------------------------------------------------------------
230
+# Configuration options related to the preprocessor   
231
+#---------------------------------------------------------------------------
232
+ENABLE_PREPROCESSING   = YES
233
+MACRO_EXPANSION        = YES
234
+EXPAND_ONLY_PREDEF     = NO
235
+SEARCH_INCLUDES        = YES
236
+INCLUDE_PATH           = 
237
+INCLUDE_FILE_PATTERNS  = 
238
+PREDEFINED             = 
239
+EXPAND_AS_DEFINED      = 
240
+SKIP_FUNCTION_MACROS   = YES
241
+#---------------------------------------------------------------------------
242
+# Configuration::additions related to external references   
243
+#---------------------------------------------------------------------------
244
+TAGFILES               = 
245
+GENERATE_TAGFILE       = kshutdown.tag
246
+ALLEXTERNALS           = NO
247
+EXTERNAL_GROUPS        = YES
248
+PERL_PATH              = /usr/bin/perl
249
+#---------------------------------------------------------------------------
250
+# Configuration options related to the dot tool   
251
+#---------------------------------------------------------------------------
252
+CLASS_DIAGRAMS         = NO
253
+HIDE_UNDOC_RELATIONS   = NO
254
+HAVE_DOT               = NO
255
+CLASS_GRAPH            = YES
256
+COLLABORATION_GRAPH    = YES
257
+GROUP_GRAPHS           = YES
258
+UML_LOOK               = NO
259
+TEMPLATE_RELATIONS     = NO
260
+INCLUDE_GRAPH          = YES
261
+INCLUDED_BY_GRAPH      = YES
262
+CALL_GRAPH             = NO
263
+GRAPHICAL_HIERARCHY    = YES
264
+DIRECTORY_GRAPH        = YES
265
+DOT_IMAGE_FORMAT       = png
266
+DOT_PATH               = 
267
+DOTFILE_DIRS           = 
268
+MAX_DOT_GRAPH_WIDTH    = 1024
269
+MAX_DOT_GRAPH_HEIGHT   = 1024
270
+MAX_DOT_GRAPH_DEPTH    = 1000
271
+DOT_TRANSPARENT        = NO
272
+DOT_MULTI_TARGETS      = NO
273
+GENERATE_LEGEND        = YES
274
+DOT_CLEANUP            = YES
275
+#---------------------------------------------------------------------------
276
+# Configuration::additions related to the search engine   
277
+#---------------------------------------------------------------------------
278
+SEARCHENGINE           = NO

+ 180
- 0
INSTALL View File

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

+ 23
- 0
Makefile.am View File

@@ -0,0 +1,23 @@
1
+SUBDIRS = doc extras karamba kshutdown kshutdownlockout pics po sounds
2
+EXTRA_DIST = admin AUTHORS COPYING INSTALL README Setup TODO VERSION ChangeLog kshutdown.lsm NEWS
3
+
4
+AUTOMAKE_OPTIONS = foreign
5
+
6
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
7
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
8
+
9
+$(top_srcdir)/subdirs:
10
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
11
+
12
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
13
+	cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
14
+
15
+MAINTAINERCLEANFILES = acinclude.m4 configure.files configure.in subdirs
16
+
17
+package-messages:
18
+	$(MAKE) -f admin/Makefile.common package-messages
19
+	$(MAKE) -C po merge
20
+
21
+dist-hook:
22
+	cd $(top_distdir) && perl admin/am_edit -padmin
23
+	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

+ 1
- 0
NEWS View File

@@ -0,0 +1 @@
1
+See: http://kshutdown.sourceforge.net/releases/

+ 33
- 0
README View File

@@ -0,0 +1,33 @@
1
+
2
+KShutDown is an advanced shut down utility for KDE.
3
+
4
+Odd numbers in version mean it's unstable/beta (e.g. 0.7.1, 0.9).
5
+Even numbers mean it's stable (e.g. 0.8, 0.10.5).
6
+
7
+FEATURES
8
+--------
9
+- Turn Off Computer (logout and halt the system)
10
+- Restart Computer (logout and reboot the system)
11
+- Lock Session (lock the screen using a screen saver)
12
+- End Current Session (end the current KDE session and logout the user)
13
+- Extras (additional, user commands)
14
+- Time and delay options
15
+- Command line and DCOP support
16
+- System tray and panel applet
17
+- Visual and sound notifications
18
+- KDE Kiosk support
19
+- And more...
20
+
21
+LINKS
22
+-----
23
+http://kshutdown.sourceforge.net  (Home Page)
24
+http://sourceforge.net/projects/kshutdown  (Project Page)
25
+http://freshmeat.net/projects/kshutdown  (freshmeat.net Page)
26
+http://www.kde-apps.org/content/show.php?content=9754  (KDE-Apps.org Page)
27
+http://www.kde.org  (KDE Home Page)
28
+
29
+COPYRIGHT & LICENSE
30
+-------------------
31
+(C) Konrad Twardowski <kdtonline@poczta.onet.pl>
32
+KShutDown is licensed under the GNU General Public License (GPL)
33
+(http://www.gnu.org/licenses/gpl.html)

+ 266
- 0
Setup View File

@@ -0,0 +1,266 @@
1
+#!/bin/bash
2
+
3
+# TODO: 2.0: use kdialog
4
+
5
+META_FULL_NAME="KShutDown"
6
+META_VERSION="`cat VERSION`"
7
+
8
+#if [[ (("$TERM" == "dumb") || ("$TERM" == "xterm")) && ("${1}" != "--launch-in-konsole") ]]; then
9
+#	echo
10
+#	echo "Press Ctrl+C to exit $META_FULL_NAME installer"
11
+#	konsole --notabbar --notoolbar --workdir `dirname "${0}"` -T "$META_FULL_NAME Installer" -e ${0} --launch-in-konsole
12
+#	exit
13
+#fi
14
+
15
+# installation dirs
16
+DEFAULT_DIR=`kde-config --prefix`
17
+if [ -z "$DEFAULT_DIR" ]; then
18
+	DEFAULT_DIR="/usr"
19
+fi
20
+INSTALL_DIR="$DEFAULT_DIR"
21
+
22
+# colors
23
+DEF_C="\E[37;40m"
24
+KEY_C="\E[31;40m"
25
+
26
+# configure options
27
+CONFIGURE_OPTIONS=""
28
+FAST_COMPILATION="true"
29
+
30
+# i18n
31
+# english
32
+I18N_TITLE_DOCS="Documentation and License"
33
+I18N_TITLE_SETUP="Compilation and Installation"
34
+I18N_CHANGE_DIR="Change installation directory (prefix)"
35
+I18N_DISABLE_FAST="Disable fast compilation"
36
+I18N_ENABLE_FAST="Enable fast compilation"
37
+I18N_INSTALL="Install"
38
+I18N_LICENSE="License"
39
+I18N_NEWS="What's new? (q - quit)"
40
+I18N_PRESS_ENTER="Press <Enter> to exit"
41
+I18N_QUIT="Quit"
42
+I18N_THANKS="Thank you for using"
43
+I18N_MENU="K Menu: Accessories -> KShutDown"
44
+I18N_CONF_WITH="Configuring with"
45
+I18N_INST_FAILED="Installation failed!"
46
+I18N_COMP_FAILED="Compilation failed!"
47
+I18N_CONF_FAILED="Configuration failed!"
48
+I18N_COMP_START="Compiling..."
49
+I18N_MINU="       This may take a few minutes."
50
+I18N_MISSING_DEPEN1="Make sure you have installed the 'kdelibs-devel' package"
51
+I18N_MISSING_DEPEN2="       which is required to compile any KDE application."
52
+I18N_ENTER_DIR="Enter a new prefix"
53
+I18N_SETUP="Setup"
54
+I18N_README="Readme"
55
+
56
+# polish
57
+if [[ ("$LANG" == "pl_PL.UTF-8") || ("$LANG" == "pl_PL") || ("$LANG" == "pl") ]]; then
58
+	I18N_TITLE_DOCS="Dokumentacja i licencja"
59
+	I18N_TITLE_SETUP="Kompilacja i instalacja"
60
+	I18N_CHANGE_DIR="Zmien katalog instalacji (prefix)"
61
+	I18N_DISABLE_FAST="Wylacz szybka kompilacje"
62
+	I18N_ENABLE_FAST="Wlacz szybka kompilacje"
63
+	I18N_INSTALL="Instaluj"
64
+	I18N_LICENSE="Licencja"
65
+	I18N_NEWS="Co nowego? (q - wyjscie)"
66
+	I18N_PRESS_ENTER="Nacisnij <Enter>, aby wyjsc"
67
+	I18N_QUIT="Zakoncz"
68
+	I18N_THANKS="Dziekujemy za uzycie"
69
+	I18N_MENU="Menu K: Akcesoria -> KShutDown"
70
+	I18N_CONF_WITH="Konfigurowanie z"
71
+	I18N_INST_FAILED="Instalacja nie powiodla sie!"
72
+	I18N_COMP_FAILED="Kompilacja nie powiodla sie!"
73
+	I18N_CONF_FAILED="Konfiguracja nie powiodla sie!"
74
+	I18N_COMP_START="Kompilowanie..."
75
+	I18N_MINU="       To moze potrwac kilka minut."
76
+	I18N_MISSING_DEPEN1="Upewnij sie, ze masz zainstalowana paczke 'kdelibs-devel',"
77
+	I18N_MISSING_DEPEN2="            ktora jest wymagana do kompilacji jakiejkolwiek aplikacji KDE."
78
+	I18N_ENTER_DIR="Wprowadz nowy prefix"
79
+	I18N_SETUP="Instalator"
80
+	I18N_README="Przeczytaj (readme)"
81
+fi
82
+
83
+#italian
84
+if [[ ("$LANG" == "it_IT.UTF-8") || ("$LANG" == "it_IT") || ("$LANG" == "it") ]]; then
85
+	I18N_TITLE_DOCS="Documentazione e Licenza"
86
+	I18N_TITLE_SETUP="Compilazione ed Installazione"
87
+	I18N_CHANGE_DIR="Cambia la cartella di destinazione (prefix)"
88
+	I18N_DISABLE_FAST="Disabilita compilazione veloce"
89
+	I18N_ENABLE_FAST="Abilita compilazione veloce"
90
+	I18N_INSTALL="Installa"
91
+	I18N_LICENSE="Licenza"
92
+	I18N_NEWS="Cosa c'è di nuovo? (q - esci)"
93
+	I18N_PRESS_ENTER="Premi <Enter> per uscire"
94
+	I18N_QUIT="Esci"
95
+	I18N_THANKS="Grazie di usare"
96
+	I18N_MENU="Menu K: Accessori -> KShutDown"
97
+	I18N_CONF_WITH="Configurazione con"
98
+	I18N_INST_FAILED="Installazione fallita!"
99
+	I18N_COMP_FAILED="Compilazione fallita!"
100
+	I18N_CONF_FAILED="Configurazione fallita!"
101
+	I18N_COMP_START="Compilazione..."
102
+	I18N_MINU="       Per questo potrebbero volerci alcuni minuti."
103
+	I18N_MISSING_DEPEN1="Assicurati di aver installato il pacchetto 'kdelibs-devel'"
104
+	I18N_MISSING_DEPEN2="       che è necessario per compilare ogni applicazione KDE."
105
+	I18N_ENTER_DIR="Inserisci una nuova destinazione"
106
+	I18N_SETUP="Installazione"
107
+	I18N_README="Leggimi"
108
+fi
109
+# internal functions
110
+
111
+ks_kill()
112
+{
113
+	echo
114
+	echo
115
+	echo "$I18N_SETUP: ${1}"
116
+	echo
117
+	echo "$I18N_PRESS_ENTER"
118
+	read
119
+	ks_quit 1
120
+}
121
+
122
+ks_quit()
123
+{
124
+	ks_reset
125
+	exit ${1}
126
+}
127
+
128
+ks_reset()
129
+{
130
+	tput sgr0
131
+}
132
+
133
+ks_show_finish_info()
134
+{
135
+	echo
136
+	echo "$I18N_THANKS $META_FULL_NAME!"
137
+	echo "  The $META_FULL_NAME Team"
138
+	echo
139
+	echo "HOW TO RUN?"
140
+	echo
141
+	echo "$I18N_MENU"
142
+	echo "Command: kshutdown"
143
+	echo "Command line options: kshutdown --help"
144
+	echo
145
+	echo -e "$I18N_PRESS_ENTER"
146
+	read
147
+}
148
+
149
+ks_show_menu()
150
+{
151
+	echo -e "$DEF_C"
152
+	clear
153
+	echo
154
+	echo
155
+	echo "				 $I18N_SETUP"
156
+	echo "				$META_FULL_NAME $META_VERSION"
157
+	echo
158
+	echo
159
+	echo -e "    ${KEY_C}${I18N_TITLE_SETUP}${DEF_C}"
160
+	echo -e "    [${KEY_C}i${DEF_C}] $I18N_INSTALL (./configure --prefix=${INSTALL_DIR}, make, kdesu -c \"make install\")"
161
+	echo -e "    [${KEY_C}p${DEF_C}] $I18N_CHANGE_DIR"
162
+	if [ -n "$FAST_COMPILATION" ]; then
163
+		echo -e "    [${KEY_C}f${DEF_C}] $I18N_DISABLE_FAST";
164
+	else
165
+		echo -e "    [${KEY_C}f${DEF_C}] $I18N_ENABLE_FAST (--enable-final)";
166
+	fi
167
+	echo
168
+	echo -e "    ${KEY_C}${I18N_TITLE_DOCS}${DEF_C}"
169
+	echo -e "    [${KEY_C}n${DEF_C}] $I18N_NEWS"
170
+	echo -e "    [${KEY_C}l${DEF_C}] $I18N_LICENSE (GNU GPL)"
171
+	echo -e "    [${KEY_C}r${DEF_C}] $I18N_README"
172
+	echo
173
+	echo -e "    [${KEY_C}q${DEF_C}] $I18N_QUIT"
174
+	echo
175
+	echo
176
+	echo "    http://kshutdown.sourceforge.net"
177
+}
178
+
179
+while [ 1 ]; do
180
+	ks_show_menu
181
+	# wait for a single key
182
+	read -n 1 -s
183
+
184
+	# install
185
+	if [[ ("$REPLY" == "i") || ( "$REPLY" == "I" ) ]]; then
186
+		if [ -n "$FAST_COMPILATION" ]; then
187
+			CONFIGURE_OPTIONS="--prefix=${INSTALL_DIR} --enable-final";
188
+		else
189
+			CONFIGURE_OPTIONS="--prefix=${INSTALL_DIR}";
190
+		fi
191
+		echo
192
+		echo "$I18N_SETUP: $I18N_CONF_WITH '$CONFIGURE_OPTIONS'..."
193
+		echo
194
+		# configure
195
+		if ! [ -f ./configure ]; then
196
+			make -f admin/Makefile.common cvs
197
+		fi
198
+		if ./configure $CONFIGURE_OPTIONS; then
199
+			echo "$I18N_SETUP: $I18N_COMP_START"
200
+			echo "$I18N_MINU"
201
+			if make; then
202
+				if [ -w "${INSTALL_DIR}" ]; then
203
+					if make install; then
204
+						ks_show_finish_info
205
+						ks_quit
206
+					else
207
+						ks_kill "$I18N_INST_FAILED"
208
+					fi
209
+				else
210
+					if kdesu -c "make install"; then
211
+						ks_show_finish_info
212
+						ks_quit
213
+					else
214
+						ks_kill "$I18N_INST_FAILED"
215
+					fi
216
+				fi
217
+			else
218
+				ks_kill "$I18N_COMP_FAILED"
219
+			fi
220
+		else
221
+			echo
222
+			echo
223
+			echo "$I18N_SETUP: $I18N_MISSING_DEPEN1"
224
+			echo "$I18N_MISSING_DEPEN2"
225
+			ks_kill "$I18N_CONF_FAILED"
226
+		fi
227
+		ks_quit
228
+
229
+	# prefix
230
+	elif [[ ("$REPLY" == "p") || ( "$REPLY" == "P" ) ]]; then
231
+		echo
232
+		echo "$I18N_ENTER_DIR [${DEFAULT_DIR}]: "
233
+		read -e
234
+		if [ -z "$REPLY" ]; then
235
+			REPLY="$DEFAULT_DIR"
236
+		fi
237
+		INSTALL_DIR="$REPLY"
238
+
239
+	# toggle fast compilation
240
+	elif [[ ("$REPLY" == "f") || ( "$REPLY" == "F" ) ]]; then
241
+		if [ -z "$FAST_COMPILATION" ]; then
242
+			FAST_COMPILATION="true";
243
+		else
244
+			FAST_COMPILATION="";
245
+		fi
246
+
247
+	# news
248
+	elif [[ ("$REPLY" == "n") || ( "$REPLY" == "N" ) ]]; then
249
+		less "NEWS"
250
+
251
+	# license
252
+	elif [[ ("$REPLY" == "l") || ( "$REPLY" == "L" ) ]]; then
253
+		less "COPYING"
254
+
255
+	# readme
256
+	elif [[ ("$REPLY" == "r") || ( "$REPLY" == "R" ) ]]; then
257
+		less "README"
258
+
259
+	# quit
260
+	elif [[ ("$REPLY" == "q") || ( "$REPLY" == "Q" ) ]]; then
261
+		ks_reset
262
+		clear
263
+		exit
264
+	fi
265
+
266
+done

+ 55
- 0
TODO View File

@@ -0,0 +1,55 @@
1
+
2
+IDEAS FROM KDE-APPS.ORG (http://kde-apps.org/content/show.php?content=9754)
3
+-----------------------
4
+
5
+- by MasterD  on: 01/22/2006, 15:26
6
+  "Maybe you could add under "Extras" an option called "Beep warning" or
7
+  something like that. So there will be an loud beep at this time you had set.
8
+  So if you work on your computer hard and you forget the time there will be
9
+  an beep and then you know that you wanted to do something."
10
+
11
+- by aaron-koensgen  on: 05/08/2006, 14:55
12
+  "(...) What about shutting down the computer when the CPU usage goes under
13
+  a certain level? I know this function from a windows program which is similar
14
+  to your application.
15
+  (see http://us.jpa-software.de/cms/index.php?option=content&task=view&id=7&Itemid=26)
16
+
17
+- "Reboot choice"
18
+  https://sourceforge.net/tracker/?func=detail&atid=605273&aid=1484842&group_id=93707
19
+
20
+- by DigitalCyanide  on: 07/05/2004, 8:39
21
+  "How about adding "Console Mode" to the options? Saw this in one of the
22
+  Distro's a long time ago where the logout dialog had "End Session",
23
+  "Console Mode", "Turn Off", and "Restart". Kinda miss just being able
24
+  to go to init 3 without having end session, then going to another vc to
25
+  issue the init 3 (when you want to be graceful about it). Could just
26
+  have the ability to add it as a user command rather than just edit
27
+  existing commands too."
28
+
29
+- by Yaba  on: 07/20/2004, 7:44
30
+  "What would be really great would be an option to be able to tell grub
31
+  which configuration to boot on the next boot."
32
+  /* lilo too */
33
+
34
+- by zero  on: 12/02/2004, 1:35
35
+  "(...)add that grayed-out background effect
36
+  like when KDE logout is selected from the main menu(...)"
37
+
38
+- by Superstoned  on: 04/06/2005, 15:27
39
+  "hey, someone asked for a way to auto-logout after a certain time of inactivity."
40
+
41
+- by klj  on: 11/13/2005, 16:40
42
+  "(...) What I would really like to see was some kind of interaction with the bootloader, so it would be possible to reboot directy to windows/other distro without having to wait and choose it manually at boot."
43
+
44
+MISC. TODOS
45
+-----------
46
+
47
+- Grep for "FIXME" and "TODO" in *.cpp/*.h files
48
+- GDM/GNOME support
49
+- Add to KDE Extra Gear (KDE Base?)
50
+- "remote reboot and shutdown, maybe using ssh" (Giovanni Venturi)
51
+- Web interface? (probably via https)
52
+- System suspend (shutdown+z)
53
+- Shut down notification sent via KMail or IM/Kopete
54
+- Kopete plugin (shutdown via Jabber ;-)
55
+- Killing the specified application/process at the selected time

+ 1
- 0
VERSION View File

@@ -0,0 +1 @@
1
+1.0.4

+ 11809
- 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])

+ 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