Browse Source

Added Lipstik theme engine


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-style-lipstik@1089389 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tpearson 9 years ago
commit
67fe54c936
32 changed files with 18839 additions and 0 deletions
  1. 52
    0
      AUTHORS
  2. 19
    0
      BUGS
  3. 340
    0
      COPYING
  4. 238
    0
      ChangeLog
  5. 86
    0
      INSTALL
  6. 26
    0
      Makefile.am
  7. 14
    0
      Makefile.dist
  8. 1
    0
      NEWS
  9. 39
    0
      README
  10. 20
    0
      TODO
  11. 10870
    0
      acinclude.m4
  12. 863
    0
      aclocal.m4
  13. 196
    0
      config.h.in
  14. 316
    0
      config.log
  15. 2
    0
      configure.files
  16. 77
    0
      configure.in
  17. 3
    0
      configure.in.in
  18. 59
    0
      lipstik.spec
  19. 0
    0
      stamp-h.in
  20. 25
    0
      style/Makefile.am
  21. 12
    0
      style/config/Makefile.am
  22. 764
    0
      style/config/lipstikconf.cpp
  23. 157
    0
      style/config/lipstikconf.h
  24. 4107
    0
      style/lipstik.cpp
  25. 404
    0
      style/lipstik.h
  26. 7
    0
      style/lipstik.themerc
  27. 27
    0
      style/lipstiknoble.kcsrc
  28. 26
    0
      style/lipstikstandard.kcsrc
  29. 26
    0
      style/lipstikwhite.kcsrc
  30. 38
    0
      style/misc.cpp
  31. 24
    0
      style/misc.h
  32. 1
    0
      subdirs

+ 52
- 0
AUTHORS View File

@@ -0,0 +1,52 @@
1
+----- LIPSTIK
2
+Maintainer:
3
+  Patrice Trembay <tremblaypatrice AT yahoo DOT fr>
4
+  on kde-[look/apps].org : PaT
5
+  http://www.poplix.info/lipstik (Online March 2006)
6
+
7
+There is some code in lipstik based on the following sources :
8
+ Thanks to all these authors!
9
+
10
+ - Comix style for KDE (Jens Luetkens)
11
+ - PlastikQ style for KDE (Martin Beck)
12
+ - Krisp style for KDE (Keith Meehl)
13
+ - Ballistik (thanks to Florian Merz)
14
+ - Kerastik (thanks to Victor Perez Q)
15
+ - DotNET (thanks to Chris Lee)
16
+ - Polyester (thanks Marco Martin)
17
+ - and many other sources of inspiration (qtcurvem, keramik, tiblit, etc.)!
18
+
19
+----- PLASTIK
20
+Maintainer:
21
+  Sandro Giessl <ceebx AT users DOT sourceforge DOT net>
22
+
23
+Patch: smaller rounded edges for listview headers:
24
+  Vincent Wagelaar <vincent AT ricardis DOT tudelft DOT nl>
25
+
26
+Patch: for tool buttons (fix for korns KornButton; tool buttons of qt apps
27
+       behave like tool buttons of kde apps.)
28
+  Bernardo Hung <deciare AT gta DOT igs DOT net>
29
+
30
+Widget Style:
31
+---------------------------------------------------------------------------
32
+"Plastik" is based on the excellent clean code of the kde style "dotNET";
33
+Some code adopted from the "Keramik" kde style. Thanks!
34
+--- original dotNET Credits: ----------------------------------------------
35
+ Copyright (C) 2001-2002, Chris Lee <clee@kde.org>
36
+                          Carsten Pfeiffer <pfeiffer@kde.org>
37
+                          Karol Szwed <gallium@kde.org>
38
+ Drawing routines completely reimplemented from KDE3 HighColor, which was
39
+ originally based on some stuff from the KDE2 HighColor.
40
+--- original Keramik Credits: ---------------------------------------------
41
+ Copyright (c) 2002 Malte Starostik <malte@kde.org>
42
+           (c) 2002,2003 Maksim Orlovich <mo002j@mail.rochester.edu>
43
+ based on the KDE3 HighColor Style
44
+ Copyright (C) 2001-2002 Karol Szwed      <gallium@kde.org>
45
+           (C) 2001-2002 Fredrik Hoeglund  <fredrik@kde.org>
46
+ Drawing routines adapted from the KDE2 HCStyle,
47
+ Copyright (C) 2000 Daniel M. Duley       <mosfet@kde.org>
48
+           (C) 2000 Dirk Mueller          <mueller@kde.org>
49
+           (C) 2001 Martijn Klingens      <klingens@kde.org>
50
+ Progressbar code based on KStyle,
51
+ Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
52
+---------------------------------------------------------------------------

+ 19
- 0
BUGS View File

@@ -0,0 +1,19 @@
1
+#1 : On really small buttons, the focus rectangle looks strange. (Not only my fault, though, 
2
+     same happens in almost every style I've tried.) Ill try to come up with something else 
3
+     for the focus indication.
4
+
5
+#2 : When you first select this style, some apps, like kicker, wont refresh all the settings. 
6
+     This is not really a bug in Lipstik, but it happens.
7
+     (Workaround : restart KDE, or just kicker by pressing ALT+F2 and 
8
+     type "dcop kicker Panel restart".
9
+
10
+#3 : Looking for a way to make the menu titles have the "unflatten" look even when the taskbar
11
+     is set to flat... (Dont know yet... Maybe qtcast for the menu class?)
12
+     UPDATE: Well, since the style is designed with KDE 3.5 in mind, and my flat kicker
13
+             buttons hack for older KDE versions is gone, the menu titles wont get the flat
14
+	     look, since that was a side-effect of this hack.
15
+     
16
+#4 : Find a way to highlight the kicker taskbar buttons when in flat mode... What is that about?
17
+     I can't remember :)
18
+
19
+#5 : Toolbar gradients quite suck ;)

+ 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
+                       51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  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.

+ 238
- 0
ChangeLog View File

@@ -0,0 +1,238 @@
1
+---01/10/2007---
2
+2.2.3 : For my PC-BSD friends...
3
+ --Add a configurable active tab highlight color.
4
+ --PC-BSD rocks! Try it!
5
+
6
+---17/02/2007---
7
+2.2.2 : After one year...
8
+ --Just a repackaging of the special Debian version.
9
+ --Updated the spec file for Fedora Core 6, thanks to Pramod Venugopal.
10
+ --Lipstik now has a home page (http://poplix.homelinux.com/lipstik).
11
+
12
+...I have a new version (2.3) locally but it will need some more testing
13
+   before I release it; Lipstik is still not dead after all ;)
14
+
15
+---28/02/2006---
16
+2.2.1 : Quick bug fix release.
17
+ --Trying things to get the build to work with GCC 4.1...
18
+ --Disabled by default the toolbar gradients (will need more work before it looks good...)
19
+
20
+---08/02/2006---
21
+2.2 : Sanity.
22
+I think the last release was not that good. Let me make it up to you with this one. Enjoy!
23
+ --Added the possibility to configure the spacing for menus from 0 (like Lipstik < 2.0) to 8 pixels. The default is 6.
24
+   (It replaces the space-saving menu option).
25
+ --While at it, bring back the toolbar item spacing from the dead, but this time working correctly and defaulted to off.
26
+   You can configure it from 0 to 6 pixels.
27
+ --Added a gradient option for toolbars.
28
+ --Replaced the boring "Alternative menu gradients" by "Button-like menu gradients". It renders the selected menu entry
29
+   like a button. (Inspiration comes from the incredible QtCurve.)
30
+ --Now, last release was just crazy with regards to default options. Sanitize it all.
31
+ --Updated the build system so it will be more compatible with more distros. If it breaks for you, e-mail me.
32
+ --Hopefully fixed a couple of building bugs with the myriad of GCC compilers out there.
33
+ --Fixed a couple of rendering bugs (especially with toolbar/dock handles).
34
+ --Tweaked Lipstik Noble color-scheme a bit.
35
+ --NOTE: If you switch "Plastik gradients" on and wonder why the toolbar gradients look inverted, uncheck the
36
+	 "Invert gradients" in the Toolbars configuration group. (By the way, try it, Lipstik looks best this way, and 
37
+	 with the Noble color scheme too :).
38
+ 
39
+---24/01/2006---
40
+2.1.1 : Never released finally...
41
+
42
+---10/12/2005---
43
+2.1 : Are we there yet?
44
+Some small fixes, a new option and hopefully, the last release this year :)
45
+ --Fix for the toolbar separator not being the right color.
46
+ --Added an option to "compress" menus. (Space saving menus).
47
+ --The default checkmarks/radiobuttons color is now the highlighting color.
48
+
49
+---08/12/2005---
50
+2.0 : Done.
51
+Here we go. The final major Lipstik release. 
52
+I tried to include many of the suggestions I received over time, most of them really good ideas! Thanks to all of you!
53
+See ya soon!
54
+
55
+ --Finally found a way to make Mouse Hover Highlighting work on TabBar buttons. (Yay!!!)
56
+ --Fixed the bug where you would choose a custom color in the config panel and it would not take effect 
57
+   immediately. (Yay!!!)
58
+ --A nice suggestion from morteoh: add more breathing room between menu items (vertical space). Menus now look
59
+   a lot less crammed and cluttered.
60
+ --Added the option to use a flat menu stripe.
61
+ --Small speed optimisations for mouse hover highlighting and in general.
62
+ --Fixed the disabled ticks (dont draw them colored if they are disabled!).
63
+ --Dont draw icon+pressed background for checked menu items with icons, draw the usual checkmark+pressed background only.
64
+ --Ligthened up the panels and box frames a bit, so they react more to contrast changes.
65
+ --Fix to get lighter separators, forgotten in the rewrite.
66
+ --Rewrote the INSTALL file so it is up to date.
67
+ --Fixed the SlackBuild script (and added a slack-desc file).
68
+ --Many other fixes...
69
+
70
+...Stay tuned, something completely new is coming in the next year, its gonna rok... ;)
71
+
72
+---06/12/2005---
73
+1.99.1 : Quick Fix.
74
+ --My computer's clock was set in the future! Some of you may have had troubles building. This will fix it.
75
+ --Fix for the "alternative menu gradient" not being consistent between plastik and lipstik style gradients.
76
+ --Fix for the scrollbars buttons gradient painting.
77
+ --Added my SlackBuild script while at it.
78
+
79
+---06/12/2005---
80
+1.99 : The Road to 2.0.
81
+Exactly one year after the Beta1 of Lipstik 1.0, here comes the Beta1 of Lipstik 2.0.
82
+A new tradition is born... A new Lipstik every christmas!
83
+The style still looks the same, but refined. Also, many options have been added and many
84
+bugs have been fixed. The performance should also be a bit better.
85
+
86
+Here's the Changelog:
87
+ --Complete rewrite. Resync with KDE 3.5 plastik sources.
88
+ --Added the possibility the configure the width of the scrollbars. (Small/Normal/Medium)
89
+ --Added active tab highlighting (configurable).
90
+ --Added a new experimental menu gradient style.
91
+ --Added a new configurable checkmark style. (The original "X" or a "V"/tick).
92
+ --The whole style should behave better with dark color schemes.
93
+ --The menu bar coloring is now configurable.
94
+ --Finer dots and better highlighting of the dots.
95
+ --Konqueror's sidebar tabs are now flat.
96
+ --Fixed the Sharper Menu Gradients option so it actually does something visible.
97
+ --Fixed kicker applet handles appearance.
98
+ --The default Menu Stripe color will now be taken from the window decoration background color (lightened up a bit).
99
+ --Fixed the "inactive menu item focus rectangle". Wow, try to figure what this is...
100
+ --Better focus rectangle by making it alphablended with the background.
101
+ --The style should play better with transparent menus. (No menu stripe though)
102
+ --Added a new color scheme (Lipstik Noble).
103
+ --And many more things I cant remember now...
104
+
105
+This a beta release, but it should be at least as good as Lipstik 1.3. Please test and report problems!
106
+Note: Since this style is designed with KDE 3.5 in mind, the flat taskbar buttons hack for older
107
+      KDEs is gone. If you still run an older KDE and absolutely want to get the flat taskbar buttons,
108
+      use Lipstik 1.3.
109
+ 
110
+---01/08/2005---
111
+1.3 : Bug-fixing mode.
112
+Thanks to many reports, I fixed many bugs in Lipstik...
113
+ --Fixed 3 bugs related to Radio buttons and Custom Menu Items, thanks to Sébastien Laoût.
114
+ --Fixed 2 bugs related to uninitialized variables.
115
+ --Fixed a bug related to larger spaces between toolbar items; since I dont want to lose
116
+   that feature, Ive added the option to enable/disable it in the config panel. (disabled by default).
117
+   Thanks to Gabor for the report.
118
+ --Fixed 3 compiler warnings about unused function members.
119
+ --Changed the "application menu mouse highlighting" from a rectangle to a gradient.
120
+   I think it fits better with the way the rest of the menus are displayed, and it is more consistent.
121
+   (and as a side-effect, it fixes Firefox menus with gtk-qt). This was suggested sometimes ago, I dont
122
+   remember by who...
123
+ --Added a spec file for rpm building, thanks to William Flynn.
124
+ --Not visible, but a big cleanup of the code in preparation for Lipstik 2.0
125
+
126
+---23/06/2005---
127
+1.2 : Solstice Edition.
128
+The "Lipstik is not dead" release. After almost 6 months (!!!) since the last release, here comes
129
+Lisptik 1.2, with cool new features and an even more clean look.
130
+ --The status bar in active konqueror views is white; that is ugly. Paint it like the rest.
131
+ --Lighter item and toolbars separators.
132
+ --Those who tried KDE 3.5 in SVN know how cool the taskbar looks. This is now available
133
+   for KDE 3.4!
134
+ --The column headers (like in listviews) were too busy. There is now an option to flatten them.
135
+ --Make the "splitters" highlighting look consistent with the rest of the style.
136
+ --Space the items on toolbars a little bit.
137
+ --Some changes to the defaults. (Nothing big.)
138
+
139
+---24/12/2004---
140
+1.1 : Christmas Edition :-)
141
+Just a little something for xmas.
142
+ --New menu stripe style, looks better I think.
143
+ --The new menu stripe solves the menus-in-gimp-look-like-crap bug.
144
+ --The menu stripe will now display the same gradient even if "Inverted gradients (plastik style)" is selected.
145
+ --The "Sharper menu gradients" option will now display a lot more sharper menu gradients. :)
146
+
147
+---16/12/2004---
148
+1.0 : Merry Christmas!
149
+No big changes, just small adjustments. This is lipstik 1.0. I hope to have time to
150
+code new features in 2005.
151
+ --Small bug with column headers fixed.
152
+ --Added the option to enable/disable the new style focus rectangle. (disabled by default)
153
+
154
+---12/12/2004---
155
+1.0 beta2 : Small tweaks...
156
+I dont have much time these days to work on lipstik, but here is a small update.
157
+ --You can now choose the slider hanlde size. (Small (as in plastik), Medium (like previous 
158
+   lipstik versions) and large (good for dragging in kmplayer).
159
+ --Dont show top and right borders on column headers.
160
+ --Better help in the INSTALL file.
161
+
162
+---6/12/2004---
163
+1.0 beta1 : Reaching the "Susan" stage :-)
164
+ --Completely redone the configuration panel.
165
+ --Fixed the position of dots on horizontal dockwindow.
166
+ --Toolbar handle mouseover highlighting.
167
+ --Popupmenu arrows are now using the button text color when normal, and highlight text color when selected.
168
+ --Arrow color on "colored combobox" is now the highlighted text color. (matching plastikq's behaviour)
169
+ --Adjusted arrow position on combobox handle.
170
+
171
+---3/12/2004---
172
+0.91 : Please test!
173
+There were some bugs in 0.90, they are fixed. Also there are some new features...
174
+ --Fixed dots everywhere. (scrollbars, toolbar handles, kicker applet handles, sliders, etc.)
175
+ --Scrollbars and sliders mouseover highlighting.
176
+ --Fixed the menu stripe. Color is now the same for enabled and disabled menu items. 
177
+ --Added an option to specify a custom menu stripe color. (Default is button color)
178
+ --Added an option to draw the scrollbar grooves.
179
+ --Better config panel layout.
180
+ --Fixed vertical slider handle.
181
+ --Some small updates to the Lisptik White color scheme.
182
+ --Many other smaller fixes I cant remember now...
183
+ 
184
+---1/12/2004---
185
+0.90 : Plastik wars! ;-)
186
+So many changes, I might forget some... If everything goes well, the 1.0 release will happen soon!
187
+ --There are now four types of scrollbars to choose from (KDE,Windows,Next,Platinum).
188
+ --Brand new configuration panel, with many new options, and a friendlier UI.
189
+ --Configurable highlighting : PlastikQ style combobox handle, kicker taskbar active button, focus rectangle...
190
+ --Configurable menu style : Dotnet/krisp-style stripe, sharper gradients...
191
+ --You can switch the status bar frame and the toolbar handles on and off.
192
+ --The toolbar handle looks better now. (lined up dots)
193
+ --Some other minor fixes...
194
+
195
+---29/11/2004---
196
+0.7 : Almost done!
197
+ --The vertical scrollbars are colored a bit more lighter, so they wont look weird anymore. (well, less weird)
198
+ --Only highlight the top and bottom of the active taskbar button. (more subtle)
199
+ --Fixed the "pressed button" gradients by... removing the gradients.
200
+ --Added 2 color schemes : Lipstik Standard, Lipstik White. (If you think you have a good color scheme for 
201
+   lipstik, please send it to me, I will include one or two submissions in the next release)
202
+ 
203
+---29/11/2004---
204
+0.6 : YALU :)
205
+ --The scrollbars arrows are now centered. (thanks tubatodd)
206
+ --Sync with plastik latest changes. (some fixes)
207
+ --There is now an option to display the "normal" plastik gradients. (look for "Reverse gradients (plastik style))
208
+ --Some other minor layout tweaks.
209
+
210
+---28/11/2004---
211
+0.5 : Almost there...
212
+ --The dots in the scrollbars are now centered. (thanks to Osho for reminding me)
213
+ --Scrollbar grooves are now filled with a solid color; I think it gives a better (faster?) indication of where we are,
214
+   and as a side-effect, it gives a cleaner look.
215
+ --Applied the latest fix from plastik cvs head version. (even less cpu usage for animated progress bars)
216
+ --The "default button" contour is now the highlight color; again it gives a faster indication of what is the default
217
+   button when you want to press Enter.
218
+
219
+---26/11/2004---
220
+0.4 : Its getting better.
221
+ --Gradients are now consistent between normal and sunken buttons.
222
+ --Modified highlighting a little.
223
+ --Sharper contrast for dots (toolbar handle, scroolbar handle, etc.)
224
+ --Changed the slider to have dots instead of lines, to be more consistent with the rest of the style.
225
+
226
+---26/11/2004---
227
+0.3 : Tuning.
228
+ --New focus rectangle (please tell what you think, its not definitive)
229
+ --Applied the fix for the listview branch display that is part of Andrunko "Improving KDE" patches.
230
+
231
+---25/11/2004---
232
+0.2 : Big changes...
233
+ --Now based on the latest plastik sources from kde cvs head, so you get, for free, all the latest fixes. (Less CPU usage,more options,etc.)
234
+ --Fixed the look of the scrollbars (both vertical and horizontal).
235
+ --Tweaked the toolbar handle a little bit.
236
+
237
+---25/11/2004---
238
+0.1 : Initial release.

+ 86
- 0
INSTALL View File

@@ -0,0 +1,86 @@
1
+----- First of all:
2
+
3
+If possible, and available, try a package built specifically for your 
4
+distribution...
5
+
6
+
7
+----- Building from sources:
8
+
9
+First make sure that you have both the QT and KDE development headers 
10
+installed. (qt and kdelibs devel)
11
+
12
+Then unpack the sources somewhere you have writing rights.
13
+
14
+In a terminal (konsole, xterm, eterm, etc.), type :
15
+
16
+    ./configure
17
+
18
+    make
19
+
20
+    (Then, as root):
21
+    make install
22
+
23
+--
24
+
25
+If any of these steps fail, do:
26
+    
27
+    make -f Makefile.dist
28
+
29
+It may help you build it. If it still fails, mail me.
30
+
31
+
32
+----- Bad configure = build failure...
33
+
34
+You might need to give 'configure' the path to your kde
35
+installation. eg: /usr, /opt/kde.
36
+
37
+    ./configure --prefix=/opt/kde
38
+
39
+--
40
+
41
+You can find your KDE base directory by typing kde-config --prefix
42
+
43
+--
44
+
45
+-------------------------------------------------------------------------------
46
+
47
+----- Debian notes: 
48
+
49
+You may need to append this to the configure line:
50
+    --prefix=/usr 
51
+
52
+And maybe this one:
53
+    --with-qt-includes=/usr/include/qt3
54
+
55
+
56
+----- Mandrake/Mandriva notes:
57
+
58
+Mandrake 10.0 uses KDE 3.2. I never tested lipstik against KDE 3.2 but it "should" work with
59
+some tweaking (see Debian notes).
60
+I dont have Mandrake around so I cant give more specific help for now, stay tuned.
61
+
62
+Mandriva (Mandrake's new name) is using more recent KDE releases. Lipstik should work
63
+out of the box there.
64
+
65
+
66
+----- moc troubles???
67
+
68
+Some people have reported that building fails with errors related to .moc files.
69
+ eg:
70
+    lipstikconf.cpp:479:27: lipstikconf.moc: No such file or directory
71
+
72
+If this happens to you, dont panic.
73
+In the source dir, there are style and style/config subdirs:
74
+ 
75
+ In the style dir do:
76
+    moc -o lipstik.moc lipstik.h
77
+
78
+ And then in the style/config subdir do
79
+    moc -o lipstikconf.moc lipstikconf.h
80
+
81
+Then run make again, it should work.
82
+
83
+
84
+----- Lipstik's build system sucks...
85
+
86
+It should suck less now... maybe...

+ 26
- 0
Makefile.am View File

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

+ 14
- 0
Makefile.dist View File

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

+ 1
- 0
NEWS View File

@@ -0,0 +1 @@
1
+see ChangeLog

+ 39
- 0
README View File

@@ -0,0 +1,39 @@
1
+#ABOUT
2
+This is Lipstik, a fast and clean KDE 3 style based on Plastik.
3
+
4
+It contains the following features :
5
+
6
+ Two widget gradients styles (Lipstik and Plastik's original),
7
+ A unique Menu Stripe style,
8
+ Many options to configure the active menu highlighting,
9
+ Configurable Sliders handles size,
10
+ Configurable Scrollbar handles width,
11
+ Different Toolbar handles for a less cluttered look,
12
+ More Mouse Hover effects,
13
+ Better focus rectangle,
14
+ Highly configurable colors,
15
+ Many options to configure the Scrollbar buttons disposition,
16
+ No more status bar frames...
17
+ 
18
+...and many other enhancements!
19
+
20
+#CREDITS
21
+This is based on the work of Sandro Giessl <ceebx@users.sourceforge.net> and 
22
+the author of kerastik from which I ripped the automake,configure,etc. 
23
+Im not quite sure yet but the author of kerastik seems to be "intirruphay".
24
+Please "intirruphay" tell me more so I can credit you for your work.
25
+
26
+#WHY?
27
+Well, I first distributed this "hack" on kde-look.org as a replacement for plastik, but
28
+some people convinced me to release it as a fully separated package.
29
+
30
+#WHY??
31
+Plastik looks good, I just wanted something different for Christmas.
32
+
33
+#NO, REALLY, WHY???
34
+I want peace in the world, and this is how Im gonna achieve this.
35
+
36
+#HOW DO I INSTALL THIS STYLE?
37
+PLEASE LOOK AT THE FILE CALLED "INSTALL" ...
38
+
39
+Have fun!

+ 20
- 0
TODO View File

@@ -0,0 +1,20 @@
1
+TODO:
2
+- I'm thinking of adding an option for shadows around widgets... We'll see.
3
+- Smooth scrolling in the QScrollViews is very nice.
4
+
5
+DONE:
6
+- How can I make the sunken taskbar button show the inverted gradient, like the rest of the style? [FIXED IN 0.4]
7
+- Maybe develop a better effect for focus rect. [FIXED IN 0.3 / RE-FIXED in 1.99]
8
+    **After some rude comments on kde-look I decided to put back the normal effect as default
9
+      for now, until I find a better way to do it.
10
+    UPDATE: Its back, but better, I hope.
11
+- Maybe put an option to use the normal plastik gradients, for people who like the normal plastik look, but also like
12
+  all the other fixes. [DONE IN 0.6]
13
+- Better gradient for the vertical scrollbar (looks weird right now) [FIXED IN 0.7 / LESS WEIRD]
14
+- Can I port the Mouse Over Highlight of the slider and scrollbar from MotifPlus to Lipstik? [DONE IN 0.91]
15
+- Menu arrows highlighting. [DONE IN 1.0 beta1]
16
+- Config panel fits on a 800x600 resolution. [DONE IN 1.0 beta1]
17
+- Dockwindow handle mouseover highlight. [DONE in 1.99]
18
+- Maybe i should put an option to show a tick instead of a cross in checkboxes. [DONE in 1.99]
19
+- Maybe some highlighting of the active tab? (Blue line at the top?) [DONE in 1.99]
20
+- Is there a way to "highlight on mouseover" the tab buttons (new tab, close tab)? [DONE in 2.0]

+ 10870
- 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.5 -*- 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.5])])
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])

+ 196
- 0
config.h.in View File

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

+ 316
- 0
config.log View File

@@ -0,0 +1,316 @@
1
+This file contains any messages produced by compilers while
2
+running configure, to aid debugging if configure makes a mistake.
3
+
4
+It was created by configure, which was
5
+generated by GNU Autoconf 2.59.  Invocation command line was
6
+
7
+  $ ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/opt/kde3 --mandir=${prefix}/share/man --infodir=${prefix}/share/info --disable-debug --enable-final --with-extra-libs=/opt/kde3/lib --with-extra-includes=/opt/kde3/include/kde
8
+
9
+## --------- ##
10
+## Platform. ##
11
+## --------- ##
12
+
13
+hostname = argus4
14
+uname -m = x86_64
15
+uname -r = 2.6.31-16-generic
16
+uname -s = Linux
17
+uname -v = #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009
18
+
19
+/usr/bin/uname -p = unknown
20
+/bin/uname -X     = unknown
21
+
22
+/bin/arch              = unknown
23
+/usr/bin/arch -k       = unknown
24
+/usr/convex/getsysinfo = unknown
25
+hostinfo               = unknown
26
+/bin/machine           = unknown
27
+/usr/bin/oslevel       = unknown
28
+/bin/universe          = unknown
29
+
30
+PATH: /opt/kde3/bin
31
+PATH: /opt/kde3/games
32
+PATH: /opt/kde3/bin
33
+PATH: /home/eldarion/bin
34
+PATH: /usr/local/sbin
35
+PATH: /usr/local/bin
36
+PATH: /usr/sbin
37
+PATH: /usr/bin
38
+PATH: /sbin
39
+PATH: /bin
40
+PATH: /usr/games
41
+
42
+
43
+## ----------- ##
44
+## Core tests. ##
45
+## ----------- ##
46
+
47
+configure:1543: checking build system type
48
+configure:1561: result: x86_64-pc-linux-gnu
49
+configure:1569: checking host system type
50
+configure:1583: result: x86_64-pc-linux-gnu
51
+configure:1591: checking target system type
52
+configure:1605: result: x86_64-pc-linux-gnu
53
+configure:1652: checking for a BSD-compatible install
54
+configure:1707: result: /usr/bin/install -c
55
+configure:1722: checking for -p flag to install
56
+configure:1735: result: yes
57
+configure:1746: checking whether build environment is sane
58
+
59
+## ---------------- ##
60
+## Cache variables. ##
61
+## ---------------- ##
62
+
63
+ac_cv_build=x86_64-pc-linux-gnu
64
+ac_cv_build_alias=x86_64-linux-gnu
65
+ac_cv_env_CC_set=
66
+ac_cv_env_CC_value=
67
+ac_cv_env_CFLAGS_set=set
68
+ac_cv_env_CFLAGS_value='-Wall -g -O2'
69
+ac_cv_env_CPPFLAGS_set=set
70
+ac_cv_env_CPPFLAGS_value=
71
+ac_cv_env_CPP_set=
72
+ac_cv_env_CPP_value=
73
+ac_cv_env_CXXCPP_set=
74
+ac_cv_env_CXXCPP_value=
75
+ac_cv_env_CXXFLAGS_set=set
76
+ac_cv_env_CXXFLAGS_value='-g -O2'
77
+ac_cv_env_CXX_set=
78
+ac_cv_env_CXX_value=
79
+ac_cv_env_LDFLAGS_set=set
80
+ac_cv_env_LDFLAGS_value=-Wl,-Bsymbolic-functions
81
+ac_cv_env_build_alias_set=set
82
+ac_cv_env_build_alias_value=x86_64-linux-gnu
83
+ac_cv_env_host_alias_set=set
84
+ac_cv_env_host_alias_value=x86_64-linux-gnu
85
+ac_cv_env_target_alias_set=
86
+ac_cv_env_target_alias_value=
87
+ac_cv_host=x86_64-pc-linux-gnu
88
+ac_cv_host_alias=x86_64-linux-gnu
89
+ac_cv_path_install='/usr/bin/install -c'
90
+ac_cv_target=x86_64-pc-linux-gnu
91
+ac_cv_target_alias=x86_64-linux-gnu
92
+
93
+## ----------------- ##
94
+## Output variables. ##
95
+## ----------------- ##
96
+
97
+ACLOCAL=''
98
+AMDEPBACKSLASH=''
99
+AMDEP_FALSE=''
100
+AMDEP_TRUE=''
101
+AMTAR=''
102
+ARTSCCONFIG=''
103
+AUTOCONF=''
104
+AUTODIRS=''
105
+AUTOHEADER=''
106
+AUTOMAKE=''
107
+AWK=''
108
+BROCKENBORING=''
109
+CC=''
110
+CCDEPMODE=''
111
+CFLAGS='-Wall -g -O2'
112
+CONF_FILES=''
113
+CPP=''
114
+CPPFLAGS=''
115
+CXX=''
116
+CXXCPP=''
117
+CXXDEPMODE=''
118
+CXXFLAGS='-g -O2'
119
+CYGPATH_W=''
120
+DCOPIDL2CPP=''
121
+DCOPIDL=''
122
+DCOP_DEPENDENCIES=''
123
+DEFS=''
124
+DEPDIR=''
125
+ECHO='echo'
126
+ECHO_C=''
127
+ECHO_N='-n'
128
+ECHO_T=''
129
+EGREP=''
130
+EXEEXT=''
131
+FRAMEWORK_COREAUDIO=''
132
+GMSGFMT=''
133
+INSTALL_DATA='${INSTALL} -m 644'
134
+INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
135
+INSTALL_SCRIPT='${INSTALL}'
136
+INSTALL_STRIP_PROGRAM=''
137
+KDECONFIG=''
138
+KDE_EXTRA_RPATH=''
139
+KDE_INCLUDES=''
140
+KDE_LDFLAGS=''
141
+KDE_MT_LDFLAGS=''
142
+KDE_MT_LIBS=''
143
+KDE_NO_UNDEFINED=''
144
+KDE_PLUGIN=''
145
+KDE_RPATH=''
146
+KDE_USE_CLOSURE_FALSE=''
147
+KDE_USE_CLOSURE_TRUE=''
148
+KDE_USE_FINAL_FALSE=''
149
+KDE_USE_FINAL_TRUE=''
150
+KDE_USE_NMCHECK_FALSE=''
151
+KDE_USE_NMCHECK_TRUE=''
152
+KDE_XSL_STYLESHEET=''
153
+LDFLAGS='-Wl,-Bsymbolic-functions'
154
+LIBCOMPAT=''
155
+LIBCRYPT=''
156
+LIBDL=''
157
+LIBJPEG=''
158
+LIBOBJS=''
159
+LIBPNG=''
160
+LIBPTHREAD=''
161
+LIBRESOLV=''
162
+LIBS=''
163
+LIBSM=''
164
+LIBSOCKET=''
165
+LIBTOOL=''
166
+LIBUCB=''
167
+LIBUTIL=''
168
+LIBZ=''
169
+LIB_KAB=''
170
+LIB_KABC=''
171
+LIB_KDECORE=''
172
+LIB_KDEPRINT=''
173
+LIB_KDEUI=''
174
+LIB_KFILE=''
175
+LIB_KFM=''
176
+LIB_KHTML=''
177
+LIB_KIO=''
178
+LIB_KPARTS=''
179
+LIB_KSPELL=''
180
+LIB_KSYCOCA=''
181
+LIB_POLL=''
182
+LIB_QPE=''
183
+LIB_QT=''
184
+LIB_SMB=''
185
+LIB_X11=''
186
+LIB_XEXT=''
187
+LN_S=''
188
+LTLIBOBJS=''
189
+MAKEINFO=''
190
+MCOPIDL=''
191
+MEINPROC=''
192
+MOC=''
193
+MSGFMT=''
194
+NOOPT_CFLAGS=''
195
+NOOPT_CXXFLAGS=''
196
+OBJEXT=''
197
+PACKAGE=''
198
+PACKAGE_BUGREPORT=''
199
+PACKAGE_NAME=''
200
+PACKAGE_STRING=''
201
+PACKAGE_TARNAME=''
202
+PACKAGE_VERSION=''
203
+PATH_SEPARATOR=':'
204
+QTE_NORTTI=''
205
+QT_INCLUDES=''
206
+QT_LDFLAGS=''
207
+RANLIB=''
208
+SET_MAKE=''
209
+SHELL='/bin/bash'
210
+STRIP=''
211
+TOPSUBDIRS=''
212
+UIC=''
213
+UIC_TR=''
214
+USER_INCLUDES=''
215
+USER_LDFLAGS=''
216
+USE_EXCEPTIONS=''
217
+USE_RTTI=''
218
+USE_THREADS=''
219
+VERSION=''
220
+WOVERLOADED_VIRTUAL=''
221
+XGETTEXT=''
222
+X_EXTRA_LIBS=''
223
+X_INCLUDES=''
224
+X_LDFLAGS=''
225
+X_PRE_LIBS=''
226
+X_RPATH=''
227
+ac_ct_CC=''
228
+ac_ct_CXX=''
229
+ac_ct_RANLIB=''
230
+ac_ct_STRIP=''
231
+all_includes=''
232
+all_libraries=''
233
+am__fastdepCC_FALSE=''
234
+am__fastdepCC_TRUE=''
235
+am__fastdepCXX_FALSE=''
236
+am__fastdepCXX_TRUE=''
237
+am__include=''
238
+am__leading_dot=''
239
+am__quote=''
240
+am__tar=''
241
+am__untar=''
242
+bindir='${exec_prefix}/bin'
243
+build='x86_64-pc-linux-gnu'
244
+build_alias='x86_64-linux-gnu'
245
+build_cpu='x86_64'
246
+build_os='linux-gnu'
247
+build_vendor='pc'
248
+datadir='${prefix}/share'
249
+exec_prefix='NONE'
250
+host='x86_64-pc-linux-gnu'
251
+host_alias='x86_64-linux-gnu'
252
+host_cpu='x86_64'
253
+host_os='linux-gnu'
254
+host_vendor='pc'
255
+include_ARTS_FALSE=''
256
+include_ARTS_TRUE=''
257
+includedir='${prefix}/include'
258
+infodir='${prefix}/share/info'
259
+install_sh=''
260
+kde_appsdir=''
261
+kde_bindir=''
262
+kde_confdir=''
263
+kde_datadir=''
264
+kde_htmldir=''
265
+kde_icondir=''
266
+kde_includes=''
267
+kde_libraries=''
268
+kde_libs_htmldir=''
269
+kde_libs_prefix=''
270
+kde_locale=''
271
+kde_mimedir=''
272
+kde_moduledir=''
273
+kde_qtver=''
274
+kde_servicesdir=''
275
+kde_servicetypesdir=''
276
+kde_sounddir=''
277
+kde_styledir=''
278
+kde_templatesdir=''
279
+kde_wallpaperdir=''
280
+kde_widgetdir=''
281
+kdeinitdir=''
282
+libdir='${exec_prefix}/lib'
283
+libexecdir='${exec_prefix}/libexec'
284
+localstatedir='${prefix}/var'
285
+mandir='${prefix}/share/man'
286
+mkdir_p=''
287
+oldincludedir='/usr/include'
288
+prefix='/opt/kde3'
289
+program_transform_name='s,x,x,'
290
+qt_includes=''
291
+qt_libraries=''
292
+sbindir='${exec_prefix}/sbin'
293
+sharedstatedir='${prefix}/com'
294
+sysconfdir='${prefix}/etc'
295
+target='x86_64-pc-linux-gnu'
296
+target_alias=''
297
+target_cpu='x86_64'
298
+target_os='linux-gnu'
299
+target_vendor='pc'
300
+x_includes='NONE'
301
+x_libraries='NONE'
302
+xdg_appsdir=''
303
+xdg_directorydir=''
304
+
305
+## ----------- ##
306
+## confdefs.h. ##
307
+## ----------- ##
308
+
309
+#define PACKAGE_BUGREPORT ""
310
+#define PACKAGE_NAME ""
311
+#define PACKAGE_STRING ""
312
+#define PACKAGE_TARNAME ""
313
+#define PACKAGE_VERSION ""
314
+
315
+configure: caught signal 2
316
+configure: exit 1

+ 2
- 0
configure.files View File

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

+ 77
- 0
configure.in View File

@@ -0,0 +1,77 @@
1
+dnl    This file is part of the KDE libraries/packages
2
+dnl    Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
3
+ 
4
+dnl    This file is free software; you can redistribute it and/or
5
+dnl    modify it under the terms of the GNU Library General Public
6
+dnl    License as published by the Free Software Foundation; either
7
+dnl    version 2 of the License, or (at your option) any later version.
8
+ 
9
+dnl    This library is distributed in the hope that it will be useful,
10
+dnl    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+dnl    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
+dnl    Library General Public License for more details.
13
+ 
14
+dnl    You should have received a copy of the GNU Library General Public License
15
+dnl    along with this library; see the file COPYING.LIB.  If not, write to
16
+dnl    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
+dnl    Boston, MA 02110-1301, USA.
18
+
19
+# Original Author was Kalle@kde.org
20
+# I lifted it in some mater. (Stephan Kulow)
21
+# I used much code from Janos Farkas
22
+
23
+dnl Process this file with autoconf to produce a configure script.
24
+
25
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
26
+
27
+dnl This is so we can use kde-common
28
+AC_CONFIG_AUX_DIR(admin)
29
+
30
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
31
+unset CDPATH
32
+
33
+dnl Checking host/target/build systems, for make, install etc.
34
+AC_CANONICAL_SYSTEM 
35
+dnl Perform program name transformation
36
+AC_ARG_PROGRAM
37
+
38
+dnl Automake doc recommends to do this only here. (Janos)
39
+AM_INIT_AUTOMAKE(lipstik, 0.1) dnl searches for some needed programs
40
+
41
+KDE_SET_PREFIX
42
+
43
+dnl generate the config header
44
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
45
+
46
+dnl Checks for programs.
47
+AC_CHECK_COMPILERS
48
+AC_ENABLE_SHARED(yes)
49
+AC_ENABLE_STATIC(no)
50
+KDE_PROG_LIBTOOL
51
+
52
+dnl for NLS support. Call them in this order!
53
+dnl WITH_NLS is for the po files
54
+AM_KDE_WITH_NLS
55
+
56
+KDE_USE_QT(3)
57
+AC_PATH_KDE
58
+#MIN_CONFIG(3)
59
+
60
+dnl PACKAGE set before
61
+KDE_CREATE_SUBDIRSLIST
62
+AC_CONFIG_FILES([ Makefile ])
63
+AC_CONFIG_FILES([ style/Makefile ])
64
+AC_CONFIG_FILES([ style/config/Makefile ])
65
+AC_OUTPUT
66
+if test "$all_tests" = "bad"; then
67
+  if test ! "$cache_file" = "/dev/null"; then
68
+    echo ""    
69
+    echo "Please remove the file $cache_file after changing your setup"
70
+    echo "so that configure will find the changes next time."
71
+    echo ""
72
+  fi
73
+else
74
+  echo ""
75
+  echo "Good - your configure finished. Start make now"
76
+  echo ""
77
+fi

+ 3
- 0
configure.in.in View File

@@ -0,0 +1,3 @@
1
+#MIN_CONFIG(3)
2
+
3
+AM_INIT_AUTOMAKE(lipstik, 0.1)

+ 59
- 0
lipstik.spec View File

@@ -0,0 +1,59 @@
1
+Summary: lipstik theme for KDE
2
+Name: lipstik
3
+Version: 2.2.3
4
+Release: 1
5
+Source: %{name}-%{version}.tar.bz2
6
+URL: http://www.kde-look.org/content/show.php?content=18223
7
+Vendor: poplixos (at) gmail.com
8
+License: GPL
9
+Group: System/GUI/KDE
10
+Packager: William Flynn <wdf@sifr.net>
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
+BuildRequires: kdelibs >= 3.0
13
+Requires: kdelibs >= 3.0
14
+
15
+%description
16
+Lipstik is a fast and clean style with many options to tune your desktop look.
17
+
18
+%prep
19
+%setup -q
20
+
21
+%build
22
+./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
23
+make
24
+
25
+%install 
26
+make install prefix=$RPM_BUILD_ROOT/usr
27
+
28
+%clean
29
+rm -rf $RPM_BUILD_ROOT
30
+
31
+%files
32
+%defattr(0644, root, root)
33
+/usr/lib/kde3/kstyle_lipstik_config.la
34
+/usr/lib/kde3/kstyle_lipstik_config.so
35
+/usr/lib/kde3/plugins/styles/lipstik.la
36
+/usr/lib/kde3/plugins/styles/lipstik.so
37
+/usr/share/apps/kstyle/themes/lipstik.themerc
38
+/usr/share/apps/kdisplay/color-schemes/lipstikstandard.kcsrc
39
+/usr/share/apps/kdisplay/color-schemes/lipstikwhite.kcsrc
40
+/usr/share/apps/kdisplay/color-schemes/lipstiknoble.kcsrc
41
+
42
+%changelog
43
+* Mon Oct 01 2007 Patrice Tremblay
44
+Version 2.2.3, for my PC-BSD friends... :
45
+- Add a configurable active tab highlight color.
46
+
47
+* Sat Feb 17 2007 Patrice Tremblay
48
+Version 2.2.2, based on the special release for Debian, 2.2.1, which 
49
+was never announced:
50
+- A tweak in the build system.
51
+- An updated spec file thanks Pramod Venugopal
52
+- Toolbar gradients are now off by default.
53
+
54
+* Wed Jan 31 2007 Pramod Venugopal
55
+Updated Spec file for FC6 with the following:
56
+- Changed dependencies to reflect FC6 packages
57
+- Changed prefix in configure script to point to default locations
58
+- Changed prefix in install to lowercase and to point to usr
59
+- Changed files to reflect new locations

+ 0
- 0
stamp-h.in View File


+ 25
- 0
style/Makefile.am View File

@@ -0,0 +1,25 @@
1
+AUTOMAKE_OPTIONS = foreign
2
+
3
+SUBDIRS = config
4
+
5
+KDE_CXXFLAGS = -DQT_PLUGIN
6
+
7
+INCLUDES = $(all_includes)
8
+
9
+stylercdir = $(kde_datadir)/kstyle/themes
10
+stylerc_DATA = lipstik.themerc
11
+
12
+colorshemedir = $(kde_datadir)/kdisplay/color-schemes
13
+colorsheme_DATA = lipstikstandard.kcsrc lipstikwhite.kcsrc lipstiknoble.kcsrc
14
+
15
+EXTRA_DIST = $(stylerc_DATA)
16
+
17
+noinst_HEADERS = lipstik.h misc.h
18
+
19
+kde_style_LTLIBRARIES = lipstik.la
20
+lipstik_la_SOURCES = lipstik.cpp misc.cpp
21
+lipstik_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
22
+lipstik_la_LIBADD = -lkdefx
23
+lipstik_la_METASOURCES = AUTO
24
+
25
+DISTCLEANFILES = $(lipstik_la_METASOURCES)

+ 12
- 0
style/config/Makefile.am View File

@@ -0,0 +1,12 @@
1
+INCLUDES = $(all_includes)
2
+
3
+noinst_HEADERS = lipstikconf.h
4
+kde_module_LTLIBRARIES = kstyle_lipstik_config.la
5
+kstyle_lipstik_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
6
+kstyle_lipstik_config_la_LIBADD  = $(LIB_KDEUI)
7
+kstyle_lipstik_config_la_SOURCES = lipstikconf.cpp
8
+kstyle_lipstik_config_la_METASOURCES = AUTO
9
+
10
+
11
+messages:
12
+	$(XGETTEXT) *.cpp *.h -o $(podir)/kstyle_lipstik_config.pot

+ 764
- 0
style/config/lipstikconf.cpp View File

@@ -0,0 +1,764 @@
1
+/*
2
+Copyright (C) 2004-2007 Patrice Tremblay <tremblaypatrice@yahoo.fr>
3
+			http://www.poplix.info/lipstik
4
+
5
+based on plastik:
6
+Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net>
7
+
8
+based on the Keramik configuration dialog:
9
+Copyright (c) 2003 Maksim Orlovich <maksim.orlovich@kdemail.net>
10
+
11
+Permission is hereby granted, free of charge, to any person obtaining a
12
+copy of this software and associated documentation files (the "Software"),
13
+to deal in the Software without restriction, including without limitation
14
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
+and/or sell copies of the Software, and to permit persons to whom the
16
+Software is furnished to do so, subject to the following conditions:
17
+
18
+The above copyright notice and this permission notice shall be included in
19
+all copies or substantial portions of the Software.
20
+
21
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
24
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
+DEALINGS IN THE SOFTWARE.
28
+
29
+*/
30
+
31
+#include <qcheckbox.h>
32
+#include <qlayout.h>
33
+#include <qhbox.h>
34
+#include <qsettings.h>
35
+#include <qcolor.h>
36
+#include <qlabel.h>
37
+#include <qcombobox.h>
38
+#include <kglobal.h>
39
+#include <klocale.h>
40
+#include <kcolorbutton.h>
41
+#include <qtabwidget.h>
42
+#include <qvgroupbox.h>
43
+#include <qspinbox.h>
44
+#include <qgrid.h>
45
+
46
+#include "lipstikconf.h"
47
+
48
+extern "C"
49
+{
50
+	QWidget* allocate_kstyle_config(QWidget* parent)
51
+	{
52
+		KGlobal::locale()->insertCatalogue("kstyle_lipstik_config");
53
+		return new LipstikStyleConfig(parent);
54
+	}
55
+}
56
+
57
+LipstikStyleConfig::LipstikStyleConfig(QWidget* parent): QWidget(parent)
58
+{
59
+	QVBoxLayout* layout = new QVBoxLayout(this, 0, 0);
60
+	QGridLayout* tabLayout = new QGridLayout(this, 2, 1, 10);
61
+
62
+	KGlobal::locale()->insertCatalogue("kstyle_lipstik_config");
63
+
64
+	///Init tabs
65
+	QTabWidget *tabWidget = new QTabWidget(this);
66
+	layout->addWidget(tabWidget);
67
+
68
+	///Init tab1 
69
+	QWidget *page1 = new QWidget(tabWidget);
70
+        layout = new QVBoxLayout(page1);
71
+	tabWidget->insertTab(page1, i18n("Configuration"));
72
+	layout->addLayout(tabLayout);	
73
+
74
+	///General group
75
+	QVGroupBox *generalGrp = new QVGroupBox(i18n("General"), page1);
76
+
77
+	reverseGradients = new QCheckBox(i18n("Plastik gradients"), generalGrp );
78
+	drawTriangularExpander = new QCheckBox(i18n("Triangular tree expander"), generalGrp);
79
+	drawStatusBarFrame = new QCheckBox(i18n("Draw status bar frame"), generalGrp);
80
+	animateProgressBar = new QCheckBox(i18n("Animate progress bars"), generalGrp);
81
+	flatHeaders = new QCheckBox(i18n("Flatten column headers"), generalGrp);
82
+	tickCheckMark = new QCheckBox(i18n("Use a tick for checkmarks"), generalGrp);
83
+
84
+	tabLayout->addWidget(generalGrp,0,0,0);
85
+
86
+	///Toolbar group
87
+	QVGroupBox *toolbarGrp = new QVGroupBox(i18n("Toolbars"), page1);
88
+	QLabel* toolBarSpacingLabel;
89
+
90
+	drawToolBarSeparator = new QCheckBox(i18n("Draw separators"), toolbarGrp);
91
+	drawToolBarItemSeparator = new QCheckBox(i18n("Draw item separators"), toolbarGrp);
92
+	drawToolBarHandle = new QCheckBox(i18n("Draw handles"), toolbarGrp);
93
+	drawToolBarGradient = new QCheckBox(i18n("Draw gradients"), toolbarGrp);
94
+	invertBarGrad = new QCheckBox(i18n("Invert gradients"), toolbarGrp);
95
+
96
+        toolBarSpacingLabel = new QLabel(toolbarGrp);
97
+        toolBarSpacingLabel->setText(i18n("Items spacing :"));
98
+	toolBarSpacing = new QSpinBox ( 0, 6, 1, toolbarGrp );
99
+
100
+	tabLayout->addWidget(toolbarGrp,0,1,0);	
101
+
102
+	///Menus group
103
+	QVGroupBox *menusGrp = new QVGroupBox(i18n("Menus"), page1);
104
+	QLabel* menuSpacingLabel;
105
+
106
+	alterMenuGradients = new QCheckBox(i18n("Button-like menu gradients"), menusGrp);
107
+	sharperMenuGradient = new QCheckBox(i18n("Sharper menu gradients"), menusGrp);
108
+
109
+	menuLeftSideBar = new QCheckBox(i18n("Menu Stripe"), menusGrp);
110
+	flatStripe = new QCheckBox(i18n("Flatten Stripe"), menusGrp);
111
+	customMenuStripeColor = new QCheckBox(i18n("Custom Stripe color :"), menusGrp);
112
+	QHBox *menuColorBox = new QHBox(menusGrp);
113
+	menuColorBox->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
114
+
115
+	menuStripeColor = new KColorButton(menuColorBox);
116
+
117
+        menuSpacingLabel = new QLabel(menusGrp);
118
+        menuSpacingLabel->setText(i18n("Menu spacing :"));
119
+	menuSpacing = new QSpinBox ( 0, 8, 1, menusGrp );
120
+
121
+	tabLayout->addWidget(menusGrp,1,0,0);
122
+
123
+	///Scrollbar group
124
+	QVGroupBox *scrollGrp = new QVGroupBox(i18n("Scrollbars and Sliders"), page1);
125
+	QLabel* scrollBarStyleLabel;
126
+	QLabel* scrollBarWidthLabel;
127
+	QLabel* sliderStyleLabel;
128
+
129
+	paintGroove = new QCheckBox(i18n("Draw Scrollbar grooves"), scrollGrp);
130
+
131
+        scrollBarStyleLabel = new QLabel(scrollGrp);
132
+        scrollBarStyleLabel->setText(i18n("Scrollbar style :       "));
133
+	scrollBarStyle = new QComboBox(i18n("Scrollbar style"), scrollGrp);
134
+	scrollBarStyle->setEditable(false);
135
+	scrollBarStyle->insertItem("Windows style");
136
+	scrollBarStyle->insertItem("Platinum style");
137
+	scrollBarStyle->insertItem("KDE style");
138
+	scrollBarStyle->insertItem("Next style");
139
+
140
+        scrollBarWidthLabel = new QLabel(scrollGrp);
141
+        scrollBarWidthLabel->setText(i18n("Scrollbar width :       "));
142
+	scrollBarWidth = new QComboBox(i18n("Scrollbar width"), scrollGrp);
143
+	scrollBarWidth->setEditable(false);
144
+	scrollBarWidth->insertItem("Small");
145
+	scrollBarWidth->insertItem("Normal");
146
+	scrollBarWidth->insertItem("Large");