gweled-0.9.1/0000755000175000017500000000000011545063420011436 5ustar dnaxdnaxgweled-0.9.1/src/0000755000175000017500000000000011545063247012234 5ustar dnaxdnaxgweled-0.9.1/sounds/0000755000175000017500000000000011545063174012757 5ustar dnaxdnaxgweled-0.9.1/po/0000755000175000017500000000000011545063174012062 5ustar dnaxdnaxgweled-0.9.1/pixmaps/0000755000175000017500000000000011545063174013125 5ustar dnaxdnaxgweled-0.9.1/data/0000755000175000017500000000000011545063246012355 5ustar dnaxdnaxgweled-0.9.1/NEWS0000644000175000017500000000401111545063174012137 0ustar dnaxdnax0.7: ---- - Fixes for gcc4 (Adrian Reber) - 0.6: ---- - almost fixed the hiscore files install bug (it's hardcoded to /var/games now, if your Gnome install is different, then move the 2 files where appropriate). I'll gladly accept patches to the install scripts to fix that definitely, thanks :-) - fixed the hiscore table display when there are less than 10 entries recorded - display the timed hiscore table when in hiscore mode. This is a bit confusing since it's not visible anywhere that you are in timed mode... maybe next time :-) - fixed a crash in the drag'n'drop code - highlight the drop target when dragging - updated the spec file. hope it works as I don't have a RedHat system anymore (Go Ubuntu !) 0.5: ---- - timed game - drag'n drop to swap gems 0.4: ---- - removed the toolbar (as suggested by Eugenia Loli-Queru) - apply a preliminary patch for timed game (by David Meggy), not usable yet - apply patch to unselect the selected gem (Pat Rondon) - fixed a buffer overflow for gentoo users (first reported by Joseph Antrosio) - switch to libglade - provide a spec file (Marc Deslauriers) 0.3: ---- - png icon for the window - svg file for the cursor and the background tiles - remove the unnecessary and intrusive "illegal move" message - start new game by clicking anywhere in the game window - bonus does not score insane amounts of points - optimize board refresh routine (smoother animations) - does not score when "hint" is used - enable preferences - instant-apply board size setting (SVG finally pays) - do not lose before the first bonus 0.2: ---- - first public release - fix the score (1 small bug left though) - move the score above the board - add various in-game animations - get rid of the windows, copyrighted, game graphics - redraw all gems and switch to SVG - optimize the graphic engine (don't redraw everything all the time !) - rewrite the graphic engine (split the graphic core and the game engine) - integrate properly with Gnome 2 (menu entry) 0.1: ---- - private release for Laura - the game works gweled-0.9.1/Makefile.am0000644000175000017500000000335011545063174013501 0ustar dnaxdnax## Process this file with automake to produce Makefile.in SUBDIRS = src data po pixmapdir = $(datadir)/pixmaps/$(PACKAGE) pixmap_DATA = pixmaps/cursor.svg pixmaps/font_24_20.png pixmaps/font_48_40.png \ pixmaps/gem01.svg pixmaps/gem02.svg pixmaps/gem03.svg \ pixmaps/gem04.svg pixmaps/gem05.svg pixmaps/gem06.svg \ pixmaps/gem07.svg pixmaps/tile_even.svg pixmaps/tile_odd.svg \ pixmaps/powerglow_32.png pixmaps/powerglow_48.png \ pixmaps/powerglow_64.png pixmaps/sparkle_32.png \ pixmaps/sparkle_48.png pixmaps/sparkle_64.png soundsdir = $(datadir)/sounds/$(PACKAGE) sounds_DATA = sounds/autonom.s3m sounds/click.wav sounds/swap.wav EXTRA_DIST = $(sounds_DATA) \ $(pixmap_DATA) SCOREFILES = Normal Timed install-data-local: -$(mkinstalldirs) $(DESTDIR)$(scoredir) ## Change the names of the high score files, unless the local user has ## beaten us to it. -if [ -f $(DESTDIR)$(scoredir)/gweled.easy.scores -a ! -f $(DESTDIR)$(scoredir)/gweled.Normal.scores ]; then mv -f $(DESTDIR)$(scoredir)/gweled.easy.scores $(DESTDIR)$(scoredir)/gweled.Normal.scores ; fi -if [ -f $(DESTDIR)$(scoredir)/gweled.hard.scores -a ! -f $(DESTDIR)$(scoredir)/gweled.Timed.scores ]; then mv -f $(DESTDIR)$(scoredir)/gweled.hard.scores $(DESTDIR)$(scoredir)/gweled.Timed.scores ; fi -for i in ${SCOREFILES} ; do \ touch $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ chmod 664 $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ done install-exec-hook: -if test "$(setgid)" = "true"; then \ chgrp $(scores_group) $(DESTDIR)$(bindir)/gweled && chmod 2555 $(DESTDIR)$(bindir)/gweled ;\ fi gweled-0.9.1/COPYING0000644000175000017500000004311011545063174012476 0ustar dnaxdnax GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. gweled-0.9.1/configure.in0000644000175000017500000000637211545063174013765 0ustar dnaxdnaxdnl Process this file with autoconf to produce a configure script. AC_INIT([Gweled], [0.9.1], , gweled, [http://gweled.org]) AM_INIT_AUTOMAKE() AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) # Use AM_SILENT_RULES if present m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_ISC_POSIX AC_PROG_CC AM_PROG_CC_STDC AC_HEADER_STDC dnl Initialize intltool GETTEXT_PACKAGE=gweled AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name]) IT_PROG_INTLTOOL([0.40.0]) AM_GLIB_GNU_GETTEXT #### Check for GTK+ >= 2.14 #### PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.14,, AC_MSG_ERROR([GTK+-2.14 is required to compile gweled])) AC_SUBST(GTK_CFLAGS) AC_SUBST(GTK_LIBS) #### Check for librsvg 2.0 #### PKG_CHECK_MODULES(RSVG, librsvg-2.0,, AC_MSG_ERROR([librsvg-2.0 is required to compile gweled])) AC_SUBST(RSVG_CFLAGS) AC_SUBST(RSVG_LIBS) #### Check for mikmod.h header #### AC_CHECK_HEADER(mikmod.h,, AC_MSG_ERROR([libmikmod is required to compile gweled])) MIKMOD_CFLAGS=`libmikmod-config --cflags` MIKMOD_LIBS=`libmikmod-config --libs` AC_SUBST(MIKMOD_CFLAGS) AC_SUBST(MIKMOD_LIBS) AC_CHECK_HEADER(pthread.h, [], AC_MSG_ERROR([*** Cannot find pthread.h header])) AC_CHECK_LIB(pthread, pthread_create, [PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -lpthread" PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT"], [AC_CHECK_LIB(c_r, pthread_create, [PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -pthread" PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE"], AC_MSG_ERROR([*** Cannot find pthread library]))]) AC_SUBST(PTHREAD_CFLAGS) AC_SUBST(PTHREAD_LIBS) LIBS="$LIBS -export-dynamic" AC_ARG_ENABLE([setgid], [AS_HELP_STRING([--disable-setgid], [Disable the use of setgid binaries])], [case "${enableval}" in yes) setgid=true ;; no) setgid=false ;; *) AC_MSG_ERROR([bad value ${enableval} for --disable-setgid]) ;; esac],[setgid=true;enable_setgid=yes]) scoredir='${localstatedir}/games' scores_group=games scores_user=games if test "$enable_setgid" = "yes"; then AC_DEFINE([ENABLE_SETGID],[1],[Define if use of setgid binaries is enabled]) AC_ARG_WITH(scores-group, AC_HELP_STRING([--with-scores-group=group], [Group for the high score tables and binaries]), scores_group="$withval",scores_group="games") AC_ARG_WITH(scores-user, AC_HELP_STRING([--with-scores-user=user], [User for the high score tables]), scores_user="$withval",scores_user="games") fi AM_CONDITIONAL([ENABLE_SETGID],[test "$enable_setgid" = "yes"]) AC_SUBST(setgid) AC_SUBST(scores_group) AC_SUBST(scores_user) AC_SUBST(scoredir) AC_OUTPUT([ Makefile src/Makefile data/Makefile po/Makefile.in ]) echo " Configuration: Source code location: ${srcdir} Compiler: ${CC} Use setgid binaries: $enable_setgid Scores user: $scores_user Scores & setgid group: $scores_group " if grep "$scores_group:" /etc/group > /dev/null; then :; else echo echo "Warning: The $scores_group group does not exist. Installation will" echo " succeed, but high score logging will not work. To specify a" echo " different group use the --with-scores-group option." echo fi gweled-0.9.1/ChangeLog0000644000175000017500000001407111545063174013221 0ustar dnaxdnax== 0.9.1 == Features: * Show game-type choice at startup (alias welcome screen) https://blueprints.launchpad.net/gweled/+spec/game-type-choice-at-startup Translations: * New Slovenian [sl] translation (almost complete) * Malay [ms] translation almost completed * Updated the others == 0.9 == Features: * New endless game type (also called relax mode) * Save and resume game between program closing * Various new graphic effects * Hint after 15 seconds of inactivity * Added 22px and 64px application icons * Level system (replace bonus-only target) Bugs fixed: * LP #578999: Fixed untranslatable strings in src/games-scores-dialog.c * LP #345304: Gweled segfaults on sound initialization (with no audio devices) * LP #614135: Gweled grabs /dev/dsp even if it doesn't play sounds Translations: * New Brazilian Portuguese [pt_BR] translation (almost complete) * New Croatian [hr] translation (incomplete) * New Dutch [nl] translation (complete) * New Georgian [ka] translation (complete) * New Hebrew [he] translation (almost complete) * New Japanese [ja] translation (almost complete) * New Malay [ms] translation (incomplete) * New Polish [pl] translation (complete) * New Ukrainian [uk] translation (almost complete) * Updated French [fr] translation (complete) * Updated German [de] translation (almost complete) * Updated Italian [it] translation (complete) * Updated Russian [ru] translation (complete) * Updated Spanish [es] translation (complete) == 0.8 == Features: * Pause support (LP #195206) * Plain text config file (LP #563135) * More application icons for launchers and menus (included SVG) * Gweled translatable (gettext i18n support) * Scores handling refactory * Dropped deprecated libglade dependency (now use GtkBuilder) * Dropped deprecated libgnomeui dependency * Removed a lot of deprecated GTK+ symbols Bugs fixed: * LP #30441: Pressing space removes menu (BonoboUI feature, deprecated) * LP #33578: Desktop file fixed, added right categories * LP #39181: Added -export-dynamic to gcc linker options * LP #90499: Gweled plays annoying sound which can't be switched off * LP #201509: Get rid of .gweled file and follow fd.o specifications (now config file stored under $XDG_CONFIG_HOME) * LP #217546: Menu is displaying in wrong locale * LP #244064: High score incorrectly reported * LP #244066: High score dismissed on mouse click on game * LP #330640: Gweled Segmentation fault on abnormal tile values in config file * Debian bug #280506: Unplayable on PowerPC (board matrix with gint instead gchar index type) * Debian bug #401727: Disable MikMod disk writer driver * Debian bug #401730: Double free on exit Translations: * New Italian translation (complete) * New Russian translation (complete) * New French translation (almost complete) * New German translation (almost complete) * New Spanish translation (almost complete) * New Finnish translation (partially complete) * New Turkish translation (incomplete) * New Arabic translation (incomplete) Notes: Note that config file is now stored under ~/.config, so you must move manually from home directory to new path and change file name from ".gweled" to "gweled.conf". == 0.7 == Features: * Remember config in a config file * Music (Autonomus by Skaven, this mod was used in the original Bejeweled) * Sound (pathetic wav found on the internet) * Hiscore improvements (pops up when you enter highscore list) (Sean C. Nichols) * New dependency: libmikmod (the sound engine) Bugs fixed: * Debian bug #286874: Fix for the timed game (reported by Sebastien Loss, fixed by Neil Moore) * debug patch for GCC4 (Adrian Reber) == 0.6 == Features: * display the timed hiscore table when in timed mode (this is a bit confusing since it's not visible anywhere that you are in timed mode). * highlight the drop target when dragging * updated the spec file. Bugs fixed: * almost fixed the hiscore files install bug (it's hardcoded to /var/games now, if your Gnome install is different, then move the 2 files where appropriate). * fixed the hiscore table display when there are less than 10 entries recorded * fixed a crash in the drag'n'drop code == 0.5 == * timed game * drag'n drop to swap gems == 0.4 == * removed the toolbar (as suggested by Eugenia Loli-Queru) * applied a preliminary patch for timed game (by David Meggy), not usable yet * applied patch to unselect the selected gem (Pat Rondon) * fixed a buffer overflow (first reported by Joseph Antrosio) * switch to libglade * provide a spec file (Marc Deslauriers) == 0.3 == * png icon for the window * svg file for the cursor and the background tiles * remove the unnecessary and intrusive "illegal move" message * start new game by clicking anywhere in the game window * bonus does not score insane amounts of points * optimize board refresh routine (smoother animations) * does not score when "hint" is used * enable preferences * instant-apply board size setting (SVG finally pays) * do not loose before the first bonus == 0.2 == * first public release * fix the score (1 small bug left though) * move the score above the board * add various in-game animations * get rid of the windows, copyrighted, game graphics * redraw all gems and switch to SVG * optimize the graphic engine (don't redraw everything all the time !) * rewrite the graphic engine (split the graphic core and the game engine) * integrate properly with Gnome 2 (menu entry) == 0.1 == * private release for Laura * the game works gweled-0.9.1/autogen.sh0000755000175000017500000013014111545063174013445 0ustar dnaxdnax#!/bin/sh # a u t o g e n . s h # # Copyright (c) 2005-2007 United States Government as represented by # the U.S. Army Research Laboratory. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # 3. The name of the author may not be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ### # # Script for automatically preparing the sources for compilation by # performing the myrid of necessary steps. The script attempts to # detect proper version support, and outputs warnings about particular # systems that have autotool peculiarities. # # Basically, if everything is set up and installed correctly, the # script will validate that minimum versions of the GNU Build System # tools are installed, account for several common configuration # issues, and then simply run autoreconf for you. # # If autoreconf fails, which can happen for many valid configurations, # this script proceeds to run manual preparation steps effectively # providing a POSIX shell script (mostly complete) reimplementation of # autoreconf. # # The AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER # environment variables and corresponding _OPTIONS variables (e.g. # AUTORECONF_OPTIONS) may be used to override the default automatic # detection behaviors. Similarly the _VERSION variables will override # the minimum required version numbers. # # Examples: # # To obtain help on usage: # ./autogen.sh --help # # To obtain verbose output: # ./autogen.sh --verbose # # To skip autoreconf and prepare manually: # AUTORECONF=false ./autogen.sh # # To verbosely try running with an older (unsupported) autoconf: # AUTOCONF_VERSION=2.50 ./autogen.sh --verbose # # Author: Christopher Sean Morrison # ###################################################################### # set to minimum acceptible version of autoconf if [ "x$AUTOCONF_VERSION" = "x" ] ; then AUTOCONF_VERSION=2.52 fi # set to minimum acceptible version of automake if [ "x$AUTOMAKE_VERSION" = "x" ] ; then AUTOMAKE_VERSION=1.6.0 fi # set to minimum acceptible version of libtool if [ "x$LIBTOOL_VERSION" = "x" ] ; then LIBTOOL_VERSION=1.4.2 fi ################## # ident function # ################## ident ( ) { # extract copyright from header __copyright="`grep Copyright $AUTOGEN_SH | head -${HEAD_N}1 | awk '{print $4}'`" if [ "x$__copyright" = "x" ] ; then __copyright="`date +%Y`" fi # extract version from CVS Id string __id="$Id: autogen.sh,v 14.97 2007/06/18 22:25:02 brlcad Exp $" __version="`echo $__id | sed 's/.*\([0-9][0-9][0-9][0-9]\)[-\/]\([0-9][0-9]\)[-\/]\([0-9][0-9]\).*/\1\2\3/'`" if [ "x$__version" = "x" ] ; then __version="" fi echo "autogen.sh build preparation script by Christopher Sean Morrison" echo "revised 3-clause BSD-style license, copyright (c) $__copyright" echo "script version $__version, ISO/IEC 9945 POSIX shell script" } ################## # USAGE FUNCTION # ################## usage ( ) { echo "Usage: $AUTOGEN_SH [-h|--help] [-v|--verbose] [-q|--quiet] [--version]" echo " --help Help on $NAME_OF_AUTOGEN usage" echo " --verbose Verbose progress output" echo " --quiet Quiet suppressed progress output" echo " --version Only perform GNU Build System version checks" echo echo "Description: This script will validate that minimum versions of the" echo "GNU Build System tools are installed and then run autoreconf for you." echo "Should autoreconf fail, manual preparation steps will be run" echo "potentially accounting for several common preparation issues. The" echo "AUTORECONF, AUTOCONF, AUTOMAKE, LIBTOOLIZE, ACLOCAL, AUTOHEADER," echo "PROJECT, & CONFIGURE environment variables and corresponding _OPTIONS" echo "variables (e.g. AUTORECONF_OPTIONS) may be used to override the" echo "default automatic detection behavior." echo ident return 0 } ########################## # VERSION_ERROR FUNCTION # ########################## version_error ( ) { if [ "x$1" = "x" ] ; then echo "INTERNAL ERROR: version_error was not provided a version" exit 1 fi if [ "x$2" = "x" ] ; then echo "INTERNAL ERROR: version_error was not provided an application name" exit 1 fi $ECHO $ECHO "ERROR: To prepare the ${PROJECT} build system from scratch," $ECHO " at least version $1 of $2 must be installed." $ECHO $ECHO "$NAME_OF_AUTOGEN does not need to be run on the same machine that will" $ECHO "run configure or make. Either the GNU Autotools will need to be installed" $ECHO "or upgraded on this system, or $NAME_OF_AUTOGEN must be run on the source" $ECHO "code on another system and then transferred to here. -- Cheers!" $ECHO } ########################## # VERSION_CHECK FUNCTION # ########################## version_check ( ) { if [ "x$1" = "x" ] ; then echo "INTERNAL ERROR: version_check was not provided a minimum version" exit 1 fi _min="$1" if [ "x$2" = "x" ] ; then echo "INTERNAL ERROR: version check was not provided a comparison version" exit 1 fi _cur="$2" # needed to handle versions like 1.10 and 1.4-p6 _min="`echo ${_min}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`" _cur="`echo ${_cur}. | sed 's/[^0-9]/./g' | sed 's/\.\././g'`" _min_major="`echo $_min | cut -d. -f1`" _min_minor="`echo $_min | cut -d. -f2`" _min_patch="`echo $_min | cut -d. -f3`" _cur_major="`echo $_cur | cut -d. -f1`" _cur_minor="`echo $_cur | cut -d. -f2`" _cur_patch="`echo $_cur | cut -d. -f3`" if [ "x$_min_major" = "x" ] ; then _min_major=0 fi if [ "x$_min_minor" = "x" ] ; then _min_minor=0 fi if [ "x$_min_patch" = "x" ] ; then _min_patch=0 fi if [ "x$_cur_minor" = "x" ] ; then _cur_major=0 fi if [ "x$_cur_minor" = "x" ] ; then _cur_minor=0 fi if [ "x$_cur_patch" = "x" ] ; then _cur_patch=0 fi $VERBOSE_ECHO "Checking if ${_cur_major}.${_cur_minor}.${_cur_patch} is greater than ${_min_major}.${_min_minor}.${_min_patch}" if [ $_min_major -lt $_cur_major ] ; then return 0 elif [ $_min_major -eq $_cur_major ] ; then if [ $_min_minor -lt $_cur_minor ] ; then return 0 elif [ $_min_minor -eq $_cur_minor ] ; then if [ $_min_patch -lt $_cur_patch ] ; then return 0 elif [ $_min_patch -eq $_cur_patch ] ; then return 0 fi fi fi return 1 } ###################################### # LOCATE_CONFIGURE_TEMPLATE FUNCTION # ###################################### locate_configure_template ( ) { _pwd="`pwd`" if test -f "./configure.ac" ; then echo "./configure.ac" elif test -f "./configure.in" ; then echo "./configure.in" elif test -f "$_pwd/configure.ac" ; then echo "$_pwd/configure.ac" elif test -f "$_pwd/configure.in" ; then echo "$_pwd/configure.in" elif test -f "$PATH_TO_AUTOGEN/configure.ac" ; then echo "$PATH_TO_AUTOGEN/configure.ac" elif test -f "$PATH_TO_AUTOGEN/configure.in" ; then echo "$PATH_TO_AUTOGEN/configure.in" fi } ################## # argument check # ################## ARGS="$*" PATH_TO_AUTOGEN="`dirname $0`" NAME_OF_AUTOGEN="`basename $0`" AUTOGEN_SH="$PATH_TO_AUTOGEN/$NAME_OF_AUTOGEN" LIBTOOL_M4="${PATH_TO_AUTOGEN}/misc/libtool.m4" if [ "x$HELP" = "x" ] ; then HELP=no fi if [ "x$QUIET" = "x" ] ; then QUIET=no fi if [ "x$VERBOSE" = "x" ] ; then VERBOSE=no fi if [ "x$VERSION_ONLY" = "x" ] ; then VERSION_ONLY=no fi if [ "x$AUTORECONF_OPTIONS" = "x" ] ; then AUTORECONF_OPTIONS="-i -f" fi if [ "x$AUTOCONF_OPTIONS" = "x" ] ; then AUTOCONF_OPTIONS="-f" fi if [ "x$AUTOMAKE_OPTIONS" = "x" ] ; then AUTOMAKE_OPTIONS="-a -c -f" fi ALT_AUTOMAKE_OPTIONS="-a -c" if [ "x$LIBTOOLIZE_OPTIONS" = "x" ] ; then LIBTOOLIZE_OPTIONS="--automake -c -f" fi ALT_LIBTOOLIZE_OPTIONS="--automake --copy --force" if [ "x$ACLOCAL_OPTIONS" = "x" ] ; then ACLOCAL_OPTIONS="" fi if [ "x$AUTOHEADER_OPTIONS" = "x" ] ; then AUTOHEADER_OPTIONS="" fi for arg in $ARGS ; do case "x$arg" in x--help) HELP=yes ;; x-[hH]) HELP=yes ;; x--quiet) QUIET=yes ;; x-[qQ]) QUIET=yes ;; x--verbose) VERBOSE=yes ;; x-[vV]) VERBOSE=yes ;; x--version) VERSION_ONLY=yes ;; *) echo "Unknown option: $arg" echo usage exit 1 ;; esac done ##################### # environment check # ##################### # sanity check before recursions potentially begin if [ ! -f "$AUTOGEN_SH" ] ; then echo "INTERNAL ERROR: $AUTOGEN_SH does not exist" if [ ! "x$0" = "x$AUTOGEN_SH" ] ; then echo "INTERNAL ERROR: dirname/basename inconsistency: $0 != $AUTOGEN_SH" fi exit 1 fi # force locale setting to C so things like date output as expected LC_ALL=C # commands that this script expects for __cmd in echo head tail pwd ; do echo "test" | $__cmd > /dev/null 2>&1 if [ $? != 0 ] ; then echo "INTERNAL ERROR: '${__cmd}' command is required" exit 2 fi done echo "test" | grep "test" > /dev/null 2>&1 if test ! x$? = x0 ; then echo "INTERNAL ERROR: grep command is required" exit 1 fi echo "test" | sed "s/test/test/" > /dev/null 2>&1 if test ! x$? = x0 ; then echo "INTERNAL ERROR: sed command is required" exit 1 fi # determine the behavior of echo case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac # determine the behavior of head case "x`echo 'head' | head -n 1 2>&1`" in *xhead*) HEAD_N="n " ;; *) HEAD_N="" ;; esac # determine the behavior of tail case "x`echo 'tail' | tail -n 1 2>&1`" in *xtail*) TAIL_N="n " ;; *) TAIL_N="" ;; esac VERBOSE_ECHO=: ECHO=: if [ "x$QUIET" = "xyes" ] ; then if [ "x$VERBOSE" = "xyes" ] ; then echo "Verbose output quelled by quiet option. Further output disabled." fi else ECHO=echo if [ "x$VERBOSE" = "xyes" ] ; then echo "Verbose output enabled" VERBOSE_ECHO=echo fi fi # allow a recursive run to disable further recursions if [ "x$RUN_RECURSIVE" = "x" ] ; then RUN_RECURSIVE=yes fi ################################################ # check for help arg and bypass version checks # ################################################ if [ "x`echo $ARGS | sed 's/.*[hH][eE][lL][pP].*/help/'`" = "xhelp" ] ; then HELP=yes fi if [ "x$HELP" = "xyes" ] ; then usage $ECHO "---" $ECHO "Help was requested. No preparation or configuration will be performed." exit 0 fi ####################### # set up signal traps # ####################### untrap_abnormal ( ) { for sig in 1 2 13 15; do trap - $sig done } # do this cleanup whenever we exit. trap ' # start from the root if test -d "$START_PATH" ; then cd "$START_PATH" fi # restore/delete backup files if test "x$PFC_INIT" = "x1" ; then recursive_restore fi ' 0 # trap SIGHUP (1), SIGINT (2), SIGPIPE (13), SIGTERM (15) for sig in 1 2 13 15; do trap ' $ECHO "" $ECHO "Aborting $NAME_OF_AUTOGEN: caught signal '$sig'" # start from the root if test -d "$START_PATH" ; then cd "$START_PATH" fi # clean up on abnormal exit $VERBOSE_ECHO "rm -rf autom4te.cache" rm -rf autom4te.cache if test -f "acinclude.m4.$$.backup" ; then $VERBOSE_ECHO "cat acinclude.m4.$$.backup > acinclude.m4" chmod u+w acinclude.m4 cat acinclude.m4.$$.backup > acinclude.m4 $VERBOSE_ECHO "rm -f acinclude.m4.$$.backup" rm -f acinclude.m4.$$.backup fi { (exit 1); exit 1; } ' $sig done ############################# # look for a configure file # ############################# if [ "x$CONFIGURE" = "x" ] ; then CONFIGURE="`locate_configure_template`" if [ ! "x$CONFIGURE" = "x" ] ; then $VERBOSE_ECHO "Found a configure template: $CONFIGURE" fi else $ECHO "Using CONFIGURE environment variable override: $CONFIGURE" fi if [ "x$CONFIGURE" = "x" ] ; then if [ "x$VERSION_ONLY" = "xyes" ] ; then CONFIGURE=/dev/null else $ECHO $ECHO "A configure.ac or configure.in file could not be located implying" $ECHO "that the GNU Build System is at least not used in this directory. In" $ECHO "any case, there is nothing to do here without one of those files." $ECHO $ECHO "ERROR: No configure.in or configure.ac file found in `pwd`" exit 1 fi fi #################### # get project name # #################### if [ "x$PROJECT" = "x" ] ; then PROJECT="`grep AC_INIT $CONFIGURE | grep -v '.*#.*AC_INIT' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_INIT(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" if [ "x$PROJECT" = "xAC_INIT" ] ; then # projects might be using the older/deprecated arg-less AC_INIT .. look for AM_INIT_AUTOMAKE instead PROJECT="`grep AM_INIT_AUTOMAKE $CONFIGURE | grep -v '.*#.*AM_INIT_AUTOMAKE' | tail -${TAIL_N}1 | sed 's/^[ ]*AM_INIT_AUTOMAKE(\([^,)]*\).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" fi if [ "x$PROJECT" = "xAM_INIT_AUTOMAKE" ] ; then PROJECT="project" fi if [ "x$PROJECT" = "x" ] ; then PROJECT="project" fi else $ECHO "Using PROJECT environment variable override: $PROJECT" fi $ECHO "Preparing the $PROJECT build system...please wait" $ECHO ######################## # check for autoreconf # ######################## HAVE_AUTORECONF=no if [ "x$AUTORECONF" = "x" ] ; then for AUTORECONF in autoreconf ; do $VERBOSE_ECHO "Checking autoreconf version: $AUTORECONF --version" $AUTORECONF --version > /dev/null 2>&1 if [ $? = 0 ] ; then HAVE_AUTORECONF=yes break fi done else HAVE_AUTORECONF=yes $ECHO "Using AUTORECONF environment variable override: $AUTORECONF" fi ########################## # autoconf version check # ########################## _acfound=no if [ "x$AUTOCONF" = "x" ] ; then for AUTOCONF in autoconf ; do $VERBOSE_ECHO "Checking autoconf version: $AUTOCONF --version" $AUTOCONF --version > /dev/null 2>&1 if [ $? = 0 ] ; then _acfound=yes break fi done else _acfound=yes $ECHO "Using AUTOCONF environment variable override: $AUTOCONF" fi _report_error=no if [ ! "x$_acfound" = "xyes" ] ; then $ECHO "ERROR: Unable to locate GNU Autoconf." _report_error=yes else _version="`$AUTOCONF --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`" if [ "x$_version" = "x" ] ; then _version="0.0.0" fi $ECHO "Found GNU Autoconf version $_version" version_check "$AUTOCONF_VERSION" "$_version" if [ $? -ne 0 ] ; then _report_error=yes fi fi if [ "x$_report_error" = "xyes" ] ; then version_error "$AUTOCONF_VERSION" "GNU Autoconf" exit 1 fi ########################## # automake version check # ########################## _amfound=no if [ "x$AUTOMAKE" = "x" ] ; then for AUTOMAKE in automake ; do $VERBOSE_ECHO "Checking automake version: $AUTOMAKE --version" $AUTOMAKE --version > /dev/null 2>&1 if [ $? = 0 ] ; then _amfound=yes break fi done else _amfound=yes $ECHO "Using AUTOMAKE environment variable override: $AUTOMAKE" fi _report_error=no if [ ! "x$_amfound" = "xyes" ] ; then $ECHO $ECHO "ERROR: Unable to locate GNU Automake." _report_error=yes else _version="`$AUTOMAKE --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`" if [ "x$_version" = "x" ] ; then _version="0.0.0" fi $ECHO "Found GNU Automake version $_version" version_check "$AUTOMAKE_VERSION" "$_version" if [ $? -ne 0 ] ; then _report_error=yes fi fi if [ "x$_report_error" = "xyes" ] ; then version_error "$AUTOMAKE_VERSION" "GNU Automake" exit 1 fi ######################## # check for libtoolize # ######################## HAVE_LIBTOOLIZE=yes HAVE_ALT_LIBTOOLIZE=no _ltfound=no if [ "x$LIBTOOLIZE" = "x" ] ; then LIBTOOLIZE=libtoolize $VERBOSE_ECHO "Checking libtoolize version: $LIBTOOLIZE --version" $LIBTOOLIZE --version > /dev/null 2>&1 if [ ! $? = 0 ] ; then HAVE_LIBTOOLIZE=no $ECHO if [ "x$HAVE_AUTORECONF" = "xno" ] ; then $ECHO "Warning: libtoolize does not appear to be available." else $ECHO "Warning: libtoolize does not appear to be available. This means that" $ECHO "the automatic build preparation via autoreconf will probably not work." $ECHO "Preparing the build by running each step individually, however, should" $ECHO "work and will be done automatically for you if autoreconf fails." fi # look for some alternates for tool in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do $VERBOSE_ECHO "Checking libtoolize alternate: $tool --version" _glibtoolize="`$tool --version > /dev/null 2>&1`" if [ $? = 0 ] ; then $VERBOSE_ECHO "Found $tool --version" _glti="`which $tool`" if [ "x$_glti" = "x" ] ; then $VERBOSE_ECHO "Cannot find $tool with which" continue; fi if test ! -f "$_glti" ; then $VERBOSE_ECHO "Cannot use $tool, $_glti is not a file" continue; fi _gltidir="`dirname $_glti`" if [ "x$_gltidir" = "x" ] ; then $VERBOSE_ECHO "Cannot find $tool path with dirname of $_glti" continue; fi if test ! -d "$_gltidir" ; then $VERBOSE_ECHO "Cannot use $tool, $_gltidir is not a directory" continue; fi HAVE_ALT_LIBTOOLIZE=yes LIBTOOLIZE="$tool" $ECHO $ECHO "Fortunately, $tool was found which means that your system may simply" $ECHO "have a non-standard or incomplete GNU Autotools install. If you have" $ECHO "sufficient system access, it may be possible to quell this warning by" $ECHO "running:" $ECHO sudo -V > /dev/null 2>&1 if [ $? = 0 ] ; then $ECHO " sudo ln -s $_glti $_gltidir/libtoolize" $ECHO else $ECHO " ln -s $_glti $_gltidir/libtoolize" $ECHO $ECHO "Run that as root or with proper permissions to the $_gltidir directory" $ECHO fi _ltfound=yes break fi done else _ltfound=yes fi else _ltfound=yes $ECHO "Using LIBTOOLIZE environment variable override: $LIBTOOLIZE" fi ############################ # libtoolize version check # ############################ _report_error=no if [ ! "x$_ltfound" = "xyes" ] ; then $ECHO $ECHO "ERROR: Unable to locate GNU Libtool." _report_error=yes else _version="`$LIBTOOLIZE --version | head -${HEAD_N}1 | sed 's/[^0-9]*\([0-9\.][0-9\.]*\)/\1/'`" if [ "x$_version" = "x" ] ; then _version="0.0.0" fi $ECHO "Found GNU Libtool version $_version" version_check "$LIBTOOL_VERSION" "$_version" if [ $? -ne 0 ] ; then _report_error=yes fi fi if [ "x$_report_error" = "xyes" ] ; then version_error "$LIBTOOL_VERSION" "GNU Libtool" exit 1 fi ##################### # check for aclocal # ##################### if [ "x$ACLOCAL" = "x" ] ; then for ACLOCAL in aclocal ; do $VERBOSE_ECHO "Checking aclocal version: $ACLOCAL --version" $ACLOCAL --version > /dev/null 2>&1 if [ $? = 0 ] ; then break fi done else $ECHO "Using ACLOCAL environment variable override: $ACLOCAL" fi ######################## # check for autoheader # ######################## if [ "x$AUTOHEADER" = "x" ] ; then for AUTOHEADER in autoheader ; do $VERBOSE_ECHO "Checking autoheader version: $AUTOHEADER --version" $AUTOHEADER --version > /dev/null 2>&1 if [ $? = 0 ] ; then break fi done else $ECHO "Using AUTOHEADER environment variable override: $AUTOHEADER" fi ######################### # check if version only # ######################### $VERBOSE_ECHO "Checking whether to only output version information" if [ "x$VERSION_ONLY" = "xyes" ] ; then $ECHO ident $ECHO "---" $ECHO "Version requested. No preparation or configuration will be performed." exit 0 fi ################################# # PROTECT_FROM_CLOBBER FUNCTION # ################################# protect_from_clobber ( ) { PFC_INIT=1 # protect COPYING & INSTALL from overwrite by automake. the # automake force option will (inappropriately) ignore the existing # contents of a COPYING and/or INSTALL files (depending on the # version) instead of just forcing *missing* files like it does # for AUTHORS, NEWS, and README. this is broken but extremely # prevalent behavior, so we protect against it by keeping a backup # of the file that can later be restored. if test -f COPYING ; then if test -f COPYING.$$.protect_from_automake.backup ; then $VERBOSE_ECHO "Already backed up COPYING in `pwd`" else $VERBOSE_ECHO "Backing up COPYING in `pwd`" $VERBOSE_ECHO "cp -p COPYING COPYING.$$.protect_from_automake.backup" cp -p COPYING COPYING.$$.protect_from_automake.backup fi fi if test -f INSTALL ; then if test -f INSTALL.$$.protect_from_automake.backup ; then $VERBOSE_ECHO "Already backed up INSTALL in `pwd`" else $VERBOSE_ECHO "Backing up INSTALL in `pwd`" $VERBOSE_ECHO "cp -p INSTALL INSTALL.$$.protect_from_automake.backup" cp -p INSTALL INSTALL.$$.protect_from_automake.backup fi fi } ############################## # RECURSIVE_PROTECT FUNCTION # ############################## recursive_protect ( ) { # for projects using recursive configure, run the build # preparation steps for the subdirectories. this function assumes # START_PATH was set to pwd before recursion begins so that # relative paths work. # git 'r done, protect COPYING and INSTALL from being clobbered protect_from_clobber if test -d autom4te.cache ; then $VERBOSE_ECHO "Found an autom4te.cache directory, deleting it" $VERBOSE_ECHO "rm -rf autom4te.cache" rm -rf autom4te.cache fi # find configure template _configure="`locate_configure_template`" if [ "x$_configure" = "x" ] ; then return fi # $VERBOSE_ECHO "Looking for configure template found `pwd`/$_configure" # look for subdirs # $VERBOSE_ECHO "Looking for subdirs in `pwd`" _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $_configure | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" CHECK_DIRS="" for dir in $_det_config_subdirs ; do if test -d "`pwd`/$dir" ; then CHECK_DIRS="$CHECK_DIRS \"`pwd`/$dir\"" fi done # process subdirs if [ ! "x$CHECK_DIRS" = "x" ] ; then $VERBOSE_ECHO "Recursively scanning the following directories:" $VERBOSE_ECHO " $CHECK_DIRS" for dir in $CHECK_DIRS ; do $VERBOSE_ECHO "Protecting files from automake in $dir" cd "$START_PATH" eval "cd $dir" # recursively git 'r done recursive_protect done fi } # end of recursive_protect ############################# # RESTORE_CLOBBERED FUNCION # ############################# restore_clobbered ( ) { # The automake (and autoreconf by extension) -f/--force-missing # option may overwrite COPYING and INSTALL even if they do exist. # Here we restore the files if necessary. spacer=no # COPYING if test -f COPYING.$$.protect_from_automake.backup ; then if test -f COPYING ; then # compare entire content, restore if needed if test "x`cat COPYING`" != "x`cat COPYING.$$.protect_from_automake.backup`" ; then if test "x$spacer" = "xno" ; then $VERBOSE_ECHO spacer=yes fi # restore the backup $VERBOSE_ECHO "Restoring COPYING from backup (automake -f likely clobbered it)" $VERBOSE_ECHO "rm -f COPYING" rm -f COPYING $VERBOSE_ECHO "mv COPYING.$$.protect_from_automake.backup COPYING" mv COPYING.$$.protect_from_automake.backup COPYING fi # check contents elif test -f COPYING.$$.protect_from_automake.backup ; then $VERBOSE_ECHO "mv COPYING.$$.protect_from_automake.backup COPYING" mv COPYING.$$.protect_from_automake.backup COPYING fi # -f COPYING # just in case $VERBOSE_ECHO "rm -f COPYING.$$.protect_from_automake.backup" rm -f COPYING.$$.protect_from_automake.backup fi # -f COPYING.$$.protect_from_automake.backup # INSTALL if test -f INSTALL.$$.protect_from_automake.backup ; then if test -f INSTALL ; then # compare entire content, restore if needed if test "x`cat INSTALL`" != "x`cat INSTALL.$$.protect_from_automake.backup`" ; then if test "x$spacer" = "xno" ; then $VERBOSE_ECHO spacer=yes fi # restore the backup $VERBOSE_ECHO "Restoring INSTALL from backup (automake -f likely clobbered it)" $VERBOSE_ECHO "rm -f INSTALL" rm -f INSTALL $VERBOSE_ECHO "mv INSTALL.$$.protect_from_automake.backup INSTALL" mv INSTALL.$$.protect_from_automake.backup INSTALL fi # check contents elif test -f INSTALL.$$.protect_from_automake.backup ; then $VERBOSE_ECHO "mv INSTALL.$$.protect_from_automake.backup INSTALL" mv INSTALL.$$.protect_from_automake.backup INSTALL fi # -f INSTALL # just in case $VERBOSE_ECHO "rm -f INSTALL.$$.protect_from_automake.backup" rm -f INSTALL.$$.protect_from_automake.backup fi # -f INSTALL.$$.protect_from_automake.backup CONFIGURE="`locate_configure_template`" if [ "x$CONFIGURE" = "x" ] ; then return fi _aux_dir="`grep AC_CONFIG_AUX_DIR $CONFIGURE | grep -v '.*#.*AC_CONFIG_AUX_DIR' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_CONFIG_AUX_DIR(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" if test ! -d "$_aux_dir" ; then _aux_dir=. fi for file in config.guess config.sub ltmain.sh ; do if test -f "${_aux_dir}/${file}" ; then $VERBOSE_ECHO "rm -f \"${_aux_dir}/${file}.backup\"" rm -f "${_aux_dir}/${file}.backup" fi done } # end of restore_clobbered ############################## # RECURSIVE_RESTORE FUNCTION # ############################## recursive_restore ( ) { # restore COPYING and INSTALL from backup if they were clobbered # for each directory recursively. # git 'r undone restore_clobbered # find configure template _configure="`locate_configure_template`" if [ "x$_configure" = "x" ] ; then return fi # look for subdirs _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $_configure | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" CHECK_DIRS="" for dir in $_det_config_subdirs ; do if test -d "`pwd`/$dir" ; then CHECK_DIRS="$CHECK_DIRS \"`pwd`/$dir\"" fi done # process subdirs if [ ! "x$CHECK_DIRS" = "x" ] ; then $VERBOSE_ECHO "Recursively scanning the following directories:" $VERBOSE_ECHO " $CHECK_DIRS" for dir in $CHECK_DIRS ; do $VERBOSE_ECHO "Checking files for automake damage in $dir" cd "$START_PATH" eval "cd $dir" # recursively git 'r undone recursive_restore done fi } # end of recursive_restore ####################### # INITIALIZE FUNCTION # ####################### initialize ( ) { # this routine performs a variety of directory-specific # initializations. some are sanity checks, some are preventive, # and some are necessary setup detection. # # this function sets: # CONFIGURE # SEARCH_DIRS # CONFIG_SUBDIRS ################################## # check for a configure template # ################################## CONFIGURE="`locate_configure_template`" if [ "x$CONFIGURE" = "x" ] ; then $ECHO $ECHO "A configure.ac or configure.in file could not be located implying" $ECHO "that the GNU Build System is at least not used in this directory. In" $ECHO "any case, there is nothing to do here without one of those files." $ECHO $ECHO "ERROR: No configure.in or configure.ac file found in `pwd`" exit 1 fi ##################### # detect an aux dir # ##################### _aux_dir="`grep AC_CONFIG_AUX_DIR $CONFIGURE | grep -v '.*#.*AC_CONFIG_AUX_DIR' | tail -${TAIL_N}1 | sed 's/^[ ]*AC_CONFIG_AUX_DIR(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" if test ! -d "$_aux_dir" ; then _aux_dir=. else $VERBOSE_ECHO "Detected auxillary directory: $_aux_dir" fi ################################ # detect a recursive configure # ################################ CONFIG_SUBDIRS="" _det_config_subdirs="`grep AC_CONFIG_SUBDIRS $CONFIGURE | grep -v '.*#.*AC_CONFIG_SUBDIRS' | sed 's/^[ ]*AC_CONFIG_SUBDIRS(\(.*\)).*/\1/' | sed 's/.*\[\(.*\)\].*/\1/'`" for dir in $_det_config_subdirs ; do if test -d "`pwd`/$dir" ; then $VERBOSE_ECHO "Detected recursive configure directory: `pwd`/$dir" CONFIG_SUBDIRS="$CONFIG_SUBDIRS `pwd`/$dir" fi done ########################################## # make sure certain required files exist # ########################################## for file in AUTHORS COPYING ChangeLog INSTALL NEWS README ; do if test ! -f $file ; then $VERBOSE_ECHO "Touching ${file} since it does not exist" touch $file fi done ################################################## # make sure certain generated files do not exist # ################################################## for file in config.guess config.sub ltmain.sh ; do if test -f "${_aux_dir}/${file}" ; then $VERBOSE_ECHO "mv -f \"${_aux_dir}/${file}\" \"${_aux_dir}/${file}.backup\"" mv -f "${_aux_dir}/${file}" "${_aux_dir}/${file}.backup" fi done ############################ # search alternate m4 dirs # ############################ SEARCH_DIRS="" for dir in m4 ; do if [ -d $dir ] ; then $VERBOSE_ECHO "Found extra aclocal search directory: $dir" SEARCH_DIRS="$SEARCH_DIRS -I $dir" fi done ###################################### # remove any previous build products # ###################################### if test -d autom4te.cache ; then $VERBOSE_ECHO "Found an autom4te.cache directory, deleting it" $VERBOSE_ECHO "rm -rf autom4te.cache" rm -rf autom4te.cache fi # tcl/tk (and probably others) have a customized aclocal.m4, so can't delete it # if test -f aclocal.m4 ; then # $VERBOSE_ECHO "Found an aclocal.m4 file, deleting it" # $VERBOSE_ECHO "rm -f aclocal.m4" # rm -f aclocal.m4 # fi } # end of initialize() ############## # initialize # ############## # stash path START_PATH="`pwd`" # Before running autoreconf or manual steps, some prep detection work # is necessary or useful. Only needs to occur once per directory, but # does need to traverse the entire subconfigure hierarchy to protect # files from being clobbered even by autoreconf. recursive_protect # start from where we started cd "$START_PATH" # get ready to process initialize ############################################ # prepare build via autoreconf or manually # ############################################ reconfigure_manually=no if [ "x$HAVE_AUTORECONF" = "xyes" ] ; then $ECHO $ECHO $ECHO_N "Automatically preparing build ... $ECHO_C" $VERBOSE_ECHO "$AUTORECONF $SEARCH_DIRS $AUTORECONF_OPTIONS" autoreconf_output="`$AUTORECONF $SEARCH_DIRS $AUTORECONF_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$autoreconf_output" if [ ! $ret = 0 ] ; then if [ "x$HAVE_ALT_LIBTOOLIZE" = "xyes" ] ; then if [ ! "x`echo \"$autoreconf_output\" | grep libtoolize | grep \"No such file or directory\"`" = "x" ] ; then $ECHO $ECHO "Warning: autoreconf failed but due to what is usually a common libtool" $ECHO "misconfiguration issue. This problem is encountered on systems that" $ECHO "have installed libtoolize under a different name without providing a" $ECHO "symbolic link or without setting the LIBTOOLIZE environment variable." $ECHO $ECHO "Restarting the preparation steps with LIBTOOLIZE set to $LIBTOOLIZE" export LIBTOOLIZE RUN_RECURSIVE=no export RUN_RECURSIVE untrap_abnormal $VERBOSE_ECHO sh $AUTOGEN_SH "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" sh "$AUTOGEN_SH" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" exit $? fi fi $ECHO "Warning: $AUTORECONF failed" if test -f ltmain.sh ; then $ECHO "libtoolize being run by autoreconf is not creating ltmain.sh in the auxillary directory like it should" fi $ECHO "Attempting to run the preparation steps individually" reconfigure_manually=yes fi else reconfigure_manually=yes fi ############################ # LIBTOOL_FAILURE FUNCTION # ############################ libtool_failure ( ) { # libtool is rather error-prone in comparison to the other # autotools and this routine attempts to compensate for some # common failures. the output after a libtoolize failure is # parsed for an error related to AC_PROG_LIBTOOL and if found, we # attempt to inject a project-provided libtool.m4 file. _autoconf_output="$1" if [ "x$RUN_RECURSIVE" = "xno" ] ; then # we already tried the libtool.m4, don't try again return 1 fi if test -f "$LIBTOOL_M4" ; then found_libtool="`$ECHO $_autoconf_output | grep AC_PROG_LIBTOOL`" if test ! "x$found_libtool" = "x" ; then if test -f acinclude.m4 ; then rm -f acinclude.m4.$$.backup $VERBOSE_ECHO "cat acinclude.m4 > acinclude.m4.$$.backup" cat acinclude.m4 > acinclude.m4.$$.backup fi $VERBOSE_ECHO "cat \"$LIBTOOL_M4\" >> acinclude.m4" chmod u+w acinclude.m4 cat "$LIBTOOL_M4" >> acinclude.m4 # don't keep doing this RUN_RECURSIVE=no export RUN_RECURSIVE untrap_abnormal $ECHO $ECHO "Restarting the preparation steps with libtool macros in acinclude.m4" $VERBOSE_ECHO sh $AUTOGEN_SH "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" sh "$AUTOGEN_SH" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" exit $? fi fi } ########################### # MANUAL_AUTOGEN FUNCTION # ########################### manual_autogen ( ) { ################################################## # Manual preparation steps taken are as follows: # # aclocal [-I m4] # # libtoolize --automake -c -f # # aclocal [-I m4] # # autoconf -f # # autoheader # # automake -a -c -f # ################################################## ########### # aclocal # ########### $VERBOSE_ECHO "$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS" aclocal_output="`$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$aclocal_output" if [ ! $ret = 0 ] ; then $ECHO "ERROR: $ACLOCAL failed" && exit 2 ; fi ############## # libtoolize # ############## need_libtoolize=no for feature in AC_PROG_LIBTOOL LT_INIT ; do $VERBOSE_ECHO "Searching for $feature in $CONFIGURE" found="`grep \"^$feature.*\" $CONFIGURE`" if [ ! "x$found" = "x" ] ; then need_libtoolize=yes break fi done if [ "x$need_libtoolize" = "xyes" ] ; then if [ "x$HAVE_LIBTOOLIZE" = "xyes" ] ; then $VERBOSE_ECHO "$LIBTOOLIZE $LIBTOOLIZE_OPTIONS" libtoolize_output="`$LIBTOOLIZE $LIBTOOLIZE_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$libtoolize_output" if [ ! $ret = 0 ] ; then $ECHO "ERROR: $LIBTOOLIZE failed" && exit 2 ; fi else if [ "x$HAVE_ALT_LIBTOOLIZE" = "xyes" ] ; then $VERBOSE_ECHO "$LIBTOOLIZE $ALT_LIBTOOLIZE_OPTIONS" libtoolize_output="`$LIBTOOLIZE $ALT_LIBTOOLIZE_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$libtoolize_output" if [ ! $ret = 0 ] ; then $ECHO "ERROR: $LIBTOOLIZE failed" && exit 2 ; fi fi fi ########### # aclocal # ########### # re-run again as instructed by libtoolize $VERBOSE_ECHO "$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS" aclocal_output="`$ACLOCAL $SEARCH_DIRS $ACLOCAL_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$aclocal_output" # libtoolize might put ltmain.sh in the wrong place if test -f ltmain.sh ; then if test ! -f "${_aux_dir}/ltmain.sh" ; then $ECHO $ECHO "Warning: $LIBTOOLIZE is creating ltmain.sh in the wrong directory" $ECHO $ECHO "Fortunately, the problem can be worked around by simply copying the" $ECHO "file to the appropriate location (${_aux_dir}/). This has been done for you." $ECHO $VERBOSE_ECHO "cp -p ltmain.sh \"${_aux_dir}/ltmain.sh\"" cp -p ltmain.sh "${_aux_dir}/ltmain.sh" $ECHO $ECHO_N "Continuing build preparation ... $ECHO_C" fi fi # ltmain.sh fi # need_libtoolize ############ # autoconf # ############ $VERBOSE_ECHO $VERBOSE_ECHO "$AUTOCONF $AUTOCONF_OPTIONS" autoconf_output="`$AUTOCONF $AUTOCONF_OPTIONS 2>&1`" ret=$? $VERBOSE_ECHO "$autoconf_output" if [ ! $ret = 0 ] ; then # retry without the -f and check for usage of macros that are too new ac2_59_macros="AC_C_RESTRICT AC_INCLUDES_DEFAULT AC_LANG_ASSERT AC_LANG_WERROR AS_SET_CATFILE" ac2_55_macros="AC_COMPILER_IFELSE AC_FUNC_MBRTOWC AC_HEADER_STDBOOL AC_LANG_CONFTEST AC_LANG_SOURCE AC_LANG_PROGRAM AC_LANG_CALL AC_LANG_FUNC_TRY_LINK AC_MSG_FAILURE AC_PREPROC_IFELSE" ac2_54_macros="AC_C_BACKSLASH_A AC_CONFIG_LIBOBJ_DIR AC_GNU_SOURCE AC_PROG_EGREP AC_PROG_FGREP AC_REPLACE_FNMATCH AC_FUNC_FNMATCH_GNU AC_FUNC_REALLOC AC_TYPE_MBSTATE_T" macros_to_search="" ac_major="`echo ${AUTOCONF_VERSION}. | cut -d. -f1 | sed 's/[^0-9]//g'`" ac_minor="`echo ${AUTOCONF_VERSION}. | cut -d. -f2 | sed 's/[^0-9]//g'`" if [ $ac_major -lt 2 ] ; then macros_to_search="$ac2_59_macros $ac2_55_macros $ac2_54_macros" else if [ $ac_minor -lt 54 ] ; then macros_to_search="$ac2_59_macros $ac2_55_macros $ac2_54_macros" elif [ $ac_minor -lt 55 ] ; then macros_to_search="$ac2_59_macros $ac2_55_macros" elif [ $ac_minor -lt 59 ] ; then macros_to_search="$ac2_59_macros" fi fi configure_ac_macros=__none__ for feature in $macros_to_search ; do $VERBOSE_ECHO "Searching for $feature in $CONFIGURE" found="`grep \"^$feature.*\" $CONFIGURE`" if [ ! "x$found" = "x" ] ; then if [ "x$configure_ac_macros" = "x__none__" ] ; then configure_ac_macros="$feature" else configure_ac_macros="$feature $configure_ac_macros" fi fi done if [ ! "x$configure_ac_macros" = "x__none__" ] ; then $ECHO $ECHO "Warning: Unsupported macros were found in $CONFIGURE" $ECHO $ECHO "The `echo $CONFIGURE | basename` file was scanned in order to determine if any" $ECHO "unsupported macros are used that exceed the minimum version" $ECHO "settings specified within this file. As such, the following macros" $ECHO "should be removed from configure.ac or the version numbers in this" $ECHO "file should be increased:" $ECHO $ECHO "$configure_ac_macros" $ECHO $ECHO $ECHO_N "Ignorantly continuing build preparation ... $ECHO_C" fi ################### # autoconf, retry # ################### $VERBOSE_ECHO $VERBOSE_ECHO "$AUTOCONF" autoconf_output="`$AUTOCONF 2>&1`" ret=$? $VERBOSE_ECHO "$autoconf_output" if [ ! $ret = 0 ] ; then # test if libtool is busted libtool_failure "$autoconf_output" # let the user know what went wrong cat < Daniele Napolitano gweled-0.9.1/README0000644000175000017500000000000011545063174012312 0ustar dnaxdnaxgweled-0.9.1/Makefile.in0000644000175000017500000006554211545063247013526 0ustar dnaxdnax# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ depcomp install-sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(pixmapdir)" "$(DESTDIR)$(soundsdir)" DATA = $(pixmap_DATA) $(sounds_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d "$(distdir)" \ || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr "$(distdir)"; }; } am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MIKMOD_CFLAGS = @MIKMOD_CFLAGS@ MIKMOD_LIBS = @MIKMOD_LIBS@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RSVG_CFLAGS = @RSVG_CFLAGS@ RSVG_LIBS = @RSVG_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ scoredir = @scoredir@ scores_group = @scores_group@ scores_user = @scores_user@ setgid = @setgid@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = src data po pixmapdir = $(datadir)/pixmaps/$(PACKAGE) pixmap_DATA = pixmaps/cursor.svg pixmaps/font_24_20.png pixmaps/font_48_40.png \ pixmaps/gem01.svg pixmaps/gem02.svg pixmaps/gem03.svg \ pixmaps/gem04.svg pixmaps/gem05.svg pixmaps/gem06.svg \ pixmaps/gem07.svg pixmaps/tile_even.svg pixmaps/tile_odd.svg \ pixmaps/powerglow_32.png pixmaps/powerglow_48.png \ pixmaps/powerglow_64.png pixmaps/sparkle_32.png \ pixmaps/sparkle_48.png pixmaps/sparkle_64.png soundsdir = $(datadir)/sounds/$(PACKAGE) sounds_DATA = sounds/autonom.s3m sounds/click.wav sounds/swap.wav EXTRA_DIST = $(sounds_DATA) \ $(pixmap_DATA) SCOREFILES = Normal Timed all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-pixmapDATA: $(pixmap_DATA) @$(NORMAL_INSTALL) test -z "$(pixmapdir)" || $(MKDIR_P) "$(DESTDIR)$(pixmapdir)" @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pixmapdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pixmapdir)" || exit $$?; \ done uninstall-pixmapDATA: @$(NORMAL_UNINSTALL) @list='$(pixmap_DATA)'; test -n "$(pixmapdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(pixmapdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(pixmapdir)" && rm -f $$files install-soundsDATA: $(sounds_DATA) @$(NORMAL_INSTALL) test -z "$(soundsdir)" || $(MKDIR_P) "$(DESTDIR)$(soundsdir)" @list='$(sounds_DATA)'; test -n "$(soundsdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(soundsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(soundsdir)" || exit $$?; \ done uninstall-soundsDATA: @$(NORMAL_UNINSTALL) @list='$(sounds_DATA)'; test -n "$(soundsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(soundsdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(soundsdir)" && rm -f $$files # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @$(am__cd) '$(distuninstallcheck_dir)' \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pixmapdir)" "$(DESTDIR)$(soundsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-data-local install-pixmapDATA \ install-soundsDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-pixmapDATA uninstall-soundsDATA .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ ctags-recursive install-am install-exec-am install-strip \ tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ distclean distclean-generic distclean-hdr distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-exec-hook install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pixmapDATA install-ps \ install-ps-am install-soundsDATA install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-pixmapDATA uninstall-soundsDATA install-data-local: -$(mkinstalldirs) $(DESTDIR)$(scoredir) -if [ -f $(DESTDIR)$(scoredir)/gweled.easy.scores -a ! -f $(DESTDIR)$(scoredir)/gweled.Normal.scores ]; then mv -f $(DESTDIR)$(scoredir)/gweled.easy.scores $(DESTDIR)$(scoredir)/gweled.Normal.scores ; fi -if [ -f $(DESTDIR)$(scoredir)/gweled.hard.scores -a ! -f $(DESTDIR)$(scoredir)/gweled.Timed.scores ]; then mv -f $(DESTDIR)$(scoredir)/gweled.hard.scores $(DESTDIR)$(scoredir)/gweled.Timed.scores ; fi -for i in ${SCOREFILES} ; do \ touch $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ chmod 664 $(DESTDIR)$(scoredir)/gweled.$$i.scores; \ done install-exec-hook: -if test "$(setgid)" = "true"; then \ chgrp $(scores_group) $(DESTDIR)$(bindir)/gweled && chmod 2555 $(DESTDIR)$(bindir)/gweled ;\ fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gweled-0.9.1/depcomp0000755000175000017500000004426711545063246013036 0ustar dnaxdnax#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2009-04-28.21; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free # Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u="sed s,\\\\\\\\,/,g" depmode=msvisualcpp fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gweled-0.9.1/missing0000755000175000017500000002623311545063246013051 0ustar dnaxdnax#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG="\${$#}" case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar*) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gweled-0.9.1/install-sh0000755000175000017500000003253711545063246013462 0ustar dnaxdnax#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then trap '(exit $?); exit' 1 2 13 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names starting with `-'. case $src in -*) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # Protect names starting with `-'. case $dst in -*) dst=./$dst;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; -*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test -z "$d" && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: gweled-0.9.1/config.h.in0000644000175000017500000000404211545063245013466 0ustar dnaxdnax/* config.h.in. Generated from configure.in by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Define if use of setgid binaries is enabled */ #undef ENABLE_SETGID /* GETTEXT package name */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION gweled-0.9.1/configure0000755000175000017500000076312011545063244013362 0ustar dnaxdnax#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.67 for Gweled 0.9.1. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Gweled' PACKAGE_TARNAME='gweled' PACKAGE_VERSION='0.9.1' PACKAGE_STRING='Gweled 0.9.1' PACKAGE_BUGREPORT='' PACKAGE_URL='http://gweled.org' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS scoredir scores_user scores_group setgid ENABLE_SETGID_FALSE ENABLE_SETGID_TRUE PTHREAD_LIBS PTHREAD_CFLAGS MIKMOD_LIBS MIKMOD_CFLAGS RSVG_LIBS RSVG_CFLAGS GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES CATOBJEXT CATALOGS MSGFMT_OPTS DATADIRNAME ALL_LINGUAS INTLTOOL_PERL GMSGFMT MSGFMT MSGMERGE XGETTEXT INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE USE_NLS GETTEXT_PACKAGE EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_silent_rules enable_dependency_tracking enable_nls enable_setgid with_scores_group with_scores_user ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS RSVG_CFLAGS RSVG_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures Gweled 0.9.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/gweled] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of Gweled 0.9.1:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0') --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-nls do not use Native Language Support --disable-setgid Disable the use of setgid binaries Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-scores-group=group Group for the high score tables and binaries --with-scores-user=user User for the high score tables Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config RSVG_LIBS linker flags for RSVG, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. Gweled home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Gweled configure 0.9.1 generated by GNU Autoconf 2.67 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_func # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval "test \"\${$3+set}\"" = set; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_mongrel # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval "test \"\${$3+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_header_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Gweled $as_me 0.9.1, which was generated by GNU Autoconf 2.67. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5 ; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if test "${ac_cv_path_mkdir+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='gweled' VERSION='0.9.1' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_config_headers="$ac_config_headers config.h" # Use AM_SILENT_RULES if present # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac AM_BACKSLASH='\' DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5 ; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5 ; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5 ; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5 ; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5 ; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 $as_echo_n "checking for library containing strerror... " >&6; } if test "${ac_cv_search_strerror+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_strerror=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if test "${ac_cv_search_strerror+set}" = set; then : break fi done if test "${ac_cv_search_strerror+set}" = set; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 $as_echo "$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5 ; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5 ; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5 ; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi GETTEXT_PACKAGE=gweled cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac if test -n "0.40.0"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 $as_echo_n "checking for intltool >= 0.40.0... " >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGMERGE+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" if test "x$ac_cv_header_locale_h" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if test "${am_cv_val_LC_MESSAGES+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_val_LC_MESSAGES=yes else am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = x""yes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if test "${gt_cv_func_ngettext_libc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_ngettext_libc=yes else gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if test "${gt_cv_func_dgettext_libc+set}" = set; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_dgettext_libc=yes else gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_bindtextdomain=yes else ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_dgettext+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dgettext=yes else ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = x""yes; then : gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = x""yes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if test "${ac_cv_lib_intl_dcgettext+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dcgettext=yes else ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" if test "x$ac_cv_func_dcgettext" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : CATOBJEXT=.gmo DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then : CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi fi if test "$gt_cv_have_gettext" = "yes" ; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES #### Check for GTK+ >= 2.14 #### if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.14" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.14\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.14") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.14" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.14" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.14" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "GTK+-2.14 is required to compile gweled" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "GTK+-2.14 is required to compile gweled" "$LINENO" 5 else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi #### Check for librsvg 2.0 #### pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5 $as_echo_n "checking for RSVG... " >&6; } if test -n "$RSVG_CFLAGS"; then pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$RSVG_LIBS"; then pkg_cv_RSVG_LIBS="$RSVG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg-2.0" 2>&1` else RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$RSVG_PKG_ERRORS" >&5 as_fn_error $? "librsvg-2.0 is required to compile gweled" "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "librsvg-2.0 is required to compile gweled" "$LINENO" 5 else RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS RSVG_LIBS=$pkg_cv_RSVG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi #### Check for mikmod.h header #### ac_fn_c_check_header_mongrel "$LINENO" "mikmod.h" "ac_cv_header_mikmod_h" "$ac_includes_default" if test "x$ac_cv_header_mikmod_h" = x""yes; then : else as_fn_error $? "libmikmod is required to compile gweled" "$LINENO" 5 fi MIKMOD_CFLAGS=`libmikmod-config --cflags` MIKMOD_LIBS=`libmikmod-config --libs` ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = x""yes; then : else as_fn_error $? "*** Cannot find pthread.h header" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lpthread $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_create (); int main () { return pthread_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_pthread_pthread_create=yes else ac_cv_lib_pthread_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -lpthread" PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_REENTRANT" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5 $as_echo_n "checking for pthread_create in -lc_r... " >&6; } if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lc_r $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_create (); int main () { return pthread_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_c_r_pthread_create=yes else ac_cv_lib_c_r_pthread_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5 $as_echo "$ac_cv_lib_c_r_pthread_create" >&6; } if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then : PTHREAD_LDFLAGS="$PTHREAD_LDFLAGS -pthread" PTHREAD_CFLAGS="$PTHREAD_CFLAGS -D_THREAD_SAFE" else as_fn_error $? "*** Cannot find pthread library" "$LINENO" 5 fi fi LIBS="$LIBS -export-dynamic" # Check whether --enable-setgid was given. if test "${enable_setgid+set}" = set; then : enableval=$enable_setgid; case "${enableval}" in yes) setgid=true ;; no) setgid=false ;; *) as_fn_error $? "bad value ${enableval} for --disable-setgid" "$LINENO" 5 ;; esac else setgid=true;enable_setgid=yes fi scoredir='${localstatedir}/games' scores_group=games scores_user=games if test "$enable_setgid" = "yes"; then $as_echo "#define ENABLE_SETGID 1" >>confdefs.h # Check whether --with-scores-group was given. if test "${with_scores_group+set}" = set; then : withval=$with_scores_group; scores_group="$withval" else scores_group="games" fi # Check whether --with-scores-user was given. if test "${with_scores_user+set}" = set; then : withval=$with_scores_user; scores_user="$withval" else scores_user="games" fi fi if test "$enable_setgid" = "yes"; then ENABLE_SETGID_TRUE= ENABLE_SETGID_FALSE='#' else ENABLE_SETGID_TRUE='#' ENABLE_SETGID_FALSE= fi ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile po/Makefile.in" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${ENABLE_SETGID_TRUE}" && test -z "${ENABLE_SETGID_FALSE}"; then as_fn_error $? "conditional \"ENABLE_SETGID\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : ${CONFIG_STATUS=./config.status} ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by Gweled $as_me 0.9.1, which was generated by GNU Autoconf 2.67. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to the package provider. Gweled home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ Gweled config.status 0.9.1 configured by $0, generated by GNU Autoconf 2.67, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi echo " Configuration: Source code location: ${srcdir} Compiler: ${CC} Use setgid binaries: $enable_setgid Scores user: $scores_user Scores & setgid group: $scores_group " if grep "$scores_group:" /etc/group > /dev/null; then :; else echo echo "Warning: The $scores_group group does not exist. Installation will" echo " succeed, but high score logging will not work. To specify a" echo " different group use the --with-scores-group option." echo fi gweled-0.9.1/aclocal.m40000644000175000017500000020457111545063242013311 0ustar dnaxdnax# generated automatically by aclocal 1.11.1 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, [m4_warning([this file was generated for autoconf 2.67. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac]) LIBS="$glib_save_LIBS" INSTOBJEXT=.mo else gt_cv_have_gettext=no fi fi ]) if test "$gt_cv_have_gettext" = "yes" ; then AC_DEFINE(ENABLE_NLS, 1, [always defined to indicate that i18n is enabled]) fi dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is not GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po AC_OUTPUT_COMMANDS( [case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac]) dnl These rules are solely for the distribution goal. While doing this dnl we only have to keep exactly one list of the available catalogs dnl in configure.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 40 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` ] AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # This was merged into AC_PROG_CC in Autoconf. AU_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC AC_DIAGNOSE([obsolete], [$0: your code should no longer depend upon `am_cv_prog_cc_stdc', but upon `ac_cv_prog_cc_stdc'. Remove this warning and the assignment when you adjust the code. You can also remove the above call to AC_PROG_CC if you already called it elsewhere.]) am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc ]) AU_DEFUN([fp_PROG_CC_STDC]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 10 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless `enable' is passed literally. # For symmetry, `disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful (and sometimes confusing) to the casual installer], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # (`yes' being less verbose, `no' or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [ --enable-silent-rules less verbose build output (undo: `make V=1') --disable-silent-rules verbose build output (undo: `make V=0')]) case $enable_silent_rules in yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR gweled-0.9.1/INSTALL0000644000175000017500000002207111545063174012477 0ustar dnaxdnaxInstallation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PREFIX', the package will use PREFIX as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the `--target=TYPE' option to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc will cause the specified gcc to be used as the C compiler (unless it is overridden in the site shell script). `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. gweled-0.9.1/src/sge_utils.h0000644000175000017500000000201111545063174014374 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include GdkPixbuf* sge_load_file_to_pixbuf (char *filename); GdkPixbuf* sge_load_svg_to_pixbuf (char *filename, int width, int height); gweled-0.9.1/src/sge_utils.c0000644000175000017500000000364511545063174014405 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include "sge_utils.h" GdkPixbuf * sge_load_svg_to_pixbuf (char *filename, int width, int height) { gchar *full_pathname; GdkPixbuf *pixbuf = NULL; GError *error; full_pathname = g_strconcat(DATADIR "/pixmaps/", filename, NULL ); if (g_file_test(full_pathname, G_FILE_TEST_IS_REGULAR)) { pixbuf = rsvg_pixbuf_from_file_at_size (full_pathname, width, height, &error); g_free (full_pathname); if (pixbuf == NULL) g_free (error); } else g_warning ("%s not found", filename); return pixbuf; } GdkPixbuf * sge_load_file_to_pixbuf (char *filename) { gchar *full_pathname; GdkPixbuf *pixbuf = NULL; full_pathname = g_strconcat(DATADIR "/pixmaps/", filename, NULL ); if (g_file_test(full_pathname, G_FILE_TEST_IS_REGULAR)) { pixbuf = gdk_pixbuf_new_from_file (full_pathname, NULL); g_free (full_pathname); } else g_warning ("%s not found\n", filename); return pixbuf; } gweled-0.9.1/src/sge_core.h0000644000175000017500000000557611545063174014207 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _SGE_CORE_H_ #define _SGE_CORE_H_ typedef struct s_sge_object { gdouble x; gdouble y; gdouble vx; gdouble vy; gdouble ax; gdouble ay; gint y_delay; gint dest_x; gint dest_y; gint width; gint height; gint layer; gint lifetime; gint opacity; gboolean fadeout; gboolean zoomout; gfloat zoom; gfloat saturation; gboolean blink; gboolean blink_increase; gboolean animation; gfloat animation_iter; gboolean animation_repeat; gint needs_drawing; gint pixbuf_id; GdkPixmap *pre_rendered; gint (*stop_condition)(struct s_sge_object *); GFunc stop_callback; }T_SGEObject; #define SGE_OBJECT(obj) ((T_SGEObject *) obj) void sge_init(void); void sge_destroy(void); void sge_set_drawing_area(GtkWidget *drawing_area, GdkPixmap *pixmap_buffer, gint width, gint height); gint sge_register_pixbuf(GdkPixbuf *pixbuf, int index); T_SGEObject *sge_create_object(gint x, gint y, gint layer, gint pixbuf_id);//GdkPixbuf *pixbuf); void sge_destroy_object(gpointer object, gpointer user_data); void sge_destroy_all_objects_on_level(int level); void sge_destroy_all_objects(void); void sge_object_set_lifetime(T_SGEObject *object, gint seconds); void sge_object_take_down(T_SGEObject *object); void sge_object_move_to(T_SGEObject *object, gint dest_x, gint dest_y); void sge_object_fall_to(T_SGEObject *object, gint dest_y); void sge_object_fall_to_with_delay (T_SGEObject * object, gint y_pos, gint delay); gboolean sge_object_is_moving(T_SGEObject *object); gboolean sge_objects_are_moving(void); gboolean sge_objects_are_moving_on_layer(int layer); void sge_set_layer_visibility (int layer, gboolean visibility); void sge_invalidate_layer(int layer); void sge_object_set_opacity (T_SGEObject *object, gint alpha); void sge_object_fadeout (T_SGEObject *object); void sge_object_zoomout (T_SGEObject *object); void sge_object_blink_start (T_SGEObject *object); void sge_object_blink_stop (T_SGEObject *object); void sge_object_animate (T_SGEObject *object, gboolean repeat); gboolean sge_object_exists (T_SGEObject *object); #endif gweled-0.9.1/src/sge_core.c0000644000175000017500000005077011545063174014176 0ustar dnaxdnax/* Gweled - Seb's Graphic Engine (SGE) * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Levels: * 0 -> board background * 1 -> gems * 2 -> cursor * 3 -> text */ #include #include #include "sge_core.h" #define ACCELERATION 1.0 #define SGE_TIMER_INTERVAL 20 // LOCAL FUNCTIONS void invalidate_objects_above (T_SGEObject * object); void invalidate_background_beneath (T_SGEObject * object); // LOCAL VARS static GRand *g_rand_generator; static guint g_main_loop_id; static GList *g_object_list; static GdkPixmap *g_pixmap_buffer; static GdkPixbuf **g_pixbufs; static gint g_width, g_height; static gint gi_nb_pixbufs; static GtkWidget *g_drawing_area = NULL; static gboolean layers_visibility[5] = {TRUE, TRUE, TRUE, TRUE, TRUE}; // helper functions gint compare_by_layer (gconstpointer a, gconstpointer b) { return SGE_OBJECT(a)->layer - SGE_OBJECT(b)->layer; } // main loop functions void draw_object (gpointer object, gpointer user_data) { int x, y; GdkGC *gc; GdkPixbuf *pixbuffer; if((SGE_OBJECT(object)->fadeout && SGE_OBJECT(object)->opacity <= 0) || (SGE_OBJECT(object)->zoomout && SGE_OBJECT(object)->zoom <= 0)) { sge_destroy_object (SGE_OBJECT(object), NULL); return; } if ((int) SGE_OBJECT(object)->needs_drawing && layers_visibility[SGE_OBJECT(object)->layer] && SGE_OBJECT(object)->opacity > 0) { x = (int) SGE_OBJECT(object)->x; y = (int) SGE_OBJECT(object)->y; if (SGE_OBJECT(object)->pre_rendered) { gc = gdk_gc_new (GDK_DRAWABLE (g_pixmap_buffer)); gdk_draw_drawable (GDK_DRAWABLE (g_pixmap_buffer), gc, GDK_DRAWABLE (SGE_OBJECT(object)->pre_rendered), 0, 0, x, y, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height); g_object_unref (gc); } else { if (SGE_OBJECT(object)->opacity < 255 || SGE_OBJECT(object)->zoom != 1.0) { pixbuffer = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height); gdk_pixbuf_fill (pixbuffer, 0x00000000); gdk_pixbuf_composite(g_pixbufs[SGE_OBJECT(object)->pixbuf_id], pixbuffer, 0, 0, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height, 0, 0, SGE_OBJECT(object)->zoom, SGE_OBJECT(object)->zoom, GDK_INTERP_NEAREST, SGE_OBJECT(object)->opacity); if(SGE_OBJECT(object)->animation) gdk_draw_pixbuf (GDK_DRAWABLE (g_pixmap_buffer), NULL, pixbuffer, ((int)SGE_OBJECT(object)->animation_iter) * SGE_OBJECT(object)->height, 0, x, y, SGE_OBJECT(object)->height, SGE_OBJECT(object)->height, GDK_RGB_DITHER_NONE, 0, 0); else gdk_draw_pixbuf (GDK_DRAWABLE (g_pixmap_buffer), NULL, pixbuffer, 0, 0, x + (SGE_OBJECT(object)->width - SGE_OBJECT(object)->width * SGE_OBJECT(object)->zoom) / 2, y + (SGE_OBJECT(object)->height - SGE_OBJECT(object)->height * SGE_OBJECT(object)->zoom) / 2, SGE_OBJECT(object)->width * SGE_OBJECT(object)->zoom, SGE_OBJECT(object)->height * SGE_OBJECT(object)->zoom, GDK_RGB_DITHER_NONE, 0, 0); g_object_unref(pixbuffer); } else if(SGE_OBJECT(object)->blink) { pixbuffer = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height); gdk_pixbuf_fill (pixbuffer, 0x00000000); gdk_pixbuf_saturate_and_pixelate( g_pixbufs[SGE_OBJECT(object)->pixbuf_id], pixbuffer, SGE_OBJECT(object)->saturation, FALSE); gdk_draw_pixbuf (GDK_DRAWABLE (g_pixmap_buffer), NULL, pixbuffer, 0, 0, x, y, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height, GDK_RGB_DITHER_NONE, 0, 0); g_object_unref(pixbuffer); } else { if(SGE_OBJECT(object)->animation) { // width of each sprite of animation is the object height gdk_draw_pixbuf (GDK_DRAWABLE (g_pixmap_buffer), NULL, g_pixbufs[SGE_OBJECT(object)->pixbuf_id], ((int)SGE_OBJECT(object)->animation_iter) * SGE_OBJECT(object)->height, 0, x, y, SGE_OBJECT(object)->height, SGE_OBJECT(object)->height, GDK_RGB_DITHER_NONE, 0, 0); } else { // draw pixbuf without effects gdk_draw_pixbuf (GDK_DRAWABLE (g_pixmap_buffer), NULL, g_pixbufs[SGE_OBJECT(object)->pixbuf_id], 0, 0, x, y, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height, GDK_RGB_DITHER_NONE, 0, 0); } } } // request area drawing gtk_widget_queue_draw_area (g_drawing_area, x, y, SGE_OBJECT(object)->width, SGE_OBJECT(object)->height); SGE_OBJECT(object)->needs_drawing = 0; invalidate_objects_above (SGE_OBJECT(object)); } if(SGE_OBJECT(object)->fadeout) { SGE_OBJECT(object)->opacity -= 30; invalidate_background_beneath (SGE_OBJECT(object)); } if(SGE_OBJECT(object)->zoomout) { SGE_OBJECT(object)->zoom -= 0.20; invalidate_background_beneath (SGE_OBJECT(object)); } if(SGE_OBJECT(object)->blink) { if(SGE_OBJECT(object)->saturation >= 2.0) SGE_OBJECT(object)->blink_increase = FALSE; if(SGE_OBJECT(object)->saturation <= 0.4) SGE_OBJECT(object)->blink_increase = TRUE; if(SGE_OBJECT(object)->blink_increase) SGE_OBJECT(object)->saturation += 0.2; else SGE_OBJECT(object)->saturation -= 0.2; invalidate_background_beneath (SGE_OBJECT(object)); } if(SGE_OBJECT(object)->animation) { SGE_OBJECT(object)->animation_iter += 0.5; if(SGE_OBJECT(object)->animation_iter * SGE_OBJECT(object)->height == SGE_OBJECT(object)->width) { if(SGE_OBJECT(object)->animation_repeat) SGE_OBJECT(object)->animation_iter = 0; else { sge_destroy_object (SGE_OBJECT(object), NULL); return; } } invalidate_background_beneath (SGE_OBJECT(object)); } } void move_object (gpointer object, gpointer user_data) { if(SGE_OBJECT(object)->y_delay > 0) { SGE_OBJECT(object)->y_delay--; return; } SGE_OBJECT(object)->vx += SGE_OBJECT(object)->ax; SGE_OBJECT(object)->vy += SGE_OBJECT(object)->ay; if (sge_object_is_moving (SGE_OBJECT(object))) { invalidate_background_beneath (SGE_OBJECT(object)); SGE_OBJECT(object)->x += SGE_OBJECT(object)->vx; SGE_OBJECT(object)->y += SGE_OBJECT(object)->vy; SGE_OBJECT(object)->needs_drawing |= 0x02; } if (SGE_OBJECT(object)->stop_condition) if (SGE_OBJECT(object)->stop_condition(SGE_OBJECT(object))) { if (SGE_OBJECT(object)->stop_callback) SGE_OBJECT(object)->stop_callback (object, NULL); // needed for scores messages if(!SGE_OBJECT(object)->fadeout) SGE_OBJECT(object)->vy = 0.0; SGE_OBJECT(object)->vx = 0.0; SGE_OBJECT(object)->ax = 0.0; SGE_OBJECT(object)->ay = 0.0; } } gboolean sge_main_loop (gpointer data) { g_list_foreach (g_object_list, draw_object, NULL); g_list_foreach (g_object_list, move_object, NULL); return TRUE; } // creation/destruction void sge_init (void) { g_rand_generator = g_rand_new_with_seed (time (NULL)); g_main_loop_id = g_timeout_add (SGE_TIMER_INTERVAL, sge_main_loop, NULL); gi_nb_pixbufs = 0; g_pixbufs = NULL; } void scale_object_pos (gpointer object, gpointer user_data) { gdouble ratio; ratio = *((gdouble *) user_data); SGE_OBJECT(object)->x = SGE_OBJECT(object)->x * ratio; SGE_OBJECT(object)->y = SGE_OBJECT(object)->y * ratio; SGE_OBJECT(object)->dest_x = (int) rint (SGE_OBJECT(object)->x); SGE_OBJECT(object)->dest_y = (int) rint (SGE_OBJECT(object)->y); SGE_OBJECT(object)->needs_drawing = -1; } void sge_set_drawing_area (GtkWidget * drawing_area, GdkPixmap * pixmap_buffer, gint width, gint height) { gdouble ratio; if (g_drawing_area && width && height) { ratio = (gdouble) width / (gdouble) g_width; g_list_foreach (g_object_list, scale_object_pos, &ratio); } if (drawing_area) g_drawing_area = drawing_area; if (pixmap_buffer) g_pixmap_buffer = pixmap_buffer; if (width) g_width = width; if (height) g_height = height; } void sge_destroy (void) { int i; g_source_remove (g_main_loop_id); g_rand_free (g_rand_generator); for (i = 0; i < gi_nb_pixbufs; i++) g_object_unref (g_pixbufs[i]); g_free (g_pixbufs); } // pixbuf management void pixbuf_update_notify (gpointer item, gpointer data) { int pixbuf_id; T_SGEObject *object; object = (T_SGEObject *) item; pixbuf_id = *((int *) data); if (object->pixbuf_id == pixbuf_id) { object->width = gdk_pixbuf_get_width (g_pixbufs[pixbuf_id]); object->height = gdk_pixbuf_get_height (g_pixbufs[pixbuf_id]); if (object->pre_rendered) { g_object_unref (G_OBJECT (object->pre_rendered)); object->pre_rendered = gdk_pixmap_new (g_drawing_area->window, object->width, object->height, -1); gdk_draw_pixbuf (GDK_DRAWABLE (object->pre_rendered), NULL, g_pixbufs[pixbuf_id], 0, 0, 0, 0, object->width, object->height, GDK_RGB_DITHER_NONE, 0, 0); } } } gint sge_register_pixbuf (GdkPixbuf * pixbuf, int index) { int i; if (index == -1) { for (i = 0; i < gi_nb_pixbufs; i++) if (g_pixbufs[i] == 0) break; if (i == gi_nb_pixbufs) { gi_nb_pixbufs++; g_pixbufs = (GdkPixbuf **) g_realloc (g_pixbufs, sizeof (GdkPixbuf *) * gi_nb_pixbufs); } g_pixbufs[i] = pixbuf; } else { i = index; g_object_unref (g_pixbufs[i]); g_pixbufs[i] = pixbuf; g_list_foreach (g_object_list, pixbuf_update_notify, (void *) &i); } return i; } // object/layer handling functions gboolean objects_intersect (T_SGEObject * object1, T_SGEObject * object2) { GdkRectangle rect1, rect2, dest; rect1.x = object1->x; rect1.y = object1->y; rect1.width = object1->width; rect1.height = object1->height; rect2.x = object2->x; rect2.y = object2->y; rect2.width = object2->width; rect2.height = object2->height; return gdk_rectangle_intersect (&rect1, &rect2, &dest); } void invalidate_object_if_above (gpointer item, gpointer data) { T_SGEObject *target_object, *source_object; source_object = (T_SGEObject *) data; target_object = (T_SGEObject *) item; if (source_object != target_object) if (source_object->layer < target_object->layer) if (objects_intersect (source_object, target_object)) target_object->needs_drawing = -1; } void invalidate_objects_above (T_SGEObject * object) { g_list_foreach (g_object_list, invalidate_object_if_above, (void *) object); } void invalidate_background_if_under_object (gpointer item, gpointer data) { T_SGEObject *target_object, *source_object; source_object = (T_SGEObject *) data; target_object = (T_SGEObject *) item; if (source_object != target_object) if (target_object->layer == 0) if (objects_intersect (source_object, target_object)) target_object->needs_drawing = -1; } void invalidate_background_beneath (T_SGEObject * object) { g_list_foreach (g_object_list, invalidate_background_if_under_object, (void *) object); } void invalidate_if_layer (gpointer item, gpointer data) { T_SGEObject *target_object; target_object = (T_SGEObject *) item; if (target_object->layer == *((int *) data)) target_object->needs_drawing = -1; } void sge_invalidate_layer (int layer) { g_list_foreach (g_object_list, invalidate_if_layer, (void *) &layer); } //objects creation/destruction T_SGEObject * sge_create_object (gint x, gint y, gint layer, gint pixbuf_id) { T_SGEObject * object; object = (T_SGEObject *) g_malloc (sizeof (T_SGEObject)); object->x = x; object->y = y; object->vx = 0.0; object->vy = 0.0; object->ax = 0.0; object->ay = 0.0; object->pixbuf_id = pixbuf_id; object->dest_x = 0; object->dest_y = 0; object->y_delay = 0; object->opacity = 255; object->fadeout = FALSE; object->zoom = 1.0; object->zoomout = FALSE; object->saturation = 1.0; object->blink = FALSE; object->blink_increase = TRUE; object->animation = FALSE; object->animation_iter = 1; object->animation_repeat = TRUE; object->stop_condition = NULL; object->stop_callback = NULL; object->layer = layer; object->needs_drawing = 0x01; object->width = gdk_pixbuf_get_width (g_pixbufs[pixbuf_id]); object->height = gdk_pixbuf_get_height (g_pixbufs[pixbuf_id]); if (layer == 0) { object->pre_rendered = gdk_pixmap_new (g_drawing_area->window, object->width, object->height, -1); gdk_draw_pixbuf (GDK_DRAWABLE (object->pre_rendered), NULL, g_pixbufs[pixbuf_id], 0, 0, 0, 0, object->width, object->height, GDK_RGB_DITHER_NONE, 0, 0); } else object->pre_rendered = NULL; g_object_list = g_list_append (g_object_list, (gpointer) object); g_object_list = g_list_sort (g_object_list, compare_by_layer); return object; } void sge_destroy_object (gpointer object, gpointer user_data) { invalidate_background_beneath (SGE_OBJECT(object)); if (SGE_OBJECT(object)->pre_rendered) g_object_unref (G_OBJECT(SGE_OBJECT(object)->pre_rendered)); g_object_list = g_list_remove (g_object_list, object); g_free(object); } void sge_destroy_object_on_level (gpointer object, gpointer user_data) { // destroy only objects in the specified level if(SGE_OBJECT(object)->layer != GPOINTER_TO_INT(user_data)) return; sge_destroy_object(object, NULL); } void sge_destroy_all_objects (void) { g_list_foreach (g_object_list, sge_destroy_object, NULL); } void sge_destroy_all_objects_on_level (int level) { g_list_foreach (g_object_list, sge_destroy_object_on_level, GINT_TO_POINTER(level)); } // Stop conditions int is_out_of_screen (T_SGEObject * object) { if ((object->x > g_width) || (object->x < -object->width) || (object->y > g_height) || (object->y < -object->height)) return -1; return 0; } int has_reached_destination (T_SGEObject * object) { //g_debug("has_reached_destination():\n"); if (fabs (object->x - object->dest_x) < 1.0 && fabs (object->y - object->dest_y) < 1.0) return -1; return 0; } int has_reached_floor (T_SGEObject * object) { if (object->y >= object->dest_y) { object->y = object->dest_y; return -1; } return 0; } int has_reached_time_limit (T_SGEObject * object) { if (object->lifetime--) return 0; return -1; } // animations/effects void sge_object_rise (T_SGEObject * object) { object->layer++; g_object_list = g_list_sort (g_object_list, compare_by_layer); } void sge_object_take_down (T_SGEObject * object) { //g_print("sge_object_take_down():\n"); object->vx = g_rand_double_range (g_rand_generator, -1.0, 1.0); object->vy = g_rand_double_range (g_rand_generator, 0.0, 1.0); object->ax = 0.0; object->ay = ACCELERATION; object->stop_condition = is_out_of_screen; object->stop_callback = sge_destroy_object; g_object_list = g_list_sort (g_object_list, compare_by_layer); } #define NB_STEPS 10 // used for gems swapping void sge_object_move_to (T_SGEObject * object, gint dest_x, gint dest_y) { //g_print("sge_object_move_to(): dest_x:%d dest_y:%d\n", dest_x, dest_y); object->vx = (dest_x - object->x) / NB_STEPS; object->vy = (dest_y - object->y) / NB_STEPS; object->dest_x = dest_x; object->dest_y = dest_y; object->stop_condition = has_reached_destination; } void sge_object_fadeout_cb (gpointer object, gpointer user_data) { SGE_OBJECT(object)->fadeout = TRUE; } void sge_object_set_lifetime (T_SGEObject * object, gint seconds) { object->lifetime = (1000 / SGE_TIMER_INTERVAL) * seconds; object->stop_condition = has_reached_time_limit; object->stop_callback = sge_object_fadeout_cb; } void sge_object_fall_to (T_SGEObject * object, gint y_pos) { //g_print("sge_object_fall_to(): y_pos:%d\n", y_pos); if (object->y < y_pos) { object->ay = ACCELERATION; object->dest_y = y_pos; object->stop_condition = has_reached_floor; } } void sge_object_fall_to_with_delay (T_SGEObject * object, gint y_pos, gint delay) { //g_print("sge_object_fall_to_with_accel(): y_pos:%d y:%4.1f diff:%4.1f x:%4.1f delay:%4.1f\n", y_pos/48, object->y/48, (y_pos-object->y)/48 +1, object->x/48, 0-object->y/48); if (object->y < y_pos) { object->ay = ACCELERATION; object->dest_y = y_pos; object->stop_condition = has_reached_floor; object->y_delay = delay; } } //other useful stuff gboolean sge_object_is_moving (T_SGEObject * object) { return ((object->vx != 0.0) || (object->vy != 0.0)); } gboolean sge_objects_are_moving (void) { gint i; T_SGEObject *object; for (i = 0; i < g_list_length (g_object_list); i++) { object = (T_SGEObject *) g_list_nth_data (g_object_list, i); if (sge_object_is_moving (object)) return TRUE; } return FALSE; } gboolean sge_objects_are_moving_on_layer (int layer) { gint i; T_SGEObject *object; for (i = 0; i < g_list_length (g_object_list); i++) { object = (T_SGEObject *) g_list_nth_data (g_object_list, i); if (object->layer == layer) if (sge_object_is_moving (object)) return TRUE; } return FALSE; } void sge_set_layer_visibility (int layer, gboolean visibility) { if(layer >= 0 && layer < 5) { layers_visibility[layer] = visibility; if(layer > 0) sge_invalidate_layer(layer-1); else sge_invalidate_layer(0); } } void sge_object_set_opacity (T_SGEObject *object, gint opacity) { if(object->pre_rendered && object->opacity == opacity) return; if (object->pre_rendered) g_object_unref (G_OBJECT(object->pre_rendered)); object->opacity = opacity; } // fadeout the object and then destroy it void sge_object_fadeout (T_SGEObject *object) { object->fadeout = TRUE; } // zoomout the object and then destroy it void sge_object_zoomout (T_SGEObject *object) { object->zoomout = TRUE; } void sge_object_blink_start (T_SGEObject *object) { object->blink = TRUE; object->blink_increase = TRUE; } void sge_object_blink_stop (T_SGEObject *object) { object->blink = FALSE; } void sge_object_animate (T_SGEObject *object, gboolean repeat) { object->animation = TRUE; object->animation_repeat = repeat; } gboolean sge_object_exists (T_SGEObject *object) { if(g_list_index(g_object_list, object) == -1) return FALSE; else return TRUE; } gweled-0.9.1/src/sound.h0000644000175000017500000000241711545063174013540 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _SOUND_H_ #define _SOUND_H_ #include typedef enum e_gweled_sound_samples { CLICK_EVENT, SWAP_EVENT } gweled_sound_samples; void sound_init(void); void sound_music_play(void); void sound_music_stop(void); void sound_load_samples(void); void sound_unload_samples(void); void sound_play_sample(gweled_sound_samples sample); void sound_destroy(void); gboolean sound_get_enabled(); #endif gweled-0.9.1/src/sound.c0000644000175000017500000000755011545063174013536 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include "sound.h" #include "board_engine.h" static pthread_t thread; static MODULE *module; static SAMPLE *swap_sfx = NULL; static SAMPLE *click_sfx = NULL; static gboolean is_playing; static gboolean sound_available; void sound_thread(void *ptr) { while (1) { g_usleep(10000); MikMod_Update(); } } void sound_init() { /* register all the drivers */ MikMod_RegisterDriver(&drv_esd); MikMod_RegisterDriver(&drv_alsa); MikMod_RegisterDriver(&drv_oss); MikMod_RegisterDriver(&drv_nos); /* register only the s3m module loader */ MikMod_RegisterLoader(&load_s3m); /* initialize the library */ if (MikMod_Init("")) { g_printerr("Could not initialize sound, reason: %s\n", MikMod_strerror(MikMod_errno)); MikMod_Exit(); sound_available = FALSE; } else { sound_available = TRUE; MikMod_EnableOutput(); pthread_create(&thread, NULL, (void *)&sound_thread, NULL); g_print("Audio driver choosen: %s\n", md_driver->Name); } is_playing = FALSE; } void sound_music_play() { if (!is_playing && sound_available) { // load module module = Player_Load(DATADIR "/sounds/gweled/autonom.s3m", 64, 0); if (module) { Player_Start(module); Player_SetVolume(64); is_playing = TRUE; } else g_printerr("Could not load module, reason: %s\n", MikMod_strerror(MikMod_errno)); } } void sound_music_stop() { if (is_playing && sound_available) { if (module) { Player_Stop(); Player_Free(module); is_playing = FALSE; } } } // load sound fx void sound_load_samples() { if (sound_available == FALSE) return; if (!swap_sfx) swap_sfx = Sample_Load(DATADIR "/sounds/gweled/swap.wav"); if (!swap_sfx) g_warning("Could not load swap.wav, reason: %s", MikMod_strerror(MikMod_errno)); if (!click_sfx) click_sfx = Sample_Load(DATADIR "/sounds/gweled/click.wav"); if (!click_sfx) g_warning("Could not load click.wav, reason: %s", MikMod_strerror(MikMod_errno)); MikMod_SetNumVoices(-1, 2); } void sound_unload_samples() { if (swap_sfx) { Sample_Free(swap_sfx); swap_sfx = NULL; } if (click_sfx) { Sample_Free(click_sfx); click_sfx = NULL; } } // play sound fx void sound_play_sample(gweled_sound_samples sample) { if (sound_available == FALSE) return; switch (sample) { case CLICK_EVENT: if(click_sfx) Sample_Play(click_sfx, 0, 0); break; case SWAP_EVENT: if(swap_sfx) Sample_Play(swap_sfx, 0, 0); break; } } void sound_destroy() { if (sound_available) { sound_music_stop(); pthread_cancel(thread); pthread_join(thread, NULL); sound_unload_samples(); MikMod_DisableOutput(); MikMod_Exit(); sound_available = FALSE; } } gboolean sound_get_enabled() { return sound_available; } gweled-0.9.1/src/Makefile.am0000644000175000017500000000152011545063174014265 0ustar dnaxdnax## Process this file with automake to produce Makefile.in INCLUDES = \ -DDATADIR=\""$(datadir)"\" \ -DPACKAGE_DATA_DIR=\""$(datadir)/gweled"\" \ -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \ -DSCOREDIR=\""$(scoredir)"\" AM_CFLAGS = \ @GTK_CFLAGS@ \ @RSVG_CFLAGS@ \ @MIKMOD_CFLAGS@ \ @PTHREAD_CFLAGS@ bin_PROGRAMS = gweled gweled_SOURCES = \ main.c main.h \ callbacks.c \ board_engine.c board_engine.h \ graphic_engine.c graphic_engine.h \ sge_core.c sge_core.h \ sge_utils.c sge_utils.h \ sound.c sound.h \ games-score.c games-score.h \ games-scores.c games-scores.h \ games-scores-backend.c games-scores-backend.h \ games-scores-dialog.c games-scores-dialog.h \ games-setgid-io.c games-setgid-io.h \ games-scores-dialog-private.h gweled_LDADD = @GTK_LIBS@ @RSVG_LIBS@ @MIKMOD_LIBS@ @PTHREAD_LIBS@ gweled-0.9.1/src/main.h0000644000175000017500000000217211545063174013332 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _GWELED_MAIN_H_ #define _GWELED_MAIN_H_ #include void save_preferences(void); void load_preferences(void); void save_current_game(); void welcome_screen_visibility (gboolean value); gint show_hiscores (gint pos, gboolean endofgame); #endif gweled-0.9.1/src/main.c0000644000175000017500000003627211545063174013335 0ustar dnaxdnax/* ____ * /____\ * \ / Gweled * \ / * \/ * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "games-scores.h" #include "games-scores-dialog.h" #include "sge_core.h" #include "board_engine.h" #include "graphic_engine.h" #include "sound.h" #include "main.h" // GLOBALS GtkBuilder *gweled_xml; GtkWidget *g_main_window; GtkWidget *g_pref_window; GtkWidget *g_score_window; GtkWidget *g_drawing_area; GtkWidget *g_progress_bar; GtkWidget *g_score_label; GtkWidget *g_bonus_label; GtkWidget *g_menu_pause; GtkWidget *g_pref_music_button; GtkWidget *g_pref_sounds_button; GtkWidget *g_alignment_welcome; GdkPixmap *g_buffer_pixmap = NULL; GRand *g_random_generator; guint board_engine_id; GweledPrefs prefs; static const GamesScoresCategory scorecats[] = { {"Normal", NC_("game type", "Normal") }, {"Timed", NC_("game type", "Timed") } }; GamesScores *highscores; extern gint gi_game_running; void save_preferences(void) { gchar *filename, *configstr; GKeyFile *config; FILE *configfile; GError *error = NULL; filename = g_strconcat(g_get_user_config_dir(), "/gweled.conf", NULL); config = g_key_file_new(); g_key_file_set_integer(config, "General", "tile_size", prefs.tile_size); g_key_file_set_boolean(config, "General", "music_on", prefs.music_on); g_key_file_set_boolean(config, "General", "sounds_on", prefs.sounds_on); configstr = g_key_file_to_data(config, NULL, NULL); configfile = fopen(filename, "w"); if(configfile != NULL) { fprintf(configfile, configstr, NULL); fclose(configfile); g_free(configstr); } else { g_printerr("Error writing config file\n"); } g_key_file_free(config); g_free(filename); } void load_preferences(void) { char *filename; GKeyFile *config; GError *error = NULL; filename = g_strconcat(g_get_user_config_dir(), "/gweled.conf", NULL); config = g_key_file_new(); g_key_file_load_from_file(config, filename, G_KEY_FILE_KEEP_COMMENTS | G_KEY_FILE_KEEP_TRANSLATIONS, &error); if(error == NULL && g_key_file_has_group(config, "General")) { prefs.tile_size = g_key_file_get_integer(config, "General", "tile_size", NULL); prefs.music_on = g_key_file_get_boolean(config, "General", "music_on", NULL); prefs.sounds_on = g_key_file_get_boolean(config, "General", "sounds_on", NULL); if(prefs.tile_size <= 32) prefs.tile_size = 32; else if(prefs.tile_size >= 64) prefs.tile_size = 64; else prefs.tile_size = 48; } else { if (error) { g_printerr("Error loading config file: %s\n", error->message); g_error_free (error); } prefs.tile_size = 48; prefs.music_on = TRUE; prefs.sounds_on = TRUE; save_preferences(); } g_key_file_free(config); g_free(filename); } void save_current_game(void) { GweledGameState game; gchar *filename; FILE *stream; game = gweled_get_current_game(); filename = g_strconcat(g_get_user_config_dir(), "/gweled.saved-game", NULL); stream = fopen(filename, "w"); if(stream) { fwrite(&game, sizeof(GweledGameState), 1, stream); fclose(stream); } } void load_previous_game(void) { gchar *filename; FILE *stream; GweledGameState game; gint ret; filename = g_strconcat(g_get_user_config_dir(), "/gweled.saved-game", NULL); stream = fopen(filename, "r"); if(stream) { ret = fread(&game, sizeof(GweledGameState), 1, stream); fclose(stream); if(ret == 1) gweled_set_previous_game(game); } } void init_pref_window(void) { GtkWidget *radio_button = NULL; switch (prefs.tile_size) { case 32: radio_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "smallRadiobutton")); break; case 48: radio_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "mediumRadiobutton")); break; case 64: radio_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "largeRadiobutton")); break; } if (radio_button) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), TRUE); //Is the music playing at start ? radio_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "music_checkbutton")); if (prefs.music_on) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), TRUE); else gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), FALSE); // Sounds radio_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "sounds_checkbutton")); if (prefs.sounds_on) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), TRUE); else gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(radio_button), FALSE); } void welcome_screen_visibility (gboolean value) { gtk_widget_set_visible (g_alignment_welcome, value); gtk_widget_set_visible (g_drawing_area, !value); if(value == TRUE) { // set the label with value for word wrap gtk_widget_set_size_request( GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescNormal")), BOARD_WIDTH * prefs.tile_size - 30, -1); gtk_widget_set_size_request( GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescTimed")), BOARD_WIDTH * prefs.tile_size - 30, -1); gtk_widget_set_size_request( GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescEndless")), BOARD_WIDTH * prefs.tile_size - 30, -1); // if window is small, reduce spaces if(prefs.tile_size < 48) { gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 10); gtk_widget_hide(GTK_WIDGET (gtk_builder_get_object (gweled_xml, "scoreLabel2"))); gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "hbox2")), 0); gtk_container_set_border_width( GTK_CONTAINER (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 0); } else if(prefs.tile_size > 48) { gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 70); gtk_widget_show(GTK_WIDGET (gtk_builder_get_object (gweled_xml, "scoreLabel2"))); gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "hbox2")), 12); gtk_container_set_border_width( GTK_CONTAINER (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 30); } else { gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 40); gtk_widget_show(GTK_WIDGET (gtk_builder_get_object (gweled_xml, "scoreLabel2"))); gtk_box_set_spacing( GTK_BOX (gtk_builder_get_object (gweled_xml, "hbox2")), 12); gtk_container_set_border_width( GTK_CONTAINER (gtk_builder_get_object (gweled_xml, "vboxWelcome")), 12); } } } gint show_hiscores (gint pos, gboolean endofgame) { gchar *message; static GtkWidget *scoresdialog = NULL; static GtkWidget *sorrydialog = NULL; GtkWidget *dialog; gint result; if (endofgame && (pos <= 0)) { if (sorrydialog != NULL) { gtk_window_present (GTK_WINDOW (sorrydialog)); } else { sorrydialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (g_main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_NONE, "%s\n%s", _ ("Game over!"), _ ("Great work, but unfortunately your score did not make the top ten.")); gtk_dialog_add_buttons (GTK_DIALOG (sorrydialog), GTK_STOCK_QUIT, GTK_RESPONSE_REJECT, _("_New Game"), GTK_RESPONSE_ACCEPT, NULL); gtk_dialog_set_default_response (GTK_DIALOG (sorrydialog), GTK_RESPONSE_ACCEPT); gtk_window_set_title (GTK_WINDOW (sorrydialog), ""); } dialog = sorrydialog; } else { if (scoresdialog != NULL) { gtk_window_present (GTK_WINDOW (scoresdialog)); } else { scoresdialog = games_scores_dialog_new (GTK_WINDOW (g_main_window), highscores, _("Gweled Scores")); games_scores_dialog_set_category_description (GAMES_SCORES_DIALOG (scoresdialog), _("Game type:")); } if (pos > 0) { games_scores_dialog_set_hilight (GAMES_SCORES_DIALOG (scoresdialog), pos); message = g_strdup_printf ("%s\n\n%s", _("Congratulations!"), pos == 1 ? _("Your score is the best!") : _("Your score has made the top ten.")); games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog), message); g_free (message); } else { games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog), NULL); } if (endofgame) { games_scores_dialog_set_buttons (GAMES_SCORES_DIALOG (scoresdialog), GAMES_SCORES_QUIT_BUTTON | GAMES_SCORES_NEW_GAME_BUTTON); } else { games_scores_dialog_set_buttons (GAMES_SCORES_DIALOG (scoresdialog), 0); } dialog = scoresdialog; } result = gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_hide (dialog); return result; } static void set_welcome_button_label(GtkWidget *label, gchar *text) { gchar *markup; GdkColor *color; color = &label->style->fg[GTK_STATE_INSENSITIVE]; markup = g_markup_printf_escaped ("%s", color->red, color->green, color->blue, text); gtk_label_set_markup (GTK_LABEL (label), markup); } int main (int argc, char **argv) { GError *error = NULL; GtkWidget *box; gchar *filename; gint response; /* gettext */ bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); // needed for scores handling setgid_io_init(); g_set_application_name("Gweled"); gtk_init(&argc, &argv); highscores = games_scores_new ("gweled", scorecats, G_N_ELEMENTS (scorecats), "game type", NULL, 0 /* default category */, GAMES_SCORES_STYLE_PLAIN_DESCENDING); gtk_window_set_default_icon_name ("gweled"); sge_init (); g_random_generator = g_rand_new_with_seed (time (NULL)); gweled_xml = gtk_builder_new (); if (!gtk_builder_add_from_file (gweled_xml, PACKAGE_DATA_DIR "/gweled.ui", &error)) { g_error ("Couldn't load builder file: %s", error->message); g_error_free (error); } g_pref_window = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "preferencesDialog")); g_main_window = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "gweledApp")); g_score_window = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "highscoresDialog")); g_progress_bar = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "bonusProgressbar")); g_score_label = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "scoreLabel")); g_drawing_area = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "boardDrawingarea")); g_menu_pause = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "pause1")); g_pref_music_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "music_checkbutton")); g_pref_sounds_button = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "sounds_checkbutton")); g_alignment_welcome = GTK_WIDGET (gtk_builder_get_object (gweled_xml, "alignmentWelcome")); set_welcome_button_label (GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescNormal")), _("Get as many point as you can. The game ends if you out of moves.")); set_welcome_button_label (GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescTimed")), _("Get as many points as you can, but you are limited on time.")); set_welcome_button_label (GTK_WIDGET (gtk_builder_get_object (gweled_xml, "labelDescEndless")), _("Game will never end. Your scores will not be registered.")); load_preferences(); init_pref_window(); gtk_builder_connect_signals(gweled_xml, NULL); gtk_widget_add_events (GTK_WIDGET (g_drawing_area), GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_MOTION_MASK); gtk_window_set_resizable (GTK_WINDOW (g_main_window), FALSE); gtk_widget_show (g_main_window); welcome_screen_visibility(TRUE); gtk_widget_set_size_request (g_drawing_area, BOARD_WIDTH * prefs.tile_size, BOARD_HEIGHT * prefs.tile_size); gtk_widget_set_size_request (g_alignment_welcome, BOARD_WIDTH * prefs.tile_size, BOARD_HEIGHT * prefs.tile_size); g_buffer_pixmap = gdk_pixmap_new (g_drawing_area->window, BOARD_WIDTH * prefs.tile_size, BOARD_HEIGHT * prefs.tile_size, -1); gweled_init_glyphs (); gweled_load_pixmaps (); gweled_load_font (); gi_game_running = 0; if(prefs.music_on || prefs.sounds_on) { sound_init(); if(sound_get_enabled() == FALSE) { gtk_widget_set_sensitive(g_pref_music_button, FALSE); gtk_widget_set_sensitive(g_pref_sounds_button, FALSE); } } if (prefs.sounds_on) sound_load_samples(); if (prefs.music_on) sound_music_play(); sge_set_drawing_area (g_drawing_area, g_buffer_pixmap, BOARD_WIDTH * prefs.tile_size, BOARD_HEIGHT * prefs.tile_size); // check for previous saved game filename = g_strconcat(g_get_user_config_dir(), "/gweled.saved-game", NULL); if(g_file_test(filename, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR)) { box = gtk_message_dialog_new (GTK_WINDOW (g_main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _("There is a game saved, do you want restore it?")); gtk_dialog_set_default_response (GTK_DIALOG (box), GTK_RESPONSE_NO); response = gtk_dialog_run (GTK_DIALOG (box)); gtk_widget_destroy (box); if (response == GTK_RESPONSE_YES) load_previous_game(); else unlink(filename); } g_free(filename); gtk_main (); sound_destroy(); sge_destroy (); if(board_engine_id) g_source_remove (board_engine_id); g_rand_free (g_random_generator); g_object_unref(G_OBJECT(gweled_xml)); return 0; } gweled-0.9.1/src/graphic_engine.h0000644000175000017500000000274311545063174015354 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _GRAPHIC_ENGINE_H #define _GRAPHIC_ENGINE_H #include #define FONT_WIDTH 24 #define FONT_HEIGHT 20 void gweled_load_font (void); void gweled_load_pixmaps (void); void gweled_init_glyphs (void); void gweled_draw_message (gchar *in_message); void gweled_draw_game_message (gchar *in_message, int timing); void gweled_draw_message_at (gchar *in_message, gint msg_x, gint msg_y); void gweled_gems_fall_into_place (gboolean with_delay); T_SGEObject* gweled_draw_character (int x, int y, int layer, char character); void gweled_draw_board (void); void gweled_set_objects_size (gint size); #endif gweled-0.9.1/src/graphic_engine.c0000644000175000017500000001726211545063174015351 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* for exit() */ #include /* for strlen() */ #include #include #include "sge_core.h" #include "sge_utils.h" #include "board_engine.h" #include "graphic_engine.h" extern gint gi_game_running; extern gchar gpc_game_board[BOARD_WIDTH][BOARD_HEIGHT]; extern GRand *g_random_generator; extern GdkPixbuf *g_gems_pixbuf[7]; extern GtkWidget *g_drawing_area; extern GtkWidget *g_alignment_welcome; extern GdkPixmap *g_buffer_pixmap; extern T_SGEObject *g_gem_objects[BOARD_WIDTH][BOARD_HEIGHT]; extern GweledPrefs prefs; signed char gpc_font_glyphs[256]; gint gi_tiles_bg_pixbuf[2] = {-1, -1}; gint gi_gems_pixbuf[7] = {-1, -1, -1, -1, -1, -1, -1}; gint gi_charset_pixbuf[50]; gint gi_cursor_pixbuf = -1; gint gi_sparkle_pixbuf = -1; gint gi_powerglow_pixbuf = -1; void gweled_load_font (void) { GdkPixbuf *pixbuf; int i; pixbuf = sge_load_file_to_pixbuf ("gweled/font_24_20.png"); if (pixbuf) { for (i = 0; i < 50; i++) gi_charset_pixbuf[i] = sge_register_pixbuf (gdk_pixbuf_new_subpixbuf (pixbuf, i * FONT_WIDTH, 0, FONT_WIDTH, FONT_HEIGHT), -1); } else exit (-1); } void gweled_load_pixmaps (void) { gchar *filename; GdkPixbuf *pixbuf; int i; for (i = 0; i < 7; i++) { filename = g_strdup_printf ("gweled/gem%02d.svg", i + 1); pixbuf = sge_load_svg_to_pixbuf (filename, prefs.tile_size, prefs.tile_size); if (pixbuf == NULL) exit (-1); gi_gems_pixbuf[i] = sge_register_pixbuf (pixbuf, gi_gems_pixbuf[i]); g_free (filename); } pixbuf = sge_load_svg_to_pixbuf ("gweled/tile_odd.svg", prefs.tile_size, prefs.tile_size); if (pixbuf == NULL) exit (-1); gi_tiles_bg_pixbuf[0] = sge_register_pixbuf (pixbuf, gi_tiles_bg_pixbuf[0]); pixbuf = sge_load_svg_to_pixbuf ("gweled/tile_even.svg", prefs.tile_size, prefs.tile_size); if (pixbuf == NULL) exit (-1); gi_tiles_bg_pixbuf[1] = sge_register_pixbuf (pixbuf, gi_tiles_bg_pixbuf[1]); pixbuf = sge_load_svg_to_pixbuf ("gweled/cursor.svg", prefs.tile_size, prefs.tile_size); if (pixbuf == NULL) exit (-1); gi_cursor_pixbuf = sge_register_pixbuf (pixbuf, gi_cursor_pixbuf); filename = g_strdup_printf ("gweled/sparkle_%d.png", prefs.tile_size); pixbuf = sge_load_file_to_pixbuf (filename); if (pixbuf == NULL) exit (-1); g_free(filename); gi_sparkle_pixbuf = sge_register_pixbuf (pixbuf, gi_sparkle_pixbuf); filename = g_strdup_printf ("gweled/powerglow_%d.png", prefs.tile_size); pixbuf = sge_load_file_to_pixbuf (filename); if (pixbuf == NULL) exit (-1); g_free(filename); gi_powerglow_pixbuf = sge_register_pixbuf (pixbuf, gi_powerglow_pixbuf); } void gweled_init_glyphs (void) { int i; for (i = 0; i < 127; i++) if (g_ascii_isupper (i)) gpc_font_glyphs[i] = i - 'A'; else if (g_ascii_isdigit (i)) gpc_font_glyphs[i] = 29 + i - '0'; else switch (i) { case '(': gpc_font_glyphs[i] = 26; break; case ')': gpc_font_glyphs[i] = 27; break; case '-': gpc_font_glyphs[i] = 28; break; case '.': gpc_font_glyphs[i] = 39; break; case ':': gpc_font_glyphs[i] = 40; break; case ',': gpc_font_glyphs[i] = 41; break; case '\'': gpc_font_glyphs[i] = 42; break; case '"': gpc_font_glyphs[i] = 43; break; case '?': gpc_font_glyphs[i] = 44; break; case '!': gpc_font_glyphs[i] = 45; break; case '#': // "!!!" gpc_font_glyphs[i] = 46; break; case '_': // "..." gpc_font_glyphs[i] = 47; break; case '*': // "ang" gpc_font_glyphs[i] = 48; break; default: gpc_font_glyphs[i] = -1; break; } } void gweled_draw_board (void) { gint i, j; for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) sge_create_object (i * prefs.tile_size, j * prefs.tile_size, 0, gi_tiles_bg_pixbuf[(i + j) % 2]); } T_SGEObject * gweled_draw_character (int x, int y, int layer, char character) { if (gpc_font_glyphs[(int)character] != -1) return sge_create_object (x, y, layer, gi_charset_pixbuf[gpc_font_glyphs [(int)character]]); else return NULL; } void gweled_draw_message_at (gchar * in_message, gint msg_x, gint msg_y) { int i; gchar *message; message = g_ascii_strup (in_message, -1); for (i = 0; i < strlen (message); i++) gweled_draw_character (msg_x + i * FONT_WIDTH, msg_y, 3, message[i]); g_free (message); } void gweled_draw_message (gchar * in_message) { gint msg_x, msg_y, msg_w; msg_w = FONT_WIDTH * strlen (in_message); msg_x = (BOARD_WIDTH * prefs.tile_size - msg_w) >> 1; msg_y = (BOARD_HEIGHT * prefs.tile_size - FONT_HEIGHT) >> 1; gweled_draw_message_at (in_message, msg_x, msg_y); } void gweled_draw_game_message (gchar * in_message, int timing) { int i; gint msg_x, msg_y, msg_w; T_SGEObject *p_object; gchar *message; msg_w = FONT_WIDTH * strlen (in_message); msg_x = (BOARD_WIDTH * prefs.tile_size - msg_w) >> 1; msg_y = (BOARD_HEIGHT * prefs.tile_size - FONT_HEIGHT) >> 1; message = g_ascii_strup (in_message, -1); for (i = 0; i < strlen (message); i++) if (gpc_font_glyphs[(int)message[i]] != -1) { p_object = sge_create_object (msg_x + i * FONT_WIDTH, msg_y, 3, gi_charset_pixbuf [gpc_font_glyphs [(int)message[i]]]); sge_object_set_lifetime (p_object, timing); } g_free (message); } //const gchar* gems[] = {"\e[1;37;40mWH", "\e[1;36;40mBL", "\e[0;33;40mAR", "\e[1;35;40mVI", "\e[1;31;40mRO", "\e[1;33;40mYE", "\e[1;32;40mGR"}; void gweled_gems_fall_into_place (gboolean with_delay) { gint i, j; //g_debug("gweled_gems_fall_into_place():"); for (j = 0; j < BOARD_HEIGHT; j++) { for (i = 0; i < BOARD_WIDTH; i++) { //g_print("%s\e[0m|", gems[SGE_OBJECT(g_gem_objects[i][j])->pixbuf_id]); if(with_delay) sge_object_fall_to_with_delay(g_gem_objects[i][j], j * prefs.tile_size, (BOARD_HEIGHT - j)*i); else sge_object_fall_to (g_gem_objects[i][j], j * prefs.tile_size); } //g_print("\n\e[0m"); } } void gweled_set_objects_size (gint size) { gtk_widget_set_size_request (GTK_WIDGET (g_drawing_area), BOARD_WIDTH * size, BOARD_HEIGHT * size); gtk_widget_set_size_request (g_alignment_welcome, BOARD_WIDTH * prefs.tile_size, BOARD_HEIGHT * prefs.tile_size); g_object_unref (G_OBJECT (g_buffer_pixmap)); g_buffer_pixmap = gdk_pixmap_new (g_drawing_area->window, BOARD_WIDTH * size, BOARD_HEIGHT * size, -1); sge_set_drawing_area (g_drawing_area, g_buffer_pixmap, BOARD_WIDTH * size, BOARD_HEIGHT * size); gweled_load_pixmaps (); } gweled-0.9.1/src/games-setgid-io.h0000644000175000017500000000144511545063174015366 0ustar dnaxdnax/* games-setgid-io.h : Routines to perform I/O in a seperate setgid * subprocess. * * Copyright (C) 2005 by Callum McKenzie * * Time-stamp: <2005-12-18 12:17:26 callum> */ #ifndef GAMES_SETGID_IO_H #define GAMES_SETGID_IO_H #include #include #include #include void setgid_io_init (void); int setgid_io_open (const char *path, int flags); int setgid_io_close (int fd); int setgid_io_read (int fd, char *buffer, int n); int setgid_io_write (int fd, const char *buffer, int n); off_t setgid_io_seek (int fd, off_t offset, int whence); int setgid_io_lock (int fd); int setgid_io_unlock (int fd); int setgid_io_stat (char *filename, struct stat *buffer); int setgid_io_truncate (int fd, int length); #endif /* GAMES_SETGID_IO_H */ gweled-0.9.1/src/games-setgid-io.c0000644000175000017500000002654711545063174015373 0ustar dnaxdnax/* games-setgid-io.c : Routines to perform I/O in a seperate setgid * subprocess. * * Copyright (C) 2005 by Callum McKenzie * * Time-stamp: <2006-02-15 18:55:54 callum> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /* WARNING: The purpose of this code is to subvert GTK's checks * against setuid/setgid code. It does this by running a separate * process that retains setgid privileges while the main code drops * its privileges and runs the main code. The two processes * communicate by a pipe. This interface is very liberal - effectively * providing the standard file i/o operations with the privileges of * the original executable. This is bad security. The * privileged/non-privileged interface should be one more layer out so * that data passing through it can be checked more rigorously. It * isn't this way because a different security mechanism was assumed * during the design of the scoring system and this is the simplest way to * retrofit the setgid security system. * * In practise security shouldn't be compromised much more than it * already was. The new threat is that a compromised game could * over-write (or create) any file with games privileges. In the old * code this was less likely since both the game code and the * privileged code would have to be compromised. In any event, if * games privileges are significant in your system then you have * bigger security problems than this code. */ /* We almost directly wrap the standard open/close/read/write/seek * functions and we wrap flock in a simpler lock primitive. * * Each function has two forms: one half that does the actual work - * suffixed with _priv - and a wrapper that is called from the * insecure side which stuffs the arguments down the pipe connecting * the two processes. * * From the point of view of the caller, these functions should behave * transparently with the exception of having to call setgid_io_init * () right at the beginning of the program. * */ #include #include #include #include #include #include #include #include #include #include "games-setgid-io.h" enum { cmd_open = 1, cmd_close, cmd_read, cmd_write, cmd_seek, cmd_lock, cmd_unlock, cmd_stat, cmd_truncate } commands; /* Global state variables, the program only has one global instance of this module. */ static gboolean setgid_io_initialised = 0; /* These names are from the point of view of the non-setgid parent. */ static int setgid_io_infd; static int setgid_io_outfd; static int setgid_io_child_pid; static void write_cmd (unsigned char cmd) { int cnt; cnt = write (setgid_io_outfd, &cmd, 1); if (cnt != 1) { g_warning ("An error occurred while writing to file"); } } static gboolean write_n_bytes (int fd, const char *buffer, int n) { int totalcnt; int cnt; totalcnt = 0; while (totalcnt < n) { cnt = write (fd, buffer + totalcnt, n); if (cnt == -1) return FALSE; totalcnt += cnt; } return TRUE; } static gboolean read_n_bytes (int fd, char *buffer, int n) { int totalcnt; int cnt; totalcnt = 0; while (totalcnt < n) { cnt = read (fd, buffer + totalcnt, n); if (cnt == -1) return FALSE; totalcnt += cnt; } return TRUE; } static void write_int (int fd, int i) { int cnt; cnt = write (fd, &i, sizeof (int)); if (cnt != sizeof (int)) { g_warning ("An error occurred while writing to file"); } } static int read_int (int fd) { int out; if (!read_n_bytes (fd, (char *) &out, sizeof (int))) return 0; return out; } static void write_off_t (int fd, off_t o) { int cnt; cnt = write (fd, &o, sizeof (off_t)); if (cnt != sizeof (off_t)) { g_warning ("An error occurred while writing to file"); } } static off_t read_off_t (int fd) { off_t out; if (!read_n_bytes (fd, (char *) &out, sizeof (off_t))) return 0; return out; } /* Unprivileged side. */ int setgid_io_open (const char *path, int flags) { int length; int fd; write_cmd (cmd_open); length = strlen (path) + 1; write_int (setgid_io_outfd, length); write_n_bytes (setgid_io_outfd, path, length); write_int (setgid_io_outfd, flags); fd = read_int (setgid_io_infd); return fd; } /* Privileged side. */ static void setgid_io_open_priv (int outfd, int infd) { int length; char *path; int flags; int newfd; length = read_int (infd); path = g_malloc (length); read_n_bytes (infd, path, length); flags = read_int (infd); newfd = open (path, flags); write_int (outfd, newfd); g_free (path); } /* Unprivileged side. */ int setgid_io_close (int fd) { write_cmd (cmd_close); write_int (setgid_io_outfd, fd); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_close_priv (int outfd, int infd) { int fd; int result; fd = read_int (infd); result = close (fd); write_int (outfd, result); } /* Unprivileged side. */ int setgid_io_read (int fd, char *buffer, int n) { int result; write_cmd (cmd_read); write_int (setgid_io_outfd, fd); write_int (setgid_io_outfd, n); result = read_int (setgid_io_infd); if ((result >= 0) && (result <= n)) { read_n_bytes (setgid_io_infd, buffer, result); } return result; } /* Privileged side. */ static void setgid_io_read_priv (int outfd, int infd) { int fd; int n; int result; char *buffer; fd = read_int (infd); n = read_int (infd); buffer = g_malloc (n); result = read (fd, buffer, n); write_int (outfd, result); if ((result >= 0) && (result <= n)) { write_n_bytes (outfd, buffer, result); } g_free (buffer); } /* Unprivileged side. */ int setgid_io_write (int fd, const char *buffer, int n) { write_cmd (cmd_write); write_int (setgid_io_outfd, fd); write_int (setgid_io_outfd, n); write_n_bytes (setgid_io_outfd, buffer, n); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_write_priv (int outfd, int infd) { int fd; int n; int result; char *buffer; fd = read_int (infd); n = read_int (infd); buffer = g_malloc (n); read_n_bytes (infd, buffer, n); result = write (fd, buffer, n); write_int (outfd, result); g_free (buffer); } /* Unprivileged side. */ off_t setgid_io_seek (int fd, off_t offset, int whence) { write_cmd (cmd_seek); write_int (setgid_io_outfd, fd); write_off_t (setgid_io_outfd, offset); write_int (setgid_io_outfd, whence); return read_off_t (setgid_io_infd); } /* Privileged side. */ static void setgid_io_seek_priv (int outfd, int infd) { int fd; off_t offset; int whence; off_t result; fd = read_int (infd); offset = read_off_t (infd); whence = read_int (infd); result = lseek (fd, offset, whence); write_off_t (outfd, result); } /* Unprivileged side. */ int setgid_io_lock (int fd) { write_cmd (cmd_lock); write_int (setgid_io_outfd, fd); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_lock_priv (int outfd, int infd) { int fd; int result; struct flock lock; fd = read_int (infd); lock.l_type = F_WRLCK; lock.l_whence = SEEK_SET; lock.l_start = 0; lock.l_len = 0; result = fcntl (fd, F_SETLKW, &lock); write_int (outfd, result); } /* Unprivileged side. */ int setgid_io_unlock (int fd) { write_cmd (cmd_unlock); write_int (setgid_io_outfd, fd); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_unlock_priv (int outfd, int infd) { int fd; int result; struct flock lock; fd = read_int (infd); lock.l_type = F_UNLCK; lock.l_whence = SEEK_SET; lock.l_start = 0; lock.l_len = 0; result = fcntl (fd, F_SETLKW, &lock); write_int (outfd, result); } /* Unprivileged side. */ int setgid_io_stat (char *filename, struct stat *buffer) { int length; write_cmd (cmd_stat); length = strlen (filename) + 1; write_int (setgid_io_outfd, length); write_n_bytes (setgid_io_outfd, filename, length); read_n_bytes (setgid_io_infd, (char *) buffer, sizeof (struct stat)); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_stat_priv (int outfd, int infd) { int length; char *filename; int result; struct stat buffer; length = read_int (infd); filename = g_malloc (length); read_n_bytes (infd, filename, length); result = stat (filename, &buffer); write_n_bytes (outfd, (char *) &buffer, sizeof (struct stat)); write_int (outfd, result); } /* Unprivileged side. */ int setgid_io_truncate (int fd, int length) { write_cmd (cmd_truncate); write_int (setgid_io_outfd, fd); write_int (setgid_io_outfd, length); return read_int (setgid_io_infd); } /* Privileged side. */ static void setgid_io_truncate_priv (int outfd, int infd) { int fd; int length; int result; fd = read_int (infd); length = read_int (infd); result = ftruncate (fd, length); write_int (outfd, result); } G_GNUC_NORETURN static void setgid_io_pipe_watcher (int outfd, int infd) { fd_set watchfds; char command; int cnt; FD_ZERO (&watchfds); FD_SET (infd, &watchfds); while (1) { select (infd + 1, &watchfds, NULL, NULL, NULL); cnt = read (infd, &command, 1); if (cnt == 1) { switch (command) { case cmd_open: setgid_io_open_priv (outfd, infd); break; case cmd_close: setgid_io_close_priv (outfd, infd); break; case cmd_read: setgid_io_read_priv (outfd, infd); break; case cmd_write: setgid_io_write_priv (outfd, infd); break; case cmd_seek: setgid_io_seek_priv (outfd, infd); break; case cmd_lock: setgid_io_lock_priv (outfd, infd); break; case cmd_unlock: setgid_io_unlock_priv (outfd, infd); break; case cmd_stat: setgid_io_stat_priv (outfd, infd); break; case cmd_truncate: setgid_io_truncate_priv (outfd, infd); break; default: g_warning ("Invalid command to setgid_io: ignored.\n"); } } else { exit (0); } } } void setgid_io_init (void) { gid_t safegid; int setgid_io_inpipe[2]; int setgid_io_outpipe[2]; g_return_if_fail (setgid_io_initialised == 0); if (pipe (setgid_io_inpipe) != 0){ g_warning("Unable to create pipe"); } if (pipe (setgid_io_outpipe) != 0){ g_warning("Unable to create pipe"); } if ((setgid_io_child_pid = fork ()) != 0) { close (setgid_io_inpipe[1]); close (setgid_io_outpipe[0]); setgid_io_infd = setgid_io_inpipe[0]; setgid_io_outfd = setgid_io_outpipe[1]; safegid = getgid (); setregid (safegid, safegid); } else { close (setgid_io_inpipe[0]); close (setgid_io_outpipe[1]); close (STDIN_FILENO); setgid_io_pipe_watcher (setgid_io_inpipe[1], setgid_io_outpipe[0]); /* We should never, ever, reach here. */ g_assert_not_reached (); } setgid_io_initialised = 1; } gweled-0.9.1/src/games-scores-dialog-private.h0000644000175000017500000000273311545063174017706 0ustar dnaxdnax/* -*- mode: C -*- games-scores-dialog.h Copyright 2004, 2005, 2006 Callum McKenzie This library is free software; you can redistribute it and'or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Authors: Callum McKenzie */ #ifndef GAMES_SCORES_DIALOG_PRIVATE_H #define GAMES_SCORES_DIALOG_PRIVATE_H G_BEGIN_DECLS struct _GamesScoresDialogPrivate { GtkWidget *message; GtkWidget *hdiv; GtkWidget *combo; GtkWidget *label; GtkWidget *catbar; GtkListStore *list; GtkTreeView *treeview; GtkCellRenderer *namerenderer; GtkTreeViewColumn *column; GtkTreeViewColumn *namecolumn; GamesScores *scores; GHashTable *categories; GHashTable *catindices; gint catcounter; gint hilight; gint sethilight; gboolean preservehilight; gulong cursor_handler_id; /* FIXME: This should be a property. */ gint style; }; G_END_DECLS #endif gweled-0.9.1/src/games-scores-dialog.h0000644000175000017500000000601711545063174016235 0ustar dnaxdnax/* -*- mode: C -*- games-scores-dialog.h Copyright 2004, 2005, 2006 Callum McKenzie This library is free software; you can redistribute it and'or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Authors: Callum McKenzie */ #ifndef GAMES_SCORES_DIALOG_H #define GAMES_SCORES_DIALOG_H #include #include "games-score.h" /* For GamesScoreStyle. */ #include "games-scores.h" G_BEGIN_DECLS #define GAMES_TYPE_SCORES_DIALOG (games_scores_dialog_get_type ()) #define GAMES_SCORES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ GAMES_TYPE_SCORES_DIALOG, \ GamesScoresDialog)) #define GAMES_SCORES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \ GAMES_TYPE_SCORES_DIALOG, \ GamesScoresDialogClass)) #define GAMES_IS_SCORES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ GAMES_TYPE_SCORES_DIALOG)) #define GAMES_IS_SCORES_DIALOG_CLASS(kls) (G_TYPE_CHECK_CLASS_TYPE ((kls), \ GAMES_TYPE_SCORES_DIALOG)) #define GAMES_GET_SCORES_DIALOG_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \ GAMES_TYPE_SCORES_DIALOG, \ GamesScoresDialogClass)) /* This enumeration is to provide common buttons for the dialog. */ typedef enum { GAMES_SCORES_CLOSE_BUTTON = 1, GAMES_SCORES_NEW_GAME_BUTTON = 2, GAMES_SCORES_UNDO_BUTTON = 4, GAMES_SCORES_QUIT_BUTTON = 8, } GamesScoresButtons; typedef struct _GamesScoresDialogPrivate GamesScoresDialogPrivate; typedef struct _GamesScoresDialog { GtkDialog dialog; /* */ GamesScoresDialogPrivate *_priv; } GamesScoresDialog; typedef struct _GamesScoresDialogClass { GtkDialogClass parent_class; } GamesScoresDialogClass; GType games_scores_dialog_get_type (void); GtkWidget * games_scores_dialog_new (GtkWindow *parent_window, GamesScores *scores, const gchar *title); void games_scores_dialog_set_category_description (GamesScoresDialog *self, const gchar *description); void games_scores_dialog_set_hilight (GamesScoresDialog *self, guint pos); void games_scores_dialog_set_message (GamesScoresDialog *self, const gchar *message); void games_scores_dialog_set_buttons (GamesScoresDialog *self, guint buttons); G_END_DECLS #endif gweled-0.9.1/src/games-scores-dialog.c0000644000175000017500000004475611545063174016244 0ustar dnaxdnax/* -*- mode: C -*- games-scores-dialog.c Copyright 2004, 2005, 2006 Callum McKenzie This library is free software; you can redistribute it and'or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Authors: Callum McKenzie */ #include #include #include #include "games-scores-dialog.h" #include "games-scores-dialog-private.h" //#include "games-gtk-compat.h" G_DEFINE_TYPE (GamesScoresDialog, games_scores_dialog, GTK_TYPE_DIALOG); static void games_scores_dialog_finalize (GObject *o) { GamesScoresDialog *dialog = GAMES_SCORES_DIALOG (o); if (dialog->_priv->scores) g_object_unref (dialog->_priv->scores); if (dialog->_priv->categories) g_hash_table_destroy (dialog->_priv->categories); if (dialog->_priv->catindices) g_hash_table_destroy (dialog->_priv->catindices); G_OBJECT_CLASS (games_scores_dialog_parent_class)->finalize (o); } static void games_scores_dialog_class_init (GamesScoresDialogClass *klass) { g_type_class_add_private (klass, sizeof (GamesScoresDialogPrivate)); G_OBJECT_CLASS (klass)->finalize = games_scores_dialog_finalize; } /** * add_category: * @self: a pointer to a GamesScoresDialog * @key: an identifier for the category. This should also be a valid * score category for the gnome_score system. * @name: the category name * * Adds a new category to combo box selector. * **/ static void games_scores_dialog_add_category (GamesScoresDialog *self, const gchar *key, const gchar *name) { gchar *k; k = g_strdup (key); g_hash_table_insert (self->_priv->categories, k, GINT_TO_POINTER (self->_priv->catcounter)); g_hash_table_insert (self->_priv->catindices, GINT_TO_POINTER (self->_priv->catcounter), k); self->_priv->catcounter++; gtk_combo_box_append_text (GTK_COMBO_BOX (self->_priv->combo), name); } /* This is a helper function for loading the initial list of categories * in a _foreach function. If only C had lambda... */ static void games_scores_dialog_load_categories (GamesScoresCategory *cat, GamesScoresDialog *self) { /* category->name is already translated here! */ games_scores_dialog_add_category (self, cat->key, cat->name); } /** * set_style: * @self: a pointer to a GamesScoresDialog * @style: the style to use * * Sets the style of score displayed. e.g. GAMES_SCORES_STYLE_TIME * displays the scores as times. Note that the order of the scores * is determined at the gnome_score layer but their interpretation * is at this layer. * **/ static void games_scores_dialog_set_style (GamesScoresDialog *self, GamesScoreStyle style) { gchar *header; self->_priv->style = style; switch (style) { case GAMES_SCORES_STYLE_TIME_DESCENDING: case GAMES_SCORES_STYLE_TIME_ASCENDING: header = "Time"; break; case GAMES_SCORES_STYLE_PLAIN_DESCENDING: case GAMES_SCORES_STYLE_PLAIN_ASCENDING: default: header = _("Score"); } gtk_tree_view_column_set_title (self->_priv->column, header); } /** * set_category: * @self: a pointer to a GamesScoresDialog * @key: the category to change to * * Sets the category the scores dialog is displaying. * **/ static void games_scores_dialog_set_category (GamesScoresDialog *self, const gchar *key) { gpointer value; int idx; value = g_hash_table_lookup (self->_priv->categories, key); idx = GPOINTER_TO_INT (value); self->_priv->preservehilight = TRUE; gtk_combo_box_set_active (GTK_COMBO_BOX (self->_priv->combo), idx); } /** * new: * @domain: the scores domain to use, usually the application name * @title: the title for the dialog * * Creates a new high scores dialog. Use gtk_dialog_run and * gtk_widget_destroy to manage it. * * Returns: a new widget * **/ GtkWidget * games_scores_dialog_new (GtkWindow *parent_window, GamesScores *scores, const gchar *title) { GamesScoresDialog *dialog = GAMES_SCORES_DIALOG (g_object_new (GAMES_TYPE_SCORES_DIALOG, NULL)); dialog->_priv->scores = g_object_ref (scores); games_scores_dialog_set_style (dialog, games_scores_get_style (scores)); dialog->_priv->preservehilight = FALSE; gtk_window_set_title (GTK_WINDOW (dialog), title); gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent_window)); _games_scores_category_foreach (scores, (GamesScoresCategoryForeachFunc) games_scores_dialog_load_categories, dialog); if (dialog->_priv->catcounter <= 1) { gtk_widget_hide (dialog->_priv->catbar); } return (GtkWidget *)dialog; } /* Retrieve the edited name from a new high score. */ static void games_scores_dialog_name_edited (GtkCellRendererText *cell, gchar *path, gchar *new_text, GamesScoresDialog *self) { GtkTreeIter iter; gchar *old_name = NULL; gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (self->_priv->list), &iter, path); /* Get old name for comparison */ gtk_tree_model_get (GTK_TREE_MODEL (self->_priv->list), &iter, 0, &old_name, -1); gtk_list_store_set (self->_priv->list, &iter, 0, new_text, -1); games_scores_update_score_name (self->_priv->scores, new_text, old_name); } /* Prevent editing of any cell in the high score list but the one we set. */ static void games_scores_dialog_cursor_changed (GtkTreeView *treeview, GamesScoresDialog *self) { g_object_set (self->_priv->namerenderer, "editable", FALSE, NULL); } /* These contortions are to ensure that only the single most-recent * entry can be edited. */ static gboolean games_scores_dialog_set_edit (GamesScoresDialog *self) { GtkTreePath *path; GtkTreeSelection *selection; /* Just in case we've been closed as soon as we're created. */ if (!gtk_widget_get_realized (GTK_WIDGET(self))) return FALSE; /* Temporarily disable the code that prevents editing when the * cursor changes position. */ g_signal_handler_block (self->_priv->treeview, self->_priv->cursor_handler_id); g_object_set (self->_priv->namerenderer, "editable", TRUE, NULL); selection = gtk_tree_view_get_selection (self->_priv->treeview); path = gtk_tree_path_new_from_indices (self->_priv->hilight - 1, -1); gtk_tree_selection_select_path (selection, path); gtk_tree_view_set_cursor (self->_priv->treeview, path, self->_priv->namecolumn, TRUE); g_signal_handler_unblock (self->_priv->treeview, self->_priv->cursor_handler_id); gtk_tree_path_free (path); return FALSE; } /* Yet another part of the puzzle that lets the correct high-score be * editable. */ static void games_scores_dialog_set_hilight_private (GamesScoresDialog *self) { if (self->_priv->hilight == 0) { g_object_set (self->_priv->namerenderer, "editable", FALSE, NULL); return; } if (self->_priv->hilight == self->_priv->sethilight) return; self->_priv->sethilight = self->_priv->hilight; /* We can't set the hilight editable immediately in case we are * still in the process of being created and the editing subwindow * gets put in the wrong place. Attaching to the expose signal * doesn't seem to have the desired effect, so instead we just * wait until all other work is done. */ g_idle_add ((GSourceFunc)games_scores_dialog_set_edit, self); } /* Load up the list with the current set of scores. */ static void games_scores_dialog_redraw (GamesScoresDialog *self) { GtkTreeIter iter; gchar *name; gint score; gchar *ss; gdouble dscore; GList *scorelist; gtk_list_store_clear (self->_priv->list); scorelist = games_scores_get (self->_priv->scores); while (scorelist) { name = ((GamesScore *)scorelist->data)->name; switch (self->_priv->style) { case GAMES_SCORES_STYLE_TIME_ASCENDING: case GAMES_SCORES_STYLE_TIME_DESCENDING: dscore = ((GamesScore *)scorelist->data)->value.time_double; score = (int) (100.0 * dscore + 0.5); /* Translators: this is for a minutes, seconds time display. */ ss = g_strdup_printf ("%dm %ds", score/100, score%100); break; case GAMES_SCORES_STYLE_PLAIN_ASCENDING: case GAMES_SCORES_STYLE_PLAIN_DESCENDING: default: score = ((GamesScore *)scorelist->data)->value.plain; ss = g_strdup_printf ("%d", score); } gtk_list_store_append (self->_priv->list, &iter); gtk_list_store_set (self->_priv->list, &iter, 0, name, 1, ss, -1); g_free (ss); scorelist = g_list_next (scorelist); } games_scores_dialog_set_hilight_private (self); } /* Change the currently viewed score category. There is a little bit * of silly-buggers here to make sure the change is temporary and * we end up on the right page next time. */ static void games_scores_dialog_change_category (GtkComboBox *widget, GamesScoresDialog *self) { gchar *catcopy; gint idx; gchar *newcat; /* This seems like a bit of a hack, but since we're trying to * temporarily change the category it sort of makes sense. */ catcopy = g_strdup (games_scores_get_category (self->_priv->scores)); idx = gtk_combo_box_get_active (widget); newcat = g_hash_table_lookup (self->_priv->catindices, GINT_TO_POINTER (idx)); games_scores_set_category (self->_priv->scores, newcat); if (self->_priv->preservehilight) { self->_priv->preservehilight = FALSE; } else { self->_priv->hilight = 0; } games_scores_dialog_redraw (self); games_scores_set_category (self->_priv->scores, catcopy); g_free (catcopy); } /* This is to make sure we update ourselves when the window goes through * a hide/show cycle. */ /* FIXME: We should monitor the high scores list (or get games-scores to * send us a signal. */ static void games_scores_dialog_show (GamesScoresDialog *self) { const gchar *cat; cat = games_scores_get_category (self->_priv->scores); if (cat) games_scores_dialog_set_category (self, cat); games_scores_dialog_redraw (self); } /* This is the other half of ensuring the hide/show cycle works properly. */ static void games_scores_dialog_hide (GamesScoresDialog *self) { self->_priv->hilight = 0; gtk_tree_selection_unselect_all (gtk_tree_view_get_selection (self->_priv->treeview)); } /** * set_category_description: * @self: a pointer to a GamesScoresDialog * @description: A description of the categories * * Sets the category description label. i.e. the widget to the * left of the category combo box. * **/ void games_scores_dialog_set_category_description (GamesScoresDialog *self, const gchar *description) { gchar *lstr; lstr = g_strdup_printf ("%s", description); gtk_label_set_markup (GTK_LABEL (self->_priv->label), lstr); gtk_label_set_use_underline (GTK_LABEL (self->_priv->label), TRUE); g_free(lstr); } /** * set_message: * @self: a pointer to a GamesScoresDialog * @message: the message * * Sets the message at the top of the dialog. Pango markup is understood. * **/ void games_scores_dialog_set_message (GamesScoresDialog *self, const gchar *message) { if ((message == NULL) || (*message == '\0')) { gtk_widget_hide (self->_priv->message); gtk_widget_hide (self->_priv->hdiv); } else { gtk_widget_show (self->_priv->message); gtk_widget_show (self->_priv->hdiv); gtk_label_set_label (GTK_LABEL (self->_priv->message), message); } } /** * set_category_description: * @self: a pointer to a GamesScoresDialog * @pos: the position in the high score list to hilight. Should be in the * range 1 to 10. * * Hilights an entry in the high score list. This is suitable for indicating * to the player where the game they just played is. * **/ void games_scores_dialog_set_hilight (GamesScoresDialog *self, guint pos) { if ((pos < 1) || (pos > GAMES_SCORES_SIGNIFICANT)) return; self->_priv->hilight = pos; games_scores_dialog_set_hilight_private (self); } /** * set_buttons: * @self: a pointer to a GamesScoresDialog * @buttons: An or-ed list of GamesScoresButtons * * Changes the button sets at the buttom of the dialog * **/ void games_scores_dialog_set_buttons (GamesScoresDialog *self, guint buttons) { /* Remove an existing buttons. */ gtk_container_foreach (GTK_CONTAINER (gtk_dialog_get_action_area (GTK_DIALOG (self))), (GtkCallback) (gtk_widget_destroy), NULL); /* The default is a single close button, suitable for the scores menu item. */ if (buttons == 0) buttons = GAMES_SCORES_CLOSE_BUTTON; if (buttons & GAMES_SCORES_QUIT_BUTTON) { gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_QUIT, GTK_RESPONSE_REJECT); gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_REJECT); } if (buttons & GAMES_SCORES_UNDO_BUTTON) { gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_UNDO, GTK_RESPONSE_DELETE_EVENT); gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_DELETE_EVENT); } if (buttons & GAMES_SCORES_NEW_GAME_BUTTON) { gtk_dialog_add_button (GTK_DIALOG (self), _("New Game"), GTK_RESPONSE_ACCEPT); gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_ACCEPT); } if (buttons & GAMES_SCORES_CLOSE_BUTTON) { gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); gtk_dialog_set_default_response (GTK_DIALOG (self), GTK_RESPONSE_CLOSE); } } static void games_scores_dialog_init (GamesScoresDialog *self) { GtkWidget *vbox; GtkWidget *scroll; GtkWidget *listview; GtkTreeViewColumn *column; GtkCellRenderer *renderer; self->_priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GAMES_TYPE_SCORES_DIALOG, GamesScoresDialogPrivate); self->_priv->style = GAMES_SCORES_STYLE_PLAIN_DESCENDING; /* These two hashes are the reverse of each other. As an optimisation * they share the same set of strings (as keys in the first case and * as data in the second). The first hash is responsible for * deallocating the memory for the strings. These two are only * valid as a pair. */ self->_priv->categories = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); self->_priv->catindices = g_hash_table_new (g_direct_hash, g_direct_equal); self->_priv->catcounter = 0; self->_priv->hilight = 0; self->_priv->sethilight = -1; gtk_dialog_set_has_separator (GTK_DIALOG (self), FALSE); gtk_container_set_border_width (GTK_CONTAINER (self), 5); gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (self))), 2); g_signal_connect (G_OBJECT (self), "show", G_CALLBACK (games_scores_dialog_show), NULL); g_signal_connect (G_OBJECT (self), "hide", G_CALLBACK (games_scores_dialog_hide), NULL); vbox = gtk_vbox_new (FALSE, 6); gtk_container_set_border_width (GTK_CONTAINER (vbox), 5); gtk_box_pack_end (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (self))), vbox, TRUE, TRUE, 0); scroll = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_widget_set_size_request (scroll, 250, 265); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll), GTK_SHADOW_ETCHED_IN); gtk_box_pack_end (GTK_BOX (vbox), scroll, TRUE, TRUE, 0); self->_priv->message = gtk_label_new (""); gtk_label_set_use_markup (GTK_LABEL (self->_priv->message), TRUE); gtk_label_set_justify (GTK_LABEL (self->_priv->message), GTK_JUSTIFY_CENTER); gtk_box_pack_start (GTK_BOX (vbox), self->_priv->message, FALSE, FALSE, 0); self->_priv->hdiv = gtk_hseparator_new (); gtk_box_pack_start (GTK_BOX (vbox), self->_priv->hdiv, FALSE, FALSE, 0); self->_priv->catbar = gtk_hbox_new (FALSE, 12); gtk_box_pack_start (GTK_BOX (vbox), self->_priv->catbar, FALSE, FALSE, 0); self->_priv->label = gtk_label_new (NULL); gtk_label_set_use_markup (GTK_LABEL (self->_priv->label), TRUE); gtk_box_pack_start (GTK_BOX (self->_priv->catbar), self->_priv->label, FALSE, FALSE, 0); self->_priv->combo = gtk_combo_box_new_text (); gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (self->_priv->combo), FALSE); gtk_box_pack_start (GTK_BOX (self->_priv->catbar), self->_priv->combo, TRUE, TRUE, 0); gtk_label_set_mnemonic_widget (GTK_LABEL (self->_priv->label), self->_priv->combo); g_signal_connect (G_OBJECT (self->_priv->combo), "changed", G_CALLBACK (games_scores_dialog_change_category), self); self->_priv->list = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING); listview = gtk_tree_view_new_with_model (GTK_TREE_MODEL (self->_priv->list)); self->_priv->treeview = GTK_TREE_VIEW (listview); self->_priv->cursor_handler_id = g_signal_connect (G_OBJECT (self->_priv->treeview), "cursor-changed", G_CALLBACK (games_scores_dialog_cursor_changed), self); self->_priv->namerenderer = gtk_cell_renderer_text_new (); g_signal_connect (self->_priv->namerenderer, "edited", G_CALLBACK (games_scores_dialog_name_edited), self); self->_priv->namecolumn = gtk_tree_view_column_new_with_attributes (_("Name"), self->_priv->namerenderer, "text", 0, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (listview), GTK_TREE_VIEW_COLUMN (self->_priv->namecolumn)); renderer = gtk_cell_renderer_text_new (); /* Note that this assumes the default style is plain. */ column = gtk_tree_view_column_new_with_attributes (_("Score"), renderer, "text", 1, NULL); g_object_set (G_OBJECT (renderer), "xalign", 1.0, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (listview), GTK_TREE_VIEW_COLUMN (column)); self->_priv->column = column; gtk_container_add (GTK_CONTAINER (scroll), listview); games_scores_dialog_set_buttons (self, GAMES_SCORES_CLOSE_BUTTON); gtk_window_set_destroy_with_parent (GTK_WINDOW (self), TRUE); gtk_widget_grab_focus (self->_priv->combo); gtk_widget_show_all (vbox); gtk_widget_hide (self->_priv->hdiv); gtk_widget_hide (self->_priv->message); } /* FIXME: There is basically no range checking. */ gweled-0.9.1/src/games-scores-backend.h0000644000175000017500000000501411545063174016361 0ustar dnaxdnax /* games-scores-backend.c * * Copyright (C) 2005 Callum McKenzie * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef GAMES_SCORES_BACKEND_H #define GAMES_SCORES_BACKEND_H #include #include #include #include "games-score.h" #ifdef ENABLE_SETGID #include "games-setgid-io.h" #endif G_BEGIN_DECLS #define GAMES_TYPE_SCORES_BACKEND (games_scores_backend_get_type ()) #define GAMES_SCORES_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_SCORES_BACKEND, GamesScoresBackend)) #define GAMES_SCORES_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAMES_TYPE_SCORES_BACKEND, GamesScoresBackendClass)) #define GAMES_IS_SCORES_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_SCORES_BACKEND)) #define GAMES_IS_SCORES_BACKEND_CLASS(kls) (G_TYPE_CHECK_CLASS_TYPE ((kls), GAMES_TYPE_SCORES_BACKEND)) #define GAMES_GET_SCORES_BACKEND_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAMES_TYPE_SCORES_BACKEND, GamesScoresBackendClass)) typedef struct _GamesScoresBackend GamesScoresBackend; typedef struct _GamesScoresBackendPrivate GamesScoresBackendPrivate; typedef struct _GamesScoresBackendClass GamesScoresBackendClass; struct _GamesScoresBackend { GObject object; GList *scores_list; GamesScoresBackendPrivate *priv; }; struct _GamesScoresBackendClass { GObjectClass parent_class; }; GType games_scores_backend_get_type (void); GamesScoresBackend *games_scores_backend_new (GamesScoreStyle style, char *base_name, char *name); GList *games_scores_backend_get_scores (GamesScoresBackend * self); gboolean games_scores_backend_set_scores (GamesScoresBackend * self, GList * list); void games_scores_backend_discard_scores (GamesScoresBackend * self); G_END_DECLS #endif /* GAMES_SCORES_BACKEND_H */ gweled-0.9.1/src/games-scores-backend.c0000644000175000017500000002127511545063174016363 0ustar dnaxdnax/* games-scores-backend.c * * Copyright (C) 2005 Callum McKenzie * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include #include #include #include #include "games-score.h" #include "games-scores.h" #include "games-scores-backend.h" #ifdef ENABLE_SETGID #include "games-setgid-io.h" #endif struct _GamesScoresBackendPrivate { GamesScoreStyle style; time_t timestamp; gchar *filename; gint fd; }; G_DEFINE_TYPE (GamesScoresBackend, games_scores_backend, G_TYPE_OBJECT); static void games_scores_backend_finalize (GObject *object) { GamesScoresBackend *backend = GAMES_SCORES_BACKEND (object); GamesScoresBackendPrivate *priv = backend->priv; g_free (priv->filename); /* FIXME: more to do? */ G_OBJECT_CLASS (games_scores_backend_parent_class)->finalize (object); } static void games_scores_backend_class_init (GamesScoresBackendClass * klass) { GObjectClass *oclass = G_OBJECT_CLASS (klass); g_type_class_add_private (klass, sizeof (GamesScoresBackendPrivate)); oclass->finalize = games_scores_backend_finalize; } static void games_scores_backend_init (GamesScoresBackend * backend) { backend->priv = G_TYPE_INSTANCE_GET_PRIVATE (backend, GAMES_TYPE_SCORES_BACKEND, GamesScoresBackendPrivate); } GamesScoresBackend * games_scores_backend_new (GamesScoreStyle style, char *base_name, char *name) { GamesScoresBackend *backend; gchar *fullname; backend = GAMES_SCORES_BACKEND (g_object_new (GAMES_TYPE_SCORES_BACKEND, NULL)); if (name[0] == '\0') /* Name is "" */ fullname = g_strjoin (".", base_name, "scores", NULL); else fullname = g_strjoin (".", base_name, name, "scores", NULL); backend->priv->timestamp = 0; backend->priv->style = style; backend->scores_list = NULL; backend->priv->filename = g_build_filename (SCOREDIR, fullname, NULL); g_free (fullname); backend->priv->fd = -1; return backend; } #ifdef ENABLE_SETGID /* Get a lock on the scores file. Block until it is available. * This also supplies the file descriptor we need. The return value * is whether we were succesful or not. */ static gboolean games_scores_backend_get_lock (GamesScoresBackend * self) { gint error; if (self->priv->fd != -1) { /* Assume we already have the lock and rewind the file to * the beginning. */ setgid_io_seek (self->priv->fd, 0, SEEK_SET); return TRUE; /* Assume we already have the lock. */ } self->priv->fd = setgid_io_open (self->priv->filename, O_RDWR); if (self->priv->fd == -1) { return FALSE; } error = setgid_io_lock (self->priv->fd); if (error == -1) { setgid_io_close (self->priv->fd); self->priv->fd = -1; return FALSE; } return TRUE; } /* Release the lock on the scores file and dispose of the fd. */ /* We ignore errors, there is nothing we can do about them. */ static void games_scores_backend_release_lock (GamesScoresBackend * self) { /* We don't have a lock, ignore this call. */ if (self->priv->fd == -1) return; setgid_io_unlock (self->priv->fd); setgid_io_close (self->priv->fd); self->priv->fd = -1; } #endif /* ENABLE_SETGID */ /* You can alter the list returned by this function, but you must * make sure you set it again with the _set_scores method or discard it * with with the _discard_scores method. Otherwise deadlocks will ensue. */ GList * games_scores_backend_get_scores (GamesScoresBackend * self) { #ifdef ENABLE_SETGID gchar *buffer; gchar *eol; gchar *scorestr; gchar *timestr; gchar *namestr; GamesScore *newscore; struct stat info; int error; ssize_t length, target; GList *t; /* Check for a change in the scores file and update if necessary. */ error = setgid_io_stat (self->priv->filename, &info); /* If an error occurs then we give up on the file and return NULL. */ if (error != 0) return NULL; if ((info.st_mtime > self->priv->timestamp) || (self->scores_list == NULL)) { self->priv->timestamp = info.st_mtime; /* Dump the old list of scores. */ t = self->scores_list; while (t != NULL) { games_score_destroy ((GamesScore *) t->data); t = g_list_next (t); } g_list_free (self->scores_list); self->scores_list = NULL; /* Lock the file and get the list. */ if (!games_scores_backend_get_lock (self)) return NULL; buffer = g_malloc (info.st_size + 1); if (buffer == NULL) { games_scores_backend_release_lock (self); return NULL; } target = info.st_size; length = 0; do { target -= length; length = setgid_io_read (self->priv->fd, buffer, info.st_size); if (length == -1) { games_scores_backend_release_lock (self); g_free (buffer); return NULL; } } while (length < target); buffer[info.st_size] = '\0'; /* FIXME: These details should be in a sub-class. */ /* Parse the list. We start by breaking it into lines. */ /* Since the buffer is null-terminated * we can do the string stuff reasonably safely. */ eol = strchr (buffer, '\n'); scorestr = buffer; while (eol != NULL) { *eol++ = '\0'; timestr = strchr (scorestr, ' '); if (timestr == NULL) break; *timestr++ = '\0'; namestr = strchr (timestr, ' '); if (namestr == NULL) break; *namestr++ = '\0'; /* At this point we have three strings, all null terminated. All * part of the original buffer. */ newscore = games_score_new (); newscore->name = g_strdup (namestr); newscore->time = g_ascii_strtoull (timestr, NULL, 10); switch (self->priv->style) { case GAMES_SCORES_STYLE_PLAIN_DESCENDING: case GAMES_SCORES_STYLE_PLAIN_ASCENDING: newscore->value.plain = g_ascii_strtod (scorestr, NULL); break; case GAMES_SCORES_STYLE_TIME_DESCENDING: case GAMES_SCORES_STYLE_TIME_ASCENDING: newscore->value.time_double = g_ascii_strtod (scorestr, NULL); break; default: g_assert_not_reached (); } self->scores_list = g_list_append (self->scores_list, newscore); /* Setup again for the next time around. */ scorestr = eol; eol = strchr (eol, '\n'); } g_free (buffer); } /* FIXME: Sort the scores! We shouldn't rely on the file being sorted. */ return self->scores_list; #else return NULL; #endif /* ENABLE_SETGID */ } gboolean games_scores_backend_set_scores (GamesScoresBackend * self, GList * list) { #ifdef ENABLE_SETGID GList *s; GamesScore *d; gchar *buffer; gint output_length = 0; gchar dtostrbuf[G_ASCII_DTOSTR_BUF_SIZE]; if (!games_scores_backend_get_lock (self)) return FALSE; self->scores_list = list; s = list; while (s != NULL) { gdouble rscore; guint64 rtime; gchar *rname; d = (GamesScore *) s->data; rscore = 0.0; switch (self->priv->style) { case GAMES_SCORES_STYLE_PLAIN_DESCENDING: case GAMES_SCORES_STYLE_PLAIN_ASCENDING: rscore = d->value.plain; break; case GAMES_SCORES_STYLE_TIME_DESCENDING: case GAMES_SCORES_STYLE_TIME_ASCENDING: rscore = d->value.time_double; break; default: g_assert_not_reached (); } rtime = d->time; rname = d->name; buffer = g_strdup_printf ("%s %lld %s\n", g_ascii_dtostr (dtostrbuf, sizeof (dtostrbuf), rscore), rtime, rname); setgid_io_write (self->priv->fd, buffer, strlen (buffer)); output_length += strlen (buffer); /* Ignore any errors and blunder on. */ g_free (buffer); s = g_list_next (s); } /* Remove any content in the file that hasn't yet been overwritten. */ setgid_io_truncate (self->priv->fd, output_length--); /* Update the timestamp so we don't reread the scores unnecessarily. */ self->priv->timestamp = time (NULL); games_scores_backend_release_lock (self); return TRUE; #else return FALSE; #endif /* ENABLE_SETGID */ } void games_scores_backend_discard_scores (GamesScoresBackend * self) { #ifdef ENABLE_SETGID games_scores_backend_release_lock (self); #endif } gweled-0.9.1/src/games-scores.h0000644000175000017500000000702311545063174014776 0ustar dnaxdnax/* Games Scores Dialog - Display high scores * * Copyright (c) 2005 by Callum McKenzie * * This library is free software; you can redistribute it and'or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ /* Authors: Callum McKenzie */ #ifndef GAMES_SCORES_H #define GAMES_SCORES_H #include #include G_BEGIN_DECLS #include "games-score.h" #include "games-scores-backend.h" /* How many scores get counted as significant. */ #define GAMES_SCORES_SIGNIFICANT 10 typedef struct { gchar *key; /* A unique identifier (warning: this is used to generate the * scores file name, so it should match the old domains) */ gchar *name; /* A human-readable description. */ } GamesScoresCategory; typedef void (*GamesScoresCategoryForeachFunc) (GamesScoresCategory * cat, gpointer data); #define GAMES_TYPE_SCORES (games_scores_get_type()) #define GAMES_SCORES(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), games_scores_get_type(), GamesScores) #define GAMES_SCORES_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), games_scores_get_type(), GamesScores const) #define GAMES_SCORES_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), games_scores_get_type(), GamesScoresClass) #define GAMES_IS_SCORES(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), games_scores_get_type ()) #define GAMES_SCORES_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), games_scores_get_type(), GamesScoresClass) typedef struct _GamesScores GamesScores; typedef struct _GamesScoresPrivate GamesScoresPrivate; typedef struct _GamesScoresClass GamesScoresClass; struct _GamesScores { GObject parent; GamesScoresPrivate *priv; }; struct _GamesScoresClass { GObjectClass parent; }; GType games_scores_get_type (void); GamesScores *games_scores_new (const char *app_name, const GamesScoresCategory *categories, int n_categories, const char *categories_context, const char *categories_domain, int default_category_index, GamesScoreStyle style); void games_scores_set_category (GamesScores * self, gchar * category); gint games_scores_add_score (GamesScores * self, GamesScoreValue score); void games_scores_update_score (GamesScores * self, gchar * new_name); void games_scores_update_score_name (GamesScores * self, gchar * new_name, gchar * old_name); GList *games_scores_get (GamesScores * self); void _games_scores_category_foreach (GamesScores * self, GamesScoresCategoryForeachFunc func, gpointer userdata); GamesScoreStyle games_scores_get_style (GamesScores * self); const gchar *games_scores_get_category (GamesScores * self); void games_scores_add_category (GamesScores *self, const char *key, const char *name); G_END_DECLS #endif /* GAMES_SCORES_H */ gweled-0.9.1/src/games-scores.c0000644000175000017500000003352211545063174014774 0ustar dnaxdnax/* * Copyright 2005 Callum McKenzie * * This library is free software; you can redistribute it and'or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2, or (at your option) * any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * */ /* Authors: Callum McKenzie */ /* FIXME: Document */ /* FIXME: Add a finaliser to get rid of some of the strings. */ #include #include #include #include #include "games-scores-backend.h" #include "games-score.h" #include "games-scores.h" /* The local version of the GamesScoresCategory. */ typedef struct { GamesScoresCategory category; GamesScoresBackend *backend; } GamesScoresCategoryInternal; struct _GamesScoresPrivate { GHashTable *categories; GSList *catsordered; gchar *currentcat; gchar *defcat; gchar *basename; gboolean last_score_significant; gint last_score_position; GamesScoreValue last_score_value; GamesScoreStyle style; GamesScoresCategoryInternal dummycat; }; static void games_scores_category_free (GamesScoresCategoryInternal *cat) { g_free (cat->category.key); g_free (cat->category.name); if (cat->backend) g_object_unref (cat->backend); g_free (cat); } /** * get_current: * @self: A scores object. * * Retrieves the current category and make sure it is in a state to be used. * **/ static GamesScoresCategoryInternal * games_scores_get_current (GamesScores * self) { GamesScoresPrivate *priv = self->priv; GamesScoresCategoryInternal *cat; if (priv->currentcat == NULL) { /* We have a single, anonymous, category. */ cat = &(priv->dummycat); } else { cat = g_hash_table_lookup (priv->categories, priv->currentcat); if (!cat) return NULL; } if (cat->backend == NULL) { cat->backend = games_scores_backend_new (priv->style, priv->basename, cat->category.key); } return cat; } /* FIXME: Static games_score_init function to initialise the setgid stuff. */ /* FIXME: This is actually an argument for a helper-app since this function * won't know what files we are after until _new is called. */ G_DEFINE_TYPE (GamesScores, games_scores, G_TYPE_OBJECT); /** * games_scores_new: * @app_name: the (old) app name (for backward compatibility), * used as the basename of the category filenames * @categories: the score categories, or %NULL to use an anonymous category * @n_categories: the number of category entries in @categories * @categories_context: the translation context to use for the category names, * or %NULL to use no translation context * @categories_domain: the translation domain to use for the category names, * or %NULL to use the default domain * @default_category: the key of the default category, or %NULL * @style: the category style * * * Returns: a new #GamesScores object */ GamesScores * games_scores_new (const char *app_name, const GamesScoresCategory *categories, int n_categories, const char *categories_context, const char *categories_domain, int default_category_index, GamesScoreStyle style) { GamesScores *self; GamesScoresPrivate *priv; self = GAMES_SCORES (g_object_new (GAMES_TYPE_SCORES, NULL)); priv = self->priv; /* FIXME: Input sanity checks. */ priv->categories = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) games_scores_category_free); /* catsordered is a record of the ordering of the categories. * Its data is shared with the hash table. */ priv->catsordered = NULL; if (n_categories > 0) { int i; g_return_val_if_fail (default_category_index >= 0 && default_category_index < n_categories, NULL); for (i = 0; i < n_categories; ++i) { const GamesScoresCategory *category = &categories[i]; const char *display_name; if (categories_context) { display_name = g_dpgettext2 (categories_domain, categories_context, category->name); } else { display_name = dgettext (categories_domain, category->name); } games_scores_add_category (self, category->key, display_name); } priv->defcat = g_strdup (categories[default_category_index].key); priv->currentcat = g_strdup (priv->defcat); } else { priv->currentcat = NULL; priv->defcat = NULL; } priv->basename = g_strdup (app_name); /* FIXME: Do some sanity checks on the default and the like. */ priv->style = style; /* Set up the anonymous category for use when no categories are specified. */ priv->dummycat.category.key = (char *) ""; priv->dummycat.category.name = (char *) ""; priv->dummycat.backend = NULL; return self; } /** * games_scores_add_category: * @self: * @key: the key for the new category * @name: the user visible label for the new category * * Add a new category after initialisation. key and name are copied into * internal structures. The scores dialog is not currently updated. * **/ void games_scores_add_category (GamesScores *self, const char *key, const char *name) { GamesScoresPrivate *priv = self->priv; GamesScoresCategoryInternal *cat; cat = g_new (GamesScoresCategoryInternal, 1); cat->category.key = g_strdup (key); cat->category.name = g_strdup (name); cat->backend = NULL; g_hash_table_insert (priv->categories, g_strdup (key), cat); priv->catsordered = g_slist_append (priv->catsordered, cat); } /** * set_category: * @scores: A scores object. * @category: A string identifying the category to use (the key in * the GamesScoresCategory structure). * * This function sets the scores category to use. e.g. whether we are playing * on hard, medium or easy. It should be used at the time that the game * itself switches between difficulty levels. The category determines where * scores are to be stored and read from. * **/ void games_scores_set_category (GamesScores * self, gchar * category) { GamesScoresPrivate *priv = self->priv; g_return_if_fail (self != NULL); if (category == NULL) category = priv->defcat; g_free (priv->currentcat); priv->currentcat = g_strdup (category); /* FIXME: Check validity of category (Null, the same as current, * is actually a category) then just set it in the structure. */ } /** * add_score: * @self: A scores object. * @score: A GamesScoreValue - it is up to the caller to convert their * raw value to one of the supported types. * * Add a score to the set of scores. Retention of anything but the * top-ten scores is undefined. It returns either the place in the top ten * or zero if no place was achieved. It can therefore be treated as a * boolean if desired. * **/ gint games_scores_add_score (GamesScores * self, GamesScoreValue score) { GamesScoresPrivate *priv = self->priv; GamesScore *fullscore; GamesScoresCategoryInternal *cat; gint place, n; GList *s, *scores_list; g_return_val_if_fail (self != NULL, 0); fullscore = games_score_new (); fullscore->value = score; cat = games_scores_get_current (self); scores_list = games_scores_backend_get_scores (cat->backend); s = scores_list; place = 0; n = 0; while (s != NULL) { GamesScore *oldscore = s->data; n++; /* If beat someone in the list, add us there. */ if (games_score_compare (priv->style, oldscore, fullscore) < 0) { scores_list = g_list_insert_before (scores_list, s, games_score_dup (fullscore)); place = n; break; } s = g_list_next (s); } /* If we haven't placed anywhere and the list still has * room to grow, put us on the end. * This also handles the empty-file case. */ if ((place == 0) && (n < GAMES_SCORES_SIGNIFICANT)) { place = n + 1; scores_list = g_list_append (scores_list, games_score_dup (fullscore)); } if (g_list_length (scores_list) > GAMES_SCORES_SIGNIFICANT) { s = g_list_nth (scores_list, GAMES_SCORES_SIGNIFICANT - 1); /* Note that we are guaranteed to only need to remove one link * and it is also guaranteed not to be the first one. */ games_score_destroy ((GamesScore *) (g_list_next (s)->data)); g_list_free (g_list_next (s)); s->next = NULL; } if (games_scores_backend_set_scores (cat->backend, scores_list) == FALSE) place = 0; priv->last_score_significant = place > 0; priv->last_score_position = place; priv->last_score_value = score; return place; } /** * games_scores_update_score_name: * @self: A scores object. * @new_name: The new name to use. * * By default add_score uses the current user name. This routine updates * that name. There are a few wrinkles: the score may have moved since we * got the original score. Use in normal code is discouraged, it is here * to be used by GamesScoresDialog. * **/ void games_scores_update_score_name (GamesScores * self, gchar * new_name, gchar * old_name) { GamesScoresPrivate *priv = self->priv; GamesScoresCategoryInternal *cat; GList *s, *scores_list; gint n, place; GamesScore *sc; GamesScoreValue score; g_return_if_fail (self != NULL); place = priv->last_score_position; score = priv->last_score_value; if (place == 0) return; if (old_name) old_name = g_strdup (old_name); /* Make copy so we can free it later */ else old_name = g_strdup (g_get_real_name ()); cat = games_scores_get_current (self); scores_list = games_scores_backend_get_scores (cat->backend); s = g_list_last (scores_list); n = g_list_length (scores_list); /* We hunt backwards down the list until we find the last entry with * a matching user and score. */ /* The check that we haven't gone back before place isn't just a * pointless optimisation. It also catches the case where our score * has been dropped from the high-score list in the meantime. */ while ((n >= place) && (s != NULL)) { sc = (GamesScore *) (s->data); if ((games_score_compare_values (priv->style, sc->value, score) == 0) && (g_utf8_collate (old_name, sc->name) == 0)) { g_free (sc->name); sc->name = g_strdup (new_name); } s = g_list_previous (s); n--; } games_scores_backend_set_scores (cat->backend, scores_list); g_free (old_name); } /** * games_scores_update_score: * @self: A scores object. * @new_name: The new name to use. * * By default add_score uses the current user name. This routine updates * that name. There are a few wrinkles: the score may have moved since we * got the original score. Use in normal code is discouraged, it is here * to be used by GamesScoresDialog. * **/ void games_scores_update_score (GamesScores * self, gchar * new_name) { games_scores_update_score_name (self, new_name, NULL); } /** * get: * @self: A scores object. * * Get a list of GamesScore objects for the current category. The list * is still owned by the GamesScores object and is not guaranteed to * be the either the same or accurate after any games_scores call * except games_scores_get. Do not alter the data either. **/ GList * games_scores_get (GamesScores * self) { GamesScoresCategoryInternal *cat; GList *scores; g_return_val_if_fail (self != NULL, NULL); cat = games_scores_get_current (self); scores = games_scores_backend_get_scores (cat->backend); /* Tell the backend that we won't be altering the scores so it * can release the lock. */ games_scores_backend_discard_scores (cat->backend); return scores; } /** * _games_scores_category_foreach: * @self: A scores object. * @func: A function to call. * @userdata: Arbitrary data. * * This function will iterate over the list of categories calling the * supplied function with the category and userdata as arguments. * The ordering of the categories is the order they were added. * **/ void _games_scores_category_foreach (GamesScores * self, GamesScoresCategoryForeachFunc func, gpointer userdata) { GamesScoresPrivate *priv = self->priv; GSList *l; g_return_if_fail (self != NULL); for (l = priv->catsordered; l != NULL; l = l->next) { func ((GamesScoresCategory*) l->data, userdata); } } /** * get_style: * @self: A scores object. * * Returns the style of the scores. * **/ GamesScoreStyle games_scores_get_style (GamesScores * self) { GamesScoresPrivate *priv = self->priv; g_return_val_if_fail (self != NULL, 0); return priv->style; } /** * get_category: * @self: A scores object. * * Returns the current category key. It is owned by the GamesScores object and * should not be altered. This will be NULL if no category is current (this * will typically happen if no categories have been added to the GamesScore). * **/ const gchar * games_scores_get_category (GamesScores * self) { GamesScoresPrivate *priv = self->priv; g_return_val_if_fail (self != NULL, NULL); return priv->currentcat; } static void games_scores_init (GamesScores * self) { GamesScoresPrivate *priv; /* Most of the work is done in the _new method. */ priv = self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GAMES_TYPE_SCORES, GamesScoresPrivate); priv->last_score_significant = FALSE; priv->last_score_position = 0; priv->last_score_value.plain = 0; } static void games_scores_class_init (GamesScoresClass * klass) { g_type_class_add_private (klass, sizeof (GamesScoresPrivate)); } gweled-0.9.1/src/games-score.h0000644000175000017500000000321711545063174014614 0ustar dnaxdnax/* * Copyright (C) 2005 Callum McKenzie * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #ifndef GAMES_SCORE_H #define GAMES_SCORE_H #include #include G_BEGIN_DECLS /* GamesScore and GamesScoresStyle should be kept in sync. */ typedef enum { GAMES_SCORES_STYLE_PLAIN_DESCENDING, GAMES_SCORES_STYLE_PLAIN_ASCENDING, GAMES_SCORES_STYLE_TIME_DESCENDING, GAMES_SCORES_STYLE_TIME_ASCENDING, } GamesScoreStyle; typedef union { guint32 plain; gdouble time_double; /* minutes.seconds */ } GamesScoreValue; typedef struct { GamesScoreValue value; time_t time; gchar *name; } GamesScore; GamesScore *games_score_new (void); GamesScore *games_score_dup (GamesScore * orig); gint games_score_compare (GamesScoreStyle style, GamesScore * a, GamesScore * b); gint games_score_compare_values (GamesScoreStyle style, GamesScoreValue a, GamesScoreValue b); void games_score_destroy (GamesScore * score); G_END_DECLS #endif /* GAMES_SCORE_H */ gweled-0.9.1/src/games-score.c0000644000175000017500000000506711545063174014614 0ustar dnaxdnax/* * Copyright (C) 2005 Callum McKenzie * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #include #include "games-score.h" GamesScore * games_score_new (void) { GamesScore *newscore; const gchar* name; newscore = g_slice_new0 (GamesScore); newscore->time = time (NULL); /* FIXME: We don't handle the "Unknown" case. */ name = g_get_real_name (); if (name[0] == '\0' || g_utf8_validate (name, -1, NULL) != TRUE) { name = g_get_user_name (); if (g_utf8_validate (name, -1, NULL) != TRUE) { name = ""; } } newscore->name = g_strdup (name); return newscore; } GamesScore * games_score_dup (GamesScore * orig) { GamesScore *new; new = g_slice_new (GamesScore); *new = *orig; new->name = g_strdup (orig->name); return new; } void games_score_destroy (GamesScore * score) { g_free (score->name); g_slice_free (GamesScore, score); } gint games_score_compare_values (GamesScoreStyle style, GamesScoreValue a, GamesScoreValue b) { switch (style) { case GAMES_SCORES_STYLE_PLAIN_DESCENDING: if (a.plain > b.plain) return +1; if (a.plain < b.plain) return -1; return 0; case GAMES_SCORES_STYLE_PLAIN_ASCENDING: if (a.plain > b.plain) return -1; if (a.plain < b.plain) return +1; return 0; case GAMES_SCORES_STYLE_TIME_DESCENDING: if (a.time_double > b.time_double) return +1; if (a.time_double < b.time_double) return -1; return 0; case GAMES_SCORES_STYLE_TIME_ASCENDING: if (a.time_double > b.time_double) return -1; if (a.time_double < b.time_double) return +1; return 0; default: g_warning ("Uknown score style in games_score_compare - treating as equal."); return 0; } } gint games_score_compare (GamesScoreStyle style, GamesScore * a, GamesScore * b) { return games_score_compare_values (style, a->value, b->value); } gweled-0.9.1/src/callbacks.c0000644000175000017500000002437311545063174014327 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include "main.h" #include "sound.h" #include "sge_core.h" #include "board_engine.h" #include "graphic_engine.h" extern gint gi_game_running; extern gint gi_score; extern gboolean g_do_not_score; extern GtkBuilder *gweled_xml; extern GtkWidget *g_main_window; extern GtkWidget *g_pref_window; extern GtkWidget *g_score_window; extern GtkWidget *g_drawing_area; extern GdkPixmap *g_buffer_pixmap; extern GtkWidget *g_menu_pause; extern GtkWidget *g_pref_music_button; extern GtkWidget *g_pref_sounds_button; extern gint gi_gem_clicked; extern gint gi_x_click; extern gint gi_y_click; extern gint gi_gem_dragged; extern gint gi_x_drag; extern gint gi_y_drag; extern guint board_engine_id; extern GweledPrefs prefs; static gint gi_dragging = 0; static gboolean game_mode_changed = FALSE; void on_new1_activate (GtkMenuItem * menuitem, gpointer user_data) { GtkWidget *box; gint response; if (gi_game_running) { box = gtk_message_dialog_new (GTK_WINDOW (g_main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _("Do you really want to abort this game?")); gtk_dialog_set_default_response (GTK_DIALOG (box), GTK_RESPONSE_NO); response = gtk_dialog_run (GTK_DIALOG (box)); gtk_widget_destroy (box); if (response != GTK_RESPONSE_YES) return; } gweled_stop_game (); welcome_screen_visibility (TRUE); } void on_scores1_activate (GtkMenuItem * menuitem, gpointer user_data) { show_hiscores (0, FALSE); } void on_pause_activate (GtkMenuItem *menuitem, gpointer user_data) { if(!gi_game_running) return; if(board_get_pause() == TRUE ) board_set_pause(FALSE); else board_set_pause(TRUE); } gboolean on_window_unmap_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) { if(gi_game_running && prefs.game_mode == TIMED_MODE && board_get_pause() == FALSE ) board_set_pause(TRUE); return FALSE; } gboolean on_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event, gpointer data) { if( gi_game_running && prefs.game_mode == TIMED_MODE && board_get_pause() == FALSE ) board_set_pause(TRUE); return FALSE; } void on_quit1_activate (GtkMenuItem * menuitem, gpointer user_data) { GtkWidget *box; gint response; if (gi_game_running) { box = gtk_message_dialog_new (GTK_WINDOW (g_main_window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _("Do you want to save the current game?")); gtk_dialog_set_default_response (GTK_DIALOG (box), GTK_RESPONSE_NO); response = gtk_dialog_run (GTK_DIALOG (box)); gtk_widget_destroy (box); if (response == GTK_RESPONSE_YES) save_current_game(); else { gchar *filename; filename = g_strconcat(g_get_user_config_dir(), "/gweled.saved-game", NULL); unlink(filename); } } gtk_main_quit (); } void on_preferences1_activate (GtkMenuItem * menuitem, gpointer user_data) { gtk_widget_show (g_pref_window); } void on_about1_activate (GtkMenuItem * menuitem, gpointer user_data) { const gchar *authors[] = { "Sebastien Delestaing ", "Daniele Napolitano ", NULL }; const gchar *translator_credits = _("translator-credits"); gtk_show_about_dialog (GTK_WINDOW(g_main_window), "authors", authors, "translator-credits", g_strcmp0("translator-credits", translator_credits) ? translator_credits : NULL, "comments", _("A puzzle game with gems"), "copyright", "Copyright © 2003-2005 Sebastien Delestaing\nCopyright © 2010 Daniele Napolitano", "version", VERSION, "website", "http://gweled.org", "logo-icon-name", "gweled", NULL); } gboolean drawing_area_expose_event_cb (GtkWidget * widget, GdkEventExpose * event, gpointer user_data) { gdk_draw_drawable (GDK_DRAWABLE (widget->window), widget->style->fg_gc[gtk_widget_get_state (widget)], g_buffer_pixmap, event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); return FALSE; } gboolean drawing_area_button_event_cb (GtkWidget * widget, GdkEventButton * event, gpointer user_data) { static int x_press = -1; static int y_press = -1; static int x_release = -1; static int y_release = -1; // resume game on click if(gi_game_running && board_get_pause() == TRUE && event->type == GDK_BUTTON_RELEASE ) { board_set_pause(FALSE); // not handle this click return FALSE; } // in pause mode don't accept events if(board_get_pause()) return FALSE; // only handle left button if(event->button != 1) return FALSE; respawn_board_engine_loop(); switch (event->type) { case GDK_BUTTON_PRESS: x_press = event->x / prefs.tile_size; y_press = event->y / prefs.tile_size; if (gi_game_running) { gi_x_click = x_press; gi_y_click = y_press; gi_gem_clicked = -1; gi_dragging = -1; if(prefs.sounds_on) sound_play_sample(CLICK_EVENT); } break; case GDK_BUTTON_RELEASE: gi_dragging = 0; gi_gem_dragged = 0; x_release = event->x / prefs.tile_size; y_release = event->y / prefs.tile_size; if( (x_release < 0) || (x_release > BOARD_WIDTH - 1) || (y_release < 0) || (y_release > BOARD_HEIGHT - 1) ) break; if( (x_press != x_release) || (y_press != y_release)) { if (gi_game_running) { gi_x_click = x_release; gi_y_click = y_release; gi_gem_clicked = -1; } } break; default: break; } return FALSE; } gboolean drawing_area_motion_event_cb (GtkWidget * widget, GdkEventMotion * event, gpointer user_data) { if (gi_dragging) { gi_x_drag = event->x / prefs.tile_size; gi_y_drag = event->y / prefs.tile_size; gi_gem_dragged = -1; } return FALSE; } gboolean on_app_delete_event (GtkWidget * widget, GdkEvent * event, gpointer user_data) { on_quit1_activate (NULL, NULL); return FALSE; } gboolean on_preferencesDialog_delete_event (GtkWidget * widget, GdkEvent * event, gpointer user_data) { gtk_widget_hide (widget); return TRUE; } void on_closebutton1_clicked (GtkButton * button, gpointer user_data) { save_preferences(); // unpause the game if running if(gi_game_running) board_set_pause(FALSE); gtk_widget_hide (gtk_widget_get_toplevel (GTK_WIDGET (button))); } void on_buttonNormal_clicked (GtkButton * button, gpointer user_data) { prefs.game_mode = NORMAL_MODE; welcome_screen_visibility(FALSE); gweled_draw_board (); gweled_start_new_game (); respawn_board_engine_loop(); gtk_widget_set_sensitive(g_menu_pause, TRUE); } void on_buttonTimed_clicked (GtkButton * button, gpointer user_data) { prefs.game_mode = TIMED_MODE; welcome_screen_visibility(FALSE); gweled_draw_board (); gweled_start_new_game (); respawn_board_engine_loop(); gtk_widget_set_sensitive(g_menu_pause, TRUE); } void on_buttonEndless_clicked (GtkButton * button, gpointer user_data) { prefs.game_mode = ENDLESS_MODE; welcome_screen_visibility(FALSE); gweled_draw_board (); gweled_start_new_game (); respawn_board_engine_loop(); gtk_widget_set_sensitive(g_menu_pause, TRUE); } void on_smallRadiobutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) { if (gtk_toggle_button_get_active (togglebutton)) { prefs.tile_size = 32; gweled_set_objects_size (prefs.tile_size); } if(!gi_game_running) welcome_screen_visibility(TRUE); } void on_mediumRadiobutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) { if (gtk_toggle_button_get_active (togglebutton)) { prefs.tile_size = 48; gweled_set_objects_size (prefs.tile_size); } if(!gi_game_running) welcome_screen_visibility(TRUE); } void on_largeRadiobutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) { if (gtk_toggle_button_get_active (togglebutton)) { prefs.tile_size = 64; gweled_set_objects_size (prefs.tile_size); } if(!gi_game_running) welcome_screen_visibility(TRUE); } void on_music_checkbutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) { if (gtk_toggle_button_get_active (togglebutton)) { prefs.music_on = TRUE; if(sound_get_enabled() == FALSE) { sound_init(); if(sound_get_enabled() == FALSE) { gtk_widget_set_sensitive(g_pref_music_button, FALSE); gtk_widget_set_sensitive(g_pref_sounds_button, FALSE); } } sound_music_play(); } else { prefs.music_on = FALSE; sound_music_stop(); if(prefs.sounds_on == FALSE) sound_destroy(); } } void on_sounds_checkbutton_toggled (GtkToggleButton * togglebutton, gpointer user_data) { if (gtk_toggle_button_get_active (togglebutton)) { prefs.sounds_on = TRUE; if(sound_get_enabled() == FALSE) { sound_init(); if(sound_get_enabled() == FALSE) { gtk_widget_set_sensitive(g_pref_music_button, FALSE); gtk_widget_set_sensitive(g_pref_sounds_button, FALSE); } } sound_load_samples(); } else { prefs.sounds_on = FALSE; sound_unload_samples(); if(prefs.music_on == FALSE) sound_destroy(); } } gweled-0.9.1/src/board_engine.h0000644000175000017500000000364311545063174015026 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _BOARD_ENGINE_H_ #define _BOARD_ENGINE_H_ #define BOARD_WIDTH 8 #define BOARD_HEIGHT 8 typedef enum e_gweled_game_mode { NORMAL_MODE, TIMED_MODE, ENDLESS_MODE } gweled_game_mode; typedef struct s_gweled_prefs { gweled_game_mode game_mode; gint tile_size; gboolean music_on; gboolean sounds_on; }GweledPrefs; typedef struct s_gweled_gamestate { gint gpc_game_board[BOARD_WIDTH][BOARD_HEIGHT]; gweled_game_mode game_mode; gint gi_score; gint gi_total_gems_removed; gint gi_bonus_multiply; gint gi_previous_bonus_at; gint gi_next_bonus_at; gint gi_level; gint gi_trigger_bonus; guint g_steps_for_timer; } GweledGameState; // FUNCTIONS void gweled_start_new_game(void); void gweled_swap_gems(gint x1, gint y1, gint x2, gint y2); void gweled_refill_board(void); void board_set_pause(gboolean value); gboolean board_get_pause(void); void respawn_board_engine_loop(); GweledGameState gweled_get_current_game(void); void gweled_set_previous_game(GweledGameState game); void gweled_stop_game(); #endif gweled-0.9.1/src/board_engine.c0000644000175000017500000007177011545063174015027 0ustar dnaxdnax/* Gweled * * Copyright (C) 2003-2005 Sebastien Delestaing * Copyright (C) 2010 Daniele Napolitano * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H # include #endif /* for memset and strlen */ #include /* for fabs() */ #include #include #include #include #include "games-scores.h" #include "main.h" #include "sge_core.h" #include "board_engine.h" #include "graphic_engine.h" #include "sound.h" #define FIRST_BONUS_AT 100 // needs tweaking #define NB_BONUS_GEMS 8 // same #define TOTAL_STEPS_FOR_TIMER 60 // seconds #define HINT_TIMEOUT 15 // seconds void gweled_remove_gems_and_update_score (void); enum { _IDLE, _FIRST_GEM_CLICKED, _SECOND_GEM_CLICKED, _ILLEGAL_MOVE, _MARK_ALIGNED_GEMS, _BOARD_REFILLING }; typedef struct s_alignment { gint x; gint y; gint direction; gint length; } T_Alignment; gint gi_score, gi_current_score, gi_game_running, gi_game_paused; gint gi_total_gems_removed; gint gi_score_per_move; guint hint_timeout; gint gi_bonus_multiply; gint gi_previous_bonus_at; gint gi_next_bonus_at; gint gi_level; gint gi_trigger_bonus; guint g_steps_for_timer; gint gi_gem_clicked = 0; gint gi_x_click = 0; gint gi_y_click = 0; gint gi_gem_dragged = 0; gint gi_x_drag = 0; gint gi_y_drag = 0; gint gpc_game_board[BOARD_WIDTH][BOARD_HEIGHT]; gint gi_nb_of_tiles[7]; gboolean g_do_not_score; T_SGEObject *g_gem_objects[BOARD_WIDTH][BOARD_HEIGHT]; unsigned char gpc_bit_n[8] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; static T_SGEObject *g_hint_object = NULL; static gint gi_state = _IDLE; static GList *g_alignment_list; extern GRand *g_random_generator; extern GtkWidget *g_progress_bar; extern GtkWidget *g_score_label; extern GtkWidget *g_menu_pause; extern gint gi_gems_pixbuf[7]; extern gint gi_cursor_pixbuf; extern gint gi_powerglow_pixbuf; extern gint gi_sparkle_pixbuf; extern guint board_engine_id; extern GweledPrefs prefs; extern GamesScores *highscores; gchar get_new_tile (void) { int i; int min, max, min_index, max_index, previous_min_index; min_index = 0; previous_min_index = 0; max_index = 0; min = gi_nb_of_tiles[0]; max = gi_nb_of_tiles[0]; for (i = 0; i < 7; i++) { if (gi_nb_of_tiles[i] < min) { min = gi_nb_of_tiles[i]; min_index = i; previous_min_index = min_index; } if (gi_nb_of_tiles[i] > max) { max = gi_nb_of_tiles[i]; max_index = i; } } i = (gint) g_rand_int_range (g_random_generator, 0, 2); switch (i) { case 0: return g_rand_int_range (g_random_generator, 0, 2) ? min_index : previous_min_index; default: return (max_index + (gchar) g_rand_int_range (g_random_generator, 1, 7)) % 7; } } gint gweled_is_part_of_an_alignment (gint x, gint y) { gint i, result; result = 0; for (i = x - 2; i <= x; i++) if (i >= 0 && i + 2 < BOARD_WIDTH) if (gpc_bit_n[gpc_game_board[i][y]] & gpc_bit_n[gpc_game_board[i + 1][y]] & gpc_bit_n[gpc_game_board[i + 2][y]]) { result |= 1; // is part of an horizontal alignment break; } for (i = y - 2; i <= y; i++) if (i >= 0 && i + 2 < BOARD_HEIGHT) if (gpc_bit_n[gpc_game_board[x][i]] & gpc_bit_n[gpc_game_board[x][i + 1]] & gpc_bit_n[gpc_game_board[x][i + 2]]) { result |= 2; // is part of a vertical alignment break; } return result; } gboolean gweled_check_for_moves_left (int *pi, int *pj) { gint i, j; for (j = 0; j <= BOARD_HEIGHT - 1; j++) for (i = 0; i <= BOARD_WIDTH - 1; i++) { if (i > 0) { gweled_swap_gems (i - 1, j, i, j); if (gweled_is_part_of_an_alignment (i, j)) { gweled_swap_gems (i - 1, j, i, j); i = i - 1; goto move_found; } gweled_swap_gems (i - 1, j, i, j); } if (i < 7) { gweled_swap_gems (i + 1, j, i, j); if (gweled_is_part_of_an_alignment (i, j)) { gweled_swap_gems (i + 1, j, i, j); i = i + 1; goto move_found; } gweled_swap_gems (i + 1, j, i, j); } if (j > 0) { gweled_swap_gems (i, j - 1, i, j); if (gweled_is_part_of_an_alignment (i, j)) { gweled_swap_gems (i, j - 1, i, j); j = j - 1; goto move_found; } gweled_swap_gems (i, j - 1, i, j); } if (j < 7) { gweled_swap_gems (i, j + 1, i, j); if (gweled_is_part_of_an_alignment (i, j)) { gweled_swap_gems (i, j + 1, i, j); j = j + 1; goto move_found; } gweled_swap_gems (i, j + 1, i, j); } } return FALSE; move_found: if (pi && pj) { *pi = i; *pj = j; } return TRUE; } void gweled_swap_gems (gint x1, gint y1, gint x2, gint y2) { gint i; T_SGEObject * object; object = g_gem_objects[x1][y1]; g_gem_objects[x1][y1] = g_gem_objects[x2][y2]; g_gem_objects[x2][y2] = object; i = gpc_game_board[x1][y1]; gpc_game_board[x1][y1] = gpc_game_board[x2][y2]; gpc_game_board[x2][y2] = i; } void gweled_refill_board (void) { gint i, j, k; //g_debug("gweled_refill_board():"); for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) if (gpc_game_board[i][j] == -1) { for (k = j; k > 0; k--) { gpc_game_board[i][k] = gpc_game_board[i][k - 1]; g_gem_objects[i][k] = g_gem_objects[i][k - 1]; } gpc_game_board[i][0] = get_new_tile (); gi_nb_of_tiles[gpc_game_board[i][0]]++; // make sure the new tile appears outside of the screen (1st row is special-cased) if (j && g_gem_objects[i][1]) g_gem_objects[i][0] = sge_create_object (i * prefs.tile_size, g_gem_objects[i][1]->y - prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][0]]); else g_gem_objects[i][0] = sge_create_object (i * prefs.tile_size, -prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][0]]); } } void delete_alignment_from_board (gpointer alignment_pointer, gpointer user_data) { gint i, i_total_score; gint gi_gems_removed = 0; int xsize, ysize, xhotspot, yhotspot, xpos, ypos; char *buffer; T_Alignment *alignment; T_SGEObject *object; alignment = (T_Alignment *) alignment_pointer; // delete alignment if (alignment->direction == 1) // horizontal { xhotspot = (alignment->x * prefs.tile_size + alignment->length * prefs.tile_size / 2); yhotspot = (alignment->y * prefs.tile_size + prefs.tile_size / 2); for (i = alignment->x; i < alignment->x + alignment->length; i++) { if (gpc_game_board[i][alignment->y] != -1) { gi_gems_removed++; gi_nb_of_tiles[gpc_game_board[i][alignment->y]]--; gpc_game_board[i][alignment->y] = -1; } } } else { xhotspot = (alignment->x * prefs.tile_size + prefs.tile_size / 2); yhotspot = (alignment->y * prefs.tile_size + alignment->length * prefs.tile_size / 2); for (i = alignment->y; i < alignment->y + alignment->length; i++) { if (gpc_game_board[alignment->x][i] != -1) { gi_gems_removed++; gi_nb_of_tiles[gpc_game_board[alignment->x][i]]--; gpc_game_board[alignment->x][i] = -1; } } } //compute score if (alignment->length == 1) { //bonus mode i_total_score = 10 * g_rand_int_range (g_random_generator, 1, 2); } else { i_total_score = 10 * (gi_bonus_multiply >> 1) * (gi_gems_removed - 2) + gi_score_per_move; if(g_do_not_score == TRUE) gi_score_per_move = i_total_score; } if (g_do_not_score == FALSE) { gi_total_gems_removed += gi_gems_removed; //g_print("Score: %d Gems removed: %d\n", i_total_score, gi_gems_removed); gi_score += i_total_score; //display score buffer = g_strdup_printf ("%d", i_total_score); xsize = strlen (buffer) * FONT_WIDTH; ysize = FONT_HEIGHT; for (i = 0; i < strlen (buffer); i++) { xpos = xhotspot - xsize / 2 + i * FONT_WIDTH; ypos = yhotspot - ysize / 2; object = gweled_draw_character (xpos, ypos, 4, buffer[i]); object->vy = -1.0; sge_object_set_lifetime (object, 1); //1s } g_free (buffer); } } void gweled_remove_gems_and_update_score (void) { g_list_foreach (g_alignment_list, delete_alignment_from_board, NULL); } void take_down_alignment (gpointer object, gpointer user_data) { gint i; T_Alignment *alignment; alignment = (T_Alignment *) object; if (alignment->direction == 1) // horizontal for (i = alignment->x; i < alignment->x + alignment->length; i++) sge_object_zoomout (g_gem_objects[i][alignment->y]); else for (i = alignment->y; i < alignment->y + alignment->length; i++) sge_object_zoomout (g_gem_objects[alignment->x][i]); } void gweled_take_down_deleted_gems (void) { g_list_foreach (g_alignment_list, take_down_alignment, NULL); } void destroy_alignment (gpointer object, gpointer user_data) { g_alignment_list = g_list_remove (g_alignment_list, object); } void destroy_all_alignments (void) { g_list_foreach (g_alignment_list, destroy_alignment, NULL); } void gweled_delete_gems_for_bonus (void) { gint i; T_Alignment * alignment; destroy_all_alignments (); for (i = 0; i < NB_BONUS_GEMS; i++) { alignment = (T_Alignment *) g_malloc (sizeof (T_Alignment)); alignment->x = g_rand_int_range (g_random_generator, 0, 7); alignment->y = g_rand_int_range (g_random_generator, 0, 7); alignment->direction = 1; alignment->length = 1; g_alignment_list = g_list_append (g_alignment_list, (gpointer) alignment); } } // FIXME!!! // // if we have the following pattern: // // xxoxoo // // and swap the 2 central gems: // // xxxooo <- this is counted as 1 alignment of 6 // // giving a score of 40 appearing in the middle rather than 10 + 40 (combo bonus). // However the fix implies a significant change in the function below for // a bug that is unlikely to happen. I will fix it. Just... not now. gboolean gweled_check_for_alignments (void) { gint i, j, i_nb_aligned, start_x, start_y; T_Alignment *alignment; destroy_all_alignments (); // make a list of vertical alignments i_nb_aligned = 0; for (i = 0; i < BOARD_WIDTH; i++) { for (j = 0; j < BOARD_HEIGHT; j++) if ((gweled_is_part_of_an_alignment (i, j) & 2) == 2) { // record the origin of the alignment if (i_nb_aligned == 0) { start_x = i; start_y = j; } i_nb_aligned++; } else { // we found one, let's remember it for later use if (i_nb_aligned > 2) { alignment = (T_Alignment *)g_malloc (sizeof (T_Alignment)); alignment->x = start_x; alignment->y = start_y; alignment->direction = 2; alignment->length = i_nb_aligned; g_alignment_list = g_list_append(g_alignment_list, (gpointer) alignment); } i_nb_aligned = 0; } // end of column if (i_nb_aligned > 2) { alignment = (T_Alignment *)g_malloc (sizeof (T_Alignment)); alignment->x = start_x; alignment->y = start_y; alignment->direction = 2; alignment->length = i_nb_aligned; g_alignment_list = g_list_append (g_alignment_list, (gpointer) alignment); } i_nb_aligned = 0; } // make a list of horizontal alignments i_nb_aligned = 0; for (j = 0; j < BOARD_HEIGHT; j++) { for (i = 0; i < BOARD_WIDTH; i++) if ((gweled_is_part_of_an_alignment (i, j) & 1) == 1) { // record the origin of the alignment if (i_nb_aligned == 0) { start_x = i; start_y = j; } i_nb_aligned++; } else { // if we found one, let's remember it for later use if (i_nb_aligned > 2) { alignment = (T_Alignment *)g_malloc (sizeof (T_Alignment)); alignment->x = start_x; alignment->y = start_y; alignment->direction = 1; alignment->length = i_nb_aligned; g_alignment_list = g_list_append (g_alignment_list, (gpointer) alignment); } i_nb_aligned = 0; } // end of row if (i_nb_aligned > 2) { alignment = (T_Alignment *) g_malloc (sizeof (T_Alignment)); alignment->x = start_x; alignment->y = start_y; alignment->direction = 1; alignment->length = i_nb_aligned; g_alignment_list = g_list_append (g_alignment_list, (gpointer) alignment); } i_nb_aligned = 0; } return (g_list_length (g_alignment_list) != 0); } void board_set_pause(gboolean value) { static gchar *last_text; gi_game_paused = value; if(value == TRUE) { gtk_menu_item_set_label(GTK_MENU_ITEM(g_menu_pause), _("_Resume")); gweled_draw_message("paused"); last_text = g_strdup(gtk_progress_bar_get_text(GTK_PROGRESS_BAR(g_progress_bar))); gtk_progress_bar_set_text(GTK_PROGRESS_BAR(g_progress_bar), _("Paused")); sge_set_layer_visibility(1, FALSE); sge_set_layer_visibility(2, FALSE); if(hint_timeout) { g_source_remove(hint_timeout); hint_timeout = 0; } if(sge_object_exists(g_hint_object)) { sge_destroy_object (g_hint_object, NULL); g_hint_object = NULL; } } else { gtk_menu_item_set_label(GTK_MENU_ITEM(g_menu_pause), _("_Pause")); if(last_text != NULL) { gtk_progress_bar_set_text(GTK_PROGRESS_BAR(g_progress_bar), last_text); g_free(last_text); last_text = NULL; } sge_set_layer_visibility(1, TRUE); sge_set_layer_visibility(2, TRUE); sge_destroy_all_objects_on_level(3); respawn_board_engine_loop(); } } gboolean board_get_pause() { return gi_game_paused; } gboolean hint_callback (gpointer data) { gint x, y; if (gi_game_running) { gweled_check_for_moves_left (&x, &y); //g_debug("hint_callback(): x:%d, y%d", x, y); g_hint_object = sge_create_object (prefs.tile_size * x, prefs.tile_size * y, 2, gi_powerglow_pixbuf); sge_object_animate(g_hint_object, TRUE); sge_object_set_lifetime (g_hint_object, 2); } return TRUE; } gboolean board_engine_loop (gpointer data) { static gint x1, y1, x2, y2, time_slice = 0; static T_SGEObject *cursor[2] = { NULL, NULL }; gchar msg_buffer[200]; GamesScoreValue score; gint hiscore_rank; time_slice++; const gchar* state[] = {"_IDLE", "_FIRST_GEM_CLICKED", "_SECOND_GEM_CLICKED", "_ILLEGAL_MOVE", "_MARK_ALIGNED_GEMS", "_BOARD_REFILLING"}; // progressive score if(gi_current_score < gi_score) { gi_current_score += 10; g_sprintf (msg_buffer, "%06d", gi_current_score); gtk_label_set_markup ((GtkLabel *) g_score_label, msg_buffer); } /* Let's first check if we are in timer mode, and penalize the player if necessary */ if (prefs.game_mode == TIMED_MODE && gi_game_running && !gi_game_paused && (time_slice % 10 == 0)) { gi_total_gems_removed -= g_steps_for_timer; if (gi_total_gems_removed <= gi_previous_bonus_at) { gweled_draw_message ("time's up #"); gi_game_running = 0; score.plain = gi_score; games_scores_set_category (highscores, "Timed"); hiscore_rank = games_scores_add_score (highscores, score); if (show_hiscores (hiscore_rank, TRUE) == GTK_RESPONSE_REJECT) gtk_main_quit (); else { sge_destroy_all_objects (); gweled_draw_board (); gweled_start_new_game (); } g_do_not_score = FALSE; gi_state = _IDLE; } else gtk_progress_bar_set_fraction ((GtkProgressBar *) g_progress_bar, (float)(gi_total_gems_removed -gi_previous_bonus_at) / (float)(gi_next_bonus_at - gi_previous_bonus_at)); } //g_debug("Current state: %s", state[gi_state]); if(hint_timeout && gi_gem_clicked) { g_source_remove(hint_timeout); hint_timeout = 0; if(g_hint_object && sge_object_exists(g_hint_object)) { sge_destroy_object (g_hint_object, NULL); g_hint_object = NULL; } else g_hint_object = NULL; } switch (gi_state) { case _IDLE: if (gi_gem_clicked) { x1 = gi_x_click; y1 = gi_y_click; gi_state = _FIRST_GEM_CLICKED; sge_object_blink_start(g_gem_objects[gi_x_click][gi_y_click]); if (cursor[0]) sge_destroy_object (cursor[0], NULL); cursor[0] = sge_create_object (prefs.tile_size * x1, prefs.tile_size * y1, 2, gi_cursor_pixbuf); gi_gem_clicked = 0; gi_gem_dragged = 0; } else break; case _FIRST_GEM_CLICKED: if (gi_gem_clicked) { x2 = gi_x_click; y2 = gi_y_click; gi_gem_clicked = 0; if (((x1 == x2) && (fabs (y1 - y2) == 1)) || ((y1 == y2) && (fabs (x1 - x2) == 1))) { // If the player clicks an adjacent gem, try to swap if (cursor[1]) sge_destroy_object (cursor[1], NULL); cursor[1] = sge_create_object (prefs.tile_size * x2, prefs.tile_size * y2, 2, gi_cursor_pixbuf); sge_object_blink_stop(g_gem_objects[x1][y1]); // swap gems sge_object_move_to (g_gem_objects[x1][y1], x2 * prefs.tile_size, y2 * prefs.tile_size); sge_object_move_to (g_gem_objects[x2][y2], x1 * prefs.tile_size, y1 * prefs.tile_size); // swap cursors sge_object_move_to (cursor[0], x2 * prefs.tile_size, y2 * prefs.tile_size); sge_object_move_to (cursor[1], x1 * prefs.tile_size, y1 * prefs.tile_size); if(prefs.sounds_on == TRUE) sound_play_sample(SWAP_EVENT); gi_state = _SECOND_GEM_CLICKED; } else if((x1 == x2) && (y1 == y2)) { if (cursor[1]) { sge_destroy_object (cursor[1], NULL); cursor[1] = NULL; } // If the player clicks the selected gem, deselect it if(cursor[0]) { sge_destroy_object(cursor[0], NULL); cursor[0] = NULL; } sge_object_blink_stop(g_gem_objects[x1][y1]); gi_state = _IDLE; gi_gem_clicked = 0; } else { if (cursor[1]) { sge_destroy_object (cursor[1], NULL); cursor[1] = NULL; } // If the player clicks anywhere else, make that the first selection sge_object_blink_stop(g_gem_objects[x1][y1]); sge_object_blink_start(g_gem_objects[x2][y2]); x1 = x2; y1 = y2; if (cursor[0]) sge_destroy_object (cursor[0], NULL); cursor[0] = sge_create_object (prefs.tile_size * x1, prefs.tile_size * y1, 2, gi_cursor_pixbuf); } }else if(gi_gem_dragged) { //printf("gem dragged\n"); if (cursor[1]) sge_destroy_object (cursor[1], NULL); cursor[1] = sge_create_object (prefs.tile_size * gi_x_drag, prefs.tile_size * gi_y_drag, 2, gi_cursor_pixbuf); } break; case _SECOND_GEM_CLICKED: if (!sge_object_is_moving (g_gem_objects[x1][y1]) && !sge_object_is_moving (g_gem_objects[x2][y2])) { gweled_swap_gems (x1, y1, x2, y2); if (!gweled_is_part_of_an_alignment (x1, y1) && !gweled_is_part_of_an_alignment (x2, y2)) { // re-swap gems sge_object_move_to (g_gem_objects[x1][y1], x2 * prefs.tile_size, y2 * prefs.tile_size); sge_object_move_to (g_gem_objects[x2][y2], x1 * prefs.tile_size, y1 * prefs.tile_size); // re-swap cursors sge_object_move_to (cursor[1], x2 * prefs.tile_size, y2 * prefs.tile_size); sge_object_move_to (cursor[0], x1 * prefs.tile_size, y1 * prefs.tile_size); gi_state = _ILLEGAL_MOVE; } else { gi_score_per_move = 0; gi_state = _MARK_ALIGNED_GEMS; } // fadeout cursors if (cursor[0]) sge_object_fadeout (cursor[0]); if (cursor[1]) sge_object_fadeout (cursor[1]); cursor[0] = NULL; cursor[1] = NULL; } break; case _ILLEGAL_MOVE: if (!sge_object_is_moving (g_gem_objects[x1][y1]) && !sge_object_is_moving (g_gem_objects[x2][y2])) { gweled_swap_gems (x1, y1, x2, y2); gi_state = _IDLE; } break; case _MARK_ALIGNED_GEMS: if (gweled_check_for_alignments () == TRUE) { gweled_take_down_deleted_gems (); gweled_remove_gems_and_update_score (); if(prefs.game_mode != ENDLESS_MODE) { if (gi_total_gems_removed <= gi_next_bonus_at) gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(g_progress_bar), (float) (gi_total_gems_removed - gi_previous_bonus_at) / (float) (gi_next_bonus_at - gi_previous_bonus_at)); else gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(g_progress_bar), 1.0); gi_state = _BOARD_REFILLING; } gweled_refill_board (); gweled_gems_fall_into_place (FALSE); } else { if (gweled_check_for_moves_left (NULL, NULL) == FALSE) { if ((gi_next_bonus_at == FIRST_BONUS_AT) && (prefs.game_mode != ENDLESS_MODE)) { gint i, j; // TRANSLATORS: # is replaced with !! gweled_draw_game_message ("no moves left #", 1); memset (gi_nb_of_tiles, 0, 7 * sizeof (int)); for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) { sge_destroy_object (g_gem_objects[i][j], NULL); gpc_game_board[i][j] = get_new_tile(); gi_nb_of_tiles[gpc_game_board[i][j]]++; } g_do_not_score = TRUE; while(gweled_check_for_alignments ()) { gweled_remove_gems_and_update_score (); gweled_refill_board(); }; g_do_not_score = FALSE; for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) { g_gem_objects[i][j] = sge_create_object (i * prefs.tile_size, (j - BOARD_HEIGHT) * prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][j]]); } gweled_gems_fall_into_place (FALSE); gi_state = _MARK_ALIGNED_GEMS; } else { gweled_draw_message ("no moves left #"); gi_game_running = 0; score.plain = gi_score; games_scores_set_category (highscores, "Normal"); hiscore_rank = games_scores_add_score (highscores, score); if (show_hiscores (hiscore_rank, TRUE) == GTK_RESPONSE_REJECT) gtk_main_quit (); else { sge_destroy_all_objects (); gweled_draw_board (); gweled_start_new_game (); } g_do_not_score = FALSE; gi_state = _IDLE; } } else { g_do_not_score = FALSE; gi_state = _IDLE; } } break; case _BOARD_REFILLING: if (!sge_objects_are_moving_on_layer (1)) { if (gi_total_gems_removed >= gi_next_bonus_at) { gi_previous_bonus_at = gi_next_bonus_at; gi_next_bonus_at *= 2; if (prefs.game_mode == TIMED_MODE) g_steps_for_timer = (gi_next_bonus_at - gi_previous_bonus_at) / TOTAL_STEPS_FOR_TIMER + 1; // draw bonus message and new level in game gi_bonus_multiply++; gi_level++; g_sprintf(msg_buffer, _("Level %d"), gi_level); gtk_progress_bar_set_text(GTK_PROGRESS_BAR (g_progress_bar), msg_buffer); g_sprintf (msg_buffer, "bonus x%d", gi_bonus_multiply >> 1); gweled_draw_game_message (msg_buffer, 2); gweled_delete_gems_for_bonus (); gweled_take_down_deleted_gems (); gweled_remove_gems_and_update_score (); if (prefs.game_mode == TIMED_MODE) gi_total_gems_removed = (gi_next_bonus_at + gi_previous_bonus_at) / 2; gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(g_progress_bar), (float) (gi_total_gems_removed - gi_previous_bonus_at) / (float) (gi_next_bonus_at - gi_previous_bonus_at)); gweled_refill_board (); gweled_gems_fall_into_place (FALSE); g_do_not_score = TRUE; } else { gi_state = _MARK_ALIGNED_GEMS; } } break; default: break; } if(gi_state == _IDLE && gi_gem_clicked == FALSE && !hint_timeout) hint_timeout = g_timeout_add_seconds (HINT_TIMEOUT, hint_callback, NULL); if((gi_state == _IDLE || gi_state == _FIRST_GEM_CLICKED) && gi_current_score == gi_score && ((prefs.game_mode == TIMED_MODE && gi_game_paused) || !(prefs.game_mode == TIMED_MODE))) { board_engine_id = 0; //g_debug("Board engine timer stopped"); return FALSE; } return TRUE; } void respawn_board_engine_loop() { if(!board_engine_id) board_engine_id = g_timeout_add (100, board_engine_loop, NULL); } void gweled_start_new_game (void) { gint i, j; gi_game_paused = 0; gi_score = 0; gi_current_score = 0; gi_score_per_move = 0; gi_bonus_multiply = 3; gi_level = 1; gi_previous_bonus_at = 0; gi_next_bonus_at = FIRST_BONUS_AT; gi_trigger_bonus = 0; g_steps_for_timer = FIRST_BONUS_AT / TOTAL_STEPS_FOR_TIMER; if(prefs.game_mode == TIMED_MODE) gi_total_gems_removed = FIRST_BONUS_AT / 2; else gi_total_gems_removed = 0; if(hint_timeout) { g_source_remove(hint_timeout); hint_timeout = 0; } if(prefs.game_mode != ENDLESS_MODE) { gchar *text = g_strdup_printf(_("Level %d"), 1); gtk_progress_bar_set_text(GTK_PROGRESS_BAR (g_progress_bar), text ); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (g_progress_bar), 0.0); g_free(text); } else { gtk_progress_bar_set_text(GTK_PROGRESS_BAR (g_progress_bar), "" ); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (g_progress_bar), 0.0); } gtk_label_set_markup ((GtkLabel *) g_score_label, "000000"); memset (gi_nb_of_tiles, 0, 7 * sizeof (int)); for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) { gpc_game_board[i][j] = get_new_tile (); gi_nb_of_tiles[gpc_game_board[i][j]]++; g_gem_objects[i][j] = sge_create_object (i * prefs.tile_size, (j - BOARD_HEIGHT) * prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][j]]); } g_do_not_score = TRUE; while(gweled_check_for_alignments ()) { gweled_remove_gems_and_update_score (); gweled_refill_board(); }; g_do_not_score = FALSE; //test pattern for a known bug /* gpc_game_board[0][7] = 0; gpc_game_board[1][7] = 0; gpc_game_board[2][7] = 1; gpc_game_board[3][7] = 0; gpc_game_board[4][7] = 1; gpc_game_board[5][7] = 1; */ for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) g_gem_objects[i][j] = sge_create_object (i * prefs.tile_size, (j - BOARD_HEIGHT) * prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][j]]); gweled_gems_fall_into_place (TRUE); gi_game_running = -1; gi_state = _MARK_ALIGNED_GEMS; } GweledGameState gweled_get_current_game(void) { GweledGameState game; int i, j; game.game_mode = prefs.game_mode; game.gi_score = gi_score; game.gi_total_gems_removed = gi_total_gems_removed; game.gi_bonus_multiply = gi_bonus_multiply; game.gi_previous_bonus_at = gi_previous_bonus_at; game.gi_next_bonus_at = gi_next_bonus_at; game.gi_level = gi_level; game.gi_trigger_bonus = gi_trigger_bonus; game.g_steps_for_timer = g_steps_for_timer; for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) game.gpc_game_board[i][j] = gpc_game_board[i][j]; return game; } void gweled_set_previous_game(GweledGameState game) { gchar *text_buffer; int i, j; prefs.game_mode = game.game_mode; gi_score = game.gi_score; gi_total_gems_removed = game.gi_total_gems_removed; gi_bonus_multiply = game.gi_bonus_multiply; gi_previous_bonus_at = game.gi_previous_bonus_at; gi_next_bonus_at = game.gi_next_bonus_at; gi_level = game.gi_level; gi_trigger_bonus = game.gi_trigger_bonus; g_steps_for_timer = game.g_steps_for_timer; gi_current_score = gi_score; // update game mode preferences init_pref_window(); if(prefs.game_mode != ENDLESS_MODE) { gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (g_progress_bar), (float)(gi_total_gems_removed -gi_previous_bonus_at) / (float)(gi_next_bonus_at - gi_previous_bonus_at)); text_buffer = g_strdup_printf(_("Level %d"), gi_level); gtk_progress_bar_set_text(GTK_PROGRESS_BAR (g_progress_bar), text_buffer); g_free(text_buffer); } text_buffer = g_strdup_printf("%06d", gi_current_score); gtk_label_set_markup (GTK_LABEL(g_score_label), text_buffer); g_free(text_buffer); sge_destroy_all_objects (); gweled_draw_board (); for (i = 0; i < BOARD_WIDTH; i++) for (j = 0; j < BOARD_HEIGHT; j++) { gpc_game_board[i][j] = game.gpc_game_board[i][j]; g_gem_objects[i][j] = sge_create_object (i * prefs.tile_size, j * prefs.tile_size, 1, gi_gems_pixbuf[gpc_game_board[i][j]]); } gi_game_running = -1; gi_state = _MARK_ALIGNED_GEMS; respawn_board_engine_loop(); gtk_widget_set_sensitive(g_menu_pause, TRUE); welcome_screen_visibility (FALSE); gi_game_running = TRUE; gi_game_paused = FALSE; } void gweled_stop_game() { board_set_pause(FALSE); respawn_board_engine_loop(); gi_game_running = 0; sge_destroy_all_objects (); gtk_progress_bar_set_text(GTK_PROGRESS_BAR (g_progress_bar), "" ); gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (g_progress_bar), 0.0); gtk_label_set_markup ((GtkLabel *) g_score_label, "000000"); } gweled-0.9.1/src/Makefile.in0000644000175000017500000004213611545063247014307 0ustar dnaxdnax# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = gweled$(EXEEXT) subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_gweled_OBJECTS = main.$(OBJEXT) callbacks.$(OBJEXT) \ board_engine.$(OBJEXT) graphic_engine.$(OBJEXT) \ sge_core.$(OBJEXT) sge_utils.$(OBJEXT) sound.$(OBJEXT) \ games-score.$(OBJEXT) games-scores.$(OBJEXT) \ games-scores-backend.$(OBJEXT) games-scores-dialog.$(OBJEXT) \ games-setgid-io.$(OBJEXT) gweled_OBJECTS = $(am_gweled_OBJECTS) gweled_DEPENDENCIES = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_$(V)) am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) am__v_CC_0 = @echo " CC " $@; AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_$(V)) am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) am__v_CCLD_0 = @echo " CCLD " $@; AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; SOURCES = $(gweled_SOURCES) DIST_SOURCES = $(gweled_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MIKMOD_CFLAGS = @MIKMOD_CFLAGS@ MIKMOD_LIBS = @MIKMOD_LIBS@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RSVG_CFLAGS = @RSVG_CFLAGS@ RSVG_LIBS = @RSVG_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ scoredir = @scoredir@ scores_group = @scores_group@ scores_user = @scores_user@ setgid = @setgid@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ INCLUDES = \ -DDATADIR=\""$(datadir)"\" \ -DPACKAGE_DATA_DIR=\""$(datadir)/gweled"\" \ -DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \ -DSCOREDIR=\""$(scoredir)"\" AM_CFLAGS = \ @GTK_CFLAGS@ \ @RSVG_CFLAGS@ \ @MIKMOD_CFLAGS@ \ @PTHREAD_CFLAGS@ gweled_SOURCES = \ main.c main.h \ callbacks.c \ board_engine.c board_engine.h \ graphic_engine.c graphic_engine.h \ sge_core.c sge_core.h \ sge_utils.c sge_utils.h \ sound.c sound.h \ games-score.c games-score.h \ games-scores.c games-scores.h \ games-scores-backend.c games-scores-backend.h \ games-scores-dialog.c games-scores-dialog.h \ games-setgid-io.c games-setgid-io.h \ games-scores-dialog-private.h gweled_LDADD = @GTK_LIBS@ @RSVG_LIBS@ @MIKMOD_LIBS@ @PTHREAD_LIBS@ all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) gweled$(EXEEXT): $(gweled_OBJECTS) $(gweled_DEPENDENCIES) @rm -f gweled$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gweled_OBJECTS) $(gweled_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/board_engine.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callbacks.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/games-score.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/games-scores-backend.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/games-scores-dialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/games-scores.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/games-setgid-io.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphic_engine.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sge_core.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sge_utils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sound.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic ctags distclean distclean-compile \ distclean-generic distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-binPROGRAMS \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gweled-0.9.1/sounds/swap.wav0000644000175000017500000010633011545063174014453 0ustar dnaxdnaxRIFFЌWAVEfmt DXdata+8 BLB od L Pn R    H  $7Ewb< " EfDb= -w y&z Y /,$ye?!nOv{V {> kGw w"]u h}gbY"*F ?}y.&k?`R)i)4  ))P=9 %e6= @e9yI2B d} 2. kz 4 z)+4e5#} |w ^ &W\ aS zy;;mT"#  +k } ^Qf B8 " W NS6*"fZYd o"D[$g Pe e c<}F J (eo]RX^;~`p&%B0IFd&X+DG:9RAcnD"D4: z .   TMj+ 1ut !st,b 8dPq 7 @AU%? q -pXFwu tc{h!;mZ.Xis\wLc}#;tJU_[=5]k? ny4 m0^WemfUHRdRs y 9 `Sfw 3c %mL$ RBra4I#~rR^ 14K j ${FwKtgCoh Q*@qakBY(a! A%19mt}:j'%(u`!A,5k1~n{ y^L"DEH*d3-6KUla38rRLxM%-Q zC] Q pG 1  m^(D@H ;D(#6 B \Lpxnf\woy> #`2 #NL-~y|(9Z2ur?RIdNWs{m8 B!,> n6F5(@gQS$0;!HC%i`6WsbK}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tuy]YD<9^ + zo;|`5A+I7Lc7 x8J %L;G3a De(5a +-3ox& ~ mx(mx*e9~<e"x(7AUwouJF653t DR3V ~Bqm"vx(Z9r5 e5|tr^X 5^/1zr&c( m<RSo6oCRYIqUT ~ `\5rr t z(/x13m*~$x  - r v *a q$ct;r z  gweled-0.9.1/sounds/click.wav0000644000175000017500000005005411545063174014567 0ustar dnaxdnaxRIFF$PWAVEfmt DXdataP`5ڵ /@HtGHH>,^zڸ( #`66BE?1'aԣ_.;A?4U#; eḾ,d"Ix%4K==U6'{K9ģΛ޵\S.]8b;6\+>AbIڋ%q28X6-f G)׺r +34.#. ݶd̵̀tv%/*2.{%PwJMϙ{@&;*4/%.-'= E<f` $+,'(1({MCۂP'*A(  ت֐t,L "'A'!(2 ڻLc$%4"J4'TۚەcO!#I"-@H$Y( 9!h!,9K &S~. P rJI 6i)FM$01Z6V v  R(MZy .:. /EN O~_9TZ >6 IsH@M#gc u]G3 v: [J gP06N2%P? E  Y 1cq<0 K pRl&  m N"mo z 3 EX_ *k>v>~ j ? 5k Q  r)a hH4#  j K0).h3@ | ) =X#d N z I/MtsA V5hL+I p _IE`P] y[w y> `^w*ek!?WV0JmGE09#JayKq)Cu!n3jw{Yp2b RJW w 4[+C9>eH AA!N; BAR=vw`#]uqhU5fQ6YpXo591 ag1Xto;7dehl0&/.d%+$.Fgf`_1Nwh"-\^e"u!{Z$@Dn69q" 7l xo\^B#m)apA=,ZU'|:kIh3j]%_d)3<J+`rKys?xmFD#drP/1=]QEUrm)M@g#XB3>%)Y@{$?=.WXQ'p, y%q. 'ac4N+.P=Xd)!E"im&Q+$;kG}7k@1Aj8K SCQpPVlhv)[yV&>P^gbK. #8KNH9"                                         gweled-0.9.1/sounds/autonom.s3m0000644000175000017500000016113011545063174015067 0ustar dnaxdnaxAutonomus& 2SCRM@}        !&+05:?DINSX]bglqv{Zng | w x p ''"*$'#,()'+%/ !CHIPBAS.1  ,P(ChipBass.looped SCRSSINE ~~@LOPure Sine SCRSCGWAVE @LChip5ths SCRSWAVE17 @hBBrassWave.1 SCRSWAVE2? }}@hBBrassWave.2 SCRSWAVE3G @hBBrassWave.3 SCRSWAVE4O ~~@hBBrassWave.4 SCRSWAVE5W }}@BCWave.1 SCRSWAVE6_ ~~@BCWave.2 SCRSWAVE10g @0CPhaseWave.1 SCRSWAVE11q @0CPhaseWave.2 SCRSWAVE12{ @0CPhaseWave.3 SCRSWAVE13 @0CPhaseWave.4 SCRSWAVE14 @0CPhaseWave.5 SCRSWAVE15 @0CPhaseWave.6 SCRSWAVE16 @0CPhaseWave.7 SCRSWAVE17 @0CPhaseWave.8 SCRSWAVE18 @0CPhaseWave.9 SCRSWAVE19 @0CPhaseWave.10 SCRSMINIBD.1 9 @BMiniBassDrum SCRSCHIHAT.1 &CHihat SCRSMINISNR.1 j @>SynthSnare SCRSTSST 1  >TechTss SCRS@ SCRS@ (C)omposed by Skaven/FC SCRS@ SCRS@ Started Mar 1997 SCRS@ Finished Aug 1st 1997 SCRS@ SCRS@ Made exclusively for the SCRS@ Emissions #3 music disk. SCRS@ SCRSV0fa:@`@U@'(@7@+,-B<??<b@ 8==h@ 8@ B4;;4 @b@099h@0*@,78,b0'56h 'j@@ #34# @ 12(@@ /1 @b@-/h@ +-)+h *@B '*  b@  %(j@@ B #& @ b@ $!$(@)  #  !h *@@   @  j@ B b@ j@(@  @(@j@ Bb@ h@ @  @  h *@@ @b@ j@  0[d(@B%b@ h@ B @b@h@*@&b0h j@@  @ (@@  @b@h@   h *@ B  b@  j@@ B  @ b@ (@    h *@@   @j@Bb@ j@( @(@j@ Bb@h@ @ @ h *@@ @b@j@{{09Dgf(@*@Bb@ 9Dh@ j@@ B @9b@DfR(@*@F b09DfR( h@ T j@@ F T  @ 9D&R(@T *@@ FT  @b@9D&Rh@T( j@FT( 9D&Rh@T( *@BFT( b@ 9D&RT j@@ BFT  @ 9b@DfR2T *@FT 9DfR(h@(T j@@ FT  @9DfR(@T *@BFT b@ 9DfR h@ )j@@ F @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b@$`eTK Kh@ j@/ $dYIK L  $`e[P Ih )*@+I,9, B$[e`K L  P b@  $YedT Kj@+9,)( @ B $Te`K L  @ b@  Ye[Y P(@*P+I,9% @  $[eYK L  P  $`eTT Th *@+9,)! @  $dY P bP d`@e[P Yj@ B d[>e`K L  b@dYTh@ K@L@@ddY<K L @d`e[ P ;Yh@*@+9,)Bd[e` 9b@dYed K 8Th j@@BdTe` 7K L @ b@ Ye[ I 5P(@*@+9,)@Bd[eY 4 @ b@d` eTK 2Kh@ j@dd Y1K L  d` e[P /Ih *@+I,9 B d[e`.K L P b@  dYedT -Kj@+9,)@ B dTe`+K L @ b@  $e[Y *P(@+I,9@  eY(K L P  eTT 'Th *@+9,)@  %& PbPP $Yj@B#K L b@K !T+9,)@B  0bP I P(@*@BK L bPK Kh@ j@+9,)@K L @P Ih *@+I,9Bb0T Kj@@K L &h@09Dgf(@)*@BbC9Dh@ j@@  @9DfR(@*@BF bC 9DfR( h@ j@@ BF  @ 9bCD&R(@*@@ F @b79D&Rh@j@F9D&Rh@*@Fb79D&Rj@@ F C @GfU2*@BFb7 @GfU(h@(j@@ BF C@b7GfU(@*@F@GfU h@ j@@ F C@GfU(@*@BFb8 @G&h@j@@ C @G h@ *@@B  Cb8@G (@j@ 749(@*@BbC49h@ j@ 749fIgU(@*@BFGbC 49fI(gU(h@ j@@ BFG 7 4bC9&I'U(@*@@ FG 7b749&I'Uh@j@FG49&I'Uh@*@FGb749&I'Uj@@ FG 8 59fJ2gS2*@BFGb7 59fJ(gS((@j@@ BFG 85b79fJgS(@*@FG59fJ gS h@ j@FG 859fJgS(@*@BFGb8 59&'h@j@@ 8 59h@ *@@B 8b859j@@eTG@[SY%Y (@)+`l` @$bK @ $dV h@ k`<@$fYK @$debR Y h@*@k`2$bedKb@$YefI V h j@k`(@B$VedK @ b@ YebF R (@*@k`@B$beYK @ b@$deVI I h@ j@k`$fYK$debR F h *@k` B$bedK P b@  $YefV I j@k`@ B $VedK @ b@  YebY R (@+@  $be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$KeWFG   @Jb@ TeV  (@ j@ @JC$VeTFG   P cJ $WeK  h  *@ @cJ $[TFG   P!RbPcJdW@eV   j@ !RBJdV>eWFG  !R b@JdTeYFG !S b@PdUe`b@dYTh@ @ddY< @d`e[ P ;Yh@*@Bd[e` 9b@dYed K 8Th j@@BdTe` 7 @ b@ Ye[ I 5P(@*@@Bd[eY 4 @ b@d` eTK 2Kh@ j@dd Y1  d` e[P /Ih *@ B d[e`. P b@  dYedT -Kj@@ B dTe`+ @ b@  $e[Y *P(@@  eY( P  eTT 'Th *@@  %& PbPP $Yj@B#b@K !T@B  0bP I P(@*@BbPK Kh@ j@@ @P Ih *@Bb0T Kj@@@B@fbYY (@Y*P+,-@$[I @ $`U h@ )IjP @$eYI @$`e[P Y h@)9*P$[e`b@$YeeK U h @ B $Ue`J @ b@  Ye[I P (@*@@ B $[eY @ b@ $`eUK K h@ j@$eYI$`e[P I h )*@B$[e` Pb@ $YeeU K j@@B$Ue` @b@ Ye[Y P (@*P@$[eY P $`eUU U h *@@$eY PbPd`@e[P Y j@Bd[>e`b@dYe`K L  b@dY@DHLLLLLPVZ`bfhljhffjnrxxzz|~Z  (2:DRbp9#s|voic]WQLGB=951.*(%#"  !"#%')+-0257;>ADGJMQTX[_bfimqtx{½d }{zxwutrqpnmlkjihgfedcbba`__^^]\\\[[ZZZYYYYXXXXXXXWWVUUTUUUXe{~|{yxvutrqpnmlkjihgffedba_^^]]\\^h~}|{zyyxwvuttsqponmlkkkr}{ywvtrqonlkjhgfecba`_^^]\[ZZYXXWWVVUUTTTTSSSSSRRRRRRRSSSSSSSSSSSRRRRSSTUZi~|zxvusqpnmkjhgfedba`_^]\[[ZYXXWVVUUTTSSRRRRQQQQQPPPPPPQQQQQQQQQRRRSSSSSSSSSSSSTV_q}@{|~~ǼvF3HWWZ[[\]]____`aaabbbccccdeeeefggghhijjkklmmnnoppqrrssttuvvwwS~~ӧsYaihiiggfeedcba`__^^^]]^^^_`abbdefgijlmnoqrstuvwxyyz{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wX]mI_vchis}pTeexp@D\TP^}{su{iXS\fzwSQ}qDB/=cfz|vxVO}PLsphk`Se{iR]u{lzf}qwnquchjpyfWos|THpq\~qJPb\i^crpYc}y_`|quv|qcy}mhda~qfj|rnh^o\`}zoooY\kGRneipsxmme_{weqzn}s__m|nddi~zix}mma]U\likzuip{]Scy|yor}|odepiuoweY}vznjhd]OKd{uQ\]ifhr~|wjq}qWWpvmsya_c~womq~x~rxnpyyvs~}nijqxr|||vkxyv|z}~||qrqvx}x|xx|qksyimx|xywv~~}yqrjmmvosoz|x{roysrxyuql|ux}os|zvy{z|}{{zuoonu}|qnqquk`pzvwx}|||~|us{|y}}z|~}u}~x{|rxoonoxvzq~wysuw|zx}uwy|xwjlu}}{vxz}uvxwz{w{}}{y{yy{zwvopy}~zqyy~||~~{}wyy~~{|{~}y}{wzywu|}|xz|yzxvyz|yvv}}z|}||}}xu}~z||~~wwzyzvy}z|y}~~|x}}wryx|~}|x|ww{~xx{yz|}}}~|zw}~}yw~|{|y|~{}}}~{{}}{|}wwy}}}~}y|{{|~}~}~y|}|}}}{{{y|~z}~~}|~|~|~}{uw|z}}|j_N!!4MUk}Ԥݹͳ{]V>ٲx{d\Bgt:Oge{ESyַxj飨tmrsw]cvvLCQ^ZN:*=NYsm[qMʛ횓lUzLKep\@WHnN.1FkmQ4o6=ZZǗp֬ܖpʵXjupcGvkNbBT]`\]SSQGj, 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-31 18:40+0000\n" "Last-Translator: Ivo \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Стандартний" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "З лімітом часу" #: ../src/main.c:280 msgid "Game over!" msgstr "Гру завершено!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "На жаль ваш результат замалий для попадання у десятку кращих." #: ../src/main.c:284 msgid "_New Game" msgstr "_Нова гра" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Таблиця рекордів Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Тип гри:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Поздоровляю!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Ваш результат - найкращий!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Ваш результат потрапив у десятку найкращих." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Це збережена гра, хочете її відновити?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Ви хочете скасувати цю гру?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Зберегти поточну гру?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Ivo https://launchpad.net/~van-hoi\n" " Sergiy Gavrylov https://launchpad.net/~gavro" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Продовжити" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Призупинено" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Пауза" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Рівень %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Рахунок" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Нова гра" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Ім’я" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Розмір поля" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Звук" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Великі" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Середні" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Призупинивши гру, ви можете повернутися до неї пізніше" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Відтворювати фонову музику" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Відтворювати звукові ефекти" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Параметри" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Очок:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Маленькі" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Гра" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Довідка" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Результати" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "Н_алаштування" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Логічна гра схожа на \"Diamond Mine\"" #~ msgid "time's up #" #~ msgstr "час минув #" #~ msgid "paused" #~ msgstr "призупинено" #~ msgid "no moves left #" #~ msgstr "ходів більше немає #" #, c-format #~ msgid "bonus x%d" #~ msgstr "бонус x%d" #~ msgid "Difficulty level" #~ msgstr "Рівень складності" #~ msgid "Normal" #~ msgstr "Стандартні" #~ msgid "Timed" #~ msgstr "Відтерміновано" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Версія гри для GNOME «Bejeweled», портована з PalmOS/Windows/Java (відома " #~ "як «Diamond Mine»)" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "У цьому режимі гра ніколи не закінчується, але рахунок не буде записаний!" #~ msgid "Endless" #~ msgstr "Нескінченно" #~ msgid "Game mode" #~ msgstr "Режим гри" gweled-0.9.1/po/tr.po0000644000175000017500000001055011545063174013050 0ustar dnaxdnax# Turkish translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 04:41+0000\n" "Last-Translator: Daniele Napolitano \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normal" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Süreli" #: ../src/main.c:280 msgid "Game over!" msgstr "Oyun bitti!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Çok iyi iş çıkardınız, ancak puanınız en iyi on listesinde yer bulamadı." #: ../src/main.c:284 msgid "_New Game" msgstr "_Yeni Oyun" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "" #: ../src/main.c:299 msgid "Game type:" msgstr "Oyun tipi:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Tebrikler!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "En iyi skor sizinki!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Puanınız en iyi on listesine girdi." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " zeugma https://launchpad.net/~sunder67" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Devam Et" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Duraklatıldı" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Duraklat" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Küçük" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Oyun" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Yardım" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Puanlar" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Ayarlar" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "" #~ msgid "paused" #~ msgstr "duraklatıldı" #~ msgid "Highscores" #~ msgstr "Yüksek Puanlar" #~ msgid "Normal" #~ msgstr "Normal" #~ msgid "Timed" #~ msgstr "Süreli" gweled-0.9.1/po/sl.po0000644000175000017500000001266611545063174013053 0ustar dnaxdnax# Slovenian translation for gweled # Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2011. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-08 21:50+0000\n" "Last-Translator: R33D3M33R \n" "Language-Team: Slovenian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Običajna" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Časovno omejena" #: ../src/main.c:280 msgid "Game over!" msgstr "Konec igre!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Dobro delo, ampak na žalost se vaš rezultat ne uvršča med najboljših deset." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nova Igra" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Rezultati gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Vrsta igre:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Čestitke!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Vaš rezultat je najboljši!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Vaš rezultat se uvršča med najboljših deset." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "Dobite čim več točk. Igra se konča, ko zmanjka potez." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Dobite čim več točk v omejenem času." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Igra se ne bo nikoli končala. Vaši rezultati ne bodo shranjeni." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Shranjena je igra, jo želite obnoviti?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Resnično želite prekiniti to igro?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Želite shraniti to igro" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " R33D3M33R https://launchpad.net/~r33d3m33r" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Nadaljuj" #: ../src/board_engine.c:508 msgid "Paused" msgstr "V premoru" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Premor" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Nivo %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Rezultat" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nova igra" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Ime" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Brez konca" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Običajno" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Časovno omejeno" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Dobrodošli v Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Velikost plošče" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Zvok" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Velika" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Srednja" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Napravi premor, da lahko kasneje nadaljujete igro." #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Predvajaj glasbo v ozadju" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Predvajaj zvočne učinke" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Možnosti" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Rezultat:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Majhna" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Igra" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "Pomo_č" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Rezultati" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "Na_stavitve" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Igrajte igro ugank podobno igri \"Diamond mine\"" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Predelava PalmOS/Windows/Java igre \"Bejeweled\" (znan tudi kot \"Diamond " #~ "Mine\") za GNOME" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "V tem načinu se igra nikoli ne konča, se pa tudi ne zabeležijo rezultati!" #~ msgid "Endless" #~ msgstr "Neskončno" #~ msgid "Game mode" #~ msgstr "Vrsta igre" #~ msgid "Normal" #~ msgstr "Običajna" #~ msgid "Timed" #~ msgstr "Časovno omejena" gweled-0.9.1/po/ru.po0000644000175000017500000001570711545063174013062 0ustar dnaxdnax# Russian translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # Spector , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-03-24 18:05+0000\n" "Last-Translator: Ergonaut \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Стандартный" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "На время" #: ../src/main.c:280 msgid "Game over!" msgstr "Игра окончена." #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "К сожалению, ваш результат недостаточен для попадания в десятку лучших." #: ../src/main.c:284 msgid "_New Game" msgstr "_Новая игра" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Таблица рекордов Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Тип игры:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Поздравления!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Ваш результат - лучший!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Ваш результат попал в десятку лучших." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Наберите как можно больше очков. Игра завершается по истечении ходов." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Наберите как можно больше очков за определенное время." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Игра была сохранена, вы хотите запустить ее?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Вы действительно хотите отменить эту игру?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Вы хотите сохранить текущую игру?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " 13thSlayer https://launchpad.net/~13thslayer\n" " Alexander 'FONTER' Zinin https://launchpad.net/~spore-09\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " Ergonaut https://launchpad.net/~egronaut\n" " Igor Shtompel https://launchpad.net/~keepercoder\n" " KroArtem https://launchpad.net/~kroartem\n" " Novichkov Alexander https://launchpad.net/~berkut\n" " Spector https://launchpad.net/~spector" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Продолжить" #: ../src/board_engine.c:508 msgid "Paused" msgstr "На паузе" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Приостановить" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Уровень %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Очки" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Новая игра" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Имя" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Размер поля" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Звук" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Большой" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Средний" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Приостановив игру Вы сможете вернуться к ней позже" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Воспроизводить фоновую музыку" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Воспроизводить звуковые эффекты" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Настройки" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Очки:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Малая" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Игра" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Помощь" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Результаты" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Параметры" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Играть в логическую игру похожую на игру \"Diamond Mine\"" #~ msgid "no moves left #" #~ msgstr "ходов больше нет #" #, c-format #~ msgid "bonus x%d" #~ msgstr "бонус x%d" #~ msgid "Difficulty level" #~ msgstr "Сложность уровня" #~ msgid "Highscores" #~ msgstr "Рекорды" #~ msgid "Highscores" #~ msgstr "Рекорды" #~ msgid "time's up #" #~ msgstr "Время вышло #" #~ msgid "paused" #~ msgstr "На паузе" #~ msgid "Normal" #~ msgstr "Стандартный" #~ msgid "Timed" #~ msgstr "На время" #~ msgid "Endless" #~ msgstr "Бесконечный" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "В данном режиме игра не заканчивается, но очки не будут засчитаны!" #~ msgid "Game mode" #~ msgstr "Игровой режим" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Портированная с PalmOS/Windows/Java версия игры \"Bejeweled\" (\"Diamond " #~ "Mine\") для среды GNOME" gweled-0.9.1/po/pt_BR.po0000644000175000017500000001406411545063174013435 0ustar dnaxdnax# Brazilian Portuguese translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-03-01 02:09+0000\n" "Last-Translator: Rafael Canovas \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normal" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Cronometrado" #: ../src/main.c:280 msgid "Game over!" msgstr "Fim de jogo!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Um ótimo trabalho, mas infelizmente sua pontuação não está entre as dez " "melhores." #: ../src/main.c:284 msgid "_New Game" msgstr "_Novo jogo" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Pontuações Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Tipo de jogo:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Parabéns!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "A sua pontuação é a melhor!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Sua pontuação está entre as dez melhores." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Consiga o máximo de pontos possível. O jogo acaba se os movimentos se " "esgotarem." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Consiga o máximo de pontos possível, dentro do tempo limite." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "O jogo nunca acabará. Suas pontuações não serão registradas." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Há um jogo salvo, você deseja restaura-lo?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Deseja realmente cancelar esse jogo?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Você quer gravar este jogo?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Ivo https://launchpad.net/~van-hoi\n" " Pedro Folha https://launchpad.net/~pedrovi\n" " Rafael Canovas https://launchpad.net/~rafanovas" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "Continua_r" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Pausado" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pausar" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Nível %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Pontuação" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Novo Jogo" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nome" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Interminável" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normal" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Cronometrado" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Bem-vindo ao Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Tamanho do tabuleiro" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Som" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Grande" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Médio" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Pausa o jogo para você poder joga-lo depois" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Reproduz a musica de fundo" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Reproduz os efeitos sonoros" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Preferências" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Placar:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Pequeno" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Partida" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "A_juda" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "Pontuaçõe_s" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "Configuraçõe_s" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Jogue um jogo de quebra-cabeça similar ao \"Diamond Mine\"" #~ msgid "time's up #" #~ msgstr "Seu tempo acabou #" #~ msgid "paused" #~ msgstr "pausado" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonus x%d" #~ msgid "Difficulty level" #~ msgstr "Nivel de dificuldade" #~ msgid "Timed" #~ msgstr "Com tempo" #~ msgid "Normal" #~ msgstr "Normal" #~ msgid "no moves left #" #~ msgstr "sem mais movimentos #" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "Neste modo o jogo nunca termina, mas a pontuação não será gravada!" #~ msgid "Endless" #~ msgstr "Sem fim" #~ msgid "Game mode" #~ msgstr "Tipo de Jogo" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Um porte PalmOS/Windows/Java para GNOME do jogo \"Bejeweled\" (também " #~ "conhecido como \"Diamond Mine\")" gweled-0.9.1/po/POTFILES.in0000644000175000017500000000031511545063174013636 0ustar dnaxdnax# List of source files containing translatable strings. [encoding: UTF-8] src/main.c src/callbacks.c src/board_engine.c src/games-scores-dialog.c [type: gettext/glade]data/gweled.ui data/gweled.desktop.in gweled-0.9.1/po/pl.po0000644000175000017500000001257711545063174013051 0ustar dnaxdnax# Polish translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # Piotr Sokół , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 03:25+0000\n" "Last-Translator: Daniele Napolitano \n" "Language-Team: Polish <>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Zwykły" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Na czas" #: ../src/main.c:280 msgid "Game over!" msgstr "Koniec gry!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "Świetnie, ale wynik niestety nie znalazł się w pierwszej dziesiątce." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nowa" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Wyniki" #: ../src/main.c:299 msgid "Game type:" msgstr "Typ gry:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Gratulacje!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Najlepszy wynik!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Wynik w pierwszej dziesiątce." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Wczytać zapisany stan gry?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Anulować rozgrywkę?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Zapisać bieżącą rozgrywkę?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " Piotr Sokół https://launchpad.net/~psokol" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Wznów" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Wstrzymano" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Wstrzymaj" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Poziom %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Wynik" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nowa gra" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nazwa" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Rozmiar planszy" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Dźwięk" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Duży" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Średni" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Wstrzymuje rozgrywkę w celu jej późniejszego wznowienia" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Odtwarzanie muzyki" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Odtwarzanie efektów dźwiękowych" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Preferencje" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Wynik:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Mały" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Gra" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "Pomo_c" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Wyniki" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Ustawienia" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Gra typu „połącz trzy”." #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Port gry „Bejeweled” (aka „Diamond Mine”) dostępnej na platformach " #~ "PalmOS/Windows/Java, dla środowiska GNOME" #~ msgid "paused" #~ msgstr "Wstrzymano" #~ msgid "time's up #" #~ msgstr "Czas minął #" #~ msgid "no moves left #" #~ msgstr "Brak ruchów #" #, c-format #~ msgid "bonus x%d" #~ msgstr "Premia x%d" #~ msgid "Game mode" #~ msgstr "Tryb gry" #~ msgid "Endless" #~ msgstr "Bez końca" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "W tym trybie gra nigdy się nie kończy, ale wyniki nie są zapisywane!" #~ msgid "Normal" #~ msgstr "Zwykły" #~ msgid "Timed" #~ msgstr "Na czas" gweled-0.9.1/po/nl.po0000644000175000017500000001347311545063174013043 0ustar dnaxdnax# Dutch translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-06 19:27+0000\n" "Last-Translator: Ivo \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Standaard" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Met Tijdslimiet" #: ../src/main.c:280 msgid "Game over!" msgstr "Spel afgelopen!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "Goed gedaan, maar helaas zit uw score niet bij de top tien." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nieuw spel" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Gweled Scores" #: ../src/main.c:299 msgid "Game type:" msgstr "Speltype:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Gefeliciteerd!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "U heeft de beste score!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Uw score zit bij de top tien." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Spaar zoveel mogelijk punten als je kan. Het spel eindigt wanneer je geen " "zetten meer kunt doen." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" "Spaar zoveel mogelijk punten als je kan, maar het spel is beperkt door tijd." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Het spel zal nooit eindigen. Je score zal niet worden opgeslagen." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Er is een opgeslagen spel, wilt u deze hervatten?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Wilt u het spel echt verlaten?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Wilt u het momentele spel opslaan?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " Ivo https://launchpad.net/~van-hoi" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Hervatten" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Gepauzeerd" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pauze" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Level %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Score" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nieuw Spel" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Naam" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Eindeloos" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normaal" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Met Tijdslimiet" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Welkom bij Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Bord grootte" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Geluid" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Groot" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Gemiddeld" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Pauzeer het spel zodat u het later kunt hervatten" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Achtergrondmuziek Afspelen" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Geluidseffecten Afspelen" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Voorkeuren" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Score:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Klein" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Spel" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Hulp" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Scores" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Instellingen" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Speel een puzzelspel vergelijkbaar met \"Diamond Mine\"" #~ msgid "time's up #" #~ msgstr "Tijd is op #" #~ msgid "paused" #~ msgstr "Gepauzeerd" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Een GNOME port van het PalmOS/Windows/Java spel \"Bejeweled\" (ook wel " #~ "\"Diamond Mine\" genoemd)" #, c-format #~ msgid "bonus x%d" #~ msgstr "Bonus x%d" #~ msgid "Game mode" #~ msgstr "Spel modus" #~ msgid "Endless" #~ msgstr "Eindeloos" #~ msgid "Normal" #~ msgstr "Normaal" #~ msgid "no moves left #" #~ msgstr "Geen zetten meer over!!" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "In deze modus zal het spel nooit eindigen, maar de score zal niet worden " #~ "opgeslagen!" #~ msgid "Timed" #~ msgstr "Met Tijdslimiet" gweled-0.9.1/po/ms.po0000644000175000017500000001323711545063174013047 0ustar dnaxdnax# Malay translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-04 16:13+0000\n" "Last-Translator: abuyop \n" "Language-Team: Malay \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Biasa" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Bermasa" #: ../src/main.c:280 msgid "Game over!" msgstr "Permainan tamat!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "Bagus, malangnya skor anda tidak mencapai kedudukan sepuluh terbaik." #: ../src/main.c:284 msgid "_New Game" msgstr "Permainan _Baru" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Skor Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Jenis permainan:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Tahniah!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Skor anda adalah yang terbaik!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Skor anda mencapai kedudukan sepuluh terbaik" #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Dapatkan sebanyak mungkin mata yang boleh. Permainan akan tamat jika anda " "kehabisan pergerakan." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" "Dapatkan sebanyak mungkin mata yang boleh, tetapi anda diberikan masa yang " "terhad." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Permainan tidak akan tama. Skor anda tidak akan didaftarkan." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Terdapat permainan tersimpan, adakah anda ingin memulihkannya?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Adakah anda ingin mengabaikan permainan ini?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Adakah anda ingin menyimpan permainan semasa?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " abuyop https://launchpad.net/~abuyop" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Sambung semula" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Dijedakan" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Jeda" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Aras %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Skor" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Permainan Baru" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nama" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Tiada Had" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Biasa" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Bermasa" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" "Selamat datang keGweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Saiz papan" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Bunyi" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Besar" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Sederhana" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Jedakan permainan supaya anda boleh teruskannya kemudian" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Main muzik latar belakang" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Main kesan bunyi" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Keutamaan" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Skor:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Kecil" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Permainan" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Bantuan" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Skor" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Tetapan" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Main permainan teka-teki yang seakan dengan \"Diamond Mine\"" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Port GNOME untuk permainan \"Bejeweled\" PalmOS/Windows/Java (atau \"Diamond " #~ "Mine\")" #~ msgid "Game mode" #~ msgstr "Mod permainan" #~ msgid "Endless" #~ msgstr "Tidak henti-henti" #~ msgid "Normal" #~ msgstr "Biasa" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "Didalam mod ini permainan tidak akan tamat, tetapi skor tidak akan " #~ "direkodkan!" #~ msgid "Timed" #~ msgstr "Bermasa" gweled-0.9.1/po/Makefile.in.in0000644000175000017500000001537711545063174014551 0ustar dnaxdnax# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gweled-0.9.1/po/LINGUAS0000644000175000017500000000007111545063174013105 0ustar dnaxdnaxar de es fi fr he hr it ja ka ms nl pl pt_BR sl ru tr uk gweled-0.9.1/po/ka.po0000644000175000017500000001541711545063174013025 0ustar dnaxdnax# Georgian translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 03:01+0000\n" "Last-Translator: Giorgi Maghlakelidze \n" "Language-Team: Georgian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "ჩვეულებრივი" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "დროზე" #: ../src/main.c:280 msgid "Game over!" msgstr "თამაში დასრულებულია!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "კარგი შედეგია, მაგრამ საუკეთესო ათეულში ვერ მიაღწია." #: ../src/main.c:284 msgid "_New Game" msgstr "_ახალი თამაში" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Gweled ქულები" #: ../src/main.c:299 msgid "Game type:" msgstr "თამაშის სახეობა:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "გილოცავთ!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "თქვენი ქულები საუკეთესოა!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "თქვენი ქულები საუკეთესო ათეულშია." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "თქვენი თამაში შენახულია. გსურთ განაგრძოთ?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "დანამდვილებით გსურთ დაასრულოთ თამაში?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "გსურთ მიმდინარე თამაშის შენახვა?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Giorgi Maghlakelidze https://launchpad.net/~dracid" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_გაგრძელება" #: ../src/board_engine.c:508 msgid "Paused" msgstr "შეჩერებული" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_შეჩერება" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "დონე %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "ქულა" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "ახალი თამაში" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "სახელი" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "დაფის ზომა" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "ხმა" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "დიდი" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "საშუალო" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "თამაშს აჩერებს რათა შეგეძლოთ მისი მოგვიანებით გაგრძელება" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "ფონური მუსიკის დაკვრა" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "ხმის ეფექტების დაკვრა" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "გამართვა" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "ქულები:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "პატარა" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_თამაში" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_დახმარება" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_ქულათა ჯამი" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_გამართვა" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "ითამაშეთ \"Diamond Mine\"-ის მსგავსი თამაში" #~ msgid "time's up #" #~ msgstr "დრო გასულია #" #~ msgid "paused" #~ msgstr "შეჩერებული" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "PalmOS/Windows/Java პლატფორმებზე ცნობილი თამაშის \"Bejeweled\" (იგივე " #~ "\"Diamond Mine\") ვერსია GNOME გარემოსთვის" #~ msgid "no moves left #" #~ msgstr "სვლები ამოიწურა #" #, c-format #~ msgid "bonus x%d" #~ msgstr "საჩუქარი x%d" #~ msgid "Endless" #~ msgstr "უსასრულო" #~ msgid "Game mode" #~ msgstr "თამაშის რეჟიმი" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "ამ რეჟიმში თამაში არასოდეს სრულდება. ქულები, სამწუხაროდ, არ ინახება!" #~ msgid "Timed" #~ msgstr "დროზე" #~ msgid "Normal" #~ msgstr "ჩვეულებრივი" gweled-0.9.1/po/ja.po0000644000175000017500000001342111545063174013015 0ustar dnaxdnax# Japanese translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 02:53+0000\n" "Last-Translator: Daniele Napolitano \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "ノーマル" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "タイムアタック" #: ../src/main.c:280 msgid "Game over!" msgstr "ゲーム終了!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "よく頑張りましたね。でも残念ながら、トップ10にはランクインできませんでした。" #: ../src/main.c:284 msgid "_New Game" msgstr "新しいゲーム(_N)" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Gweledのハイスコア" #: ../src/main.c:299 msgid "Game type:" msgstr "ゲームタイプ:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "おめでとう!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "あなたがトップになりました!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "トップ10にランクインしました。" #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "以前からの保存ゲームがあります。再開しますか?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "本当に終了しますか?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "今のゲームを保存しますか?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " execjosh https://launchpad.net/~execjosh" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "再開(_R)" #: ../src/board_engine.c:508 msgid "Paused" msgstr "一時停止中" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "一時停止(_P)" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "レベル%d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "スコア" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "新ゲーム" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "名前" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "ゲーム盤の大きさ" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "サウンド" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "大" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "中" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "ゲームを一時停止します。" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "BGMを有効にする" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "SFXを有効にする" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "設定" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "小" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "ゲーム(_G)" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "ヘルプ(_H)" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "ハイスコア(_S)" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "設定(_S)" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "「Diamond Mine」に似たパズルゲームで遊んでみよう" #, c-format #~ msgid "bonus x%d" #~ msgstr "ボーナス×%d" #~ msgid "Endless" #~ msgstr "エンドレス" #~ msgid "Game mode" #~ msgstr "ゲームモード" #~ msgid "Timed" #~ msgstr "タイムアタック" #~ msgid "Normal" #~ msgstr "ノーマル" #~ msgid "paused" #~ msgstr "一時停止中" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "「Bejeweled」(別名「Diamond Mine」)というPalmOS/Windows/JavaのゲームをGNOME向けにポートしたものです。" #~ msgid "time's up #" #~ msgstr "時間切れ#" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "このモードでは、スコアは記録できませんが、ゲームが永遠に続きます。" #~ msgid "no moves left #" #~ msgstr "もう何もできません#" gweled-0.9.1/po/it.po0000644000175000017500000001477011545063174013047 0ustar dnaxdnax# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-03-31 09:25+0000\n" "Last-Translator: Daniele Napolitano \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" "Language: it\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normale" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Temporizzato" #: ../src/main.c:280 msgid "Game over!" msgstr "Partita terminata!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Ottimo lavoro, ma sfortunatamente il tuo punteggio non rientra nei primi 10." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nuovo gioco" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Punteggi di Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Tipo di gioco:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Congratulazioni!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Il tuo punteggio è il migliore!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Il tuo punteggio rientra nei primi 10." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Ottieni più punti che puoi. Il gioco finisce se non hai più mosse " "disponibili." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Ottieni più punti che puoi, ma sei limitato nel tempo." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Il gioco non verrà fermato. I tuoi punteggi non saranno registrati." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "È presente una partita salvata, riprenderla?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Si è sicuri di voler abbandonare il gioco?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Salvare la partita corrente?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Daniele Napolitano \n" "\n" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " Martino Barbon https://launchpad.net/~martins999" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "Un rompicapo con gemme" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Riprendi" #: ../src/board_engine.c:508 msgid "Paused" msgstr "In pausa" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pausa" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Livello %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Punteggio" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nuovo gioco" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nome" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Senza fine" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normale" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Temporizzato" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Benvenuto in Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Dimensione" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Suono" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Grande" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Medio" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Mette in pausa il gioco per potervi tornare in seguito" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Riproduci la musica di sottofondo" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Riproduci effetti sonori" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Preferenze" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Punteggio:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Piccolo" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Gioco" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Aiuto" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Punteggi" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Impostazioni" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Gioca ad un rompicapo simile a \"Diamond Mine\"" #~ msgid "No highscores recorded yet" #~ msgstr "Nessun punteggio ancora registrato" #~ msgid "Gweled" #~ msgstr "Gweled" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Un port GNOME del gioco \"Bejeweled\" per PalmOS/Windows/Java (anche " #~ "\"Diamond Mine\")" #~ msgid "paused" #~ msgstr "in pausa" #~ msgid "time's up #" #~ msgstr "tempo scaduto #" #~ msgid "no moves left #" #~ msgstr "mosse esaurite #" #~ msgid "Difficulty level" #~ msgstr "Livello di difficoltà" #~ msgid "Highscores" #~ msgstr "Migliori punteggi" #~ msgid "Highscores" #~ msgstr "Migliori punteggi" #~ msgid "Normal" #~ msgstr "Normale" #~ msgid "Timed" #~ msgstr "Temporizzato" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonus x%d" #~ msgid "Do you really want to abort this game ?" #~ msgstr "Si è sicuri di voler abbandonare il gioco corrente?" #~ msgid "Game mode" #~ msgstr "Modalità di gioco" #~ msgid "Endless" #~ msgstr "Senza fine" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "In questa modalità il gioco non finisce mai, ma il punteggio non verrà " #~ "memorizzato!" #~ msgid "Game will never and. Your scores will not be registered." #~ msgstr "Il gioco non finirà mai. I tuoi punteggi non verranno registrati." gweled-0.9.1/po/hr.po0000644000175000017500000001112211545063174013030 0ustar dnaxdnax# Croatian translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-03-26 16:47+0000\n" "Last-Translator: zvacet \n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "" #: ../src/main.c:280 msgid "Game over!" msgstr "" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" #: ../src/main.c:284 msgid "_New Game" msgstr "" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Gweled rezultati" #: ../src/main.c:299 msgid "Game type:" msgstr "Tip igre:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Vaš rezultat je najbolji!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "" #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Sakupite što više bodova,ali ograničeni ste vremenom." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Igra neće nikada završiti.Vaši rezultati neće biti registrirani." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Postoji spremljena igra,želite li je obnoviti?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Želite li prekinuti ovu igru?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Želite li sačuvati trenutnu igru?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " zvacet https://launchpad.net/~zvacet" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "" #: ../src/board_engine.c:508 msgid "Paused" msgstr "" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Razina%d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Rezulat" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Beskrajno" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normalno" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Dobrodošli u Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Veličina ploče" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Zvuk" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Sviraj pozadinsku glazbu" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Sviraj zvučne efekte" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonus x%d" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "U ovom načinu igra nikada ne prestaje,ali rezultati se ne bilježe!" gweled-0.9.1/po/he.po0000644000175000017500000001350411545063174013021 0ustar dnaxdnax# Hebrew translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 02:35+0000\n" "Last-Translator: Yaron \n" "Language-Team: Hebrew \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "רגיל" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "קצוב בזמן" #: ../src/main.c:280 msgid "Game over!" msgstr "המשחק הסתיים!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "עבודה מעולה, אך למרבה הצער התוצאה שהשגת אינה מספיקה כדי להיכנס לעשרת הגדולים." #: ../src/main.c:284 msgid "_New Game" msgstr "משחק _חדש" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "התוצאות של Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "סוג המשחק:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "כל הכבוד!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "התוצאה שלך היא הגבוהה ביותר!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "נכנסת לעשרת הגדולים." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "ישנו משחק שמור, האם ברצונך לשחזר אותו?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "האם ברצונך לבטל משחק זה?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "האם ברצונך לשמור את המשחק הנוכחי?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "This is a dummy translation so that the credits are counted as translated.\n" "\n" "Launchpad Contributions:\n" " Yaron https://launchpad.net/~sh-yaron" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "ה_משך" #: ../src/board_engine.c:508 msgid "Paused" msgstr "מושהה" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "ה_שהיה" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "שלב %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "ניקוד" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "משחק חדש" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "שם" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "גודל הלוח" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "צלילים" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "גדול" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "בינוני" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "השהיית המשחק כדי שניתן יהיה לחזור אליו מאוחר יותר" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "נגינת מוזיקת רקע" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "נגינת אפקטים קוליים" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "העדפות" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "קטן" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "מ_שחק" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "ע_זרה" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_תוצאות" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "ה_גדרות" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "משחק פאזל הדומה ל\"מכרה היהלומים\"" #~ msgid "paused" #~ msgstr "מושהה" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "מהדורה גנומית של המשחק \"Bejeweled\" (ידוע גם בשם \"מכרה היהלומים\") המיועד " #~ "ל־PalmOS/Windows/Java" #~ msgid "time's up #" #~ msgstr "נגמר הזמן #" #~ msgid "no moves left #" #~ msgstr "לא נותרו צעדים #" #, c-format #~ msgid "bonus x%d" #~ msgstr "בונוס כפול %d" #~ msgid "Endless" #~ msgstr "אינסופי" #~ msgid "Game mode" #~ msgstr "מצב המשחק" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "במצב זה המשחק לא מסתיים לעולם, אך התוצאות לא נשמרות!" #~ msgid "Timed" #~ msgstr "קצוב בזמן" #~ msgid "Normal" #~ msgstr "רגיל" gweled-0.9.1/po/gweled.pot0000644000175000017500000000730411545063174014061 0ustar dnaxdnax# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "" #: ../src/main.c:280 msgid "Game over!" msgstr "" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" #: ../src/main.c:284 msgid "_New Game" msgstr "" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "" #: ../src/main.c:299 msgid "Game type:" msgstr "" #: ../src/main.c:306 msgid "Congratulations!" msgstr "" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "" #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "" #: ../src/board_engine.c:508 msgid "Paused" msgstr "" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "" gweled-0.9.1/po/fr.po0000644000175000017500000001417511545063174013041 0ustar dnaxdnax# French translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-18 12:56+0000\n" "Last-Translator: Fabien LOISON (FLOZz) \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normal" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Contre la montre" #: ../src/main.c:280 msgid "Game over!" msgstr "Perdu !" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Bien joué, mais malheureusement votre score n'entre pas dans le top 10." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nouvelle partie" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Scores Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Type de jeu :" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Félicitations !" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Vous avez fait le meilleur score !" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Votre score est entré dans le top 10." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Obtenez autant de points que possible. La partie se termine lorsqu'il ne " "reste plus aucun mouvement possible." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Obtenez autant de points que possible, mais en un temps limité." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "La partie ne se termine jamais. Le score n'est pas enregistré." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Il existe une partie sauvegardée, voulez vous la continuer ?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Voulez-vous vraiment arrêter cette partie ?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Voulez-vous sauvegarder la partie en cours ?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Fabien LOISON (FLOZz) https://launchpad.net/~flozz\n" " Ptitphysik https://launchpad.net/~amalpeyre\n" " Thibault Févry https://launchpad.net/~thibaultfevry\n" " Weegee https://launchpad.net/~weegee\n" " zzz https://launchpad.net/~th-bertiez" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Reprendre" #: ../src/board_engine.c:508 msgid "Paused" msgstr "En pause" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pause" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Niveau %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Score" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nouvelle partie" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nom" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Sans fin" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normal" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Contre la montre" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" "Bienvenue dans Gweled !" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Taille du plateau" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Son" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Grand" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Moyen" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Mettre le jeu en pause pour continuer plus tard" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Jouer la musique de fond" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Jouer les effets sonores" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Préférences" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Score :" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Petit" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Jeu" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Aide" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Scores" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Paramètres" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Jouer à un casse tête similaire à \"Diamond Mine\"" #~ msgid "paused" #~ msgstr "en pause" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonus x%d" #~ msgid "Difficulty level" #~ msgstr "Niveau de difficulté" #~ msgid "Normal" #~ msgstr "Normal" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Une adaptation pour GNOME du jeu \"Bejeweled\" (alias \"Diamond Mine\") " #~ "disponible sur PalmOS/Windows/Java game" #~ msgid "time's up #" #~ msgstr "temps écoulé #" #~ msgid "no moves left #" #~ msgstr "aucun mouvement restant #" #~ msgid "Timed" #~ msgstr "Contre la montre" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "Dans ce mode le jeu ne s'arrête jamais, mais les points ne seront pas " #~ "enregistrés !" #~ msgid "Endless" #~ msgstr "Infini" #~ msgid "Game mode" #~ msgstr "Mode de jeu" gweled-0.9.1/po/fi.po0000644000175000017500000001220511545063174013020 0ustar dnaxdnax# Finnish translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-27 22:43+0000\n" "Last-Translator: Tomi Juntunen \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Tavallinen" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Ajastettu" #: ../src/main.c:280 msgid "Game over!" msgstr "Peli päättyi!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Hyvin pelattu, mutta valitettavasti tuloksesi ei päässyt top-10 listalle." #: ../src/main.c:284 msgid "_New Game" msgstr "_Uusi peli" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "" #: ../src/main.c:299 msgid "Game type:" msgstr "Pelityyppi:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Onneksi olkoon!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Teit parhaan tuloksen!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Tuloksesi pääsi top-10 listalle." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Kerää niin paljon pisteitä kuin voit. Peli päättyy kun siirrot loppuvat." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Kerää niin paljon pisteitä kuin voit, mutta aikaa on rajallisesti." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Peli ei pääty koskaan. Pisteitäsi ei myöskään rekisteröidä." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Haluatko varmasti lopettaa pelin?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Haluatko tallentaa nykyisen pelisi?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Katja Viljakainen https://launchpad.net/~katja-viljakainen\n" " Tomi Juntunen https://launchpad.net/~tojuntu" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Jatka" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Tauko" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "Tauko" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Taso %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Uusi peli" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nimi" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Laudan koko" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Äänet" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Suuri" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Keskikokoinen" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Soita taustamusiikkia" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Toista äänitehosteet" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Asetukset" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Pieni" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Peli" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Ohje" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Asetukset" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Pelaa \"Diamond Mine\":n kaltaista pulmapeliä" #~ msgid "Difficulty level" #~ msgstr "Vaikeustaso" #~ msgid "Normal" #~ msgstr "Tavallinen" #~ msgid "Timed" #~ msgstr "Ajastettu" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonus x%d" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "GNOME sovitus PalmOS/Windows/Java pelistä \"Bejeweled\" (tunnettu " #~ "aikaisemmin myös nimellä \"Diamond Mine\")" gweled-0.9.1/po/es.po0000644000175000017500000001435011545063174013034 0ustar dnaxdnax# Spanish translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-03-02 10:42+0000\n" "Last-Translator: Jonay \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normal" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Cronometrado" #: ../src/main.c:280 msgid "Game over!" msgstr "¡Fin de la partida!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "¡Buen trabajo! Desafortunadamente su puntuación no alcanzó los 10 mejores " "puestos." #: ../src/main.c:284 msgid "_New Game" msgstr "_Nueva partida" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Puntuaciones Gweled" #: ../src/main.c:299 msgid "Game type:" msgstr "Tipo de partida:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "¡Felicidades!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Su puntuación es la mejor" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Su puntuación ha alcanzado los 10 mejores." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Consiga tantos puntos como pueda. El juego termina si se le agotan los " "movimientos." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "Consiga tantos puntos como pueda, pero tendrá tiempo limitado." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "El juego nunca termina. Sus puntuaciones no se registrarán." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Hay un juego guardado, ¿quiere restaurarlo?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "¿Realmente quieres finalizar el juego?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "¿Quiere guardar la partida actual?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Almorca https://launchpad.net/~almorca\n" " DiegoJ https://launchpad.net/~diegojromerolopez\n" " Jonay https://launchpad.net/~jonay-santana\n" " Miguel de Dios https://launchpad.net/~tres-14159" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Continuar" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Pausado" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pausar" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Nivel %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Puntuación" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Nuevo juego" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Nombre" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Sin fin" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normal" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Cronometrado" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "¡Bienvendio a Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Tamaño del mapa" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Sonido" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Grande" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Mediano" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Detiene el juego para que pueda volver más tarde" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Reproducir música de fondo" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Reproducir efectos de sonido" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Preferencias" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Puntuación:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Pequeño" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Juego" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Ayuda" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Puntuación" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Opciones" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Juegue a un juego de rompecabezas similar a «Diamond Mine»" #~ msgid "paused" #~ msgstr "pausado" #~ msgid "Highscores" #~ msgstr "Mejores puntuaciones" #~ msgid "Normal" #~ msgstr "Normal" #~ msgid "Highscores" #~ msgstr "Mejores puntuaciones" #~ msgid "Timed" #~ msgstr "Cronometrado" #~ msgid "Difficulty level" #~ msgstr "Nivel de dificultad" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Una versión transportada a GNOME del juego de PalmOS/Windows/Java " #~ "«Bejeweled» (también conocido como «Diamond Mine»)." #~ msgid "time's up #" #~ msgstr "se ha acabado el tiempo #" #~ msgid "no moves left #" #~ msgstr "sin movimientos #" #, c-format #~ msgid "bonus x%d" #~ msgstr "bonif. x%d" #~ msgid "Endless" #~ msgstr "Indefinido" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "En este modo, el juego no termina nunca, pero las puntuaciones no se " #~ "guardarán." #~ msgid "Game mode" #~ msgstr "Modo de juego" gweled-0.9.1/po/de.po0000644000175000017500000001410711545063174013015 0ustar dnaxdnax# German translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-02-11 21:05+0000\n" "Last-Translator: Mario Blättermann \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "Normal" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "Mit Zeitzählung" #: ../src/main.c:280 msgid "Game over!" msgstr "Spiel vorbei!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "" "Gute Arbeit, aber leider hat dieses Ergebnis nicht für die Top 10 gereicht." #: ../src/main.c:284 msgid "_New Game" msgstr "_Neues Spiel" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "Gweled Punkte" #: ../src/main.c:299 msgid "Game type:" msgstr "Spielmodus:" #: ../src/main.c:306 msgid "Congratulations!" msgstr "Glückwunsch!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "Ihr Ergebnis ist das beste!" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "Dieses Ergebnis hat es in die Top 10 geschafft." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" "Erzielen Sie so viele Punkte wie möglich. Das Spiel endet, wenn keine Züge " "mehr möglich sind." #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" "Erzielen Sie so viele Punkte wie möglich. Die Zeit dafür ist begrenzt." #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "Das Spiel ist endlos. Die erzielten Punkte werden nicht gespeichert." #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "Es gibt ein gespeichertes Spiel, wollen Sie es wiederaufnehmen?" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "Wollen Sie dieses Spiel wirklich abbrechen?" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "Wollen Sie das aktuelle Spiel speichern?" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Ivo https://launchpad.net/~van-hoi\n" " Jochen Kemnade https://launchpad.net/~jochenkemnade\n" " Mario Blättermann https://launchpad.net/~mario.blaettermann\n" " Weegee https://launchpad.net/~weegee" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "_Fortsetzen" #: ../src/board_engine.c:508 msgid "Paused" msgstr "Pausiert" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "_Pause" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "Level %d" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "Punktzahl" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "Neues Spiel" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "Name" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "Endlos" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "Normal" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "Zeitbegrenzt" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "Willkommen bei Gweled!" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "Brettgröße" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "Klang" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "Groß" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "Mittel" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "Pausiert das Spiel, so dass Sie es später wiederaufnehmen können" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "Hintergrundmusik abspielen" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "Klangeffekte abspielen" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "Einstellungen" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "Punkte:" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "Klein" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "_Spiel" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "_Hilfe" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "_Punkte" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "_Einstellungen" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "Ein Puzzlespiel ähnlich wie »Diamond Mine« spielen" #~ msgid "time's up #" #~ msgstr "Die Zeit ist um #" #~ msgid "no moves left #" #~ msgstr "Keine Züge mehr übrig #" #~ msgid "paused" #~ msgstr "pausiert" #, c-format #~ msgid "bonus x%d" #~ msgstr "Bonus x%d" #~ msgid "Difficulty level" #~ msgstr "Schwierigkeitsgrad" #~ msgid "Normal" #~ msgstr "Normal" #~ msgid "Timed" #~ msgstr "Mit Zeitzählung" #~ msgid "Endless" #~ msgstr "Endlos" #~ msgid "Game mode" #~ msgstr "Spiel-Modus" #~ msgid "In this mode the game never ends, but scores will not be recorded!" #~ msgstr "" #~ "In diesem Modus endet das Spiel nie, aber Punkte werden nicht gespeichert!" #~ msgid "" #~ "A GNOME port of the PalmOS/Windows/Java game \"Bejeweled\" (aka \"Diamond " #~ "Mine\")" #~ msgstr "" #~ "Eine auf GNOME portierte Version des PalmOS/Windows/Java-Spiels »Bejeweled« " #~ "(auch bekannt als »Diamond Mine«)" gweled-0.9.1/po/ar.po0000644000175000017500000001026011545063174013023 0ustar dnaxdnax# Arabic translation for gweled # Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 # This file is distributed under the same license as the gweled package. # FIRST AUTHOR , 2010. # msgid "" msgstr "" "Project-Id-Version: gweled\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-03-31 00:33+0200\n" "PO-Revision-Date: 2011-01-12 03:48+0000\n" "Last-Translator: Daniele Napolitano \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2011-03-31 09:28+0000\n" "X-Generator: Launchpad (build 12696)\n" #: ../src/main.c:65 msgctxt "game type" msgid "Normal" msgstr "طبيعي" #: ../src/main.c:66 msgctxt "game type" msgid "Timed" msgstr "مؤقتة" #: ../src/main.c:280 msgid "Game over!" msgstr "انتهت اللعبة!" #: ../src/main.c:282 msgid "Great work, but unfortunately your score did not make the top ten." msgstr "عمل عظيم, و لكن للأسف نتيجتك لم تتمكن من الوصول إلى العشرة الأوائل." #: ../src/main.c:284 msgid "_New Game" msgstr "_لعبة جديدة" #: ../src/main.c:296 msgid "Gweled Scores" msgstr "" #: ../src/main.c:299 msgid "Game type:" msgstr "" #: ../src/main.c:306 msgid "Congratulations!" msgstr "تهانينا!" #: ../src/main.c:307 msgid "Your score is the best!" msgstr "" #: ../src/main.c:308 msgid "Your score has made the top ten." msgstr "نتيجتك وصلت الى العشرة الأوائل." #: ../src/main.c:397 msgid "Get as many point as you can. The game ends if you out of moves." msgstr "" #: ../src/main.c:399 msgid "Get as many points as you can, but you are limited on time." msgstr "" #: ../src/main.c:401 msgid "Game will never end. Your scores will not be registered." msgstr "" #: ../src/main.c:461 msgid "There is a game saved, do you want restore it?" msgstr "" #: ../src/callbacks.c:74 msgid "Do you really want to abort this game?" msgstr "" #: ../src/callbacks.c:139 msgid "Do you want to save the current game?" msgstr "" #: ../src/callbacks.c:173 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Daniele Napolitano https://launchpad.net/~dnax88\n" " MaXeR https://launchpad.net/~themaxer" #: ../src/callbacks.c:178 msgid "A puzzle game with gems" msgstr "" #: ../src/board_engine.c:505 msgid "_Resume" msgstr "" #: ../src/board_engine.c:508 msgid "Paused" msgstr "" #: ../src/board_engine.c:521 ../data/gweled.ui.h:17 msgid "_Pause" msgstr "" #: ../src/board_engine.c:829 ../src/board_engine.c:902 #: ../src/board_engine.c:1004 #, c-format msgid "Level %d" msgstr "" #. Note that this assumes the default style is plain. #: ../src/games-scores-dialog.c:118 ../src/games-scores-dialog.c:545 msgid "Score" msgstr "" #: ../src/games-scores-dialog.c:437 msgid "New Game" msgstr "" #: ../src/games-scores-dialog.c:537 msgid "Name" msgstr "" #. FIXME: There is basically no range checking. #: ../data/gweled.ui.h:1 msgid "Endless" msgstr "" #: ../data/gweled.ui.h:2 msgid "Normal" msgstr "" #: ../data/gweled.ui.h:3 msgid "Timed" msgstr "" #: ../data/gweled.ui.h:4 msgid "Welcome on Gweled!" msgstr "" #: ../data/gweled.ui.h:5 msgid "Board size" msgstr "" #: ../data/gweled.ui.h:6 msgid "Sound" msgstr "" #: ../data/gweled.ui.h:7 msgid "Large" msgstr "" #: ../data/gweled.ui.h:8 msgid "Medium" msgstr "" #: ../data/gweled.ui.h:9 msgid "Pauses the game for you can return to it later" msgstr "" #: ../data/gweled.ui.h:10 msgid "Play background music" msgstr "" #: ../data/gweled.ui.h:11 msgid "Play sound effects" msgstr "" #: ../data/gweled.ui.h:12 msgid "Preferences" msgstr "" #: ../data/gweled.ui.h:13 msgid "Score:" msgstr "" #: ../data/gweled.ui.h:14 msgid "Small" msgstr "" #: ../data/gweled.ui.h:15 msgid "_Game" msgstr "" #: ../data/gweled.ui.h:16 msgid "_Help" msgstr "" #: ../data/gweled.ui.h:18 msgid "_Scores" msgstr "" #: ../data/gweled.ui.h:19 msgid "_Settings" msgstr "" #: ../data/gweled.desktop.in.h:1 msgid "Play a puzzle game similar to \"Diamond Mine\"" msgstr "" gweled-0.9.1/pixmaps/tile_odd.svg0000644000175000017500000000345211545063174015435 0ustar dnaxdnax image/svg+xml gweled-0.9.1/pixmaps/tile_even.svg0000644000175000017500000000345511545063174015627 0ustar dnaxdnax image/svg+xml gweled-0.9.1/pixmaps/sparkle_64.png0000644000175000017500000003726011545063174015615 0ustar dnaxdnaxPNG  IHDR@K4~ OiCCPPhotoshop ICC profilexڝSgTS=BKKoR RB&*! J!QEEȠQ, !{kּ> H3Q5 B.@ $pd!s#~<<+"x M0B\t8K@zB@F&S`cbP-`'{[! eDh;VEX0fK9-0IWfH  0Q){`##xFW<+*x<$9E[-qWW.(I+6aa@.y24x6_-"bbϫp@t~,/;m%h^ uf@Wp~<5j>{-]cK'Xto(hw?G%fIq^D$.Tʳ?D*A, `6B$BB dr`)B(Ͱ*`/@4Qhp.U=pa( Aa!ڈbX#!H$ ɈQ"K5H1RT UH=r9\F;2G1Q= C7F dt1r=6Ыhڏ>C03l0.B8, c˱" VcϱwE 6wB aAHXLXNH $4 7 Q'"K&b21XH,#/{C7$C2'ITFnR#,4H#dk9, +ȅ3![ b@qS(RjJ4e2AURݨT5ZBRQ4u9̓IKhhitݕNWGw Ljg(gwLӋT071oUX**| J&*/Tު UUT^S}FU3S ԖUPSSg;goT?~YYLOCQ_ cx,!k u5&|v*=9C3J3WRf?qtN (~))4L1e\k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kz05|<$ÛֶM_'Q&IK\ףam Io8CccedZBuy? ^x ?dN ,a +Qf8Ob+V*a7ě;@B_-*0odb?!׵PJ$R^گ9E"ˋ~8߂=vVDfBN0`+<Y;BIg zw*EyZ"Azgy zp|<Vvއ0Ac+RohWj,IػEЂD=%W! 7Tm%s85v dV4,!{|A V]ѧ[ҷ0~ZyEx !ר Zkי^U;K~k_==AʎX BԂFT‚xϐ?q!8ȐmcEQϻHmS)~ƁγJ}եX D#ڨ.wOy< )h6ܟs{HjmG y"d5kH *!/ y/1h=P Lǒ 8F/ N ݍB f8H2/T\69 [QBv *vhq,}R7w:4)ݠ3T-hYw%i $uI47L1Ns^O=m|oͻZ Fc[샒v`AZI~{&;$-.H2&%Il|_r;54o䄨.8F%yԁjJ1KNL$1˹W$FIu=5VXw TzLb*I"9 ;S2;B߱wZZM`P,b%}{Ij%^ŦN8:7BъIw\AYBw6'[iʁFZ{?xhvԵJ{M|$Q!"eŽ_"Qw_"!,G%ǫ˚ ݛ\DfցӻDZL/W\xmDJQSu0z]wKƒ:G 8M\{Ʋns22v-!5dV т6[?Z䒽*:r֞bN M1f~I%}mSP[Ua%cLi$ Jx]+'"ekw3g&c-;3h^@=ԳX{B͛ nvӪ [*VSCk o4m1}e $f֋Y]6^tS\*W892di5cv6= 9v<1oՊAh:x17O8}mG6kΟ͠gy Lň-1cI=ۊKvcDMڟw)ZŞCv i$EՃAϋT/&oS[qYdy!nqնB+,w1=Azawoć SVU ,E͛.X"״^03x k꼿CBdxzP#H*R"m9ّC!*e GI陆[pyb 4 4jE!ԜHaB4&yVzGiza`sb)bjA'wi'g}lhl8x9UMJ@#45;(n%W]GgֻI [L{\Hw(c}:~#DAR[ `q:Z)IENDB`gweled-0.9.1/pixmaps/gem07.svg0000644000175000017500000001505311545063174014571 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem06.svg0000644000175000017500000000727211545063174014574 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem05.svg0000644000175000017500000001157611545063174014575 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem04.svg0000644000175000017500000001041111545063174014557 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem03.svg0000644000175000017500000001336311545063174014567 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem02.svg0000644000175000017500000001202311545063174014556 0ustar dnaxdnax gweled-0.9.1/pixmaps/gem01.svg0000644000175000017500000001136011545063174014560 0ustar dnaxdnax gweled-0.9.1/pixmaps/font_48_40.png0000644000175000017500000007064111545063174015427 0ustar dnaxdnaxPNG  IHDR `(zbKGD pHYs  ~tIME ,JPZ IDATx]=ê=`QlcUixR2Pm-_ B?TȖ%hi}|>@kZ Y8Jr=C)}M5 k9L^~U9*.({r.s[{%="2r?G|Po͓mbZ̸޲d^K%P#DhN,ZcXos`y0? ּa?U'}fr?A <{K׭$W7vIҽ[e KxM:kx>)s gSވ3ƯWOXrgٟ|,;ӽWhwYsQSS?gɰy]C[3NKقgᾂ&HmreK y.v+ YD9mf;?pN xYbX?'Ae?µKG~7'˯VKXYiewsp6^3fJyreh^Lv|p$ԋI@ߵy!yKP'?` v[[UZ߶, - _{{yyVǙ(?6;B[l|Ϊ9#]fHl km_)?Sh=ilقWhI#;4dy/sKgE`I*OQ6}Zo[_>5QǎJN޹J.+> e:?;p]dL%^~[w ^c `lqcE3eK6W&2ϕ T@4UN)K(ڡ @˨lJ1;.gAm Y:pī]Y>8 Mj`|s5*{/]s4?Ʉ?>؊J jCs1{,M- -[* -qGʸ{?/n!x) j 3͎ПxNLg3)oWwV9d?i|'ޔ|sn5=9wp[ {Dz`|{.>oIǞ8jZ)c=(=S%'nuz͖դHӛڷK5(jH =PHs6K/Uݱwstg 9RQЦsBlB0rJI)Hb998]%PH@7cuJCʡ<rKSJʲ'/ս>9!\[!‱ϓ]1@l: 4G`-ИTVe͋_'?`ߒz5bۢs1}E'Dy_!9y"wKZ$uוڦH[?kiw? 2;CitY"%a#^icky G8x$Io>7hƨ|af@`wgW;_Bɟ;=aݫ /PHzE^B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QrT-S#j#Ot(s(]ߨ iy 7:=߭땺8r*uvr%u" YvX<ї5,Jğ$b!bËӫI2څ 6iC7yũOtI7h~# ۷?iEWpsMpet~UW~* /@ŘpgEXsD~x?& !';0g A`2j/Oroҷjf_$4 E6 Igfڀl"1t@ | &ayU"HDU'X__P4KRdzgyY,"YyJ`xi."CX![PsB`ob6֝_{3j ڢa=I20 %dzC">58rlpYYDN|5"A{*3BM+C2^,J$sx[|x-|!*jɽ㿖7_R#N` ?4R[UM0$M \ fRsl(닢Qrmp\C|}ߨ_$,KcEM mڿJĭ `II?!iD %V-f9BXWrb=A|3h RVf _^!,TxH UW ; A%!G;si1ԎȖrQF@;ru@Z܂de(3Ǐw;ߵH2ܽS}QKX2?u 8`=YvI_~} Uw?k϶ .3HNs5ܘ/3Lc)in}VQs,7u=۰ʱ2"ǡ7o@?wS+ö?Ι '3P|"x`2kk.zGs㭉ߠHGIP~w>O|mWtȭ&hrPyAFa MF址k`.GpcӤ."&År?*˷(2\߬Ò8fDy zs]kԧfя^}[|DA}v~>f[?W w\~*}> /W2G>17]W_EBw))@.L5)nɯzܧUJ \}o j8g[usW_ƽu4y(WWOWX++ޚ$o+3\+@♣_r&:w4S&+cG! P]'|3w}x e@ɣ<1>` /@E4=i=K'$-gFHFX% ΟvOidQcnoڕjA~ kNշ&6_cvv^myX>zN*%c9p:A!%_}㭎 ,TI V?6}pk~_nG*u!3>zd^|DWhݩ=ǁ὿*:no]ijvhZ Q8/ʸmv=vTvſ}!_ j&0!{Em$*9*@evJxrUNg[|dqaIENDB`gweled-0.9.1/pixmaps/cursor.svg0000644000175000017500000000655111545063174015172 0ustar dnaxdnax image/svg+xml gweled-0.9.1/data/Makefile.am0000644000175000017500000000234511545063174014415 0ustar dnaxdnaxicons = \ apps_16x16_gweled.png \ apps_22x22_gweled.png \ apps_24x24_gweled.png \ apps_48x48_gweled.png \ apps_64x64_gweled.png \ apps_scalable_gweled.svg gladedir = $(datadir)/gweled/ glade_DATA = \ gweled.ui @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications desktop_in_files = gweled.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) EXTRA_DIST = \ $(icon_DATA) \ $(glade_DATA) \ $(desktop_DATA) \ $(NULL) ############################################################################### install-icons: for icon in $(icons); do \ CONTEXT=`echo $$icon | cut -d_ -f1`; \ SIZE=`echo $$icon | cut -d_ -f2`; \ ICONFILE=`echo $$icon | cut -d_ -f3`; \ mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT/$$ICONFILE; \ done; uninstall-icons: -for icon in $(icons); do \ CONTEXT=`echo $$icon | cut -d_ -f1`; \ SIZE=`echo $$icon | cut -d_ -f2`; \ ICONFILE=`echo $$icon | cut -d_ -f3`; \ rm -f $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT/$$ICONFILE; \ done; clean-local: rm -f *~ install-data-local: install-icons uninstall-local: uninstall-icons gweled-0.9.1/data/gweled.ui0000644000175000017500000007460211545063174014174 0ustar dnaxdnax Gweled False gweled True True True _Game True gtk-new True True True accelgroup1 True False True Pauses the game for you can return to it later _Pause True True True _Scores True True gtk-quit True True True accelgroup1 True _Settings True gtk-preferences True True True accelgroup1 True _Help True gtk-about True True True accelgroup1 False 0 True GDK_EXPOSURE_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK cursor 1 True 0 True 12 24 True 0 True 12 True 48 gweled False 0 True <span size="x-large" weight="bold">Welcome on Gweled!</span> True False 1 False 0 True 12 True True True none True 0 6 6 True 6 True 0 <b>Normal</b> True False 0 True 0 True True 1 0 True True True none True 0 6 6 True 6 True 0 <b>Timed</b> True False 0 True 0 True True False 1 1 True True True none True 0 6 6 True 6 True 0 <b>Endless</b> True False 0 True 0 True True False 1 2 False 1 2 True 6 6 True 0 True Score: False False 1 True <span weight="bold"> 000000</span> True False False 2 end 3 5 Preferences False True normal gweledApp True 12 True 5 2 10 True 3 True 0 <span weight="bold">Board size</span> True False False 0 True 12 Small True True False True True True 1 True 12 Medium True True False True True True smallRadiobutton 2 True 12 Large True True False True True True smallRadiobutton 3 True 3 True 0 <span weight="bold">Sound</span> True False False 0 True 12 Play background music True True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True 1 True 12 Play sound effects True True False GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK True 2 1 2 0 True end gtk-close True True True True True False False 0 False end 1 closebutton1 gweled-0.9.1/data/apps_48x48_gweled.png0000644000175000017500000000413011545063174016232 0ustar dnaxdnaxPNG  IHDR00WbKGD pHYs  ~tIME +o;IDATxyl̎em 6>@CuHJ!($ "m(@JShB!mA4"T*HB&MJ9l.ceDGjf{fnLf^'{?"|/P=z E_/ H'%H 4XvDl`<`tϹ N(~6wd N; 5ZG>#xD@#(ym/e"#}#"a[$hTD4hyt_'(% ':Tܱx]6|}%vyz} "8_OC`Tە׻Y78v[I8'ŠorاPU%Q`J !oJe;_V[DNMY@ӡut5ڛ-jӮ@/qs=aYLKUzwt"IО8YDBn#|ΝPzX~  ,/_@Oqƈgx.@sˍ&EHj5U||VsP}kmp^DDm[\t"e LMu t,I 2rDB^[Γ&pUZ vh nuVj0Ͷ2Ww.#;)%'sߠ7Yg5P6v:Fx0xLoR:c&& A8VJ3ZR]S5 2VyjYP7{ci&93~rrsݾƓTݦr[x%hL+݈eY7~U"7Fi} JMO->Фd$sc]c`h*$w Y!1ٕ\) d'c3ܬ^]#.}1HGp0Y' SWZږC xLxQ(\ tb 8 fDf*]_ ĚHp  x1!.BUe'0G -%#O 7;&e 8fW ?1DFbɘvFF ^JNtcCpTT:&_oDVR^Z#0.;ͱ= y<5N>;_>Jg/rBA\8maDIh>l]mԶb.ha-5lrL"6|il.2JG+@o[qGMab SJ/ɃxHg <][͉J(gm|0@;px83ZT9TV4;PW!g^5oDn,>2'OFo$ |ۋ'%OnDtf6A)M;Yi0QR=dp8ZnRdz֒nr8BIENDB`gweled-0.9.1/data/gweled.desktop.in0000644000175000017500000000030211545063174015617 0ustar dnaxdnax[Desktop Entry] Name=Gweled _Comment=Play a puzzle game similar to "Diamond Mine" Exec=gweled Icon=gweled Terminal=false Type=Application Categories=GNOME;GTK;Game;LogicGame; StartupNotify=true gweled-0.9.1/data/apps_scalable_gweled.svg0000644000175000017500000001202311545063174017214 0ustar dnaxdnax gweled-0.9.1/data/apps_64x64_gweled.png0000644000175000017500000000604311545063174016233 0ustar dnaxdnaxPNG  IHDR@@iqsBIT|d pHYs!~tEXtSoftwarewww.inkscape.org< IDATx{pTnvX IHHHTQbG AWBVZ_ERё"7@d7wݳGvM͜s:瞫D2]M@Wt5dR'>rG"RۖΪ-NP)U~ЖI;>T;lJ^jw xW)jǔ4@)U  / WF:q{ b~F""MɎReXwLTe.qγ}( CY XtTxlMI] \'"V P mGYkʏ>9ᗴ)"MAڀȩf>M"Ev^dSȆoE^ dxkUR}C+A^;&7Sstw%% Mh՛.F S3bC-ŊD%tJ3_wLo\_Xq~gB MҨƫ& oF~CU)ǸRgc1_ MTqGb@vIdk,WxX٠>`R*ɂR}Mw>PX\i&UOZ;/͂է <(:(vPևܳ`RqS O¦p9&'S>#"&R AyDe4]tRܲ{`ة%KT q UgTЧ+"b @)uP<7GeC h74'Dz*QN@}]0,J'Qy BJz ۄC', VVBVVVIBx;1Tr>JtXH.bE 3T7CuS%T Ͱ̺*~鈽  A2BW\& !? 0 +SXu}hGjkƵ+'ڞ nnDž㢛`P {$;f)p X+ᡷ kɌpQ&9p%W`П&?MNJg*8Ӵ\*"͠Axęm!) DL˶B sF%zqey"BMj 0cHy?0f>B!ltZOVB ¥ )⨜)-\)G?Y1SDQ@}0 4ahzR@٤aы\&6dń!jn:&:C_9 \Habi@ϲ2dBUC355kcS" A1W8W"_ӈaNH!=׷Um3XzzDdoq)XӚ~`>@6&"ۥ87[QaHI8An-_eux6q "'D} H>}Oh\"!wEcqwX *-6,k Py fJWπAkG^ 8';'Zv8+/>)տ93ZRVm@H2{Y͢(r5PEg^T۷կ Ea @a>;ߠɎÿyXW8Խ}**bKg\ X~IA9@AžMzi" 1s` 6̹,(w`h]:.K/BRsœLfR10᫁N̪ w5h|+uMmd=u+!IO5&eGc<ºЩrai%ztRKEƮ> Iqம4!@sEdGj;_vGoiIENDB`gweled-0.9.1/data/apps_24x24_gweled.png0000644000175000017500000000216111545063174016220 0ustar dnaxdnaxPNG  IHDRw=sBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<IDATH{lU;3J[ۭmZ!hC4GHԄĄĨ11HF "h$|01mT cD D)`m,BC)-,-;3w,?8ɝwﹹJD8!"(*:WFGzjT9ۖNYkm3 Qh@?G Zߜk]1ϹVD9X_ܽ{-'cE)"k;E&=en^",yW OiYCDIl#m_"Ʋp)^|ʼFʁ@nkN±VU\eS~TJ*`46D(D!!j@T)"qPJa(iF(/-&`QXDEG3!{vATD+xK,&Q0M ZЄ v Φ_y17ͨ%׷ Ֆǚc9QJTӝ_n9O FzJs:IBOv> Zι$e͆SO.tҡsqI^f@Aq9.y$(Ŋs{S tit>F_zm)W*P D6KO"}0@[ۖu", S['E#I/sǾ?q Ҳ LЗn>vEw€<(Z?['\&(ʰ]׽gMgT@yn}M3]4Z 31ƻ"Ӛ vےBYu0s1 ڽsY"+ vKIDvW?^S|れn0,,0fL.:~RjEdD]#LIENDB`gweled-0.9.1/data/apps_22x22_gweled.png0000644000175000017500000000177011545063174016221 0ustar dnaxdnaxPNG  IHDRĴl;sBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<uIDAT8_hu?{]b\Hr-QƐP}jҒB|XBPE>T)Ţ?E R?Ji.4M&Mnﷷi',|fvf a<(b\7Jc/-''M6޼:EtW]c'+n"QK꒎1-$[]Lo’*L"Er"__:Rn__ |h5Mg7 sD.Z"DN̉ ͈I( >+"hFM7}3%Ԯ{@J% @ \8z&&rrv& SY@`}w MĂt6y` wL6" y{²ÍE`]7yypV7H5RrSsO~V=22Jֹٕ/Z! I&ȇL;0wd9cs^*$".^|(e_w]{v@`i6lw ܕ`XK[|lETI,"fC=ACGQMv9c>fUnHnkLXX,@\ ~1䶧Թz)+EW`g_eiO|IkkO:bb]ϰ.ҞO] pӼ[+y|Gt2@4~Drj @%^mY/IENDB`gweled-0.9.1/data/apps_16x16_gweled.png0000644000175000017500000000132511545063174016223 0ustar dnaxdnaxPNG  IHDRasBIT|d pHYs B(xtEXtSoftwarewww.inkscape.org<RIDAT8}[HTQ}f0FvU nAaED!IHDE $DTt"*JTB (**a#83qf4lF32+#iz Z ˯>b:>:h.7Bءkk/RwB/Wg%!i:b3݇Cme})-x&{GjnHzءn b_utǹZ{M!`d1.m W`3ťn  t?{ >ʓl Xeݷ+9ZaI%>Z˝5J`f;&w׭dџw,oؓ˖lZHիwQ>]>Oƹ`7!Wg&Ӭ-'Q, d%}]UÒY@2쎏U^;&̊QOISY'9y~wWZŃ!41T#_SbCev9M*=y郩 Fz\_sΡi;- vׄc)lYry&<c㮅IENDB`gweled-0.9.1/data/Makefile.in0000644000175000017500000003363711545063246014436 0ustar dnaxdnax# Makefile.in generated by automake 1.11.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = data DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_GEN = $(am__v_GEN_$(V)) am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) am__v_GEN_0 = @echo " GEN " $@; AM_V_at = $(am__v_at_$(V)) am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) am__v_at_0 = @ SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)" DATA = $(desktop_DATA) $(glade_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MIKMOD_CFLAGS = @MIKMOD_CFLAGS@ MIKMOD_LIBS = @MIKMOD_LIBS@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RSVG_CFLAGS = @RSVG_CFLAGS@ RSVG_LIBS = @RSVG_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ scoredir = @scoredir@ scores_group = @scores_group@ scores_user = @scores_user@ setgid = @setgid@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ icons = \ apps_16x16_gweled.png \ apps_22x22_gweled.png \ apps_24x24_gweled.png \ apps_48x48_gweled.png \ apps_64x64_gweled.png \ apps_scalable_gweled.svg gladedir = $(datadir)/gweled/ glade_DATA = \ gweled.ui desktopdir = $(datadir)/applications desktop_in_files = gweled.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) EXTRA_DIST = \ $(icon_DATA) \ $(glade_DATA) \ $(desktop_DATA) \ $(NULL) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(desktopdir)" && rm -f $$files install-gladeDATA: $(glade_DATA) @$(NORMAL_INSTALL) test -z "$(gladedir)" || $(MKDIR_P) "$(DESTDIR)$(gladedir)" @list='$(glade_DATA)'; test -n "$(gladedir)" || list=; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gladedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gladedir)" || exit $$?; \ done uninstall-gladeDATA: @$(NORMAL_UNINSTALL) @list='$(glade_DATA)'; test -n "$(gladedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ test -n "$$files" || exit 0; \ echo " ( cd '$(DESTDIR)$(gladedir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(gladedir)" && rm -f $$files tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(gladedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-desktopDATA \ install-gladeDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-desktopDATA uninstall-gladeDATA \ uninstall-local .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-local \ distclean distclean-generic distdir dvi dvi-am html html-am \ info info-am install install-am install-data install-data-am \ install-data-local install-desktopDATA install-dvi \ install-dvi-am install-exec install-exec-am install-gladeDATA \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-desktopDATA uninstall-gladeDATA \ uninstall-local @INTLTOOL_DESKTOP_RULE@ ############################################################################### install-icons: for icon in $(icons); do \ CONTEXT=`echo $$icon | cut -d_ -f1`; \ SIZE=`echo $$icon | cut -d_ -f2`; \ ICONFILE=`echo $$icon | cut -d_ -f3`; \ mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT/$$ICONFILE; \ done; uninstall-icons: -for icon in $(icons); do \ CONTEXT=`echo $$icon | cut -d_ -f1`; \ SIZE=`echo $$icon | cut -d_ -f2`; \ ICONFILE=`echo $$icon | cut -d_ -f3`; \ rm -f $(DESTDIR)$(datadir)/icons/hicolor/$$SIZE/$$CONTEXT/$$ICONFILE; \ done; clean-local: rm -f *~ install-data-local: install-icons uninstall-local: uninstall-icons # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: