commit cfe73267075c750fdbbe41c75d94f46137d93aaa Author: tpearson Date: Wed Feb 10 01:36:09 2010 +0000 Added old abandoned KDE3 version of keep git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/keep@1088044 283d02a7-25f6-0310-bc7c-ecb5cbfe19da diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..77dc9b9 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Jean-Rémy Falleri diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..d8e0cf6 --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301 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., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301 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. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..6930f52 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,67 @@ +Keep ChangeLog +===================== + +VERSION 0.4.0 + ADD: possibility to use an inclusion/exclusion list when setting up backup source + ADD: possibility to control rdiff-backup process priority + ADD: Restore backup wizard now displays last backup date + FIX: Backup every hour bug fixed + +VERSION 0.3.0 + ADD: backup error management + ADD: notifications + ADD: backup logging + FIX: many memory leaks + FIX: rdiff-backup management improved + +VERSION 0.2.4 + FIX: updated wording of the application + FIX: updated GUI in restore and add wizard + +VERSION 0.2.3 + ADD: advanced configuration of backups + FIX: the backup method has been fixed + +VERSION 0.2.2 + ADD: it's now possible to edit a backup + ADD: it's now possible to avoid special files (devices, sockets, links, etc.) in backups + FIX: fixed error when trying to backup a directory to multiple destinations + +VERSION 0.2.1 + ADD: It's now possible to see the modifications of selected increment when restoring + ADD: It's now possible to see the changed files of selected increment when restoring + ADD: It's now possible to see the files of the selected increment + ADD: Restoration of a custom backup directory + ADD: Restoration to a custom directory + +VERSION 0.2.0 + ADD: Keep use now rdiff-backup as backend. Thanks Luke! + ADD: You can now set different backups, with defined settings for each + ADD: GUI has been redesigned + ADD: There is now a wizard to add a directory to backup + ADD: There is now a wizard to restore a backuped directory + ADD: Forcing backup has been redesigned + ADD: New icons for each action (Force Backup, Restore Backup, Add Backup) + FIX: major code reorganization: now icons are in a separate dir and wizard in the app dir + +VERSION 0.1.2 + ADD: Action panel. You can now control the backup system from the application + ADD: It's now possible to clean the backup directory + ADD: GUI enhanced + ADD: New icon (inspired by both Ark and KMail ones, thanks to the artists who created them: Bryce Corkins, Liam Smit) + FIX: Backup directory size function cleaned + FIX: Now backup function fixed (deletion of old backups behaves now as expected) + FIX: Last and next backup date when there is no backup. + FIX: Fixed many makefiles, now it builds with automake and when builddir != srcdir + + +VERSION 0.1.1 + ADD: It's now possible to see if the backup system is well configured + ADD: It's now possible to force a backup + ADD: the main window has been redesigned + FIX: Fixed many bugs in the backup process + FIX: Code of the daemon cleaned + FIX: Code of the main application cleaned + +VERSION 0.1.0 + ADD: Initial release diff --git a/INDEX b/INDEX new file mode 100644 index 0000000..4f3401e --- /dev/null +++ b/INDEX @@ -0,0 +1,20 @@ +Index of software in kdeplayground-admin +======================================== + +Please add software to this index. Each entry should include the +following entries: +* Name:, which is the directory name +* Synopsis:, which is a short description of what it does +* Notes:, for key usage / applicability information (optional) +* See also:, for cross references to other KDE apps/modules (optional) +* URL:, for web links to required software or a home page (optional) + +Entries should be entirely objective. + +Name: kextprocess +Synopsis: Library with a KProcess-like API for running apps remotely via e.g. SSH + +Name: ksystemlog +Synopsis: System log viewer tool for KDE +URL: http://annivernet.free.fr/ksystemlog + diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..02a4a07 --- /dev/null +++ b/INSTALL @@ -0,0 +1,167 @@ +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, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + 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 at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' 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 a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Type `make install' to install the programs and any data files and + documentation. + + 4. You can remove the program binaries and object files from the + source code directory by typing `make clean'. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +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 supports 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=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + 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' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +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 host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +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. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/Mainpage.dox b/Mainpage.dox new file mode 100644 index 0000000..5a28333 --- /dev/null +++ b/Mainpage.dox @@ -0,0 +1,5 @@ +/** @mainpage Playground - Sysadmin + +This is the KDE playground for sysadmin tools. + +*/ diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..2a15668 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,12 @@ +## kdebase/Makefile.am +## (C) 1997 Stephan Kulow + +AUTOMAKE_OPTIONS = foreign 1.6.1 + +dist-hook: + cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin + +include admin/Doxyfile.am +include admin/deps.am + +SUBDIRS=$(TOPSUBDIRS) diff --git a/Makefile.am.in b/Makefile.am.in new file mode 100644 index 0000000..1910a3c --- /dev/null +++ b/Makefile.am.in @@ -0,0 +1,11 @@ +## kdebase/Makefile.am +## (C) 1997 Stephan Kulow + +AUTOMAKE_OPTIONS = foreign 1.6.1 + +dist-hook: + cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin + +include admin/Doxyfile.am +include admin/deps.am + diff --git a/README b/README new file mode 100644 index 0000000..1fb8c05 --- /dev/null +++ b/README @@ -0,0 +1,12 @@ +Keep README +===================== + +Keep is a simple backup system for KDE. + +The principe is pretty simple: you choose a directory to backup, you choose the directory in which you want to backup it, you set up some options (eg. frequency) and it's done! Of course you can add later some other directories. + +A daemon will after take care of automatically perform backups when it's needed. + +When the time comes, Keep offers you a simple wizard to recover a previously backuped directory. + +It uses rdiff-backup (http://www.nongnu.org/rdiff-backup/) as backend. diff --git a/TODO b/TODO new file mode 100644 index 0000000..e5bc425 --- /dev/null +++ b/TODO @@ -0,0 +1,9 @@ +Keep TODO +===================== + +VERSION 0.5.0 + KIO integration + Improve notifications + Network located backups + Improve wording and usability + diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..55d8bfe --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +keep version 0.4.0 diff --git a/acinclude.m4 b/acinclude.m4 new file mode 100644 index 0000000..e29977a --- /dev/null +++ b/acinclude.m4 @@ -0,0 +1,11919 @@ +## -*- autoconf -*- + +dnl This file is part of the KDE libraries/packages +dnl Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu) +dnl (C) 1997,98,99 Stephan Kulow (coolo@kde.org) + +dnl This file is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Library General Public +dnl License as published by the Free Software Foundation; either +dnl version 2 of the License, or (at your option) any later version. + +dnl This library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Library General Public License for more details. + +dnl You should have received a copy of the GNU Library General Public License +dnl along with this library; see the file COPYING.LIB. If not, write to +dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +dnl Boston, MA 02110-1301, USA. + +dnl IMPORTANT NOTE: +dnl Please do not modify this file unless you expect your modifications to be +dnl carried into every other module in the repository. +dnl +dnl Single-module modifications are best placed in configure.in for kdelibs +dnl and kdebase or configure.in.in if present. + +# KDE_PATH_X_DIRECT +dnl Internal subroutine of AC_PATH_X. +dnl Set ac_x_includes and/or ac_x_libraries. +AC_DEFUN([KDE_PATH_X_DIRECT], +[ +AC_REQUIRE([KDE_CHECK_LIB64]) + +if test "$ac_x_includes" = NO; then + # Guess where to find include files, by looking for this one X11 .h file. + test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h + + # First, try using that file with no special directory specified. +AC_TRY_CPP([#include <$x_direct_test_include>], +[# We can compile using X headers with no special include directory. +ac_x_includes=], +[# Look for the header file in a standard set of common directories. +# Check X11 before X11Rn because it is often a symlink to the current release. + for ac_dir in \ + /usr/X11/include \ + /usr/X11R6/include \ + /usr/X11R5/include \ + /usr/X11R4/include \ + \ + /usr/include/X11 \ + /usr/include/X11R6 \ + /usr/include/X11R5 \ + /usr/include/X11R4 \ + \ + /usr/local/X11/include \ + /usr/local/X11R6/include \ + /usr/local/X11R5/include \ + /usr/local/X11R4/include \ + \ + /usr/local/include/X11 \ + /usr/local/include/X11R6 \ + /usr/local/include/X11R5 \ + /usr/local/include/X11R4 \ + \ + /usr/X386/include \ + /usr/x386/include \ + /usr/XFree86/include/X11 \ + \ + /usr/include \ + /usr/local/include \ + /usr/unsupported/include \ + /usr/athena/include \ + /usr/local/x11r5/include \ + /usr/lpp/Xamples/include \ + \ + /usr/openwin/include \ + /usr/openwin/share/include \ + ; \ + do + if test -r "$ac_dir/$x_direct_test_include"; then + ac_x_includes=$ac_dir + break + fi + done]) +fi # $ac_x_includes = NO + +if test "$ac_x_libraries" = NO; then + # Check for the libraries. + + test -z "$x_direct_test_library" && x_direct_test_library=Xt + test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc + + # See if we find them without any special options. + # Don't add to $LIBS permanently. + ac_save_LIBS="$LIBS" + LIBS="-l$x_direct_test_library $LIBS" +AC_TRY_LINK([#include ], [${x_direct_test_function}(1)], +[LIBS="$ac_save_LIBS" +# We can link X programs with no special library path. +ac_x_libraries=], +[LIBS="$ac_save_LIBS" +# First see if replacing the include by lib works. +# Check X11 before X11Rn because it is often a symlink to the current release. +for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \ + /usr/X11/lib${kdelibsuff} \ + /usr/X11R6/lib${kdelibsuff} \ + /usr/X11R5/lib${kdelibsuff} \ + /usr/X11R4/lib${kdelibsuff} \ + \ + /usr/lib${kdelibsuff}/X11 \ + /usr/lib${kdelibsuff}/X11R6 \ + /usr/lib${kdelibsuff}/X11R5 \ + /usr/lib${kdelibsuff}/X11R4 \ + \ + /usr/local/X11/lib${kdelibsuff} \ + /usr/local/X11R6/lib${kdelibsuff} \ + /usr/local/X11R5/lib${kdelibsuff} \ + /usr/local/X11R4/lib${kdelibsuff} \ + \ + /usr/local/lib${kdelibsuff}/X11 \ + /usr/local/lib${kdelibsuff}/X11R6 \ + /usr/local/lib${kdelibsuff}/X11R5 \ + /usr/local/lib${kdelibsuff}/X11R4 \ + \ + /usr/X386/lib${kdelibsuff} \ + /usr/x386/lib${kdelibsuff} \ + /usr/XFree86/lib${kdelibsuff}/X11 \ + \ + /usr/lib${kdelibsuff} \ + /usr/local/lib${kdelibsuff} \ + /usr/unsupported/lib${kdelibsuff} \ + /usr/athena/lib${kdelibsuff} \ + /usr/local/x11r5/lib${kdelibsuff} \ + /usr/lpp/Xamples/lib${kdelibsuff} \ + /lib/usr/lib${kdelibsuff}/X11 \ + \ + /usr/openwin/lib${kdelibsuff} \ + /usr/openwin/share/lib${kdelibsuff} \ + ; \ +do +dnl Don't even attempt the hair of trying to link an X program! + for ac_extension in a so sl; do + if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then + ac_x_libraries=$ac_dir + break 2 + fi + done +done]) +fi # $ac_x_libraries = NO +]) + + +dnl ------------------------------------------------------------------------ +dnl Find a file (or one of more files in a list of dirs) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_FIND_FILE], +[ +$3=NO +for i in $2; +do + for j in $1; + do + echo "configure: __oline__: $i/$j" >&AC_FD_CC + if test -r "$i/$j"; then + echo "taking that" >&AC_FD_CC + $3=$i + break 2 + fi + done +done +]) + +dnl KDE_FIND_PATH(program-name, variable-name, list-of-dirs, +dnl if-not-found, test-parameter, prepend-path) +dnl +dnl Look for program-name in list-of-dirs+$PATH. +dnl If prepend-path is set, look in $PATH+list-of-dirs instead. +dnl If found, $variable-name is set. If not, if-not-found is evaluated. +dnl test-parameter: if set, the program is executed with this arg, +dnl and only a successful exit code is required. +AC_DEFUN([KDE_FIND_PATH], +[ + AC_MSG_CHECKING([for $1]) + if test -n "$$2"; then + kde_cv_path="$$2"; + else + kde_cache=`echo $1 | sed 'y%./+-%__p_%'` + + AC_CACHE_VAL(kde_cv_path_$kde_cache, + [ + kde_cv_path="NONE" + kde_save_IFS=$IFS + IFS=':' + dirs="" + for dir in $PATH; do + dirs="$dirs $dir" + done + if test -z "$6"; then dnl Append dirs in PATH (default) + dirs="$3 $dirs" + else dnl Prepend dirs in PATH (if 6th arg is set) + dirs="$dirs $3" + fi + IFS=$kde_save_IFS + + for dir in $dirs; do + if test -x "$dir/$1"; then + if test -n "$5" + then + evalstr="$dir/$1 $5 2>&1 " + if eval $evalstr; then + kde_cv_path="$dir/$1" + break + fi + else + kde_cv_path="$dir/$1" + break + fi + fi + done + + eval "kde_cv_path_$kde_cache=$kde_cv_path" + + ]) + + eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\"" + + fi + + if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then + AC_MSG_RESULT(not found) + $4 + else + AC_MSG_RESULT($kde_cv_path) + $2=$kde_cv_path + + fi +]) + +AC_DEFUN([KDE_MOC_ERROR_MESSAGE], +[ + AC_MSG_ERROR([No Qt meta object compiler (moc) found! +Please check whether you installed Qt correctly. +You need to have a running moc binary. +configure tried to run $ac_cv_path_moc and the test didn't +succeed. If configure shouldn't have tried this one, set +the environment variable MOC to the right one before running +configure. +]) +]) + +AC_DEFUN([KDE_UIC_ERROR_MESSAGE], +[ + AC_MSG_WARN([No Qt ui compiler (uic) found! +Please check whether you installed Qt correctly. +You need to have a running uic binary. +configure tried to run $ac_cv_path_uic and the test didn't +succeed. If configure shouldn't have tried this one, set +the environment variable UIC to the right one before running +configure. +]) +]) + + +AC_DEFUN([KDE_CHECK_UIC_FLAG], +[ + AC_MSG_CHECKING([whether uic supports -$1 ]) + kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'` + AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache, + [ + cat >conftest.ui < +EOT + ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null" + if AC_TRY_EVAL(ac_uic_testrun); then + eval "kde_cv_prog_uic_$kde_cache=yes" + else + eval "kde_cv_prog_uic_$kde_cache=no" + fi + rm -f conftest* + ]) + + if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then + AC_MSG_RESULT([yes]) + : + $3 + else + AC_MSG_RESULT([no]) + : + $4 + fi +]) + + +dnl ------------------------------------------------------------------------ +dnl Find the meta object compiler and the ui compiler in the PATH, +dnl in $QTDIR/bin, and some more usual places +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_PATH_QT_MOC_UIC], +[ + AC_REQUIRE([KDE_CHECK_PERL]) + qt_bindirs="" + for dir in $kde_qt_dirs; do + qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc" + done + qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin" + if test ! "$ac_qt_bindir" = "NO"; then + qt_bindirs="$ac_qt_bindir $qt_bindirs" + fi + + KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE]) + if test -z "$UIC_NOT_NEEDED"; then + KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) + if test -z "$UIC_PATH" ; then + KDE_UIC_ERROR_MESSAGE + exit 1 + else + UIC=$UIC_PATH + + if test $kde_qtver = 3; then + KDE_CHECK_UIC_FLAG(L,[/nonexistent],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no) + KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no) + + if test x$ac_uic_supports_libpath = xyes; then + UIC="$UIC -L \$(kde_widgetdir)" + fi + if test x$ac_uic_supports_nounload = xyes; then + UIC="$UIC -nounload" + fi + fi + fi + else + UIC="echo uic not available: " + fi + + AC_SUBST(MOC) + AC_SUBST(UIC) + + UIC_TR="i18n" + if test $kde_qtver = 3; then + UIC_TR="tr2i18n" + fi + + AC_SUBST(UIC_TR) +]) + +AC_DEFUN([KDE_1_CHECK_PATHS], +[ + KDE_1_CHECK_PATH_HEADERS + + KDE_TEST_RPATH= + + if test -n "$USE_RPATH"; then + + if test -n "$kde_libraries"; then + KDE_TEST_RPATH="-R $kde_libraries" + fi + + if test -n "$qt_libraries"; then + KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries" + fi + + if test -n "$x_libraries"; then + KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries" + fi + + KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH" + fi + +AC_MSG_CHECKING([for KDE libraries installed]) +ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5' + +if AC_TRY_EVAL(ac_link) && test -s conftest; then + AC_MSG_RESULT(yes) +else + AC_MSG_ERROR([your system fails at linking a small KDE application! +Check, if your compiler is installed correctly and if you have used the +same compiler to compile Qt and kdelibs as you did use now. +For more details about this problem, look at the end of config.log.]) +fi + +if eval `KDEDIR= ./conftest 2>&5`; then + kde_result=done +else + kde_result=problems +fi + +KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log +kde_have_all_paths=yes + +KDE_SET_PATHS($kde_result) + +]) + +AC_DEFUN([KDE_SET_PATHS], +[ + kde_cv_all_paths="kde_have_all_paths=\"yes\" \ + kde_htmldir=\"$kde_htmldir\" \ + kde_appsdir=\"$kde_appsdir\" \ + kde_icondir=\"$kde_icondir\" \ + kde_sounddir=\"$kde_sounddir\" \ + kde_datadir=\"$kde_datadir\" \ + kde_locale=\"$kde_locale\" \ + kde_cgidir=\"$kde_cgidir\" \ + kde_confdir=\"$kde_confdir\" \ + kde_kcfgdir=\"$kde_kcfgdir\" \ + kde_mimedir=\"$kde_mimedir\" \ + kde_toolbardir=\"$kde_toolbardir\" \ + kde_wallpaperdir=\"$kde_wallpaperdir\" \ + kde_templatesdir=\"$kde_templatesdir\" \ + kde_bindir=\"$kde_bindir\" \ + kde_servicesdir=\"$kde_servicesdir\" \ + kde_servicetypesdir=\"$kde_servicetypesdir\" \ + kde_moduledir=\"$kde_moduledir\" \ + kde_styledir=\"$kde_styledir\" \ + kde_widgetdir=\"$kde_widgetdir\" \ + xdg_appsdir=\"$xdg_appsdir\" \ + xdg_menudir=\"$xdg_menudir\" \ + xdg_directorydir=\"$xdg_directorydir\" \ + kde_result=$1" +]) + +AC_DEFUN([KDE_SET_DEFAULT_PATHS], +[ +if test "$1" = "default"; then + + if test -z "$kde_htmldir"; then + kde_htmldir='\${datadir}/doc/HTML' + fi + if test -z "$kde_appsdir"; then + kde_appsdir='\${datadir}/applnk' + fi + if test -z "$kde_icondir"; then + kde_icondir='\${datadir}/icons' + fi + if test -z "$kde_sounddir"; then + kde_sounddir='\${datadir}/sounds' + fi + if test -z "$kde_datadir"; then + kde_datadir='\${datadir}/apps' + fi + if test -z "$kde_locale"; then + kde_locale='\${datadir}/locale' + fi + if test -z "$kde_cgidir"; then + kde_cgidir='\${exec_prefix}/cgi-bin' + fi + if test -z "$kde_confdir"; then + kde_confdir='\${datadir}/config' + fi + if test -z "$kde_kcfgdir"; then + kde_kcfgdir='\${datadir}/config.kcfg' + fi + if test -z "$kde_mimedir"; then + kde_mimedir='\${datadir}/mimelnk' + fi + if test -z "$kde_toolbardir"; then + kde_toolbardir='\${datadir}/toolbar' + fi + if test -z "$kde_wallpaperdir"; then + kde_wallpaperdir='\${datadir}/wallpapers' + fi + if test -z "$kde_templatesdir"; then + kde_templatesdir='\${datadir}/templates' + fi + if test -z "$kde_bindir"; then + kde_bindir='\${exec_prefix}/bin' + fi + if test -z "$kde_servicesdir"; then + kde_servicesdir='\${datadir}/services' + fi + if test -z "$kde_servicetypesdir"; then + kde_servicetypesdir='\${datadir}/servicetypes' + fi + if test -z "$kde_moduledir"; then + if test "$kde_qtver" = "2"; then + kde_moduledir='\${libdir}/kde2' + else + kde_moduledir='\${libdir}/kde3' + fi + fi + if test -z "$kde_styledir"; then + kde_styledir='\${libdir}/kde3/plugins/styles' + fi + if test -z "$kde_widgetdir"; then + kde_widgetdir='\${libdir}/kde3/plugins/designer' + fi + if test -z "$xdg_appsdir"; then + xdg_appsdir='\${datadir}/applications/kde' + fi + if test -z "$xdg_menudir"; then + xdg_menudir='\${sysconfdir}/xdg/menus' + fi + if test -z "$xdg_directorydir"; then + xdg_directorydir='\${datadir}/desktop-directories' + fi + + KDE_SET_PATHS(defaults) + +else + + if test $kde_qtver = 1; then + AC_MSG_RESULT([compiling]) + KDE_1_CHECK_PATHS + else + AC_MSG_ERROR([path checking not yet supported for KDE 2]) + fi + +fi +]) + +AC_DEFUN([KDE_CHECK_PATHS_FOR_COMPLETENESS], +[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" || + test -z "$kde_icondir" || test -z "$kde_sounddir" || + test -z "$kde_datadir" || test -z "$kde_locale" || + test -z "$kde_cgidir" || test -z "$kde_confdir" || + test -z "$kde_kcfgdir" || + test -z "$kde_mimedir" || test -z "$kde_toolbardir" || + test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" || + test -z "$kde_bindir" || test -z "$kde_servicesdir" || + test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" || + test -z "$kde_styledir" || test -z "kde_widgetdir" || + test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" || + test "x$kde_have_all_paths" != "xyes"; then + kde_have_all_paths=no + fi +]) + +AC_DEFUN([KDE_MISSING_PROG_ERROR], +[ + AC_MSG_ERROR([The important program $1 was not found! +Please check whether you installed KDE correctly. +]) +]) + +AC_DEFUN([KDE_MISSING_ARTS_ERROR], +[ + AC_MSG_ERROR([The important program $1 was not found! +Please check whether you installed aRts correctly or use +--without-arts to compile without aRts support (this will remove functionality). +]) +]) + +AC_DEFUN([KDE_SET_DEFAULT_BINDIRS], +[ + kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin" + test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs" + if test -n "$KDEDIRS"; then + kde_save_IFS=$IFS + IFS=: + for dir in $KDEDIRS; do + kde_default_bindirs="$dir/bin $kde_default_bindirs " + done + IFS=$kde_save_IFS + fi +]) + +AC_DEFUN([KDE_SUBST_PROGRAMS], +[ + AC_ARG_WITH(arts, + AC_HELP_STRING([--without-arts],[build without aRts [default=no]]), + [build_arts=$withval], + [build_arts=yes] + ) + AM_CONDITIONAL(include_ARTS, test "$build_arts" '!=' "no") + if test "$build_arts" = "no"; then + AC_DEFINE(WITHOUT_ARTS, 1, [Defined if compiling without arts]) + fi + + KDE_SET_DEFAULT_BINDIRS + kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs" + KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)]) + KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)]) + if test "$build_arts" '!=' "no"; then + KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)]) + KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)]) + fi + KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs]) + + kde32ornewer=1 + kde33ornewer=1 + if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then + kde32ornewer= + kde33ornewer= + else + if test "$kde_qtver" = "3"; then + if test "$kde_qtsubver" -le 1; then + kde32ornewer= + fi + if test "$kde_qtsubver" -le 2; then + kde33ornewer= + fi + if test "$KDECONFIG" != "compiled"; then + if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then + kde33ornewer= + fi + fi + fi + fi + + if test -n "$kde32ornewer"; then + KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)]) + KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)]) + fi + if test -n "$kde33ornewer"; then + KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)]) + AC_SUBST(MAKEKDEWIDGETS) + fi + KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""]) + + if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then + kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share" + test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs" + AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET) + if test "$KDE_XSL_STYLESHEET" = "NO"; then + KDE_XSL_STYLESHEET="" + else + KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl" + fi + fi + + DCOP_DEPENDENCIES='$(DCOPIDL)' + if test -n "$kde32ornewer"; then + KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)' + DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)' + AC_SUBST(KCONFIG_COMPILER) + AC_SUBST(KCFG_DEPENDENCIES) + AC_SUBST(DCOPIDLNG) + fi + AC_SUBST(DCOPIDL) + AC_SUBST(DCOPIDL2CPP) + AC_SUBST(DCOP_DEPENDENCIES) + AC_SUBST(MCOPIDL) + AC_SUBST(ARTSCCONFIG) + AC_SUBST(MEINPROC) + AC_SUBST(KDE_XSL_STYLESHEET) + AC_SUBST(XMLLINT) +])dnl + +AC_DEFUN([AC_CREATE_KFSSTND], +[ +AC_REQUIRE([AC_CHECK_RPATH]) + +AC_MSG_CHECKING([for KDE paths]) +kde_result="" +kde_cached_paths=yes +AC_CACHE_VAL(kde_cv_all_paths, +[ + KDE_SET_DEFAULT_PATHS($1) + kde_cached_paths=no +]) +eval "$kde_cv_all_paths" +KDE_CHECK_PATHS_FOR_COMPLETENESS +if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then + # wrong values were cached, may be, we can set better ones + kde_result= + kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir= + kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir= + kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir= + kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir= + kde_have_all_paths= + kde_styledir= + kde_widgetdir= + xdg_appsdir = xdg_menudir= xdg_directorydir= + KDE_SET_DEFAULT_PATHS($1) + eval "$kde_cv_all_paths" + KDE_CHECK_PATHS_FOR_COMPLETENESS + kde_result="$kde_result (cache overridden)" +fi +if test "$kde_have_all_paths" = "no"; then + AC_MSG_ERROR([configure could not run a little KDE program to test the environment. +Since it had compiled and linked before, it must be a strange problem on your system. +Look at config.log for details. If you are not able to fix this, look at +http://www.kde.org/faq/installation.html or any www.kde.org mirror. +(If you're using an egcs version on Linux, you may update binutils!) +]) +else + rm -f conftest* + AC_MSG_RESULT($kde_result) +fi + +bindir=$kde_bindir + +KDE_SUBST_PROGRAMS + +]) + +AC_DEFUN([AC_SUBST_KFSSTND], +[ +AC_SUBST(kde_htmldir) +AC_SUBST(kde_appsdir) +AC_SUBST(kde_icondir) +AC_SUBST(kde_sounddir) +AC_SUBST(kde_datadir) +AC_SUBST(kde_locale) +AC_SUBST(kde_confdir) +AC_SUBST(kde_kcfgdir) +AC_SUBST(kde_mimedir) +AC_SUBST(kde_wallpaperdir) +AC_SUBST(kde_bindir) +dnl X Desktop Group standards +AC_SUBST(xdg_appsdir) +AC_SUBST(xdg_menudir) +AC_SUBST(xdg_directorydir) +dnl for KDE 2 +AC_SUBST(kde_templatesdir) +AC_SUBST(kde_servicesdir) +AC_SUBST(kde_servicetypesdir) +AC_SUBST(kde_moduledir) +AC_SUBST(kdeinitdir, '$(kde_moduledir)') +AC_SUBST(kde_styledir) +AC_SUBST(kde_widgetdir) +if test "$kde_qtver" = 1; then + kde_minidir="$kde_icondir/mini" +else +# for KDE 1 - this breaks KDE2 apps using minidir, but +# that's the plan ;-/ + kde_minidir="/dev/null" +fi +dnl AC_SUBST(kde_minidir) +dnl AC_SUBST(kde_cgidir) +dnl AC_SUBST(kde_toolbardir) +]) + +AC_DEFUN([KDE_MISC_TESTS], +[ + dnl Checks for libraries. + AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD + AC_SUBST(LIBUTIL) + AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD + AC_SUBST(LIBCOMPAT) + kde_have_crypt= + AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes], + AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [ + AC_MSG_WARN([you have no crypt in either libcrypt or libc. +You should install libcrypt from another source or configure with PAM +support]) + kde_have_crypt=no + ])) + AC_SUBST(LIBCRYPT) + if test $kde_have_crypt = yes; then + AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function]) + fi + AC_CHECK_SOCKLEN_T + AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"]) + if test $ac_cv_lib_dnet_dnet_ntoa = no; then + AC_CHECK_LIB(dnet_stub, dnet_ntoa, + [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"]) + fi + AC_CHECK_FUNC(inet_ntoa) + if test $ac_cv_func_inet_ntoa = no; then + AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl") + fi + AC_CHECK_FUNC(connect) + if test $ac_cv_func_connect = no; then + AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", , + $X_EXTRA_LIBS) + fi + + AC_CHECK_FUNC(remove) + if test $ac_cv_func_remove = no; then + AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix") + fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + AC_CHECK_FUNC(shmat, , + AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")) + + # more headers that need to be explicitly included on darwin + AC_CHECK_HEADERS(sys/types.h stdint.h) + + # sys/bitypes.h is needed for uint32_t and friends on Tru64 + AC_CHECK_HEADERS(sys/bitypes.h) + + # darwin requires a poll emulation library + AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll") + + # for some image handling on Mac OS X + AC_CHECK_HEADERS(Carbon/Carbon.h) + + # CoreAudio framework + AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [ + AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API]) + FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio" + ]) + + AC_CHECK_RES_INIT + AC_SUBST(LIB_POLL) + AC_SUBST(FRAMEWORK_COREAUDIO) + LIBSOCKET="$X_EXTRA_LIBS" + AC_SUBST(LIBSOCKET) + AC_SUBST(X_EXTRA_LIBS) + AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4 + AC_SUBST(LIBUCB) + + case $host in dnl this *is* LynxOS specific + *-*-lynxos* ) + AC_MSG_CHECKING([LynxOS header file wrappers]) + [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"] + AC_MSG_RESULT(disabled) + AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS + ;; + esac + + KDE_CHECK_TYPES + KDE_CHECK_LIBDL + KDE_CHECK_STRLCPY + KDE_CHECK_PIE_SUPPORT + +# darwin needs this to initialize the environment +AC_CHECK_HEADERS(crt_externs.h) +AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])]) + +AH_VERBATIM(_DARWIN_ENVIRON, +[ +#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H) +# include +# include +# define environ (*_NSGetEnviron()) +#endif +]) + +AH_VERBATIM(_AIX_STRINGS_H_BZERO, +[ +/* + * AIX defines FD_SET in terms of bzero, but fails to include + * that defines bzero. + */ + +#if defined(_AIX) +#include +#endif +]) + +AC_CHECK_FUNCS([vsnprintf snprintf]) + +AH_VERBATIM(_TRU64,[ +/* + * On HP-UX, the declaration of vsnprintf() is needed every time ! + */ + +#if !defined(HAVE_VSNPRINTF) || defined(hpux) +#if __STDC__ +#include +#include +#else +#include +#endif +#ifdef __cplusplus +extern "C" +#endif +int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); +#ifdef __cplusplus +extern "C" +#endif +int snprintf(char *str, size_t n, char const *fmt, ...); +#endif +]) + +]) + +dnl ------------------------------------------------------------------------ +dnl Find the header files and libraries for X-Windows. Extended the +dnl macro AC_PATH_X +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([K_PATH_X], +[ +AC_REQUIRE([KDE_MISC_TESTS])dnl +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_ARG_ENABLE( + embedded, + AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]), + kde_use_qt_emb=$enableval, + kde_use_qt_emb=no +) + +AC_ARG_ENABLE( + qtopia, + AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]), + kde_use_qt_emb_palm=$enableval, + kde_use_qt_emb_palm=no +) + +AC_ARG_ENABLE( + mac, + AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]), + kde_use_qt_mac=$enableval, + kde_use_qt_mac=no +) + +# used to disable x11-specific stuff on special platforms +AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no") + +if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then + +AC_MSG_CHECKING(for X) + +AC_CACHE_VAL(kde_cv_have_x, +[# One or both of the vars are not set, and there is no cached value. +if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then + kde_x_includes=NO +else + kde_x_includes=$x_includes +fi +if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then + kde_x_libraries=NO +else + kde_x_libraries=$x_libraries +fi + +# below we use the standard autoconf calls +ac_x_libraries=$kde_x_libraries +ac_x_includes=$kde_x_includes + +KDE_PATH_X_DIRECT +dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries. +dnl Unfortunately, if compiling with the N32 ABI, this is not the correct +dnl location. The correct location is /usr/lib32 or an undefined value +dnl (the linker is smart enough to pick the correct default library). +dnl Things work just fine if you use just AC_PATH_X_DIRECT. +dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to +dnl /usr/openwin/include, which doesn't work. /usr/include does work, so +dnl x_includes should be left alone. +case "$host" in +mips-sgi-irix6*) + ;; +*-*-solaris*) + ;; +*) + _AC_PATH_X_XMKMF + if test -z "$ac_x_includes"; then + ac_x_includes="." + fi + if test -z "$ac_x_libraries"; then + ac_x_libraries="/usr/lib${kdelibsuff}" + fi +esac +#from now on we use our own again + +# when the user already gave --x-includes, we ignore +# what the standard autoconf macros told us. +if test "$kde_x_includes" = NO; then + kde_x_includes=$ac_x_includes +fi + +# for --x-libraries too +if test "$kde_x_libraries" = NO; then + kde_x_libraries=$ac_x_libraries +fi + +if test "$kde_x_includes" = NO; then + AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!]) +fi + +if test "$kde_x_libraries" = NO; then + AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!]) +fi + +# Record where we found X for the cache. +kde_cv_have_x="have_x=yes \ + kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries" +])dnl + +eval "$kde_cv_have_x" + +if test "$have_x" != yes; then + AC_MSG_RESULT($have_x) + no_x=yes +else + AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes]) +fi + +if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then + X_INCLUDES="" + x_includes="."; dnl better than nothing :- + else + x_includes=$kde_x_includes + X_INCLUDES="-I$x_includes" +fi + +if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then + X_LDFLAGS="" + x_libraries="/usr/lib"; dnl better than nothing :- + else + x_libraries=$kde_x_libraries + X_LDFLAGS="-L$x_libraries" +fi +all_includes="$X_INCLUDES" +all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS" + +# Check for libraries that X11R6 Xt/Xaw programs need. +ac_save_LDFLAGS="$LDFLAGS" +LDFLAGS="$LDFLAGS $X_LDFLAGS" +# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to +# check for ICE first), but we must link in the order -lSM -lICE or +# we get undefined symbols. So assume we have SM if we have ICE. +# These have to be linked with before -lX11, unlike the other +# libraries we check for below, so use a different variable. +# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. +AC_CHECK_LIB(ICE, IceConnectionNumber, + [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS) +LDFLAGS="$ac_save_LDFLAGS" + +LIB_X11='-lX11 $(LIBSOCKET)' + +AC_MSG_CHECKING(for libXext) +AC_CACHE_VAL(kde_cv_have_libXext, +[ +kde_ldflags_safe="$LDFLAGS" +kde_libs_safe="$LIBS" + +LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS" +LIBS="-lXext -lX11 $LIBSOCKET" + +AC_TRY_LINK([ +#include +#ifdef STDC_HEADERS +# include +#endif +], +[ +printf("hello Xext\n"); +], +kde_cv_have_libXext=yes, +kde_cv_have_libXext=no +) + +LDFLAGS=$kde_ldflags_safe +LIBS=$kde_libs_safe +]) + +AC_MSG_RESULT($kde_cv_have_libXext) + +if test "$kde_cv_have_libXext" = "no"; then + AC_MSG_ERROR([We need a working libXext to proceed. Since configure +can't find it itself, we stop here assuming that make wouldn't find +them either.]) +fi + +LIB_XEXT="-lXext" +QTE_NORTTI="" + +elif test "$kde_use_qt_emb" = "yes"; then + dnl We're using QT Embedded + CPPFLAGS=-DQWS + CXXFLAGS="$CXXFLAGS -fno-rtti" + QTE_NORTTI="-fno-rtti -DQWS" + X_PRE_LIBS="" + LIB_X11="" + LIB_XEXT="" + LIB_XRENDER="" + LIBSM="" + X_INCLUDES="" + X_LDFLAGS="" + x_includes="" + x_libraries="" +elif test "$kde_use_qt_mac" = "yes"; then + dnl We're using QT/Mac (I use QT_MAC so that qglobal.h doesn't *have* to + dnl be included to get the information) --Sam + CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp" + CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp" + X_PRE_LIBS="" + LIB_X11="" + LIB_XEXT="" + LIB_XRENDER="" + LIBSM="" + X_INCLUDES="" + X_LDFLAGS="" + x_includes="" + x_libraries="" +fi +AC_SUBST(X_PRE_LIBS) +AC_SUBST(LIB_X11) +AC_SUBST(LIB_XRENDER) +AC_SUBST(LIBSM) +AC_SUBST(X_INCLUDES) +AC_SUBST(X_LDFLAGS) +AC_SUBST(x_includes) +AC_SUBST(x_libraries) +AC_SUBST(QTE_NORTTI) +AC_SUBST(LIB_XEXT) + +]) + +AC_DEFUN([KDE_PRINT_QT_PROGRAM], +[ +AC_REQUIRE([KDE_USE_QT]) +cat > conftest.$ac_ext < +#include +EOF +if test "$kde_qtver" = "2"; then +cat >> conftest.$ac_ext < +#include +#include +EOF + +if test $kde_qtsubver -gt 0; then +cat >> conftest.$ac_ext <> conftest.$ac_ext < +#include +#include +EOF +fi + +echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext +cat >> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext <&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC +fi + +rm -f conftest* +CXXFLAGS="$ac_cxxflags_safe" +LDFLAGS="$ac_ldflags_safe" +LIBS="$ac_libs_safe" + +LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe" +export LD_LIBRARY_PATH +LIBRARY_PATH="$ac_LIBRARY_PATH" +export LIBRARY_PATH +AC_LANG_RESTORE +]) + +if test "$kde_cv_qt_direct" = "yes"; then + AC_MSG_RESULT(yes) + $1 +else + AC_MSG_RESULT(no) + $2 +fi +]) + +dnl ------------------------------------------------------------------------ +dnl Try to find the Qt headers and libraries. +dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed) +dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_PATH_QT_1_3], +[ +AC_REQUIRE([K_PATH_X]) +AC_REQUIRE([KDE_USE_QT]) +AC_REQUIRE([KDE_CHECK_LIB64]) + +dnl ------------------------------------------------------------------------ +dnl Add configure flag to enable linking to MT version of Qt library. +dnl ------------------------------------------------------------------------ + +AC_ARG_ENABLE( + mt, + AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]), + kde_use_qt_mt=$enableval, + [ + if test $kde_qtver = 3; then + kde_use_qt_mt=yes + else + kde_use_qt_mt=no + fi + ] +) + +USING_QT_MT="" + +dnl ------------------------------------------------------------------------ +dnl If we not get --disable-qt-mt then adjust some vars for the host. +dnl ------------------------------------------------------------------------ + +KDE_MT_LDFLAGS= +KDE_MT_LIBS= +if test "x$kde_use_qt_mt" = "xyes"; then + KDE_CHECK_THREADING + if test "x$kde_use_threading" = "xyes"; then + CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS" + KDE_MT_LDFLAGS="$USE_THREADS" + KDE_MT_LIBS="$LIBPTHREAD" + else + kde_use_qt_mt=no + fi +fi +AC_SUBST(KDE_MT_LDFLAGS) +AC_SUBST(KDE_MT_LIBS) + +kde_qt_was_given=yes + +dnl ------------------------------------------------------------------------ +dnl If we haven't been told how to link to Qt, we work it out for ourselves. +dnl ------------------------------------------------------------------------ +if test -z "$LIBQT_GLOB"; then + if test "x$kde_use_qt_emb" = "xyes"; then + LIBQT_GLOB="libqte.*" + else + LIBQT_GLOB="libqt.*" + fi +fi + +dnl ------------------------------------------------------------ +dnl If we got --enable-embedded then adjust the Qt library name. +dnl ------------------------------------------------------------ +if test "x$kde_use_qt_emb" = "xyes"; then + qtlib="qte" +else + qtlib="qt" +fi + +kde_int_qt="-l$qtlib" + +if test -z "$LIBQPE"; then +dnl ------------------------------------------------------------ +dnl If we got --enable-palmtop then add -lqpe to the link line +dnl ------------------------------------------------------------ + if test "x$kde_use_qt_emb" = "xyes"; then + if test "x$kde_use_qt_emb_palm" = "xyes"; then + LIB_QPE="-lqpe" + else + LIB_QPE="" + fi + else + LIB_QPE="" + fi +fi + +dnl ------------------------------------------------------------------------ +dnl If we got --enable-qt-mt then adjust the Qt library name for the host. +dnl ------------------------------------------------------------------------ + +if test "x$kde_use_qt_mt" = "xyes"; then + LIBQT="-l$qtlib-mt" + kde_int_qt="-l$qtlib-mt" + LIBQT_GLOB="lib$qtlib-mt.*" + USING_QT_MT="using -mt" +else + LIBQT="-l$qtlib" +fi + +if test $kde_qtver != 1; then + + AC_REQUIRE([AC_FIND_PNG]) + AC_REQUIRE([AC_FIND_JPEG]) + LIBQT="$LIBQT $LIBPNG $LIBJPEG" +fi + +if test $kde_qtver = 3; then + AC_REQUIRE([KDE_CHECK_LIBDL]) + LIBQT="$LIBQT $LIBDL" +fi + +AC_MSG_CHECKING([for Qt]) + +if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then +LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" +fi +ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO +qt_libraries="" +qt_includes="" +AC_ARG_WITH(qt-dir, + AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]), + [ ac_qt_includes="$withval"/include + ac_qt_libraries="$withval"/lib${kdelibsuff} + ac_qt_bindir="$withval"/bin + ]) + +AC_ARG_WITH(qt-includes, + AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]), + [ + ac_qt_includes="$withval" + ]) + +kde_qt_libs_given=no + +AC_ARG_WITH(qt-libraries, + AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]), + [ ac_qt_libraries="$withval" + kde_qt_libs_given=yes + ]) + +AC_CACHE_VAL(ac_cv_have_qt, +[#try to guess Qt locations + +qt_incdirs="" +for dir in $kde_qt_dirs; do + qt_incdirs="$qt_incdirs $dir/include $dir" +done +qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" +if test ! "$ac_qt_includes" = "NO"; then + qt_incdirs="$ac_qt_includes $qt_incdirs" +fi + +if test "$kde_qtver" != "1"; then + kde_qt_header=qstyle.h +else + kde_qt_header=qglobal.h +fi + +AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) +ac_qt_includes="$qt_incdir" + +qt_libdirs="" +for dir in $kde_qt_dirs; do + qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir" +done +qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries" +if test ! "$ac_qt_libraries" = "NO"; then + qt_libdir=$ac_qt_libraries +else + qt_libdirs="$ac_qt_libraries $qt_libdirs" + # if the Qt was given, the chance is too big that libqt.* doesn't exist + qt_libdir=NONE + for dir in $qt_libdirs; do + try="ls -1 $dir/${LIBQT_GLOB}" + if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi + done +fi +for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do + if test -e "$a"; then + LIBQT="$LIBQT ${kde_int_qt}_incremental" + break + fi +done + +ac_qt_libraries="$qt_libdir" + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + +ac_cxxflags_safe="$CXXFLAGS" +ac_ldflags_safe="$LDFLAGS" +ac_libs_safe="$LIBS" + +CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" +LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" +LIBS="$LIBS $LIBQT $KDE_MT_LIBS" + +KDE_PRINT_QT_PROGRAM + +if AC_TRY_EVAL(ac_link) && test -s conftest; then + rm -f conftest* +else + echo "configure: failed program was:" >&AC_FD_CC + cat conftest.$ac_ext >&AC_FD_CC + ac_qt_libraries="NO" +fi +rm -f conftest* +CXXFLAGS="$ac_cxxflags_safe" +LDFLAGS="$ac_ldflags_safe" +LIBS="$ac_libs_safe" + +AC_LANG_RESTORE +if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then + ac_cv_have_qt="have_qt=no" + ac_qt_notfound="" + missing_qt_mt="" + if test "$ac_qt_includes" = NO; then + if test "$ac_qt_libraries" = NO; then + ac_qt_notfound="(headers and libraries)"; + else + ac_qt_notfound="(headers)"; + fi + else + if test "x$kde_use_qt_mt" = "xyes"; then + missing_qt_mt=" +Make sure that you have compiled Qt with thread support!" + ac_qt_notfound="(library $qtlib-mt)"; + else + ac_qt_notfound="(library $qtlib)"; + fi + fi + + AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation! +For more details about this problem, look at the end of config.log.$missing_qt_mt]) +else + have_qt="yes" +fi +]) + +eval "$ac_cv_have_qt" + +if test "$have_qt" != yes; then + AC_MSG_RESULT([$have_qt]); +else + ac_cv_have_qt="have_qt=yes \ + ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries" + AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT]) + + qt_libraries="$ac_qt_libraries" + qt_includes="$ac_qt_includes" +fi + +if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then + KDE_CHECK_QT_DIRECT(qt_libraries= ,[]) +fi + +AC_SUBST(qt_libraries) +AC_SUBST(qt_includes) + +if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then + QT_INCLUDES="" +else + QT_INCLUDES="-I$qt_includes" + all_includes="$QT_INCLUDES $all_includes" +fi + +if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then + QT_LDFLAGS="" +else + QT_LDFLAGS="-L$qt_libraries" + all_libraries="$QT_LDFLAGS $all_libraries" +fi +test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS" + +AC_SUBST(QT_INCLUDES) +AC_SUBST(QT_LDFLAGS) +AC_PATH_QT_MOC_UIC + +KDE_CHECK_QT_JPEG + +if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then +LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)' +else +LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)' +fi +test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS" +for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do + if test -e "$a"; then + LIB_QT="$LIB_QT ${kde_int_qt}_incremental" + break + fi +done + +AC_SUBST(LIB_QT) +AC_SUBST(LIB_QPE) + +AC_SUBST(kde_qtver) +]) + +AC_DEFUN([AC_PATH_QT], +[ +AC_PATH_QT_1_3 +]) + +AC_DEFUN([KDE_CHECK_UIC_PLUGINS], +[ +AC_REQUIRE([AC_PATH_QT_MOC_UIC]) + +if test x$ac_uic_supports_libpath = xyes; then + +AC_MSG_CHECKING([if UIC has KDE plugins available]) +AC_CACHE_VAL(kde_cv_uic_plugins, +[ +cat > actest.ui << EOF + +NewConnectionDialog + + + + testInput + + + + +EOF + + + +kde_cv_uic_plugins=no +kde_line="$UIC_PATH -L $kde_widgetdir" +if test x$ac_uic_supports_nounload = xyes; then + kde_line="$kde_line -nounload" +fi +kde_line="$kde_line -impl actest.h actest.ui > actest.cpp" +if AC_TRY_EVAL(kde_line); then + # if you're trying to debug this check and think it's incorrect, + # better check your installation. The check _is_ correct - your + # installation is not. + if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then + kde_cv_uic_plugins=yes + fi +fi +rm -f actest.ui actest.cpp +]) + +AC_MSG_RESULT([$kde_cv_uic_plugins]) +if test "$kde_cv_uic_plugins" != yes; then + AC_MSG_ERROR([ +you need to install kdelibs first. + +If you did install kdelibs, then the Qt version that is picked up by +this configure is not the same version you used to compile kdelibs. +The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the +_same Qt version_, compiled with the _same compiler_ and the same Qt +configuration settings. +]) +fi +fi +]) + +AC_DEFUN([KDE_CHECK_FINAL], +[ + AC_ARG_ENABLE(final, + AC_HELP_STRING([--enable-final], + [build size optimized apps (experimental - needs lots of memory)]), + kde_use_final=$enableval, kde_use_final=no) + + if test "x$kde_use_final" = "xyes"; then + KDE_USE_FINAL_TRUE="" + KDE_USE_FINAL_FALSE="#" + else + KDE_USE_FINAL_TRUE="#" + KDE_USE_FINAL_FALSE="" + fi + AC_SUBST(KDE_USE_FINAL_TRUE) + AC_SUBST(KDE_USE_FINAL_FALSE) +]) + +AC_DEFUN([KDE_CHECK_CLOSURE], +[ + AC_ARG_ENABLE(closure, + AC_HELP_STRING([--enable-closure],[delay template instantiation]), + kde_use_closure=$enableval, kde_use_closure=no) + + KDE_NO_UNDEFINED="" + if test "x$kde_use_closure" = "xyes"; then + KDE_USE_CLOSURE_TRUE="" + KDE_USE_CLOSURE_FALSE="#" +# CXXFLAGS="$CXXFLAGS $REPO" + else + KDE_USE_CLOSURE_TRUE="#" + KDE_USE_CLOSURE_FALSE="" + KDE_NO_UNDEFINED="" + case $host in + *-*-linux-gnu) + KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined], + [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined], + [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"], + [KDE_NO_UNDEFINED=""])], + [KDE_NO_UNDEFINED=""]) + ;; + esac + fi + AC_SUBST(KDE_USE_CLOSURE_TRUE) + AC_SUBST(KDE_USE_CLOSURE_FALSE) + AC_SUBST(KDE_NO_UNDEFINED) +]) + +dnl Check if the linker supports --enable-new-dtags and --as-needed +AC_DEFUN([KDE_CHECK_NEW_LDFLAGS], +[ + AC_ARG_ENABLE(new_ldflags, + AC_HELP_STRING([--enable-new-ldflags], + [enable the new linker flags]), + kde_use_new_ldflags=$enableval, + kde_use_new_ldflags=no) + + LDFLAGS_AS_NEEDED="" + LDFLAGS_NEW_DTAGS="" + if test "x$kde_use_new_ldflags" = "xyes"; then + LDFLAGS_NEW_DTAGS="" + KDE_CHECK_COMPILER_FLAG([Wl,--enable-new-dtags], + [LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"],) + + KDE_CHECK_COMPILER_FLAG([Wl,--as-needed], + [LDFLAGS_AS_NEEDED="-Wl,--as-needed"],) + fi + AC_SUBST(LDFLAGS_AS_NEEDED) + AC_SUBST(LDFLAGS_NEW_DTAGS) +]) + +AC_DEFUN([KDE_CHECK_NMCHECK], +[ + AC_ARG_ENABLE(nmcheck,AC_HELP_STRING([--enable-nmcheck],[enable automatic namespace cleanness check]), + kde_use_nmcheck=$enableval, kde_use_nmcheck=no) + + if test "$kde_use_nmcheck" = "yes"; then + KDE_USE_NMCHECK_TRUE="" + KDE_USE_NMCHECK_FALSE="#" + else + KDE_USE_NMCHECK_TRUE="#" + KDE_USE_NMCHECK_FALSE="" + fi + AC_SUBST(KDE_USE_NMCHECK_TRUE) + AC_SUBST(KDE_USE_NMCHECK_FALSE) +]) + +AC_DEFUN([KDE_EXPAND_MAKEVAR], [ +savex=$exec_prefix +test "x$exec_prefix" = xNONE && exec_prefix=$prefix +tmp=$$2 +while $1=`eval echo "$tmp"`; test "x$$1" != "x$tmp"; do tmp=$$1; done +exec_prefix=$savex +]) + +dnl ------------------------------------------------------------------------ +dnl Now, the same with KDE +dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed) +dnl and $(kde_includes) will be the kdehdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_BASE_PATH_KDE], +[ +AC_REQUIRE([KDE_CHECK_STL]) +AC_REQUIRE([AC_PATH_QT])dnl +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_CHECK_RPATH +AC_MSG_CHECKING([for KDE]) + +if test "${prefix}" != NONE; then + kde_includes=${includedir} + KDE_EXPAND_MAKEVAR(ac_kde_includes, includedir) + + kde_libraries=${libdir} + KDE_EXPAND_MAKEVAR(ac_kde_libraries, libdir) + +else + ac_kde_includes= + ac_kde_libraries= + kde_libraries="" + kde_includes="" +fi + +AC_CACHE_VAL(ac_cv_have_kde, +[#try to guess kde locations + +if test "$kde_qtver" = 1; then + kde_check_header="ksock.h" + kde_check_lib="libkdecore.la" +else + kde_check_header="ksharedptr.h" + kde_check_lib="libkio.la" +fi + +if test -z "$1"; then + +kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" +test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs" +kde_incdirs="$ac_kde_includes $kde_incdirs" +AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) +ac_kde_includes="$kde_incdir" + +if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then + AC_MSG_ERROR([ +in the prefix, you've chosen, are no KDE headers installed. This will fail. +So, check this please and use another prefix!]) +fi + +kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" +test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs" +kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs" +AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir) +ac_kde_libraries="$kde_libdir" + +kde_widgetdir=NO +dnl this might be somewhere else +AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir) + +if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then +AC_MSG_ERROR([ +in the prefix, you've chosen, are no KDE libraries installed. This will fail. +So, check this please and use another prefix!]) +fi + +if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then +AC_MSG_ERROR([ +I can't find the designer plugins. These are required and should have been installed +by kdelibs]) +fi + +if test -n "$kde_widgetdir"; then + kde_widgetdir="$kde_widgetdir/kde3/plugins/designer" +fi + + +if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then + ac_cv_have_kde="have_kde=no" +else + ac_cv_have_kde="have_kde=yes \ + ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" +fi + +else dnl test -z $1, e.g. from kdelibs + + ac_cv_have_kde="have_kde=no" + +fi +])dnl + +eval "$ac_cv_have_kde" + +if test "$have_kde" != "yes"; then + if test "${prefix}" = NONE; then + ac_kde_prefix="$ac_default_prefix" + else + ac_kde_prefix="$prefix" + fi + if test "$exec_prefix" = NONE; then + ac_kde_exec_prefix="$ac_kde_prefix" + AC_MSG_RESULT([will be installed in $ac_kde_prefix]) + else + ac_kde_exec_prefix="$exec_prefix" + AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix]) + fi + + kde_libraries="${libdir}" + kde_includes="${includedir}" + +else + ac_cv_have_kde="have_kde=yes \ + ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" + AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes]) + + kde_libraries="$ac_kde_libraries" + kde_includes="$ac_kde_includes" +fi +AC_SUBST(kde_libraries) +AC_SUBST(kde_includes) + +if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then + KDE_INCLUDES="" +else + KDE_INCLUDES="-I$kde_includes" + all_includes="$KDE_INCLUDES $all_includes" +fi + +KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION" + +KDE_LDFLAGS="-L$kde_libraries" +if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then + all_libraries="$KDE_LDFLAGS $all_libraries" +fi + +AC_SUBST(KDE_LDFLAGS) +AC_SUBST(KDE_INCLUDES) + +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + +all_libraries="$all_libraries $USER_LDFLAGS" +all_includes="$all_includes $USER_INCLUDES" +AC_SUBST(all_includes) +AC_SUBST(all_libraries) + +if test -z "$1"; then +KDE_CHECK_UIC_PLUGINS +fi + +ac_kde_libraries="$kde_libdir" + +AC_SUBST(AUTODIRS) + + +]) + +AC_DEFUN([KDE_CHECK_EXTRA_LIBS], +[ +AC_MSG_CHECKING(for extra includes) +AC_ARG_WITH(extra-includes,AC_HELP_STRING([--with-extra-includes=DIR],[adds non standard include paths]), + kde_use_extra_includes="$withval", + kde_use_extra_includes=NONE +) +kde_extra_includes= +if test -n "$kde_use_extra_includes" && \ + test "$kde_use_extra_includes" != "NONE"; then + + ac_save_ifs=$IFS + IFS=':' + for dir in $kde_use_extra_includes; do + kde_extra_includes="$kde_extra_includes $dir" + USER_INCLUDES="$USER_INCLUDES -I$dir" + done + IFS=$ac_save_ifs + kde_use_extra_includes="added" +else + kde_use_extra_includes="no" +fi +AC_SUBST(USER_INCLUDES) + +AC_MSG_RESULT($kde_use_extra_includes) + +kde_extra_libs= +AC_MSG_CHECKING(for extra libs) +AC_ARG_WITH(extra-libs,AC_HELP_STRING([--with-extra-libs=DIR],[adds non standard library paths]), + kde_use_extra_libs=$withval, + kde_use_extra_libs=NONE +) +if test -n "$kde_use_extra_libs" && \ + test "$kde_use_extra_libs" != "NONE"; then + + ac_save_ifs=$IFS + IFS=':' + for dir in $kde_use_extra_libs; do + kde_extra_libs="$kde_extra_libs $dir" + KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir" + USER_LDFLAGS="$USER_LDFLAGS -L$dir" + done + IFS=$ac_save_ifs + kde_use_extra_libs="added" +else + kde_use_extra_libs="no" +fi + +AC_SUBST(USER_LDFLAGS) + +AC_MSG_RESULT($kde_use_extra_libs) + +]) + +AC_DEFUN([KDE_1_CHECK_PATH_HEADERS], +[ + AC_MSG_CHECKING([for KDE headers installed]) + AC_LANG_SAVE + AC_LANG_CPLUSPLUS +cat > conftest.$ac_ext < +#endif +#include +#include "confdefs.h" +#include + +int main() { + printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); + printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); + printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); + printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); + printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); + printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); + printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); + printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); + printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); + printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); + printf("kde_wallpaperdir=\\"%s\\"\n", + KApplication::kde_wallpaperdir().data()); + printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); + printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); + printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); + printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); + printf("kde_moduledir=\\"/tmp/dummy\\"\n"); + printf("kde_styledir=\\"/tmp/dummy\\"\n"); + printf("kde_widgetdir=\\"/tmp/dummy\\"\n"); + printf("xdg_appsdir=\\"/tmp/dummy\\"\n"); + printf("xdg_menudir=\\"/tmp/dummy\\"\n"); + printf("xdg_directorydir=\\"/tmp/dummy\\"\n"); + printf("kde_kcfgdir=\\"/tmp/dummy\\"\n"); + return 0; + } +EOF + + ac_save_CPPFLAGS=$CPPFLAGS + CPPFLAGS="$all_includes $CPPFLAGS" + if AC_TRY_EVAL(ac_compile); then + AC_MSG_RESULT(yes) + else + AC_MSG_ERROR([your system is not able to compile a small KDE application! +Check, if you installed the KDE header files correctly. +For more details about this problem, look at the end of config.log.]) + fi + CPPFLAGS=$ac_save_CPPFLAGS + + AC_LANG_RESTORE +]) + +AC_DEFUN([KDE_CHECK_KDEQTADDON], +[ +AC_MSG_CHECKING(for kde-qt-addon) +AC_CACHE_VAL(kde_cv_have_kdeqtaddon, +[ + kde_ldflags_safe="$LDFLAGS" + kde_libs_safe="$LIBS" + kde_cxxflags_safe="$CXXFLAGS" + + LIBS="-lkde-qt-addon $LIBQT $LIBS" + CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes" + LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS" + + AC_TRY_LINK([ + #include + ], + [ + QDomDocument doc; + ], + kde_cv_have_kdeqtaddon=yes, + kde_cv_have_kdeqtaddon=no + ) + + LDFLAGS=$kde_ldflags_safe + LIBS=$kde_libs_safe + CXXFLAGS=$kde_cxxflags_safe +]) + +AC_MSG_RESULT($kde_cv_have_kdeqtaddon) + +if test "$kde_cv_have_kdeqtaddon" = "no"; then + AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first. +It is a separate package (and CVS module) named kde-qt-addon.]) +fi +]) + +AC_DEFUN([KDE_CREATE_LIBS_ALIASES], +[ + AC_REQUIRE([KDE_MISC_TESTS]) + AC_REQUIRE([KDE_CHECK_LIBDL]) + AC_REQUIRE([K_PATH_X]) + +if test $kde_qtver = 3; then + case $host in + *cygwin*) lib_kded="-lkdeinit_kded" ;; + *) lib_kded="" ;; + esac + AC_SUBST(LIB_KDED, $lib_kded) + AC_SUBST(LIB_KDECORE, "-lkdecore") + AC_SUBST(LIB_KDEUI, "-lkdeui") + AC_SUBST(LIB_KIO, "-lkio") + AC_SUBST(LIB_KJS, "-lkjs") + AC_SUBST(LIB_SMB, "-lsmb") + AC_SUBST(LIB_KAB, "-lkab") + AC_SUBST(LIB_KABC, "-lkabc") + AC_SUBST(LIB_KHTML, "-lkhtml") + AC_SUBST(LIB_KSPELL, "-lkspell") + AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KDEPRINT, "-lkdeprint") + AC_SUBST(LIB_KUTILS, "-lkutils") + AC_SUBST(LIB_KDEPIM, "-lkdepim") + AC_SUBST(LIB_KIMPROXY, "-lkimproxy") + AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff") + AC_SUBST(LIB_KDNSSD, "-lkdnssd") + AC_SUBST(LIB_KUNITTEST, "-lkunittest") +# these are for backward compatibility + AC_SUBST(LIB_KSYCOCA, "-lkio") + AC_SUBST(LIB_KFILE, "-lkio") +elif test $kde_qtver = 2; then + AC_SUBST(LIB_KDECORE, "-lkdecore") + AC_SUBST(LIB_KDEUI, "-lkdeui") + AC_SUBST(LIB_KIO, "-lkio") + AC_SUBST(LIB_KSYCOCA, "-lksycoca") + AC_SUBST(LIB_SMB, "-lsmb") + AC_SUBST(LIB_KFILE, "-lkfile") + AC_SUBST(LIB_KAB, "-lkab") + AC_SUBST(LIB_KHTML, "-lkhtml") + AC_SUBST(LIB_KSPELL, "-lkspell") + AC_SUBST(LIB_KPARTS, "-lkparts") + AC_SUBST(LIB_KDEPRINT, "-lkdeprint") +else + AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)") + AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)") + AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)") + AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)") + AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)") +fi +]) + +AC_DEFUN([AC_PATH_KDE], +[ + AC_BASE_PATH_KDE + AC_ARG_ENABLE(path-check,AC_HELP_STRING([--disable-path-check],[don't try to find out, where to install]), + [ + if test "$enableval" = "no"; + then ac_use_path_checking="default" + else ac_use_path_checking="" + fi + ], + [ + if test "$kde_qtver" = 1; + then ac_use_path_checking="" + else ac_use_path_checking="default" + fi + ] + ) + + AC_CREATE_KFSSTND($ac_use_path_checking) + + AC_SUBST_KFSSTND + KDE_CREATE_LIBS_ALIASES +]) + +dnl KDE_CHECK_FUNC_EXT(, [headers], [sample-use], [C prototype], [autoheader define], [call if found]) +AC_DEFUN([KDE_CHECK_FUNC_EXT], +[ +AC_MSG_CHECKING(for $1) +AC_CACHE_VAL(kde_cv_func_$1, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +save_CXXFLAGS="$CXXFLAGS" +kde_safe_LIBS="$LIBS" +LIBS="$LIBS $X_EXTRA_LIBS" +if test "$GXX" = "yes"; then +CXXFLAGS="$CXXFLAGS -pedantic-errors" +fi +AC_TRY_COMPILE([ +$2 +], +[ +$3 +], +kde_cv_func_$1=yes, +kde_cv_func_$1=no) +CXXFLAGS="$save_CXXFLAGS" +LIBS="$kde_safe_LIBS" +AC_LANG_RESTORE +]) + +AC_MSG_RESULT($kde_cv_func_$1) + +AC_MSG_CHECKING([if $1 needs custom prototype]) +AC_CACHE_VAL(kde_cv_proto_$1, +[ +if test "x$kde_cv_func_$1" = xyes; then + kde_cv_proto_$1=no +else + case "$1" in + setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat) + kde_cv_proto_$1="yes - in libkdefakes" + ;; + *) + kde_cv_proto_$1=unknown + ;; + esac +fi + +if test "x$kde_cv_proto_$1" = xunknown; then + +AC_LANG_SAVE +AC_LANG_CPLUSPLUS + kde_safe_libs=$LIBS + LIBS="$LIBS $X_EXTRA_LIBS" + AC_TRY_LINK([ +$2 + +extern "C" $4; +], +[ +$3 +], +[ kde_cv_func_$1=yes + kde_cv_proto_$1=yes ], + [kde_cv_proto_$1="$1 unavailable"] +) +LIBS=$kde_safe_libs +AC_LANG_RESTORE +fi +]) +AC_MSG_RESULT($kde_cv_proto_$1) + +if test "x$kde_cv_func_$1" = xyes; then + AC_DEFINE(HAVE_$5, 1, [Define if you have $1]) + $6 +fi +if test "x$kde_cv_proto_$1" = xno; then + AC_DEFINE(HAVE_$5_PROTO, 1, + [Define if you have the $1 prototype]) +fi + +AH_VERBATIM([_HAVE_$5_PROTO], +[ +#if !defined(HAVE_$5_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +$4; +#ifdef __cplusplus +} +#endif +#endif +]) +]) + +AC_DEFUN([AC_CHECK_SETENV], +[ + KDE_CHECK_FUNC_EXT(setenv, [ +#include +], + [setenv("VAR", "VALUE", 1);], + [int setenv (const char *, const char *, int)], + [SETENV]) +]) + +AC_DEFUN([AC_CHECK_UNSETENV], +[ + KDE_CHECK_FUNC_EXT(unsetenv, [ +#include +], + [unsetenv("VAR");], + [void unsetenv (const char *)], + [UNSETENV]) +]) + +AC_DEFUN([AC_CHECK_GETDOMAINNAME], +[ + KDE_CHECK_FUNC_EXT(getdomainname, [ +#include +#include +#include +], + [ +char buffer[200]; +getdomainname(buffer, 200); +], + [#include + int getdomainname (char *, size_t)], + [GETDOMAINNAME]) +]) + +AC_DEFUN([AC_CHECK_GETHOSTNAME], +[ + KDE_CHECK_FUNC_EXT(gethostname, [ +#include +#include +], + [ +char buffer[200]; +gethostname(buffer, 200); +], + [int gethostname (char *, unsigned int)], + [GETHOSTNAME]) +]) + +AC_DEFUN([AC_CHECK_USLEEP], +[ + KDE_CHECK_FUNC_EXT(usleep, [ +#include +], + [ +usleep(200); +], + [int usleep (unsigned int)], + [USLEEP]) +]) + + +AC_DEFUN([AC_CHECK_RANDOM], +[ + KDE_CHECK_FUNC_EXT(random, [ +#include +], + [ +random(); +], + [long int random(void)], + [RANDOM]) + + KDE_CHECK_FUNC_EXT(srandom, [ +#include +], + [ +srandom(27); +], + [void srandom(unsigned int)], + [SRANDOM]) + +]) + +AC_DEFUN([AC_CHECK_INITGROUPS], +[ + KDE_CHECK_FUNC_EXT(initgroups, [ +#include +#include +#include +], + [ +char buffer[200]; +initgroups(buffer, 27); +], + [int initgroups(const char *, gid_t)], + [INITGROUPS]) +]) + +AC_DEFUN([AC_CHECK_MKSTEMPS], +[ + KDE_CHECK_FUNC_EXT(mkstemps, [ +#include +#include +], + [ +mkstemps("/tmp/aaaXXXXXX", 6); +], + [int mkstemps(char *, int)], + [MKSTEMPS]) +]) + +AC_DEFUN([AC_CHECK_MKSTEMP], +[ + KDE_CHECK_FUNC_EXT(mkstemp, [ +#include +#include +], + [ +mkstemp("/tmp/aaaXXXXXX"); +], + [int mkstemp(char *)], + [MKSTEMP]) +]) + +AC_DEFUN([AC_CHECK_MKDTEMP], +[ + KDE_CHECK_FUNC_EXT(mkdtemp, [ +#include +#include +], + [ +mkdtemp("/tmp/aaaXXXXXX"); +], + [char *mkdtemp(char *)], + [MKDTEMP]) +]) + + +AC_DEFUN([AC_CHECK_RES_INIT], +[ + AC_MSG_CHECKING([if res_init needs -lresolv]) + kde_libs_safe="$LIBS" + LIBS="$LIBS $X_EXTRA_LIBS -lresolv" + AC_TRY_LINK( + [ +#include +#include +#include +#include + ], + [ + res_init(); + ], + [ + LIBRESOLV="-lresolv" + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function]) + ], + [ AC_MSG_RESULT(no) ] + ) + LIBS=$kde_libs_safe + AC_SUBST(LIBRESOLV) + + KDE_CHECK_FUNC_EXT(res_init, + [ +#include +#include +#include +#include + ], + [res_init()], + [int res_init(void)], + [RES_INIT]) +]) + +AC_DEFUN([AC_CHECK_STRLCPY], +[ + KDE_CHECK_FUNC_EXT(strlcpy, [ +#include +], +[ char buf[20]; + strlcpy(buf, "KDE function test", sizeof(buf)); +], + [unsigned long strlcpy(char*, const char*, unsigned long)], + [STRLCPY]) +]) + +AC_DEFUN([AC_CHECK_STRLCAT], +[ + KDE_CHECK_FUNC_EXT(strlcat, [ +#include +], +[ char buf[20]; + buf[0]='\0'; + strlcat(buf, "KDE function test", sizeof(buf)); +], + [unsigned long strlcat(char*, const char*, unsigned long)], + [STRLCAT]) +]) + +AC_DEFUN([AC_CHECK_RES_QUERY], +[ + KDE_CHECK_FUNC_EXT(res_query, [ +#include +#include +#include +#include +#include +], +[ +res_query(NULL, 0, 0, NULL, 0); +], + [int res_query(const char *, int, int, unsigned char *, int)], + [RES_QUERY]) +]) + +AC_DEFUN([AC_CHECK_DN_SKIPNAME], +[ + KDE_CHECK_FUNC_EXT(dn_skipname, [ +#include +#include +#include +#include +], +[ +dn_skipname (NULL, NULL); +], + [int dn_skipname (unsigned char *, unsigned char *)], + [DN_SKIPNAME]) +]) + + +AC_DEFUN([AC_FIND_GIF], + [AC_MSG_CHECKING([for giflib]) +AC_CACHE_VAL(ac_cv_lib_gif, +[ac_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then +LIBS="$all_libraries -lgif -lX11 $LIBSOCKET" +else +LIBS="$all_libraries -lgif" +fi +AC_TRY_LINK(dnl +[ +#ifdef __cplusplus +extern "C" { +#endif +int GifLastError(void); +#ifdef __cplusplus +} +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +], + [return GifLastError();], + eval "ac_cv_lib_gif=yes", + eval "ac_cv_lib_gif=no") +LIBS="$ac_save_LIBS" +])dnl +if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif]) +else + AC_MSG_ERROR(You need giflib30. Please install the kdesupport package) +fi +]) + +AC_DEFUN([KDE_FIND_JPEG_HELPER], +[ +AC_MSG_CHECKING([for libjpeg$2]) +AC_CACHE_VAL(ac_cv_lib_jpeg_$1, +[ +ac_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm" +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK( +[ +#ifdef __cplusplus +extern "C" { +#endif +void jpeg_CreateDecompress(); +#ifdef __cplusplus +} +#endif +], +[jpeg_CreateDecompress();], + eval "ac_cv_lib_jpeg_$1=-ljpeg$2", + eval "ac_cv_lib_jpeg_$1=no") +LIBS="$ac_save_LIBS" +CFLAGS="$ac_save_CFLAGS" +]) + +if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then + LIBJPEG="$ac_cv_lib_jpeg_$1" + AC_MSG_RESULT($ac_cv_lib_jpeg_$1) +else + AC_MSG_RESULT(no) + $3 +fi + +]) + +AC_DEFUN([AC_FIND_JPEG], +[ +dnl first look for libraries +KDE_FIND_JPEG_HELPER(6b, 6b, + KDE_FIND_JPEG_HELPER(normal, [], + [ + LIBJPEG= + ] + ) +) + +dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h +dnl requires system dependent includes loaded before it) +jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes" +AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir) +test "x$jpeg_incdir" = xNO && jpeg_incdir= + +dnl if headers _and_ libraries are missing, this is no error, and we +dnl continue with a warning (the user will get no jpeg support in khtml) +dnl if only one is missing, it means a configuration error, but we still +dnl only warn +if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then + AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg]) +else + if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then + AC_MSG_WARN([ +There is an installation error in jpeg support. You seem to have only one +of either the headers _or_ the libraries installed. You may need to either +provide correct --with-extra-... options, or the development package of +libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ +Disabling JPEG support. +]) + else + AC_MSG_WARN([libjpeg not found. disable JPEG support.]) + fi + jpeg_incdir= + LIBJPEG= +fi + +AC_SUBST(LIBJPEG) +AH_VERBATIM(_AC_CHECK_JPEG, +[/* + * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system + * headers and I'm too lazy to write a configure test as long as only + * unixware is related + */ +#ifdef _UNIXWARE +#define HAVE_BOOLEAN +#endif +]) +]) + +AC_DEFUN([KDE_CHECK_QT_JPEG], +[ +if test -n "$LIBJPEG"; then +AC_MSG_CHECKING([if Qt needs $LIBJPEG]) +AC_CACHE_VAL(kde_cv_qt_jpeg, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +ac_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS $LIBQT" +LIBS=`echo $LIBS | sed "s/$LIBJPEG//"` +ac_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK( +[#include ], + [ + int argc; + char** argv; + QApplication app(argc, argv);], + eval "kde_cv_qt_jpeg=no", + eval "kde_cv_qt_jpeg=yes") +LIBS="$ac_save_LIBS" +CXXFLAGS="$ac_save_CXXFLAGS" +AC_LANG_RESTORE +fi +]) + +if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then + AC_MSG_RESULT(yes) + LIBJPEG_QT='$(LIBJPEG)' +else + AC_MSG_RESULT(no) + LIBJPEG_QT= +fi + +]) + +AC_DEFUN([AC_FIND_ZLIB], +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_MSG_CHECKING([for libz]) +AC_CACHE_VAL(ac_cv_lib_z, +[ +kde_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET" +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK(dnl +[ +#include +], +[ + char buf[42]; + gzFile f = (gzFile) 0; + /* this would segfault.. but we only link, don't run */ + (void) gzgets(f, buf, sizeof(buf)); + + return (zlibVersion() == ZLIB_VERSION); +], + eval "ac_cv_lib_z='-lz'", + eval "ac_cv_lib_z=no") +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +if test ! "$ac_cv_lib_z" = no; then + AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz]) + LIBZ="$ac_cv_lib_z" + AC_MSG_RESULT($ac_cv_lib_z) +else + AC_MSG_ERROR(not found. + Possibly configure picks up an outdated version + installed by XFree86. Remove it from your system. + + Check your installation and look into config.log) + LIBZ="" +fi +AC_SUBST(LIBZ) +]) + +AC_DEFUN([KDE_TRY_TIFFLIB], +[ +AC_MSG_CHECKING([for libtiff $1]) + +AC_CACHE_VAL(kde_cv_libtiff_$1, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +kde_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then +LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm" +else +LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm" +fi +kde_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" + +AC_TRY_LINK(dnl +[ +#include +], + [return (TIFFOpen( "", "r") == 0); ], +[ + kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ" +], [ + kde_cv_libtiff_$1=no +]) + +LIBS="$kde_save_LIBS" +CXXFLAGS="$kde_save_CXXFLAGS" +AC_LANG_RESTORE +]) + +if test "$kde_cv_libtiff_$1" = "no"; then + AC_MSG_RESULT(no) + LIBTIFF="" + $3 +else + LIBTIFF="$kde_cv_libtiff_$1" + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff]) + $2 +fi + +]) + +AC_DEFUN([AC_FIND_TIFF], +[ +AC_REQUIRE([K_PATH_X]) +AC_REQUIRE([AC_FIND_ZLIB]) +AC_REQUIRE([AC_FIND_JPEG]) +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + +KDE_TRY_TIFFLIB(tiff, [], + KDE_TRY_TIFFLIB(tiff34)) + +AC_SUBST(LIBTIFF) +]) + +AC_DEFUN([KDE_FIND_LIBEXR], +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_REQUIRE([AC_FIND_ZLIB]) +AC_CACHE_VAL(ac_cv_libexr, +[ + if test -z "$PKG_CONFIG"; then + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + fi + + AC_MSG_CHECKING([for OpenEXR libraries]) + + if test "$PKG_CONFIG" = "no" ; then + AC_MSG_RESULT(no) + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + if !(`$PKG_CONFIG --exists OpenEXR`) ; then + AC_MSG_RESULT(no) + EXRSTATUS=no + else + if !(`$PKG_CONFIG --atleast-version="1.1.1" OpenEXR`) ; then + AC_MSG_RESULT(no) + EXRSTATUS=old + else + kde_save_LIBS="$LIBS" + LIBS="$LIBS $all_libraries $USER_LDFLAGS `pkg-config --libs OpenEXR` $LIBZ" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + kde_save_CXXFLAGS="$CXXFLAGS" + EXR_FLAGS=`$PKG_CONFIG --cflags OpenEXR` + CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES $EXR_FLAGS" + + AC_TRY_LINK(dnl + [ + #include + ], + [ + using namespace Imf; + RgbaInputFile file ("dummy"); + return 0; + ], + eval "ac_cv_libexr='`pkg-config --libs OpenEXR`'", + eval "ac_cv_libexr=no" + ) + LIBS="$kde_save_LIBS" + CXXFLAGS="$kde_save_CXXFLAGS" + AC_LANG_RESTORE + ])dnl + if eval "test ! \"`echo $ac_cv_libexr`\" = no"; then + AC_DEFINE_UNQUOTED(HAVE_EXR, 1, [Define if you have OpenEXR]) + LIB_EXR="$ac_cv_libexr" + AC_MSG_RESULT($ac_cv_libexr) + else + AC_MSG_RESULT(no) + LIB_EXR="" + fi + fi + fi + fi + AC_SUBST(LIB_EXR) + AC_SUBST(EXR_FLAGS) +]) + + + +AC_DEFUN([AC_FIND_PNG], +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_REQUIRE([AC_FIND_ZLIB]) +AC_MSG_CHECKING([for libpng]) +AC_CACHE_VAL(ac_cv_lib_png, +[ +kde_save_LIBS="$LIBS" +if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then +LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET" +else +LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm" +fi +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" + +AC_TRY_LINK(dnl + [ + #include + ], + [ + png_structp png_ptr = png_create_read_struct( /* image ptr */ + PNG_LIBPNG_VER_STRING, 0, 0, 0 ); + return( png_ptr != 0 ); + ], + eval "ac_cv_lib_png='-lpng $LIBZ -lm'", + eval "ac_cv_lib_png=no" +) +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then + AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng]) + LIBPNG="$ac_cv_lib_png" + AC_SUBST(LIBPNG) + AC_MSG_RESULT($ac_cv_lib_png) +else + AC_MSG_RESULT(no) + LIBPNG="" + AC_SUBST(LIBPNG) +fi +]) + + +AC_DEFUN([AC_FIND_JASPER], +[ +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_REQUIRE([AC_FIND_JPEG]) +AC_MSG_CHECKING([for jasper]) +AC_CACHE_VAL(ac_cv_jasper, +[ +kde_save_LIBS="$LIBS" +LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm" +kde_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS $all_includes $USER_INCLUDES" + +AC_TRY_LINK(dnl + [ + #include + ], + [ + return( jas_init() ); + ], + eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'", + eval "ac_cv_jasper=no" +) +LIBS="$kde_save_LIBS" +CFLAGS="$kde_save_CFLAGS" +])dnl +if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then + AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper]) + LIB_JASPER="$ac_cv_jasper" + AC_MSG_RESULT($ac_cv_jasper) +else + AC_MSG_RESULT(no) + LIB_JASPER="" +fi +AC_SUBST(LIB_JASPER) +]) + +AC_DEFUN([AC_CHECK_BOOL], +[ + AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool]) +]) + +AC_DEFUN([AC_CHECK_GNU_EXTENSIONS], +[ +AC_MSG_CHECKING(if you need GNU extensions) +AC_CACHE_VAL(ac_cv_gnu_extensions, +[ +cat > conftest.c << EOF +#include + +#ifdef __GNU_LIBRARY__ +yes +#endif +EOF + +if (eval "$ac_cpp conftest.c") 2>&5 | + egrep "yes" >/dev/null 2>&1; then + rm -rf conftest* + ac_cv_gnu_extensions=yes +else + ac_cv_gnu_extensions=no +fi +]) + +AC_MSG_RESULT($ac_cv_gnu_extensions) +if test "$ac_cv_gnu_extensions" = "yes"; then + AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions]) +fi +]) + +AC_DEFUN([KDE_CHECK_COMPILER_FLAG], +[ +AC_MSG_CHECKING([whether $CXX supports -$1]) +kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'` +AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache, +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS -$1" + AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], []) + CXXFLAGS="$save_CXXFLAGS" + AC_LANG_RESTORE +]) +if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then + AC_MSG_RESULT(yes) + : + $2 +else + AC_MSG_RESULT(no) + : + $3 +fi +]) + +AC_DEFUN([KDE_CHECK_C_COMPILER_FLAG], +[ +AC_MSG_CHECKING([whether $CC supports -$1]) +kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'` +AC_CACHE_VAL(kde_cv_prog_cc_$kde_cache, +[ + AC_LANG_SAVE + AC_LANG_C + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -$1" + AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cc_$kde_cache=yes"], []) + CFLAGS="$save_CFLAGS" + AC_LANG_RESTORE +]) +if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then + AC_MSG_RESULT(yes) + : + $2 +else + AC_MSG_RESULT(no) + : + $3 +fi +]) + + +dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables +dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever]) +dnl it's all white-space separated +AC_DEFUN([AC_REMOVE_FORBIDDEN], +[ __val=$$1 + __forbid=" $2 " + if test -n "$__val"; then + __new="" + ac_save_IFS=$IFS + IFS=" " + for i in $__val; do + case "$__forbid" in + *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;; + *) # Careful to not add spaces, where there were none, because otherwise + # libtool gets confused, if we change e.g. CXX + if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;; + esac + done + IFS=$ac_save_IFS + $1=$__new + fi +]) + + +AC_DEFUN([KDE_CHECK_FOR_BAD_COMPILER], +[ + AC_MSG_CHECKING([whether $CC is blacklisted]) + + dnl In theory we have tu run this test against $CC and $CXX + dnl in C and in C++ mode, because its perfectly legal for + dnl the user to mix compiler versions, since C has a defined + dnl ABI. + dnl + dnl For now, we assume the user is not on crack. + + AC_TRY_COMPILE([ +#ifdef __GNUC__ +#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0 +choke me +#endif +#endif +], , + kde_bad_compiler=no, + kde_bad_compiler=yes +) + + AC_MSG_RESULT($kde_bad_compiler) + +if test "$kde_bad_compiler" = "yes"; then + AC_MSG_ERROR([ + +This particular compiler version is blacklisted because it +is known to miscompile KDE. Please use a newer version, or +if that is not yet available, choose an older version. + +Please do not report a bug or bother us reporting this +configure error. We know about it, and we introduced +it by intention to avoid untraceable bugs or crashes in KDE. + +]) +fi + +]) + + +AC_DEFUN([KDE_CHECK_FOR_OPT_NOINLINE_MATCH], +[ + AC_CACHE_CHECK([whether system headers can cope with -O2 -fno-inline], + kde_cv_opt_noinline_match, + [ + kde_cv_opt_noinline_match=irrelevant + dnl if we don't use both -O2 and -fno-inline, this check is moot + if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \ + && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then + + ac_cflags_save="$CFLAGS" + CFLAGS="$CFLAGS -D_USE_GNU" + + AC_TRY_LINK([ + #include +], [ const char *pt, *et; + et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ; +], + kde_cv_opt_noinline_match=yes, + kde_cv_opt_noinline_match=no + ) + + CFLAGS="$ac_cflags_save" + fi + ]) +]) + + +dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given +AC_DEFUN([AC_VALIDIFY_CXXFLAGS], +[dnl +if test "x$kde_use_qt_emb" != "xyes"; then + AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath]) + AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath]) +else + AC_REMOVE_FORBIDDEN(CXX, [-rpath]) + AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath]) +fi +]) + +AC_DEFUN([AC_CHECK_COMPILERS], +[ + AC_ARG_ENABLE(debug, + AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]), + [ + case $enableval in + yes) + kde_use_debug_code="yes" + kde_use_debug_define=no + ;; + full) + kde_use_debug_code="full" + kde_use_debug_define=no + ;; + *) + kde_use_debug_code="no" + kde_use_debug_define=yes + ;; + esac + ], + [kde_use_debug_code="no" + kde_use_debug_define=no + ]) + + dnl Just for configure --help + AC_ARG_ENABLE(dummyoption, + AC_HELP_STRING([--disable-debug], + [disables debug output and debug symbols [default=no]]), + [],[]) + + AC_ARG_ENABLE(strict, + AC_HELP_STRING([--enable-strict], + [compiles with strict compiler options (may not work!)]), + [ + if test $enableval = "no"; then + kde_use_strict_options="no" + else + kde_use_strict_options="yes" + fi + ], [kde_use_strict_options="no"]) + + AC_ARG_ENABLE(warnings,AC_HELP_STRING([--disable-warnings],[disables compilation with -Wall and similar]), + [ + if test $enableval = "no"; then + kde_use_warnings="no" + else + kde_use_warnings="yes" + fi + ], [kde_use_warnings="yes"]) + + dnl enable warnings for debug build + if test "$kde_use_debug_code" != "no"; then + kde_use_warnings=yes + fi + + AC_ARG_ENABLE(profile,AC_HELP_STRING([--enable-profile],[creates profiling infos [default=no]]), + [kde_use_profiling=$enableval], + [kde_use_profiling="no"] + ) + + dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS + CFLAGS=" $CFLAGS" + + AC_PROG_CC + + AC_PROG_CPP + + if test "$GCC" = "yes"; then + if test "$kde_use_debug_code" != "no"; then + if test $kde_use_debug_code = "full"; then + CFLAGS="-g3 -fno-inline $CFLAGS" + else + CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS" + fi + else + CFLAGS="-O2 $CFLAGS" + fi + fi + + if test "$kde_use_debug_define" = "yes"; then + CFLAGS="-DNDEBUG $CFLAGS" + fi + + + case "$host" in + *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";; + *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";; + esac + + if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then + LDFLAGS="" + fi + + CXXFLAGS=" $CXXFLAGS" + + AC_PROG_CXX + + KDE_CHECK_FOR_BAD_COMPILER + + if test "$GXX" = "yes" || test "$CXX" = "KCC"; then + if test "$kde_use_debug_code" != "no"; then + if test "$CXX" = "KCC"; then + CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS" + else + if test "$kde_use_debug_code" = "full"; then + CXXFLAGS="-g3 -fno-inline $CXXFLAGS" + else + CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS" + fi + fi + KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"]) + + dnl convenience compiler flags + KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""]) + AC_SUBST(WOVERLOADED_VIRTUAL) + else + if test "$CXX" = "KCC"; then + CXXFLAGS="+K3 $CXXFLAGS" + else + CXXFLAGS="-O2 $CXXFLAGS" + fi + fi + fi + + if test "$kde_use_debug_define" = "yes"; then + CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS" + fi + + if test "$kde_use_profiling" = "yes"; then + KDE_CHECK_COMPILER_FLAG(pg, + [ + CFLAGS="-pg $CFLAGS" + CXXFLAGS="-pg $CXXFLAGS" + ]) + fi + + if test "$kde_use_warnings" = "yes"; then + if test "$GCC" = "yes"; then + CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS" + case $host in + *-*-linux-gnu) + CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS" + KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"]) + KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"]) + ;; + esac + KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"]) + KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) + dnl ### FIXME: revert for KDE 4 + KDE_CHECK_COMPILER_FLAG(Wno-non-virtual-dtor,[CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"]) + fi + fi + + if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then + CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS" + fi + + AC_ARG_ENABLE(pch, + AC_HELP_STRING([--enable-pch], + [enables precompiled header support (currently only KCC or gcc >=3.4+unsermake) [default=no]]), + [ kde_use_pch=$enableval ],[ kde_use_pch=no ]) + + HAVE_GCC_VISIBILITY=0 + AC_SUBST([HAVE_GCC_VISIBILITY]) + + if test "$GXX" = "yes"; then + gcc_no_reorder_blocks=NO + KDE_CHECK_COMPILER_FLAG(fno-reorder-blocks,[gcc_no_reorder_blocks=YES]) + if test $kde_use_debug_code != "no" && \ + test $kde_use_debug_code != "full" && \ + test "YES" = "$gcc_no_reorder_blocks" ; then + CXXFLAGS="$CXXFLAGS -fno-reorder-blocks" + CFLAGS="$CFLAGS -fno-reorder-blocks" + fi + KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) + KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) + KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"]) + KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= ) + ENABLE_PERMISSIVE_FLAG="-fpermissive" + + if test "$kde_use_pch" = "yes"; then + AC_MSG_CHECKING(whether gcc supports precompiling c header files) + echo >conftest.h + if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then + kde_gcc_supports_pch=yes + AC_MSG_RESULT(yes) + else + kde_gcc_supports_pch=no + AC_MSG_RESULT(no) + fi + if test "$kde_gcc_supports_pch" = "yes"; then + AC_MSG_CHECKING(whether gcc supports precompiling c++ header files) + if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then + kde_gcc_supports_pch=yes + AC_MSG_RESULT(yes) + else + kde_gcc_supports_pch=no + AC_MSG_RESULT(no) + fi + fi + rm -f conftest.h conftest.h.gch + fi + + KDE_CHECK_FOR_OPT_NOINLINE_MATCH + if test "x$kde_cv_opt_noinline_match" = "xno" ; then + CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`" + fi + fi + AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes") + if test "$CXX" = "KCC"; then + dnl unfortunately we currently cannot disable exception support in KCC + dnl because doing so is binary incompatible and Qt by default links with exceptions :-( + dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"]) + dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= ) + + if test "$kde_use_pch" = "yes"; then + dnl TODO: support --pch-dir! + KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"]) + dnl the below works (but the dir must exist), but it's + dnl useless for a whole package. + dnl The are precompiled headers for each source file, so when compiling + dnl from scratch, it doesn't make a difference, and they take up + dnl around ~5Mb _per_ sourcefile. + dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp, + dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"]) + fi + dnl this flag controls inlining. by default KCC inlines in optimisation mode + dnl all implementations that are defined inside the class {} declaration. + dnl because of templates-compatibility with broken gcc compilers, this + dnl can cause excessive inlining. This flag limits it to a sane level + KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"]) + KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"]) + KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"]) + KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"]) + dnl Some source files are shared between multiple executables + dnl (or libraries) and some of those need template instantiations. + dnl In that case KCC needs to compile those sources with + dnl --one_instantiation_per_object. To make it easy for us we compile + dnl _all_ objects with that flag (--one_per is a shorthand). + KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"]) + fi + AC_SUBST(USE_EXCEPTIONS) + dnl obsolete macro - provided to keep things going + USE_RTTI= + AC_SUBST(USE_RTTI) + + case "$host" in + *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;; + *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";; + *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";; + *-*-solaris*) + if test "$GXX" = yes; then + libstdcpp=`$CXX -print-file-name=libstdc++.so` + if test ! -f $libstdcpp; then + AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so]) + fi + fi + ;; + esac + + AC_VALIDIFY_CXXFLAGS + + AC_PROG_CXXCPP + + if test "$GCC" = yes; then + NOOPT_CFLAGS=-O0 + fi + KDE_CHECK_COMPILER_FLAG(O0,[NOOPT_CXXFLAGS=-O0]) + + AC_ARG_ENABLE(coverage, + AC_HELP_STRING([--enable-coverage],[use gcc coverage testing]), [ + if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then + ac_coverage_compiler="-fprofile-arcs -ftest-coverage" + ac_coverage_linker="-lgcc" + elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then + ac_coverage_compiler="-fprofile-arcs -ftest-coverage" + ac_coverage_linker="" + else + AC_MSG_ERROR([coverage with your compiler is not supported]) + fi + CFLAGS="$CFLAGS $ac_coverage_compiler" + CXXFLAGS="$CXXFLAGS $ac_coverage_compiler" + LDFLAGS="$LDFLAGS $ac_coverage_linker" + ]) + + AC_SUBST(NOOPT_CXXFLAGS) + AC_SUBST(NOOPT_CFLAGS) + AC_SUBST(ENABLE_PERMISSIVE_FLAG) + + KDE_CHECK_NEW_LDFLAGS + KDE_CHECK_FINAL + KDE_CHECK_CLOSURE + KDE_CHECK_NMCHECK + + ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), []) +]) + +AC_DEFUN([KDE_CHECK_VISIBILITY_GCC_BUG], + [ + AC_CACHE_CHECK([for gcc -fvisibility-inlines-hidden bug], kde_cv_val_gcc_visibility_bug, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + + safe_CXXFLAGS=$CXXFLAGS + safe_LDFLAGS=$LDFLAGS + CXXFLAGS="$CXXFLAGS -fPIC -fvisibility-inlines-hidden -O0" + LDFLAGS="$LDFLAGS -shared -fPIC" + + AC_TRY_LINK( + [ + /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */ + #include + int some_function( void ) __attribute__ ((visibility("default"))); + int some_function( void ) + { + std::string s("blafasel"); + return 0; + } + ], [/* elvis is alive */], + kde_cv_val_gcc_visibility_bug=no, kde_cv_val_gcc_visibility_bug=yes) + + CXXFLAGS=$safe_CXXFLAGS + LDFLAGS=$safe_LDFLAGS + AC_LANG_RESTORE + ] + ) + + if test x$kde_cv_val_gcc_visibility_bug = xno; then + CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden" + fi + ] +) + +AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY], +[ + AC_BEFORE([AC_PATH_QT_1_3], [KDE_ENABLE_HIDDEN_VISIBILITY]) + + AC_MSG_CHECKING([grepping for visibility push/pop in headers]) + + if test "x$GXX" = "xyes"; then + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_EGREP_CPP( + [GCC visibility push], + [ #include + ], + [ + AC_MSG_RESULT(yes) + kde_stdc_visibility_patched=yes ], + [ + AC_MSG_RESULT(no) + AC_MSG_WARN([Your libstdc++ doesn't appear to be patched for + visibility support. Disabling -fvisibility=hidden]) + + kde_stdc_visibility_patched=no ]) + + AC_LANG_RESTORE + + kde_have_gcc_visibility=no + KDE_CHECK_COMPILER_FLAG(fvisibility=hidden, + [ + kde_have_gcc_visibility=yes + dnl the whole toolchain is just a mess, gcc is just too buggy + dnl to handle STL with visibility enabled. Lets reconsider + dnl when gcc 4.2 is out or when things get fixed in the compiler. + dnl Contact mueller@kde.org for details. + AC_ARG_ENABLE(gcc-hidden-visibility, + AC_HELP_STRING([--enable-gcc-hidden-visibility],[toolchain hidden visibility [default=no]]), + [kde_have_gcc_visibility=$enableval], + [kde_have_gcc_visibility=no]) + + AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + + safe_CXXFLAGS=$CXXFLAGS + CXXFLAGS="$CXXFLAGS $all_includes" + + AC_TRY_COMPILE( + [ +#include +#if Q_EXPORT - 0 != 0 +/* if this compiles, then Q_EXPORT is undefined */ +/* if Q_EXPORT is nonempty, this will break compilation */ +#endif + ], [/* elvis is alive */], + kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes) + + CXXFLAGS=$safe_CXXFLAGS + AC_LANG_RESTORE + ] + ) + + if test x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched = "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then + CXXFLAGS="$CXXFLAGS -fvisibility=hidden" + KDE_CHECK_VISIBILITY_GCC_BUG + HAVE_GCC_VISIBILITY=1 + AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported]) + fi + ]) + fi +]) + +AC_DEFUN([KDE_ADD_DEPENDENCIES], +[ + [A]M_DEPENDENCIES(CC) + [A]M_DEPENDENCIES(CXX) +]) + +dnl just a wrapper to clean up configure.in +AC_DEFUN([KDE_PROG_LIBTOOL], +[ +AC_REQUIRE([AC_CHECK_COMPILERS]) +AC_REQUIRE([AC_ENABLE_SHARED]) +AC_REQUIRE([AC_ENABLE_STATIC]) + +AC_REQUIRE([AC_LIBTOOL_DLOPEN]) +AC_REQUIRE([KDE_CHECK_LIB64]) + +AC_OBJEXT +AC_EXEEXT + +AM_PROG_LIBTOOL +AC_LIBTOOL_CXX + +LIBTOOL_SHELL="/bin/sh ./libtool" +# LIBTOOL="$LIBTOOL --silent" +KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)" +AC_SUBST(KDE_PLUGIN) + +# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs. +KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)" +AC_SUBST(KDE_CHECK_PLUGIN) + +# we patch configure quite some so we better keep that consistent for incremental runs +AC_SUBST(AUTOCONF,'$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure') +]) + +AC_DEFUN([KDE_CHECK_LIB64], +[ + AC_ARG_ENABLE(libsuffix, + AC_HELP_STRING([--enable-libsuffix], + [/lib directory suffix (64,32,none,auto[=default])]), + kdelibsuff=$enableval, kdelibsuff="auto") + + if test "$kdelibsuff" = "auto"; then + +cat > conftest.c << EOF +#include +int main() { + return 0; +} +EOF + kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{ + s,.*/lib\([[^\/]]*\)/.*,\1, + p +}'` + rm -rf conftest.* + fi + + if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then + kdelibsuff= + fi + if test -z "$kdelibsuff"; then + AC_MSG_RESULT([not using lib directory suffix]) + AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories) + else + if test "$libdir" = '${exec_prefix}/lib'; then + libdir="$libdir${kdelibsuff}" + AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms + fi + AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${kdelibsuff}"], Suffix for lib directories) + AC_MSG_RESULT([using lib directory suffix $kdelibsuff]) + fi +]) + +AC_DEFUN([KDE_CHECK_TYPES], +[ AC_CHECK_SIZEOF(int, 4)dnl + AC_CHECK_SIZEOF(short)dnl + AC_CHECK_SIZEOF(long, 4)dnl + AC_CHECK_SIZEOF(char *, 4)dnl +])dnl + +dnl Not used - kept for compat only? +AC_DEFUN([KDE_DO_IT_ALL], +[ +AC_CANONICAL_SYSTEM +AC_ARG_PROGRAM +AM_INIT_AUTOMAKE($1, $2) +AM_DISABLE_LIBRARIES +AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) +AC_CHECK_COMPILERS +KDE_PROG_LIBTOOL +AM_KDE_WITH_NLS +AC_PATH_KDE +]) + +AC_DEFUN([AC_CHECK_RPATH], +[ +AC_MSG_CHECKING(for rpath) +AC_ARG_ENABLE(rpath, + AC_HELP_STRING([--disable-rpath],[do not use the rpath feature of ld]), + USE_RPATH=$enableval, USE_RPATH=yes) + +if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then + + KDE_RPATH="-R \$(libdir)" + + if test "$kde_libraries" != "$libdir"; then + KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)" + fi + + if test -n "$qt_libraries"; then + KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)" + fi + dnl $x_libraries is set to /usr/lib in case + if test -n "$X_LDFLAGS"; then + X_RPATH="-R \$(x_libraries)" + KDE_RPATH="$KDE_RPATH $X_RPATH" + fi + if test -n "$KDE_EXTRA_RPATH"; then + KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)" + fi +fi +AC_SUBST(KDE_EXTRA_RPATH) +AC_SUBST(KDE_RPATH) +AC_SUBST(X_RPATH) +AC_MSG_RESULT($USE_RPATH) +]) + +dnl Check for the type of the third argument of getsockname +AC_DEFUN([AC_CHECK_SOCKLEN_T], +[ + AC_MSG_CHECKING(for socklen_t) + AC_CACHE_VAL(kde_cv_socklen_t, + [ + AC_LANG_PUSH(C++) + kde_cv_socklen_t=no + AC_TRY_COMPILE([ + #include + #include + ], + [ + socklen_t len; + getpeername(0,0,&len); + ], + [ + kde_cv_socklen_t=yes + kde_cv_socklen_t_equiv=socklen_t + ]) + AC_LANG_POP(C++) + ]) + AC_MSG_RESULT($kde_cv_socklen_t) + if test $kde_cv_socklen_t = no; then + AC_MSG_CHECKING([for socklen_t equivalent for socket functions]) + AC_CACHE_VAL(kde_cv_socklen_t_equiv, + [ + kde_cv_socklen_t_equiv=int + AC_LANG_PUSH(C++) + for t in int size_t unsigned long "unsigned long"; do + AC_TRY_COMPILE([ + #include + #include + ], + [ + $t len; + getpeername(0,0,&len); + ], + [ + kde_cv_socklen_t_equiv="$t" + break + ]) + done + AC_LANG_POP(C++) + ]) + AC_MSG_RESULT($kde_cv_socklen_t_equiv) + fi + AC_DEFINE_UNQUOTED(kde_socklen_t, $kde_cv_socklen_t_equiv, + [type to use in place of socklen_t if not defined]) + AC_DEFINE_UNQUOTED(ksize_t, $kde_cv_socklen_t_equiv, + [type to use in place of socklen_t if not defined (deprecated, use kde_socklen_t)]) +]) + +dnl This is a merge of some macros out of the gettext aclocal.m4 +dnl since we don't need anything, I took the things we need +dnl the copyright for them is: +dnl > +dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +dnl This Makefile.in 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 This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without +dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A +dnl PARTICULAR PURPOSE. +dnl > +dnl for this file it is relicensed under LGPL + +AC_DEFUN([AM_KDE_WITH_NLS], + [ + dnl If we use NLS figure out what method + + AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt, + [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + + if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then + AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it]) + GMSGFMT=":" + fi + MSGFMT=$GMSGFMT + AC_SUBST(GMSGFMT) + AC_SUBST(MSGFMT) + + AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no 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 programs is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + AC_SUBST(XGETTEXT) + + ]) + +# Search path for a program which passes the given test. +# Ulrich Drepper , 1996. + +# serial 1 +# Stephan Kulow: I appended a _KDE against name conflicts + +dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN([AM_PATH_PROG_WITH_TEST_KDE], +[# 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 -n "[$]$1"; then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + + +# Check whether LC_MESSAGES is available in . +# Ulrich Drepper , 1995. + +# serial 1 + +AC_DEFUN([AM_LC_MESSAGES], + [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 locale.h file contains LC_MESSAGES]) + fi + fi]) + +dnl From Jim Meyering. +dnl FIXME: migrate into libit. + +AC_DEFUN([AM_FUNC_OBSTACK], +[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack, + [AC_TRY_LINK([#include "obstack.h"], + [struct obstack *mem;obstack_free(mem,(char *) 0)], + am_cv_func_obstack=yes, + am_cv_func_obstack=no)]) + if test $am_cv_func_obstack = yes; then + AC_DEFINE(HAVE_OBSTACK) + else + LIBOBJS="$LIBOBJS obstack.o" + fi +]) + +dnl From Jim Meyering. Use this if you use the GNU error.[ch]. +dnl FIXME: Migrate into libit + +AC_DEFUN([AM_FUNC_ERROR_AT_LINE], +[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line, + [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");], + am_cv_lib_error_at_line=yes, + am_cv_lib_error_at_line=no)]) + if test $am_cv_lib_error_at_line = no; then + LIBOBJS="$LIBOBJS error.o" + fi + AC_SUBST(LIBOBJS)dnl +]) + +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995. + +# serial 1 +# Stephan Kulow: I put a KDE in it to avoid name conflicts + +AC_DEFUN([AM_KDE_GNU_GETTEXT], + [AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([AM_KDE_WITH_NLS])dnl + AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h]) + AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \ +__argz_count __argz_stringify __argz_next]) + + AC_MSG_CHECKING(for stpcpy) + AC_CACHE_VAL(kde_cv_func_stpcpy, + [ + kde_safe_cxxflags=$CXXFLAGS + CXXFLAGS="-Werror" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_COMPILE([ + #include + ], + [ + char buffer[200]; + stpcpy(buffer, buffer); + ], + kde_cv_func_stpcpy=yes, + kde_cv_func_stpcpy=no) + AC_LANG_RESTORE + CXXFLAGS=$kde_safe_cxxflags + ]) + AC_MSG_RESULT($kde_cv_func_stpcpy) + if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then + AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy]) + fi + + AM_LC_MESSAGES + + if test "x$CATOBJEXT" != "x"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for lang in ${LINGUAS=$ALL_LINGUAS}; do + case "$ALL_LINGUAS" in + *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; + esac + 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 + + ]) + +AC_DEFUN([AC_HAVE_XPM], + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$XPM_LDFLAGS" && XPM_LDFLAGS= + test -z "$XPM_INCLUDE" && XPM_INCLUDE= + + AC_ARG_WITH(xpm,AC_HELP_STRING([--without-xpm],[disable color pixmap XPM tests]), + xpm_test=$withval, xpm_test="yes") + if test "x$xpm_test" = xno; then + ac_cv_have_xpm=no + else + AC_MSG_CHECKING(for XPM) + AC_CACHE_VAL(ac_cv_have_xpm, + [ + ac_save_ldflags="$LDFLAGS" + ac_save_cflags="$CFLAGS" + if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then + LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET" + else + LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET" + fi + CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES" + test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS" + AC_TRY_LINK([#include ],[], + ac_cv_have_xpm="yes",ac_cv_have_xpm="no") + LDFLAGS="$ac_save_ldflags" + CFLAGS="$ac_save_cflags" + ])dnl + + if test "$ac_cv_have_xpm" = no; then + AC_MSG_RESULT(no) + XPM_LDFLAGS="" + XPMINC="" + $2 + else + AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support]) + if test "$XPM_LDFLAGS" = ""; then + XPMLIB='-lXpm $(LIB_X11)' + else + XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)' + fi + if test "$XPM_INCLUDE" = ""; then + XPMINC="" + else + XPMINC="-I$XPM_INCLUDE" + fi + AC_MSG_RESULT(yes) + $1 + fi + fi + AC_SUBST(XPMINC) + AC_SUBST(XPMLIB) +]) + +AC_DEFUN([AC_HAVE_DPMS], + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS= + test -z "$DPMS_INCLUDE" && DPMS_INCLUDE= + DPMS_LIB= + + AC_ARG_WITH(dpms,AC_HELP_STRING([--without-dpms],[disable DPMS power saving]), + dpms_test=$withval, dpms_test="yes") + if test "x$dpms_test" = xno; then + ac_cv_have_dpms=no + else + AC_MSG_CHECKING(for DPMS) + dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms. + dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms". + AC_CACHE_VAL(ac_cv_have_dpms, + [ + if test "x$kde_use_qt_emb" = "xyes" || test "x$kde_use_qt_mac" = "xyes"; then + AC_MSG_RESULT(no) + ac_cv_have_dpms="no" + else + ac_save_ldflags="$LDFLAGS" + ac_save_cflags="$CFLAGS" + ac_save_libs="$LIBS" + LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries" + LIBS="-lX11 -lXext $LIBSOCKET" + CFLAGS="$CFLAGS $X_INCLUDES" + test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" + AC_TRY_LINK([ + #include + #include + #include + #include + int foo_test_dpms() + { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], + ac_cv_have_dpms="yes", [ + LIBS="-lXdpms $LIBS" + AC_TRY_LINK([ + #include + #include + #include + #include + int foo_test_dpms() + { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[], + [ + ac_cv_have_dpms="-lXdpms" + ],ac_cv_have_dpms="no") + ]) + LDFLAGS="$ac_save_ldflags" + CFLAGS="$ac_save_cflags" + LIBS="$ac_save_libs" + fi + ])dnl + + if test "$ac_cv_have_dpms" = no; then + AC_MSG_RESULT(no) + DPMS_LDFLAGS="" + DPMSINC="" + $2 + else + AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support]) + if test "$ac_cv_have_dpms" = "-lXdpms"; then + DPMS_LIB="-lXdpms" + fi + if test "$DPMS_LDFLAGS" = ""; then + DPMSLIB="$DPMS_LIB "'$(LIB_X11)' + else + DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)' + fi + if test "$DPMS_INCLUDE" = ""; then + DPMSINC="" + else + DPMSINC="-I$DPMS_INCLUDE" + fi + AC_MSG_RESULT(yes) + $1 + fi + fi + ac_save_cflags="$CFLAGS" + CFLAGS="$CFLAGS $X_INCLUDES" + test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS" + AH_TEMPLATE(HAVE_DPMSCAPABLE_PROTO, + [Define if you have the DPMSCapable prototype in ]) + AC_CHECK_DECL(DPMSCapable, + AC_DEFINE(HAVE_DPMSCAPABLE_PROTO),, + [#include + #include ]) + AH_TEMPLATE(HAVE_DPMSINFO_PROTO, + [Define if you have the DPMSInfo prototype in ]) + AC_CHECK_DECL(DPMSInfo, + AC_DEFINE(HAVE_DPMSINFO_PROTO),, + [#include + #include ]) + CFLAGS="$ac_save_cflags" + AC_SUBST(DPMSINC) + AC_SUBST(DPMSLIB) +]) + +AC_DEFUN([AC_HAVE_GL], + [AC_REQUIRE_CPP()dnl + AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) + + test -z "$GL_LDFLAGS" && GL_LDFLAGS= + test -z "$GL_INCLUDE" && GL_INCLUDE= + + AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]), + gl_test=$withval, gl_test="yes") + if test "x$kde_use_qt_emb" = "xyes"; then + # GL and Qt Embedded is a no-go for now. + ac_cv_have_gl=no + elif test "x$gl_test" = xno; then + ac_cv_have_gl=no + else + AC_MSG_CHECKING(for GL) + AC_CACHE_VAL(ac_cv_have_gl, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_save_ldflags=$LDFLAGS + ac_save_cxxflags=$CXXFLAGS + ac_save_libs=$LIBS + LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries" + LIBS="$LIBS -lGL -lGLU" + test "x$kde_use_qt_mac" != xyes && test "x$kde_use_qt_emb" != xyes && LIBS="$LIBS -lX11" + LIBS="$LIBS $LIB_XEXT -lm $LIBSOCKET" + CXXFLAGS="$CFLAGS $X_INCLUDES" + test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS" + AC_TRY_LINK([#include +#include +], [], + ac_cv_have_gl="yes", ac_cv_have_gl="no") + AC_LANG_RESTORE + LDFLAGS=$ac_save_ldflags + CXXFLAGS=$ac_save_cxxflags + LIBS=$ac_save_libs + ])dnl + + if test "$ac_cv_have_gl" = "no"; then + AC_MSG_RESULT(no) + GL_LDFLAGS="" + GLINC="" + $2 + else + AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)]) + if test "$GL_LDFLAGS" = ""; then + GLLIB='-lGLU -lGL $(LIB_X11)' + else + GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)' + fi + if test "$GL_INCLUDE" = ""; then + GLINC="" + else + GLINC="-I$GL_INCLUDE" + fi + AC_MSG_RESULT($ac_cv_have_gl) + $1 + fi + fi + AC_SUBST(GLINC) + AC_SUBST(GLLIB) +]) + + + dnl shadow password and PAM magic - maintained by ossi@kde.org + +AC_DEFUN([KDE_PAM], [ + AC_REQUIRE([KDE_CHECK_LIBDL]) + + want_pam= + AC_ARG_WITH(pam, + AC_HELP_STRING([--with-pam[=ARG]],[enable support for PAM: ARG=[yes|no|service name]]), + [ if test "x$withval" = "xyes"; then + want_pam=yes + pam_service=kde + elif test "x$withval" = "xno"; then + want_pam=no + else + want_pam=yes + pam_service=$withval + fi + ], [ pam_service=kde ]) + + use_pam= + PAMLIBS= + if test "x$want_pam" != xno; then + AC_CHECK_LIB(pam, pam_start, [ + AC_CHECK_HEADER(security/pam_appl.h, + [ pam_header=security/pam_appl.h ], + [ AC_CHECK_HEADER(pam/pam_appl.h, + [ pam_header=pam/pam_appl.h ], + [ + AC_MSG_WARN([PAM detected, but no headers found! +Make sure you have the necessary development packages installed.]) + ] + ) + ] + ) + ], , $LIBDL) + if test -z "$pam_header"; then + if test "x$want_pam" = xyes; then + AC_MSG_ERROR([--with-pam was specified, but cannot compile with PAM!]) + fi + else + AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)]) + PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL" + use_pam=yes + + dnl darwin claims to be something special + if test "$pam_header" = "pam/pam_appl.h"; then + AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your PAM headers are in pam/ instead of security/]) + fi + + dnl test whether struct pam_message is const (Linux) or not (Sun) + AC_MSG_CHECKING(for const pam_message) + AC_EGREP_HEADER([struct pam_message], $pam_header, + [ AC_EGREP_HEADER([const struct pam_message], $pam_header, + [AC_MSG_RESULT([const: Linux-type PAM])], + [AC_MSG_RESULT([nonconst: Sun-type PAM]) + AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])] + )], + [AC_MSG_RESULT([not found - assume const, Linux-type PAM])]) + fi + fi + + AC_SUBST(PAMLIBS) +]) + +dnl DEF_PAM_SERVICE(arg name, full name, define name) +AC_DEFUN([DEF_PAM_SERVICE], [ + AC_ARG_WITH($1-pam, + AC_HELP_STRING([--with-$1-pam=[val]],[override PAM service from --with-pam for $2]), + [ if test "x$use_pam" = xyes; then + $3_PAM_SERVICE=$withval + else + AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected. +You may want to enforce it by using --with-pam.]) + fi + ], + [ if test "x$use_pam" = xyes; then + $3_PAM_SERVICE="$pam_service" + fi + ]) + if test -n "$$3_PAM_SERVICE"; then + AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE]) + AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2]) + fi + AC_SUBST($3_PAM_SERVICE) +]) + +AC_DEFUN([KDE_SHADOWPASSWD], [ + AC_REQUIRE([KDE_PAM]) + + AC_CHECK_LIB(shadow, getspent, + [ LIBSHADOW="-lshadow" + ac_use_shadow=yes + ], + [ dnl for UnixWare + AC_CHECK_LIB(gen, getspent, + [ LIBGEN="-lgen" + ac_use_shadow=yes + ], + [ AC_CHECK_FUNC(getspent, + [ ac_use_shadow=yes ], + [ ac_use_shadow=no ]) + ]) + ]) + AC_SUBST(LIBSHADOW) + AC_SUBST(LIBGEN) + + AC_MSG_CHECKING([for shadow passwords]) + + AC_ARG_WITH(shadow, + AC_HELP_STRING([--with-shadow],[If you want shadow password support]), + [ if test "x$withval" != "xno"; then + use_shadow=yes + else + use_shadow=no + fi + ], [ + use_shadow="$ac_use_shadow" + ]) + + if test "x$use_shadow" = xyes; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords]) + else + AC_MSG_RESULT(no) + LIBSHADOW= + LIBGEN= + fi + + dnl finally make the relevant binaries setuid root, if we have shadow passwds. + dnl this still applies, if we could use it indirectly through pam. + if test "x$use_shadow" = xyes || + ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then + case $host in + *-*-freebsd* | *-*-netbsd* | *-*-openbsd*) + SETUIDFLAGS="-m 4755 -o root";; + *) + SETUIDFLAGS="-m 4755";; + esac + fi + AC_SUBST(SETUIDFLAGS) + +]) + +AC_DEFUN([KDE_PASSWDLIBS], [ + AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT + AC_REQUIRE([KDE_PAM]) + AC_REQUIRE([KDE_SHADOWPASSWD]) + + if test "x$use_pam" = "xyes"; then + PASSWDLIBS="$PAMLIBS" + else + PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN" + fi + + dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but + dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires + dnl root to read, so kcheckpass needs to be root (even when using pam, since pam + dnl may need to read /etc/master.passwd). + case $host in + *-*-freebsd*) + SETUIDFLAGS="-m 4755 -o root" + ;; + *) + ;; + esac + + AC_SUBST(PASSWDLIBS) +]) + +AC_DEFUN([KDE_CHECK_LIBDL], +[ +AC_CHECK_LIB(dl, dlopen, [ +LIBDL="-ldl" +ac_cv_have_dlfcn=yes +]) + +AC_CHECK_LIB(dld, shl_unload, [ +LIBDL="-ldld" +ac_cv_have_shload=yes +]) + +AC_SUBST(LIBDL) +]) + +AC_DEFUN([KDE_CHECK_DLOPEN], +[ +KDE_CHECK_LIBDL +AC_CHECK_HEADERS(dlfcn.h dl.h) +if test "$ac_cv_header_dlfcn_h" = "no"; then + ac_cv_have_dlfcn=no +fi + +if test "$ac_cv_header_dl_h" = "no"; then + ac_cv_have_shload=no +fi + +dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE +dnl (MM) +AC_ARG_ENABLE(dlopen, +AC_HELP_STRING([--disable-dlopen],[link statically [default=no]]), +enable_dlopen=$enableval, +enable_dlopen=yes) + +# override the user's opinion, if we know it better ;) +if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then + enable_dlopen=no +fi + +if test "$ac_cv_have_dlfcn" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn]) +fi + +if test "$ac_cv_have_shload" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload]) +fi + +if test "$enable_dlopen" = no ; then + test -n "$1" && eval $1 +else + test -n "$2" && eval $2 +fi + +]) + +AC_DEFUN([KDE_CHECK_DYNAMIC_LOADING], +[ +KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no) +KDE_PROG_LIBTOOL +AC_MSG_CHECKING([dynamic loading]) +eval "`egrep '^build_libtool_libs=' libtool`" +if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then + dynamic_loading=yes + AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING) +else + dynamic_loading=no +fi +AC_MSG_RESULT($dynamic_loading) +if test "$dynamic_loading" = "yes"; then + $1 +else + $2 +fi +]) + +AC_DEFUN([KDE_ADD_INCLUDES], +[ +if test -z "$1"; then + test_include="Pix.h" +else + test_include="$1" +fi + +AC_MSG_CHECKING([for libg++ ($test_include)]) + +AC_CACHE_VAL(kde_cv_libgpp_includes, +[ +kde_cv_libgpp_includes=no + + for ac_dir in \ + \ + /usr/include/g++ \ + /usr/include \ + /usr/unsupported/include \ + /opt/include \ + $extra_include \ + ; \ + do + if test -r "$ac_dir/$test_include"; then + kde_cv_libgpp_includes=$ac_dir + break + fi + done +]) + +AC_MSG_RESULT($kde_cv_libgpp_includes) +if test "$kde_cv_libgpp_includes" != "no"; then + all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES" +fi +]) +]) + +AC_DEFUN([KDE_CHECK_LIBPTHREAD], +[ + dnl This code is here specifically to handle the + dnl various flavors of threading library on FreeBSD + dnl 4-, 5-, and 6-, and the (weird) rules around it. + dnl There may be an environment PTHREAD_LIBS that + dnl specifies what to use; otherwise, search for it. + dnl -pthread is special cased and unsets LIBPTHREAD + dnl below if found. + LIBPTHREAD="" + + if test -n "$PTHREAD_LIBS"; then + if test "x$PTHREAD_LIBS" = "x-pthread" ; then + LIBPTHREAD="PTHREAD" + else + PTHREAD_LIBS_save="$PTHREAD_LIBS" + PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'` + AC_MSG_CHECKING([for pthread_create in $PTHREAD_LIBS]) + KDE_CHECK_LIB($PTHREAD_LIBS, pthread_create, [ + LIBPTHREAD="$PTHREAD_LIBS_save"]) + PTHREAD_LIBS="$PTHREAD_LIBS_save" + fi + fi + + dnl Is this test really needed, in the face of the Tru64 test below? + if test -z "$LIBPTHREAD"; then + AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"]) + fi + + dnl This is a special Tru64 check, see BR 76171 issue #18. + if test -z "$LIBPTHREAD" ; then + AC_MSG_CHECKING([for pthread_create in -lpthread]) + kde_safe_libs=$LIBS + LIBS="$LIBS -lpthread" + AC_TRY_LINK([#include ],[(void)pthread_create(0,0,0,0);],[ + AC_MSG_RESULT(yes) + LIBPTHREAD="-lpthread"],[ + AC_MSG_RESULT(no)]) + LIBS=$kde_safe_libs + fi + + dnl Un-special-case for FreeBSD. + if test "x$LIBPTHREAD" = "xPTHREAD" ; then + LIBPTHREAD="" + fi + + AC_SUBST(LIBPTHREAD) +]) + +AC_DEFUN([KDE_CHECK_PTHREAD_OPTION], +[ + USE_THREADS="" + if test -z "$LIBPTHREAD"; then + KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-D_THREAD_SAFE -pthread"]) + fi + + AH_VERBATIM(__svr_define, [ +#if defined(__SVR4) && !defined(__svr4__) +#define __svr4__ 1 +#endif +]) + case $host_os in + solaris*) + KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"]) + CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4" + ;; + freebsd*) + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS" + ;; + aix*) + CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" + LIBPTHREAD="$LIBPTHREAD -lc_r" + ;; + linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" + if test "$CXX" = "KCC"; then + CXXFLAGS="$CXXFLAGS --thread_safe" + NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe" + fi + ;; + *) + ;; + esac + AC_SUBST(USE_THREADS) + AC_SUBST(LIBPTHREAD) +]) + +AC_DEFUN([KDE_CHECK_THREADING], +[ + AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) + AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION]) + dnl default is yes if libpthread is found and no if no libpthread is available + if test -z "$LIBPTHREAD"; then + if test -z "$USE_THREADS"; then + kde_check_threading_default=no + else + kde_check_threading_default=yes + fi + else + kde_check_threading_default=yes + fi + AC_ARG_ENABLE(threading,AC_HELP_STRING([--disable-threading],[disables threading even if libpthread found]), + kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default) + if test "x$kde_use_threading" = "xyes"; then + AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)]) + fi +]) + +AC_DEFUN([KDE_TRY_LINK_PYTHON], +[ +if test "$kde_python_link_found" = no; then + +if test "$1" = normal; then + AC_MSG_CHECKING(if a Python application links) +else + AC_MSG_CHECKING(if Python depends on $2) +fi + +AC_CACHE_VAL(kde_cv_try_link_python_$1, +[ +kde_save_cflags="$CFLAGS" +CFLAGS="$CFLAGS $PYTHONINC" +kde_save_libs="$LIBS" +LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET" +kde_save_ldflags="$LDFLAGS" +LDFLAGS="$LDFLAGS $PYTHONLIB" + +AC_TRY_LINK( +[ +#include +],[ + PySys_SetArgv(1, 0); +], + [kde_cv_try_link_python_$1=yes], + [kde_cv_try_link_python_$1=no] +) +CFLAGS="$kde_save_cflags" +LIBS="$kde_save_libs" +LDFLAGS="$kde_save_ldflags" +]) + +if test "$kde_cv_try_link_python_$1" = "yes"; then + AC_MSG_RESULT(yes) + kde_python_link_found=yes + if test ! "$1" = normal; then + LIBPYTHON="$LIBPYTHON $2" + fi + $3 +else + AC_MSG_RESULT(no) + $4 +fi + +fi + +]) + +AC_DEFUN([KDE_CHECK_PYTHON_DIR], +[ +AC_MSG_CHECKING([for Python directory]) + +AC_CACHE_VAL(kde_cv_pythondir, +[ + if test -z "$PYTHONDIR"; then + kde_cv_pythondir=/usr/local + else + kde_cv_pythondir="$PYTHONDIR" + fi +]) + +AC_ARG_WITH(pythondir, +AC_HELP_STRING([--with-pythondir=pythondir],[use python installed in pythondir]), +[ + ac_python_dir=$withval +], ac_python_dir=$kde_cv_pythondir +) + +AC_MSG_RESULT($ac_python_dir) +]) + +AC_DEFUN([KDE_CHECK_PYTHON_INTERN], +[ +AC_REQUIRE([KDE_CHECK_LIBDL]) +AC_REQUIRE([KDE_CHECK_LIBPTHREAD]) +AC_REQUIRE([KDE_CHECK_PYTHON_DIR]) + +if test -z "$1"; then + version="1.5" +else + version="$1" +fi + +AC_MSG_CHECKING([for Python$version]) + +python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes" +AC_FIND_FILE(Python.h, $python_incdirs, python_incdir) +if test ! -r $python_incdir/Python.h; then + AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir) + python_incdir=$python_incdir/python$version + if test ! -r $python_incdir/Python.h; then + python_incdir=no + fi +fi + +PYTHONINC=-I$python_incdir + +python_libdirs="$ac_python_dir/lib$kdelibsuff /usr/lib$kdelibsuff /usr/local /usr/lib$kdelibsuff $kde_extra_libs" +AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir) +if test ! -r $python_libdir/libpython$version.so; then + AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir) + if test ! -r $python_libdir/libpython$version.a; then + AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir) + python_libdir=$python_libdir/python$version/config + if test ! -r $python_libdir/libpython$version.a; then + python_libdir=no + fi + fi +fi + +PYTHONLIB=-L$python_libdir +kde_orig_LIBPYTHON=$LIBPYTHON +if test -z "$LIBPYTHON"; then + LIBPYTHON=-lpython$version +fi + +AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir) +python_moddir=$python_moddir/python$version +if test ! -r $python_moddir/copy.py; then + python_moddir=no +fi + +PYTHONMODDIR=$python_moddir + +AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir) + +if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then + LIBPYTHON=$kde_orig_LIBPYTHON + test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB="" + test "x$PYTHONINC" = "x-Ino" && PYTHONINC="" + $2 +else + dnl Note: this test is very weak + kde_python_link_found=no + KDE_TRY_LINK_PYTHON(normal) + KDE_TRY_LINK_PYTHON(m, -lm) + KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD) + KDE_TRY_LINK_PYTHON(tcl, -ltcl) + KDE_TRY_LINK_PYTHON(db2, -ldb2) + KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil]) + KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil]) + KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm]) + KDE_TRY_LINK_PYTHON(pthread_and_panel_curses, [$LIBPTHREAD $LIBDL -lm -lpanel -lcurses]) + KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [], + [AC_MSG_WARN([it seems, Python depends on another library. + Please set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this + and contact the authors to let them know about this problem]) + ]) + + LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET" + AC_SUBST(PYTHONINC) + AC_SUBST(PYTHONLIB) + AC_SUBST(LIBPYTHON) + AC_SUBST(PYTHONMODDIR) + AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python]) +fi + +]) + + +AC_DEFUN([KDE_CHECK_PYTHON], +[ + KDE_CHECK_PYTHON_INTERN("2.5", + [KDE_CHECK_PYTHON_INTERN("2.4", + [KDE_CHECK_PYTHON_INTERN("2.3", + [KDE_CHECK_PYTHON_INTERN("2.2", + [KDE_CHECK_PYTHON_INTERN("2.1", + [KDE_CHECK_PYTHON_INTERN("2.0", + [KDE_CHECK_PYTHON_INTERN($1, $2) ]) + ]) + ]) + ]) + ]) + ]) +]) + +AC_DEFUN([KDE_CHECK_STL], +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`" + + AC_MSG_CHECKING([if C++ programs can be compiled]) + AC_CACHE_VAL(kde_cv_stl_works, + [ + AC_TRY_COMPILE([ +#include +using namespace std; +],[ + string astring="Hallo Welt."; + astring.erase(0, 6); // now astring is "Welt" + return 0; +], kde_cv_stl_works=yes, + kde_cv_stl_works=no) +]) + + AC_MSG_RESULT($kde_cv_stl_works) + + if test "$kde_cv_stl_works" = "yes"; then + # back compatible + AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI]) + else + AC_MSG_ERROR([Your Installation isn't able to compile simple C++ programs. +Check config.log for details - if you're using a Linux distribution you might miss +a package named similar to libstdc++-dev.]) + fi + + CXXFLAGS="$ac_save_CXXFLAGS" + AC_LANG_RESTORE +]) + +AC_DEFUN([AC_FIND_QIMGIO], + [AC_REQUIRE([AC_FIND_JPEG]) +AC_REQUIRE([KDE_CHECK_EXTRA_LIBS]) +AC_MSG_CHECKING([for qimgio]) +AC_CACHE_VAL(ac_cv_lib_qimgio, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +ac_save_LIBS="$LIBS" +ac_save_CXXFLAGS="$CXXFLAGS" +LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT" +CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes" +AC_TRY_RUN(dnl +[ +#include +#include +int main() { + QString t = "hallo"; + t.fill('t'); + qInitImageIO(); +} +], + ac_cv_lib_qimgio=yes, + ac_cv_lib_qimgio=no, + ac_cv_lib_qimgio=no) +LIBS="$ac_save_LIBS" +CXXFLAGS="$ac_save_CXXFLAGS" +AC_LANG_RESTORE +])dnl +if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then + LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG" + AC_MSG_RESULT(yes) + AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available]) + AC_SUBST(LIBQIMGIO) +else + AC_MSG_RESULT(not found) +fi +]) + +AC_DEFUN([AM_DISABLE_LIBRARIES], +[ + AC_PROVIDE([AM_ENABLE_STATIC]) + AC_PROVIDE([AM_ENABLE_SHARED]) + enable_static=no + enable_shared=yes +]) + + +AC_DEFUN([AC_CHECK_UTMP_FILE], +[ + AC_MSG_CHECKING([for utmp file]) + + AC_CACHE_VAL(kde_cv_utmp_file, + [ + kde_cv_utmp_file=no + + for ac_file in \ + \ + /var/run/utmp \ + /var/adm/utmp \ + /etc/utmp \ + ; \ + do + if test -r "$ac_file"; then + kde_cv_utmp_file=$ac_file + break + fi + done + ]) + + if test "$kde_cv_utmp_file" != "no"; then + AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries]) + $1 + AC_MSG_RESULT($kde_cv_utmp_file) + else + $2 + AC_MSG_RESULT([non found]) + fi +]) + + +AC_DEFUN([KDE_CREATE_SUBDIRSLIST], +[ + +DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" +TOPSUBDIRS="" + +if test ! -s $srcdir/subdirs; then + dnl Note: Makefile.common creates subdirs, so this is just a fallback + files=`cd $srcdir && ls -1` + dirs=`for i in $files; do if test -d $i; then echo $i; fi; done` + for i in $dirs; do + echo $i >> $srcdir/subdirs + done +fi + +ac_topsubdirs= +if test -s $srcdir/inst-apps; then + ac_topsubdirs="`cat $srcdir/inst-apps`" +elif test -s $srcdir/subdirs; then + ac_topsubdirs="`cat $srcdir/subdirs`" +fi + +for i in $ac_topsubdirs; do + AC_MSG_CHECKING([if $i should be compiled]) + if test -d $srcdir/$i; then + install_it="yes" + for j in $DO_NOT_COMPILE; do + if test $i = $j; then + install_it="no" + fi + done + else + install_it="no" + fi + AC_MSG_RESULT($install_it) + vari=`echo $i | sed -e 's,[[-+.@]],_,g'` + if test $install_it = "yes"; then + TOPSUBDIRS="$TOPSUBDIRS $i" + eval "$vari""_SUBDIR_included=yes" + else + eval "$vari""_SUBDIR_included=no" + fi +done + +AC_SUBST(TOPSUBDIRS) +]) + +AC_DEFUN([KDE_CHECK_NAMESPACES], +[ +AC_MSG_CHECKING(whether C++ compiler supports namespaces) +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +AC_TRY_COMPILE([ +], +[ +namespace Foo { + extern int i; + namespace Bar { + extern int i; + } +} + +int Foo::i = 0; +int Foo::Bar::i = 1; +],[ + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_NAMESPACES) +], [ +AC_MSG_RESULT(no) +]) +AC_LANG_RESTORE +]) + +dnl ------------------------------------------------------------------------ +dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure@kde.org +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_CHECK_S_ISSOCK], +[ +AC_MSG_CHECKING(for S_ISSOCK) +AC_CACHE_VAL(ac_cv_have_s_issock, +[ +AC_TRY_LINK( +[ +#include +], +[ +struct stat buff; +int b = S_ISSOCK( buff.st_mode ); +], +ac_cv_have_s_issock=yes, +ac_cv_have_s_issock=no) +]) +AC_MSG_RESULT($ac_cv_have_s_issock) +if test "$ac_cv_have_s_issock" = "yes"; then + AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.]) +fi + +AH_VERBATIM(_ISSOCK, +[ +#ifndef HAVE_S_ISSOCK +#define HAVE_S_ISSOCK +#define S_ISSOCK(mode) (1==0) +#endif +]) + +]) + +dnl ------------------------------------------------------------------------ +dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure@kde.org +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([AC_CHECK_KDEMAXPATHLEN], +[ +AC_MSG_CHECKING(for MAXPATHLEN) +AC_CACHE_VAL(ac_cv_maxpathlen, +[ +cat > conftest.$ac_ext < +#endif +#include +#include +#ifndef MAXPATHLEN +#define MAXPATHLEN 1024 +#endif + +KDE_HELLO MAXPATHLEN + +EOF + +ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out" + +if AC_TRY_EVAL(ac_try) && test -s conftest.out; then + ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out` +else + ac_cv_maxpathlen=1024 +fi + +rm conftest.* + +]) +AC_MSG_RESULT($ac_cv_maxpathlen) +AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] ) +]) + +AC_DEFUN([KDE_CHECK_HEADER], +[ + kde_safe_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $all_includes" + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_CHECK_HEADER([$1], [$2], [$3], [$4]) + AC_LANG_RESTORE + CPPFLAGS=$kde_safe_cppflags +]) + +AC_DEFUN([KDE_CHECK_HEADERS], +[ + AH_CHECK_HEADERS([$1]) + AC_LANG_SAVE + kde_safe_cppflags=$CPPFLAGS + CPPFLAGS="$CPPFLAGS $all_includes" + AC_LANG_CPLUSPLUS + AC_CHECK_HEADERS([$1], [$2], [$3], [$4]) + CPPFLAGS=$kde_safe_cppflags + AC_LANG_RESTORE +]) + +AC_DEFUN([KDE_FAST_CONFIGURE], +[ + dnl makes configure fast (needs perl) + AC_ARG_ENABLE(fast-perl, AC_HELP_STRING([--disable-fast-perl],[disable fast Makefile generation (needs perl)]), + with_fast_perl=$enableval, with_fast_perl=yes) +]) + +AC_DEFUN([KDE_CONF_FILES], +[ + val= + if test -f $srcdir/configure.files ; then + val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files` + fi + CONF_FILES= + if test -n "$val" ; then + for i in $val ; do + CONF_FILES="$CONF_FILES $i" + done + fi + AC_SUBST(CONF_FILES) +])dnl + +dnl This sets the prefix, for arts and kdelibs +dnl Do NOT use in any other module. +dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde +AC_DEFUN([KDE_SET_PREFIX_CORE], +[ + unset CDPATH + dnl make $KDEDIR the default for the installation + AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) + + if test "x$prefix" = "xNONE"; then + prefix=$ac_default_prefix + ac_configure_args="$ac_configure_args --prefix=$prefix" + fi + # And delete superfluous '/' to make compares easier + prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + + kde_libs_prefix='$(prefix)' + kde_libs_htmldir='$(kde_htmldir)' + AC_SUBST(kde_libs_prefix) + AC_SUBST(kde_libs_htmldir) + KDE_FAST_CONFIGURE + KDE_CONF_FILES +]) + + +AC_DEFUN([KDE_SET_PREFIX], +[ + unset CDPATH + dnl We can't give real code to that macro, only a value. + dnl It only matters for --help, since we set the prefix in this function anyway. + AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix}) + + KDE_SET_DEFAULT_BINDIRS + if test "x$prefix" = "xNONE"; then + dnl no prefix given: look for kde-config in the PATH and deduce the prefix from it + KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) + else + dnl prefix given: look for kde-config, preferrably in prefix, otherwise in PATH + kde_save_PATH="$PATH" + PATH="$exec_prefix/bin:$prefix/bin:$PATH" + KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) + PATH="$kde_save_PATH" + fi + + kde_libs_prefix=`$KDECONFIG --prefix` + if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then + AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs. + This means it has been moved since you installed it. + This won't work. Please recompile kdelibs for the new prefix. + ]) + fi + kde_libs_htmldir=`$KDECONFIG --install html --expandvars` + + AC_MSG_CHECKING([where to install]) + if test "x$prefix" = "xNONE"; then + prefix=$kde_libs_prefix + AC_MSG_RESULT([$prefix (as returned by kde-config)]) + else + dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different + given_prefix=$prefix + AC_MSG_RESULT([$prefix (as requested)]) + fi + + # And delete superfluous '/' to make compares easier + prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'` + + AC_SUBST(KDECONFIG) + AC_SUBST(kde_libs_prefix) + AC_SUBST(kde_libs_htmldir) + + KDE_FAST_CONFIGURE + KDE_CONF_FILES +]) + +pushdef([AC_PROG_INSTALL], +[ + dnl our own version, testing for a -p flag + popdef([AC_PROG_INSTALL]) + dnl as AC_PROG_INSTALL works as it works we first have + dnl to save if the user didn't specify INSTALL, as the + dnl autoconf one overwrites INSTALL and we have no chance to find + dnl out afterwards + test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL + test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM + test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT + AC_PROG_INSTALL + + if test -z "$kde_save_INSTALL_given" ; then + # OK, user hasn't given any INSTALL, autoconf found one for us + # now we test, if it supports the -p flag + AC_MSG_CHECKING(for -p flag to install) + rm -f confinst.$$.* > /dev/null 2>&1 + echo "Testtest" > confinst.$$.orig + ac_res=no + if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then + if test -f confinst.$$.new ; then + # OK, -p seems to do no harm to install + INSTALL="${INSTALL} -p" + ac_res=yes + fi + fi + rm -f confinst.$$.* + AC_MSG_RESULT($ac_res) + fi + dnl the following tries to resolve some signs and wonders coming up + dnl with different autoconf/automake versions + dnl e.g.: + dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s + dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS) + dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s + dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has + dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the + dnl install-@DIR@PROGRAMS targets to explicitly use that flag + dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as + dnl INSTALL_SCRIPT, which breaks with automake <= 1.4 + dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure + dnl *sometimes KDE does not use the install-@DIR@PROGRAM targets from + dnl automake (due to broken Makefile.am or whatever) to install programs, + dnl and so does not see the -s flag in automake > 1.4 + dnl to clean up that mess we: + dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG + dnl which cleans KDE's program with automake > 1.4; + dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems + dnl with automake<=1.4 + dnl note that dues to this sometimes two '-s' flags are used (if KDE + dnl properly uses install-@DIR@PROGRAMS, but I don't care + dnl + dnl And to all this comes, that I even can't write in comments variable + dnl names used by automake, because it is so stupid to think I wanted to + dnl _use_ them, therefor I have written A_M_... instead of AM_ + dnl hmm, I wanted to say something ... ahh yes: Arghhh. + + if test -z "$kde_save_INSTALL_PROGRAM_given" ; then + INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)' + fi + if test -z "$kde_save_INSTALL_SCRIPT_given" ; then + INSTALL_SCRIPT='${INSTALL}' + fi +])dnl + +AC_DEFUN([KDE_LANG_CPLUSPLUS], +[AC_LANG_CPLUSPLUS +ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC' +pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS]) +]) + +pushdef([AC_LANG_CPLUSPLUS], +[popdef([AC_LANG_CPLUSPLUS]) +KDE_LANG_CPLUSPLUS +]) + +AC_DEFUN([KDE_CHECK_LONG_LONG], +[ +AC_MSG_CHECKING(for long long) +AC_CACHE_VAL(kde_cv_c_long_long, +[ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + AC_TRY_LINK([], [ + long long foo = 0; + foo = foo+1; + ], + kde_cv_c_long_long=yes, kde_cv_c_long_long=no) + AC_LANG_RESTORE +]) +AC_MSG_RESULT($kde_cv_c_long_long) +if test "$kde_cv_c_long_long" = yes; then + AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype]) +fi +]) + +AC_DEFUN([KDE_CHECK_LIB], +[ + kde_save_LDFLAGS="$LDFLAGS" + dnl AC_CHECK_LIB modifies LIBS, so save it here + kde_save_LIBS="$LIBS" + LDFLAGS="$LDFLAGS $all_libraries" + case $host_os in + aix*) LDFLAGS="-brtl $LDFLAGS" + test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS" + ;; + esac + AC_CHECK_LIB($1, $2, $3, $4, $5) + LDFLAGS="$kde_save_LDFLAGS" + LIBS="$kde_save_LIBS" +]) + +AC_DEFUN([KDE_JAVA_PREFIX], +[ + dir=`dirname "$1"` + base=`basename "$1"` + list=`ls -1 $dir 2> /dev/null` + for entry in $list; do + if test -d $dir/$entry/bin; then + case $entry in + $base) + javadirs="$javadirs $dir/$entry/bin" + ;; + esac + elif test -d $dir/$entry/jre/bin; then + case $entry in + $base) + javadirs="$javadirs $dir/$entry/jre/bin" + ;; + esac + fi + done +]) + +dnl KDE_CHEC_JAVA_DIR(onlyjre) +AC_DEFUN([KDE_CHECK_JAVA_DIR], +[ + +AC_ARG_WITH(java, +AC_HELP_STRING([--with-java=javadir],[use java installed in javadir, --without-java disables]), +[ ac_java_dir=$withval +], ac_java_dir="" +) + +AC_MSG_CHECKING([for Java]) + +dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH +if test "x$ac_java_dir" = "xno"; then + kde_java_bindir=no + kde_java_includedir=no + kde_java_libjvmdir=no + kde_java_libgcjdir=no + kde_java_libhpidir=no +else + if test "x$ac_java_dir" = "x"; then + + + dnl No option set -> collect list of candidate paths + if test -n "$JAVA_HOME"; then + KDE_JAVA_PREFIX($JAVA_HOME) + fi + KDE_JAVA_PREFIX(/usr/j2se) + KDE_JAVA_PREFIX(/usr/lib/j2se) + KDE_JAVA_PREFIX(/usr/j*dk*) + KDE_JAVA_PREFIX(/usr/lib/j*dk*) + KDE_JAVA_PREFIX(/opt/j*sdk*) + KDE_JAVA_PREFIX(/usr/lib/java*) + KDE_JAVA_PREFIX(/usr/java*) + KDE_JAVA_PREFIX(/usr/java/j*dk*) + KDE_JAVA_PREFIX(/usr/java/j*re*) + KDE_JAVA_PREFIX(/usr/lib/SunJava2*) + KDE_JAVA_PREFIX(/usr/lib/SunJava*) + KDE_JAVA_PREFIX(/usr/lib/IBMJava2*) + KDE_JAVA_PREFIX(/usr/lib/IBMJava*) + KDE_JAVA_PREFIX(/opt/java*) + + kde_cv_path="NONE" + kde_save_IFS=$IFS + IFS=':' + for dir in $PATH; do + if test -d "$dir"; then + javadirs="$javadirs $dir" + fi + done + IFS=$kde_save_IFS + jredirs= + + dnl Now javadirs contains a list of paths that exist, all ending with bin/ + for dir in $javadirs; do + dnl Check for the java executable + if test -x "$dir/java"; then + dnl And also check for a libjvm.so somewhere under there + dnl Since we have to go to the parent dir, /usr/bin is excluded, /usr is too big. + if test "$dir" != "/usr/bin"; then + libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` + if test ! -f $libjvmdir/libjvm.so; then continue; fi + jredirs="$jredirs $dir" + fi + fi + done + + dnl Now jredirs contains a reduced list, of paths where both java and ../**/libjvm.so was found + JAVAC= + JAVA= + kde_java_bindir=no + for dir in $jredirs; do + JAVA="$dir/java" + kde_java_bindir=$dir + if test -x "$dir/javac"; then + JAVAC="$dir/javac" + break + fi + done + + if test -n "$JAVAC"; then + dnl this substitution might not work - well, we test for jni.h below + kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'` + else + kde_java_includedir=no + fi + else + dnl config option set + kde_java_bindir=$ac_java_dir/bin + if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then + kde_java_includedir=no + else + kde_java_includedir=$ac_java_dir/include + fi + fi +fi + +dnl At this point kde_java_bindir and kde_java_includedir are either set or "no" +if test "x$kde_java_bindir" != "xno"; then + + dnl Look for libjvm.so + kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` + dnl Look for libgcj.so + kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1` + dnl Look for libhpi.so and avoid green threads + kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1` + + dnl Now check everything's fine under there + dnl the include dir is our flag for having the JDK + if test -d "$kde_java_includedir"; then + if test ! -x "$kde_java_bindir/javac"; then + AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.]) + fi + if test ! -x "$kde_java_bindir/javah"; then + AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + if test ! -x "$kde_java_bindir/jar"; then + AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + if test ! -r "$kde_java_includedir/jni.h"; then + AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.]) + fi + + jni_includes="-I$kde_java_includedir" + dnl Strange thing, jni.h requires jni_md.h which is under genunix here.. + dnl and under linux here.. + + dnl not needed for gcj + + if test "x$kde_java_libgcjdir" = "x"; then + test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux" + test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris" + test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix" + fi + + else + JAVAC= + jni_includes= + fi + + if test "x$kde_java_libgcjdir" = "x"; then + if test ! -r "$kde_java_libjvmdir/libjvm.so"; then + AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.]) + fi + else + if test ! -r "$kde_java_libgcjdir/libgcj.so"; then + AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.]) + fi + fi + + if test ! -x "$kde_java_bindir/java"; then + AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.]) + fi + + dnl not needed for gcj compile + + if test "x$kde_java_libgcjdir" = "x"; then + if test ! -r "$kde_java_libhpidir/libhpi.so"; then + AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.]) + fi + fi + + if test -n "$jni_includes"; then + dnl Check for JNI version + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + ac_cxxflags_safe="$CXXFLAGS" + CXXFLAGS="$CXXFLAGS $all_includes $jni_includes" + + AC_TRY_COMPILE([ + #include + ], + [ + #ifndef JNI_VERSION_1_2 + Syntax Error + #endif + ],[ kde_jni_works=yes ], + [ kde_jni_works=no ]) + + if test $kde_jni_works = no; then + AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h. + You need to have Java Development Kit (JDK) version 1.2. + + Use --with-java to specify another location. + Use --without-java to configure without java support. + Or download a newer JDK and try again. + See e.g. http://java.sun.com/products/jdk/1.2 ]) + fi + + CXXFLAGS="$ac_cxxflags_safe" + AC_LANG_RESTORE + + dnl All tests ok, inform and subst the variables + + JAVAC=$kde_java_bindir/javac + JAVAH=$kde_java_bindir/javah + JAR=$kde_java_bindir/jar + AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) + if test "x$kde_java_libgcjdir" = "x"; then + JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi" + else + JVMLIBS="-L$kde_java_libgcjdir -lgcj" + fi + AC_MSG_RESULT([java JDK in $kde_java_bindir]) + + else + AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) + AC_MSG_RESULT([java JRE in $kde_java_bindir]) + fi +elif test -d "/Library/Java/Home"; then + kde_java_bindir="/Library/Java/Home/bin" + jni_includes="-I/Library/Java/Home/include" + + JAVAC=$kde_java_bindir/javac + JAVAH=$kde_java_bindir/javah + JAR=$kde_java_bindir/jar + JVMLIBS="-Wl,-framework,JavaVM" + + AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is]) + AC_MSG_RESULT([Apple Java Framework]) +else + AC_MSG_RESULT([none found]) +fi + +AC_SUBST(JAVAC) +AC_SUBST(JAVAH) +AC_SUBST(JAR) +AC_SUBST(JVMLIBS) +AC_SUBST(jni_includes) + +# for backward compat +kde_cv_java_includedir=$kde_java_includedir +kde_cv_java_bindir=$kde_java_bindir +]) + +dnl this is a redefinition of autoconf 2.5x's AC_FOREACH. +dnl When the argument list becomes big, as in KDE for AC_OUTPUT in +dnl big packages, m4_foreach is dog-slow. So use our own version of +dnl it. (matz@kde.org) +m4_define([mm_foreach], +[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])]) +m4_define([mm_car], [[$1]]) +m4_define([mm_car2], [[$@]]) +m4_define([_mm_foreach], +[m4_if(m4_quote($2), [], [], + [m4_define([$1], mm_car($2))$3[]_mm_foreach([$1], + mm_car2(m4_shift($2)), + [$3])])]) +m4_define([AC_FOREACH], +[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])]) + +AC_DEFUN([KDE_NEED_FLEX], +[ +kde_libs_safe=$LIBS +LIBS="$LIBS $USER_LDFLAGS" +AM_PROG_LEX +LIBS=$kde_libs_safe +if test -z "$LEXLIB"; then + AC_MSG_ERROR([You need to have flex installed.]) +fi +AC_SUBST(LEXLIB) +]) + +AC_DEFUN([AC_PATH_QTOPIA], +[ + dnl TODO: use AC_CACHE_VAL + + if test -z "$1"; then + qtopia_minver_maj=1 + qtopia_minver_min=5 + qtopia_minver_pat=0 + else + qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"` + qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"` + qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"` + fi + + qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat" + qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat" + + AC_REQUIRE([AC_PATH_QT]) + + AC_MSG_CHECKING([for Qtopia]) + + LIB_QTOPIA="-lqpe" + AC_SUBST(LIB_QTOPIA) + + kde_qtopia_dirs="$QPEDIR /opt/Qtopia" + + ac_qtopia_incdir=NO + + AC_ARG_WITH(qtopia-dir, + AC_HELP_STRING([--with-qtopia-dir=DIR],[where the root of Qtopia is installed]), + [ ac_qtopia_incdir="$withval"/include] ) + + qtopia_incdirs="" + for dir in $kde_qtopia_dirs; do + qtopia_incdirs="$qtopia_incdirs $dir/include" + done + + if test ! "$ac_qtopia_incdir" = "NO"; then + qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs" + fi + + qtopia_incdir="" + AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir) + ac_qtopia_incdir="$qtopia_incdir" + + if test -z "$qtopia_incdir"; then + AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.]) + fi + + qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`; + qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`; + qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`; + + qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat" + qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat" + if test "$qtopia_ver" -lt "$qtopia_minver"; then + AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr +is required.]) + fi + + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + + ac_cxxflags_safe="$CXXFLAGS" + ac_ldflags_safe="$LDFLAGS" + ac_libs_safe="$LIBS" + + CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes" + LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS" + LIBS="$LIBS $LIB_QTOPIA $LIBQT" + + cat > conftest.$ac_ext < +#include + +int main( int argc, char **argv ) +{ + QPEApplication app( argc, argv ); + return 0; +} +EOF + + if AC_TRY_EVAL(ac_link) && test -s conftest; then + rm -f conftest* + else + rm -f conftest* + AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at +the end of config.log]) + fi + + CXXFLAGS="$ac_cxxflags_safe" + LDFLAGS="$ac_ldflags_safe" + LIBS="$ac_libs_safe" + + AC_LANG_RESTORE + + QTOPIA_INCLUDES="-I$qtopia_incdir" + AC_SUBST(QTOPIA_INCLUDES) + + AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir]) +]) + + +AC_DEFUN([KDE_INIT_DOXYGEN], +[ +AC_MSG_CHECKING([for Qt docs]) +kde_qtdir= +if test "${with_qt_dir+set}" = set; then + kde_qtdir="$with_qt_dir" +fi + +AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR) +AC_MSG_RESULT($QTDOCDIR) + +AC_SUBST(QTDOCDIR) + +KDE_FIND_PATH(dot, DOT, [], []) +if test -n "$DOT"; then + KDE_HAVE_DOT="YES" +else + KDE_HAVE_DOT="NO" +fi +AC_SUBST(KDE_HAVE_DOT) +KDE_FIND_PATH(doxygen, DOXYGEN, [], []) +AC_SUBST(DOXYGEN) + +DOXYGEN_PROJECT_NAME="$1" +DOXYGEN_PROJECT_NUMBER="$2" +AC_SUBST(DOXYGEN_PROJECT_NAME) +AC_SUBST(DOXYGEN_PROJECT_NUMBER) + +KDE_HAS_DOXYGEN=no +if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then + KDE_HAS_DOXYGEN=yes +fi +AC_SUBST(KDE_HAS_DOXYGEN) + +]) + + +AC_DEFUN([AC_FIND_BZIP2], +[ +AC_MSG_CHECKING([for bzDecompress in libbz2]) +AC_CACHE_VAL(ac_cv_lib_bzip2, +[ +AC_LANG_SAVE +AC_LANG_CPLUSPLUS +kde_save_LIBS="$LIBS" +LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET" +kde_save_CXXFLAGS="$CXXFLAGS" +CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES" +AC_TRY_LINK(dnl +[ +#define BZ_NO_STDIO +#include +], + [ bz_stream s; (void) bzDecompress(&s); ], + eval "ac_cv_lib_bzip2='-lbz2'", + eval "ac_cv_lib_bzip2=no") +LIBS="$kde_save_LIBS" +CXXFLAGS="$kde_save_CXXFLAGS" +AC_LANG_RESTORE +])dnl +AC_MSG_RESULT($ac_cv_lib_bzip2) + +if test ! "$ac_cv_lib_bzip2" = no; then + BZIP2DIR=bzip2 + + LIBBZ2="$ac_cv_lib_bzip2" + AC_SUBST(LIBBZ2) + +else + + cxx_shared_flag= + ld_shared_flag= + KDE_CHECK_COMPILER_FLAG(shared, [ + ld_shared_flag="-shared" + ]) + KDE_CHECK_COMPILER_FLAG(fPIC, [ + cxx_shared_flag="-fPIC" + ]) + + AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2]) + AC_CACHE_VAL(ac_cv_lib_bzip2_prefix, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + kde_save_LIBS="$LIBS" + LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET" + kde_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES" + + AC_TRY_LINK(dnl + [ + #define BZ_NO_STDIO + #include + ], + [ bz_stream s; (void) BZ2_bzDecompress(&s); ], + eval "ac_cv_lib_bzip2_prefix='-lbz2'", + eval "ac_cv_lib_bzip2_prefix=no") + LIBS="$kde_save_LIBS" + CXXFLAGS="$kde_save_CXXFLAGS" + AC_LANG_RESTORE + ])dnl + + AC_MSG_RESULT($ac_cv_lib_bzip2_prefix) + + if test ! "$ac_cv_lib_bzip2_prefix" = no; then + BZIP2DIR=bzip2 + + LIBBZ2="$ac_cv_lib_bzip2_prefix" + AC_SUBST(LIBBZ2) + + AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix]) + dnl else, we just ignore this + fi + +fi +AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR") +]) + +dnl ------------------------------------------------------------------------ +dnl Try to find the SSL headers and libraries. +dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed) +dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed) +dnl ------------------------------------------------------------------------ +dnl +AC_DEFUN([KDE_CHECK_SSL], +[ +LIBSSL="-lssl -lcrypto" +AC_REQUIRE([KDE_CHECK_LIB64]) + +ac_ssl_includes=NO ac_ssl_libraries=NO +ssl_libraries="" +ssl_includes="" +AC_ARG_WITH(ssl-dir, + AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]), + [ ac_ssl_includes="$withval"/include + ac_ssl_libraries="$withval"/lib$kdelibsuff + ]) + +want_ssl=yes +AC_ARG_WITH(ssl, + AC_HELP_STRING([--without-ssl],[disable SSL checks]), + [want_ssl=$withval]) + +if test $want_ssl = yes; then + +AC_MSG_CHECKING(for OpenSSL) + +AC_CACHE_VAL(ac_cv_have_ssl, +[#try to guess OpenSSL locations + + ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes" + ssl_incdirs="$ac_ssl_includes $ssl_incdirs" + AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir) + ac_ssl_includes="$ssl_incdir" + + ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs" + if test ! "$ac_ssl_libraries" = "NO"; then + ssl_libdirs="$ac_ssl_libraries $ssl_libdirs" + fi + + test=NONE + ssl_libdir=NONE + for dir in $ssl_libdirs; do + try="ls -1 $dir/libssl*" + if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi + done + + ac_ssl_libraries="$ssl_libdir" + + ac_ldflags_safe="$LDFLAGS" + ac_libs_safe="$LIBS" + + LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries" + LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref" + + AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();, + ac_ssl_rsaref="yes" + , + ac_ssl_rsaref="no" + ) + + LDFLAGS="$ac_ldflags_safe" + LIBS="$ac_libs_safe" + + if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then + have_ssl=no + else + have_ssl=yes; + fi + + ]) + + eval "$ac_cv_have_ssl" + + AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes]) + + AC_MSG_CHECKING([whether OpenSSL uses rsaref]) + AC_MSG_RESULT($ac_ssl_rsaref) + + AC_MSG_CHECKING([for easter eggs]) + AC_MSG_RESULT([none found]) + +else + have_ssl=no +fi + +if test "$have_ssl" = yes; then + AC_MSG_CHECKING(for OpenSSL version) + dnl Check for SSL version + AC_CACHE_VAL(ac_cv_ssl_version, + [ + + cat >conftest.$ac_ext < +#include + int main() { + +#ifndef OPENSSL_VERSION_NUMBER + printf("ssl_version=\\"error\\"\n"); +#else + if (OPENSSL_VERSION_NUMBER < 0x00906000) + printf("ssl_version=\\"old\\"\n"); + else + printf("ssl_version=\\"ok\\"\n"); +#endif + return (0); + } +EOF + + ac_save_CPPFLAGS=$CPPFLAGS + if test "$ac_ssl_includes" != "/usr/include"; then + CPPFLAGS="$CPPFLAGS -I$ac_ssl_includes" + fi + + if AC_TRY_EVAL(ac_link); then + + if eval `./conftest 2>&5`; then + if test $ssl_version = error; then + AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !]) + else + if test $ssl_version = old; then + AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.]) + have_ssl=no + fi + fi + ac_cv_ssl_version="ssl_version=$ssl_version" + else + AC_MSG_ERROR([Your system couldn't run a small SSL test program. + Check config.log, and if you can't figure it out, send a mail to + David Faure , attaching your config.log]) + fi + + else + AC_MSG_ERROR([Your system couldn't link a small SSL test program. + Check config.log, and if you can't figure it out, send a mail to + David Faure , attaching your config.log]) + fi + CPPFLAGS=$ac_save_CPPFLAGS + + ]) + + eval "$ac_cv_ssl_version" + AC_MSG_RESULT($ssl_version) +fi + +if test "$have_ssl" != yes; then + LIBSSL=""; +else + AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL]) + ac_cv_have_ssl="have_ssl=yes \ + ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref" + + + ssl_libraries="$ac_ssl_libraries" + ssl_includes="$ac_ssl_includes" + + if test "$ac_ssl_rsaref" = yes; then + LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref" + fi + + if test $ssl_version = "old"; then + AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6]) + fi +fi + +SSL_INCLUDES= + +if test "$ssl_includes" = "/usr/include"; then + if test -f /usr/kerberos/include/krb5.h; then + SSL_INCLUDES="-I/usr/kerberos/include" + fi +elif test "$ssl_includes" != "/usr/local/include" && test -n "$ssl_includes"; then + SSL_INCLUDES="-I$ssl_includes" +fi + +if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries" || test "$ssl_libraries" = "NONE"; then + SSL_LDFLAGS="" +else + SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries" +fi + +AC_SUBST(SSL_INCLUDES) +AC_SUBST(SSL_LDFLAGS) +AC_SUBST(LIBSSL) +]) + +AC_DEFUN([KDE_CHECK_STRLCPY], +[ + AC_REQUIRE([AC_CHECK_STRLCAT]) + AC_REQUIRE([AC_CHECK_STRLCPY]) + AC_CHECK_SIZEOF(size_t) + AC_CHECK_SIZEOF(unsigned long) + + AC_MSG_CHECKING([sizeof size_t == sizeof unsigned long]) + AC_TRY_COMPILE(,[ + #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG + choke me + #endif + ],AC_MSG_RESULT([yes]),[ + AC_MSG_RESULT(no) + AC_MSG_ERROR([ + Apparently on your system our assumption sizeof size_t == sizeof unsigned long + does not apply. Please mail kde-devel@kde.org with a description of your system! + ]) + ]) +]) + +AC_DEFUN([KDE_CHECK_BINUTILS], +[ + AC_MSG_CHECKING([if ld supports unversioned version maps]) + + kde_save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" + echo "{ local: extern \"C++\" { foo }; };" > conftest.map + AC_TRY_LINK([int foo;], +[ +#ifdef __INTEL_COMPILER +icc apparently does not support libtools version-info and version-script +at the same time. Dunno where the bug is, but until somebody figured out, +better disable the optional version scripts. +#endif + + foo = 42; +], kde_supports_versionmaps=yes, kde_supports_versionmaps=no) + LDFLAGS="$kde_save_LDFLAGS" + rm -f conftest.map + AM_CONDITIONAL(include_VERSION_SCRIPT, + [test "$kde_supports_versionmaps" = "yes" && test "$kde_use_debug_code" = "no"]) + + AC_MSG_RESULT($kde_supports_versionmaps) +]) + +AC_DEFUN([AM_PROG_OBJC],[ +AC_CHECK_PROGS(OBJC, gcc, gcc) +test -z "$OBJC" && AC_MSG_ERROR([no acceptable objective-c gcc found in \$PATH]) +if test "x${OBJCFLAGS-unset}" = xunset; then + OBJCFLAGS="-g -O2" +fi +AC_SUBST(OBJCFLAGS) +_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(OBJC)]) +]) + +AC_DEFUN([KDE_CHECK_PERL], +[ + KDE_FIND_PATH(perl, PERL, [$bindir $exec_prefix/bin $prefix/bin], [ + AC_MSG_ERROR([No Perl found in your $PATH. +We need perl to generate some code.]) + ]) + AC_SUBST(PERL) +]) + +AC_DEFUN([KDE_CHECK_LARGEFILE], +[ +AC_SYS_LARGEFILE +if test "$ac_cv_sys_file_offset_bits" != no; then + CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" +fi + +if test "x$ac_cv_sys_large_files" != "xno"; then + CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=1" +fi + +]) + +dnl A small extension to PKG_CHECK_MODULES (defined in pkg.m4.in) +dnl which allows to search for libs that get installed into the KDE prefix. +dnl +dnl Syntax: KDE_PKG_CHECK_MODULES(KSTUFF, libkexif >= 0.2 glib = 1.3.4, action-if, action-not) +dnl defines KSTUFF_LIBS, KSTUFF_CFLAGS, see pkg-config man page +dnl also defines KSTUFF_PKG_ERRORS on error +AC_DEFUN([KDE_PKG_CHECK_MODULES], [ + + PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" + if test "$prefix" != "$kde_libs_prefix"; then + PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" + fi + export PKG_CONFIG_PATH + PKG_CHECK_MODULES([$1],[$2],[$3],[$4]) +]) + + +dnl Check for PIE support in the compiler and linker +AC_DEFUN([KDE_CHECK_PIE_SUPPORT], +[ + AC_CACHE_CHECK([for PIE support], kde_cv_val_pie_support, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + safe_CXXFLAGS=$CXXFLAGS + safe_LDFLAGS=$LDFLAGS + CXXFLAGS="$CXXFLAGS -fPIE" + LDFLAGS="$LDFLAGS -pie" + + AC_TRY_LINK([int foo;], [], [kde_cv_val_pie_support=yes], [kde_cv_val_pie_support=no]) + + CXXFLAGS=$safe_CXXFLAGS + LDFLAGS=$safe_LDFLAGS + AC_LANG_RESTORE + ]) + + AC_MSG_CHECKING(if enabling -pie/fPIE support) + + AC_ARG_ENABLE(pie, + AC_HELP_STRING([--enable-pie],[platform supports PIE linking [default=detect]]), + [kde_has_pie_support=$enableval], + [kde_has_pie_support=detect]) + + if test "$kde_has_pie_support" = "detect"; then + kde_has_pie_support=$kde_cv_val_pie_support + fi + + AC_MSG_RESULT([$kde_has_pie_support]) + + KDE_USE_FPIE="" + KDE_USE_PIE="" + + AC_SUBST([KDE_USE_FPIE]) + AC_SUBST([KDE_USE_PIE]) + + if test "$kde_has_pie_support" = "yes"; then + KDE_USE_FPIE="-fPIE" + KDE_USE_PIE="-pie" + fi +]) +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- +## Copyright 1996, 1997, 1998, 1999, 2000, 2001 +## Free Software Foundation, Inc. +## Originally by Gordon Matzigkeit , 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 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. +## +## 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. + +# serial 47 AC_PROG_LIBTOOL + + +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- +AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent' +AC_SUBST(LIBTOOL)dnl + +# Prevent multiple expansion +define([AC_PROG_LIBTOOL], []) +])# _AC_PROG_LIBTOOL + + +# AC_LIBTOOL_SETUP +# ---------------- +AC_DEFUN([AC_LIBTOOL_SETUP], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AC_ENABLE_SHARED])dnl +AC_REQUIRE([AC_ENABLE_STATIC])dnl +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_LD])dnl +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl +AC_REQUIRE([AC_PROG_NM])dnl + +AC_REQUIRE([AC_PROG_LN_S])dnl +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +AC_REQUIRE([AC_OBJEXT])dnl +AC_REQUIRE([AC_EXEEXT])dnl +dnl + +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +_LT_AC_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] + +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" + ;; + *) + old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi + ;; +esac + +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) + +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER + + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'`; fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null && + echo_test_string="`eval $cmd`" && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case "`/usr/bin/file conftest.o`" in + *32-bit*) + LINUX_64_MODE="32" + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + LINUX_64_MODE="64" + case $host in + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED]) +AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s conftest.err; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + printf "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + testring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + *) + # If test is not a shell built-in, we'll probably end up computing a + # maximum length that is only half of the actual maximum length, but + # we can't tell. + while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ + = "XX$testring") >/dev/null 2>&1 && + new_result=`expr "X$testring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + testring=$testring$testring + done + testring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# -------------------- +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + + +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# ------------------------------------------------------------------ +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + + exit (status); +}] +EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_unknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_AC_TRY_DLOPEN_SELF + + +# AC_LIBTOOL_DLOPEN_SELF +# ------------------- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + LDFLAGS="$LDFLAGS $link_static_flag" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +])# AC_LIBTOOL_DLOPEN_SELF + + +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) +# --------------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + # According to Tom Tromey, Ian Lance Taylor reported there are C compilers + # that will create temporary files in the current directory regardless of + # the output directory. Thus, making CWD read-only will cause this test + # to fail, enabling locking or at least warning the user not to do parallel + # builds. + chmod -w . + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + if test ! -s out/conftest.err; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . + $rm conftest* out/* + rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O + + +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl + +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS + + +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR + + +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH + + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +])# AC_LIBTOOL_SYS_LIB_STRIP + + +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi4*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext='$(test .$module = .yes && echo .so || echo .dylib)' + # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. + if test "$GCC" = yes; then + sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` + else + sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' + fi + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +kfreebsd*-gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='GNU ld.so' + ;; + +freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + *) # from 3.2 on + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case "$host_cpu" in + ia64*) + shrext='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + libsuff= + if test "x$LINUX_64_MODE" = x64; then + # Some platforms are per default 64-bit, so there's no /lib64 + if test -d /lib64; then + libsuff=64 + fi + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}" + sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +sco3.2v5*) + version_type=osf + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && test "X$CXX" != "Xno"; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 dll's +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +#- set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognise shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognise a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case "$host_cpu" in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + irix5* | nonstopux*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" + ;; + *) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" + ;; + esac + lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux*) + case $host_cpu in + alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* ) + lt_cv_deplibs_check_method=pass_all ;; + # the debian people say, arm and glibc 2.3.1 works for them with pass_all + arm* ) + lt_cv_deplibs_check_method=pass_all ;; + *) + # glibc up to 2.1.1 does not perform some relocations on ARM + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object' + else + lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' + fi + ;; + +osf3* | osf4* | osf5*) + # this will be overridden with pass_all, but let us keep it just in case + lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' + lt_cv_file_magic_test_file=/shlib/libc.so + lt_cv_deplibs_check_method=pass_all + ;; + +sco3.2v5*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + lt_cv_file_magic_test_file=/lib/libc.so + ;; + +sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the pathname to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/${ac_tool_prefix}nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + esac + fi + done + IFS="$lt_save_ifs" + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will +# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and +# top_srcdir appropriately in the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that LIBLTDL +# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If +# DIRECTORY is not provided and an installed libltdl is not found, it is +# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/' +# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single +# quotes!). If your package is not flat and you're not using automake, +# define top_builddir and top_srcdir appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) +])# _LT_AC_LANG_CXX + + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# -------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}\n' + +_LT_AC_SYS_COMPILER + +# +# Check for any special shared library compilation flags. +# +_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)= +if test "$GCC" = no; then + case $host_os in + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf' + ;; + esac +fi +if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then + AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries]) + if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then : + else + AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure]) + _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no + fi +fi + + +# +# Check to make sure the static flag actually works. +# +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $_LT_AC_TAGVAR(lt_prog_compiler_static, $1), + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) + + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF($1) + +# Report which librarie types wil actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case "$host_os" in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; + darwin* | rhapsody*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup' + ;; + esac + fi + ;; + esac + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cc + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;\n" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # KDE requires run time linking. Make it the default. + aix_use_runtimelinking=yes + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='-qmkshrobj ${wl}-G' + else + shared_flag='-qmkshrobj' + fi + fi + fi + + # Let the compiler handle the export list. + _LT_AC_TAGVAR(always_export_symbols, $1)=no + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=no + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' + + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + dgux*) + case $cc_basename in + ec++) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC) + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case "$host_cpu" in + ia64*|hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + irix5* | irix6*) + case $cc_basename in + CC) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc) + # Intel C++ + with_gnu_ld=yes + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + cxx) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + osf3*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sco*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case $cc_basename in + CC) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The C++ compiler is used as linker so we must use $wl + # flag to pass the commands to the underlying system + # linker. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + fi + ;; + esac + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +## CAVEAT EMPTOR: +## There is no encapsulation within the following macros, do not change +## the running order or otherwise move them around unless you know exactly +## what you are doing... +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 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 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. +# +# 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. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext='$shrext' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation ? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + test -f Makefile && make "$ltmain" +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Transform the above into a raw symbol and a C symbol. +symxfrm='\1 \2\3 \3' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris* | sysv5*) + symcode='[[BDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGISTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | kfreebsd*-gnu) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux*) + case $cc_basename in + KCC) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + cxx) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + sco*) + case $cc_basename in + CC) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + *) + ;; + esac + ;; + solaris*) + case $cc_basename in + CC) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + unixware*) + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + + mingw* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case "$host_cpu" in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux*) + case $CC in + icc* | ecc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + ccc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case "$host_os" in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac +]) + + +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=no + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$link_static_flag"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + + # KDE requires run time linking. Make it the default. + aix_use_runtimelinking=yes + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + esac + shared_flag='-shared' + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='-qmkshrobj ${wl}-G' + else + shared_flag='-qmkshrobj' + fi + fi + fi + + # Let the compiler handle the export list. + _LT_AC_TAGVAR(always_export_symbols, $1)=no + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # -bexpall does not export symbols beginning with underscore (_) + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds it's shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi4*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=no + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + if test "$GXX" = yes ; then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + case "$host_os" in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup' + ;; + esac + fi + ;; + esac + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | kfreebsd*-gnu) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $compiler_flags $libobjs $deplibs' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10* | hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs' + ;; + esac + else + case "$host_cpu" in + hppa*64*|ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + *) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + sco3.2v5*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ;; + + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4.2uw2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + hardcode_runpath_var=yes + runpath_var=LD_RUN_PATH + ;; + + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text' + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs' + fi + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv5*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + # $CC -shared without GNU ld will not create a library from C++ + # object files and a static libstdc++, better avoid it by now + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + printf "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS + + +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + + +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) + +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) + +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + +############################################################ +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +############################################################ +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && break + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_MSG_RESULT([$SED]) +]) + +dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) +dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page +dnl also defines GSTUFF_PKG_ERRORS on error +AC_DEFUN([PKG_CHECK_MODULES], [ + succeeded=no + + if test -z "$PKG_CONFIG"; then + AC_PATH_PROG(PKG_CONFIG, pkg-config, no) + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + AC_MSG_CHECKING(for $2) + + if $PKG_CONFIG --exists "$2" ; then + AC_MSG_RESULT(yes) + succeeded=yes + + AC_MSG_CHECKING($1_CFLAGS) + $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` + AC_MSG_RESULT($$1_CFLAGS) + + AC_MSG_CHECKING($1_LIBS) + $1_LIBS=`$PKG_CONFIG --libs "$2"` + AC_MSG_RESULT($$1_LIBS) + else + $1_CFLAGS="" + $1_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + ifelse([$4], ,echo $$1_PKG_ERRORS,) + fi + + AC_SUBST($1_CFLAGS) + AC_SUBST($1_LIBS) + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + ifelse([$3], , :, [$3]) + else + ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) + fi +]) + + diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..8358075 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,884 @@ +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 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. + +# 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. + +# Copyright (C) 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. + +# 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. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.9.6])]) + +# 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` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 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 7 + +# 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]) +AC_SUBST([$1_FALSE]) +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 +# 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 + +# 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], 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 + 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 + + case $depmode in + 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 + ;; + none) break ;; + esac + # 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. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} 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]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 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 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; 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. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /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 +# 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 12 + +# 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.58])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 +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +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 + 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) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +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 +]) +]) + + +# 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_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# 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_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +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])]) + +# Copyright (C) 1998, 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 5 + +# AM_PROG_LEX +# ----------- +# Autoconf leaves LEX=: if lex or flex can't be found. Change that to a +# "missing" invocation, for better error output. +AC_DEFUN([AM_PROG_LEX], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AM_MISSING_HAS_RUN])dnl +AC_REQUIRE([AC_PROG_LEX])dnl +if test "$LEX" = :; then + LEX=${am_missing_run}flex +fi]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 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 3 + +# 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 done +.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 +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +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, 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 + +# 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 +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# 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 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 whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 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 3 + +# _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], +[AC_FOREACH([_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 +# 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_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# 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) 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="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# 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 + +m4_include([acinclude.m4]) diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..854b254 --- /dev/null +++ b/config.h.in @@ -0,0 +1,394 @@ +/* config.h.in. Generated from configure.in by autoheader. */ + +/* Define to 1 if you have the header file. */ +#undef HAVE_CARBON_CARBON_H + +/* Define if you have the CoreAudio API */ +#undef HAVE_COREAUDIO + +/* Define to 1 if you have the header file. */ +#undef HAVE_CRT_EXTERNS_H + +/* Defines if your system has the crypt function */ +#undef HAVE_CRYPT + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_DIRENT_H + +/* Define if you have dlfcn */ +#undef HAVE_DLFCN + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_DL_H + +/* Define to 1 if you have the `fabsl' function. */ +#undef HAVE_FABSL + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `flock' function. */ +#undef HAVE_FLOCK + +/* Define to 1 if you have the header file. */ +#undef HAVE_FNMATCH_H + +/* Define if you have getdomainname */ +#undef HAVE_GETDOMAINNAME + +/* Define if you have the getdomainname prototype */ +#undef HAVE_GETDOMAINNAME_PROTO + +/* Define if you have gethostname */ +#undef HAVE_GETHOSTNAME + +/* Define if you have the gethostname prototype */ +#undef HAVE_GETHOSTNAME_PROTO + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if you have libjpeg */ +#undef HAVE_LIBJPEG + +/* Define if you have libpng */ +#undef HAVE_LIBPNG + +/* Define if you have a working libpthread (will enable threaded code) */ +#undef HAVE_LIBPTHREAD + +/* Define if you have libz */ +#undef HAVE_LIBZ + +/* Define to 1 if you have the header file. */ +#undef HAVE_LINUX_TCP_H + +/* Define to 1 if the type `long double' works and has more range or precision + than `double'. */ +#undef HAVE_LONG_DOUBLE + +/* Define to 1 if the type `long double' works and has more range or precision + than `double'. */ +#undef HAVE_LONG_DOUBLE_WIDER + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +#undef HAVE_NDIR_H + +/* Define if your system needs _NSGetEnviron to set up the environment */ +#undef HAVE_NSGETENVIRON + +/* Define to 1 if you have the header file. */ +#undef HAVE_PATHS_H + +/* Define if you have res_init */ +#undef HAVE_RES_INIT + +/* Define if you have the res_init prototype */ +#undef HAVE_RES_INIT_PROTO + +/* Define to 1 if you have the `re_comp' function. */ +#undef HAVE_RE_COMP + +/* Define if you have setenv */ +#undef HAVE_SETENV + +/* Define if you have the setenv prototype */ +#undef HAVE_SETENV_PROTO + +/* Define if you have a STL implementation by SGI */ +#undef HAVE_SGI_STL + +/* Define if you have shload */ +#undef HAVE_SHLOAD + +/* Define to 1 if you have the `snprintf' function. */ +#undef HAVE_SNPRINTF + +/* Define to 1 if you have the `socket' function. */ +#undef HAVE_SOCKET + +/* 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 `strdup' function. */ +#undef HAVE_STRDUP + +/* 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 if you have strlcat */ +#undef HAVE_STRLCAT + +/* Define if you have the strlcat prototype */ +#undef HAVE_STRLCAT_PROTO + +/* Define if you have strlcpy */ +#undef HAVE_STRLCPY + +/* Define if you have the strlcpy prototype */ +#undef HAVE_STRLCPY_PROTO + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYSENT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_BITYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_CDEFS_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_DIR_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_NDIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PROC_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_TIME_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 + +/* Define if you have unsetenv */ +#undef HAVE_UNSETENV + +/* Define if you have the unsetenv prototype */ +#undef HAVE_UNSETENV_PROTO + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTMP_H + +/* Define to 1 if you have the `vsnprintf' function. */ +#undef HAVE_VSNPRINTF + +/* Suffix for lib directories */ +#undef KDELIBSUFF + +/* 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 version of this package. */ +#undef PACKAGE_VERSION + +/* The size of `char *', as computed by sizeof. */ +#undef SIZEOF_CHAR_P + +/* The size of `int', as computed by sizeof. */ +#undef SIZEOF_INT + +/* The size of `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* The size of `short', as computed by sizeof. */ +#undef SIZEOF_SHORT + +/* The size of `size_t', as computed by sizeof. */ +#undef SIZEOF_SIZE_T + +/* The size of `unsigned long', as computed by sizeof. */ +#undef SIZEOF_UNSIGNED_LONG + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to 1 if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Version number of package */ +#undef VERSION + +/* Defined if compiling without arts */ +#undef WITHOUT_ARTS + +/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a + `char[]'. */ +#undef YYTEXT_POINTER + +/* + * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system + * headers and I'm too lazy to write a configure test as long as only + * unixware is related + */ +#ifdef _UNIXWARE +#define HAVE_BOOLEAN +#endif + + + +/* + * AIX defines FD_SET in terms of bzero, but fails to include + * that defines bzero. + */ + +#if defined(_AIX) +#include +#endif + + + +#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H) +# include +# include +# define environ (*_NSGetEnviron()) +#endif + + + +#if !defined(HAVE_GETDOMAINNAME_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +#include + int getdomainname (char *, size_t); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_GETHOSTNAME_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +int gethostname (char *, unsigned int); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_RES_INIT_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +int res_init(void); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_SETENV_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +int setenv (const char *, const char *, int); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_STRLCAT_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +unsigned long strlcat(char*, const char*, unsigned long); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_STRLCPY_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +unsigned long strlcpy(char*, const char*, unsigned long); +#ifdef __cplusplus +} +#endif +#endif + + + +#if !defined(HAVE_UNSETENV_PROTO) +#ifdef __cplusplus +extern "C" { +#endif +void unsetenv (const char *); +#ifdef __cplusplus +} +#endif +#endif + + + +/* + * On HP-UX, the declaration of vsnprintf() is needed every time ! + */ + +#if !defined(HAVE_VSNPRINTF) || defined(hpux) +#if __STDC__ +#include +#include +#else +#include +#endif +#ifdef __cplusplus +extern "C" +#endif +int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); +#ifdef __cplusplus +extern "C" +#endif +int snprintf(char *str, size_t n, char const *fmt, ...); +#endif + + + +#if defined(__SVR4) && !defined(__svr4__) +#define __svr4__ 1 +#endif + + +/* type to use in place of socklen_t if not defined */ +#undef kde_socklen_t + +/* type to use in place of socklen_t if not defined (deprecated, use + kde_socklen_t) */ +#undef ksize_t diff --git a/configure.files b/configure.files new file mode 100644 index 0000000..030bce8 --- /dev/null +++ b/configure.files @@ -0,0 +1,2 @@ +./admin/configure.in.min +configure.in.in diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..0d8a129 --- /dev/null +++ b/configure.in @@ -0,0 +1,170 @@ +dnl ======================================================= +dnl FILE: ./admin/configure.in.min +dnl ======================================================= + +dnl This file is part of the KDE libraries/packages +dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org) + +dnl This file is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Library General Public +dnl License as published by the Free Software Foundation; either +dnl version 2 of the License, or (at your option) any later version. + +dnl This library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Library General Public License for more details. + +dnl You should have received a copy of the GNU Library General Public License +dnl along with this library; see the file COPYING.LIB. If not, write to +dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +dnl Boston, MA 02110-1301, USA. + +# Original Author was Kalle@kde.org +# I lifted it in some mater. (Stephan Kulow) +# I used much code from Janos Farkas + +dnl Process this file with autoconf to produce a configure script. + +AC_INIT(acinclude.m4) dnl a source file from your sub dir + +dnl This is so we can use kde-common +AC_CONFIG_AUX_DIR(admin) + +dnl This ksh/zsh feature conflicts with `cd blah ; pwd` +unset CDPATH + +dnl Checking host/target/build systems, for make, install etc. +AC_CANONICAL_SYSTEM +dnl Perform program name transformation +AC_ARG_PROGRAM + +dnl Automake doc recommends to do this only here. (Janos) +AM_INIT_AUTOMAKE(keep-0.4.0, "3.5.4") dnl searches for some needed programs + +KDE_SET_PREFIX + +dnl generate the config header +AM_CONFIG_HEADER(config.h) dnl at the distribution this done + +dnl Checks for programs. +AC_CHECK_COMPILERS +AC_ENABLE_SHARED(yes) +AC_ENABLE_STATIC(no) +KDE_PROG_LIBTOOL + +dnl for NLS support. Call them in this order! +dnl WITH_NLS is for the po files +AM_KDE_WITH_NLS + +KDE_USE_QT(3.3) +AC_PATH_KDE +dnl ======================================================= +dnl FILE: configure.in.in +dnl ======================================================= + +#MIN_CONFIG(3.3) +# Define a symbol, to know that we're compiling WITH kde. (for apps that +# can compile without KDE, optionally) +AM_CONDITIONAL(KDE_INSTALLED, test "$have_kde" = "yes") + +dnl Checks for header files. +AC_HEADER_DIRENT +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/time.h sys/stat.h stdint.h) +AC_CHECK_HEADERS(sys/cdefs.h fnmatch.h sysent.h strings.h paths.h) +AC_CHECK_HEADERS(utmp.h sys/param.h linux/tcp.h sys/proc.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_TIME + +AC_C_LONG_DOUBLE + +dnl Checks for library functions. +KDE_CHECK_DLOPEN +AC_CHECK_FUNCS(socket fabsl strdup vsnprintf re_comp flock) +AC_CHECK_SETENV +AC_CHECK_UNSETENV +AC_CHECK_GETDOMAINNAME +AC_CHECK_GETHOSTNAME +AM_PROG_LEX +LFLAGS="-o${LEX_OUTPUT_ROOT}.c" +AC_SUBST(LFLAGS) +KDE_CREATE_SUBDIRSLIST +AM_CONDITIONAL(keep_SUBDIR_included, test "x$keep_SUBDIR_included" = xyes) +AM_CONDITIONAL(po_SUBDIR_included, test "x$po_SUBDIR_included" = xyes) +AC_CONFIG_FILES([ Makefile ]) +AC_CONFIG_FILES([ keep/Makefile ]) +AC_CONFIG_FILES([ keep/app/Makefile ]) +AC_CONFIG_FILES([ keep/common/Makefile ]) +AC_CONFIG_FILES([ keep/icons/Makefile ]) +AC_CONFIG_FILES([ keep/kded/Makefile ]) +AC_CONFIG_FILES([ po/Makefile ]) +AC_CONFIG_FILES([ po/bg/Makefile ]) +AC_CONFIG_FILES([ po/br/Makefile ]) +AC_CONFIG_FILES([ po/cs/Makefile ]) +AC_CONFIG_FILES([ po/da/Makefile ]) +AC_CONFIG_FILES([ po/de/Makefile ]) +AC_CONFIG_FILES([ po/el/Makefile ]) +AC_CONFIG_FILES([ po/es/Makefile ]) +AC_CONFIG_FILES([ po/ga/Makefile ]) +AC_CONFIG_FILES([ po/gl/Makefile ]) +AC_CONFIG_FILES([ po/it/Makefile ]) +AC_CONFIG_FILES([ po/ja/Makefile ]) +AC_CONFIG_FILES([ po/ka/Makefile ]) +AC_CONFIG_FILES([ po/lt/Makefile ]) +AC_CONFIG_FILES([ po/nl/Makefile ]) +AC_CONFIG_FILES([ po/pl/Makefile ]) +AC_CONFIG_FILES([ po/pt/Makefile ]) +AC_CONFIG_FILES([ po/ru/Makefile ]) +AC_CONFIG_FILES([ po/sk/Makefile ]) +AC_CONFIG_FILES([ po/sr/Makefile ]) +AC_CONFIG_FILES([ po/sr@Latn/Makefile ]) +AC_CONFIG_FILES([ po/sv/Makefile ]) +AC_CONFIG_FILES([ po/tr/Makefile ]) +AC_OUTPUT +# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure +if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then + # And if so, warn when they don't match + if test "$kde_libs_prefix" != "$given_prefix"; then + # And if kde doesn't know about the prefix yet + echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null + if test $? -ne 0; then + echo "" + echo "Warning: you chose to install this package in $given_prefix," + echo "but KDE was found in $kde_libs_prefix." + echo "For this to work, you will need to tell KDE about the new prefix, by ensuring" + echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix" + echo "Then restart KDE." + echo "" + fi + fi +fi + +if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then + echo "" + echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility" + echo "was not included. Therefore, GCC symbol visibility support remains disabled." + echo "" + echo "For better performance, consider including the Qt visibility supporting patch" + echo "located at:" + echo "" + echo "http://bugs.kde.org/show_bug.cgi?id=109386" + echo "" + echo "and recompile all of Qt and KDE. Note, this is entirely optional and" + echo "everything will continue to work just fine without it." + echo "" +fi + +if test "$all_tests" = "bad"; then + if test ! "$cache_file" = "/dev/null"; then + echo "" + echo "Please remove the file $cache_file after changing your setup" + echo "so that configure will find the changes next time." + echo "" + fi +else + echo "" + echo "Good - your configure finished. Start make now" + echo "" +fi diff --git a/configure.in.in b/configure.in.in new file mode 100644 index 0000000..49e3383 --- /dev/null +++ b/configure.in.in @@ -0,0 +1,27 @@ +#MIN_CONFIG(3.3) +# Define a symbol, to know that we're compiling WITH kde. (for apps that +# can compile without KDE, optionally) +AM_CONDITIONAL(KDE_INSTALLED, test "$have_kde" = "yes") + +dnl Checks for header files. +AC_HEADER_DIRENT +AC_HEADER_STDC +AC_CHECK_HEADERS(fcntl.h sys/time.h sys/stat.h stdint.h) +AC_CHECK_HEADERS(sys/cdefs.h fnmatch.h sysent.h strings.h paths.h) +AC_CHECK_HEADERS(utmp.h sys/param.h linux/tcp.h sys/proc.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_TIME + +AC_C_LONG_DOUBLE + +dnl Checks for library functions. +KDE_CHECK_DLOPEN +AC_CHECK_FUNCS(socket fabsl strdup vsnprintf re_comp flock) +AC_CHECK_SETENV +AC_CHECK_UNSETENV +AC_CHECK_GETDOMAINNAME +AC_CHECK_GETHOSTNAME +AM_PROG_LEX +LFLAGS="-o${LEX_OUTPUT_ROOT}.c" +AC_SUBST(LFLAGS) diff --git a/keep/Makefile.am b/keep/Makefile.am new file mode 100644 index 0000000..fc04151 --- /dev/null +++ b/keep/Makefile.am @@ -0,0 +1,9 @@ +messages: + $(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` > rc.cpp + LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ + if test -n "$$LIST"; then \ + $(XGETTEXT) $$LIST -o $(podir)/keep.pot; \ + fi + +SUBDIRS = common app kded icons +EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README TODO diff --git a/keep/NEWS b/keep/NEWS new file mode 100644 index 0000000..3dcf5f8 --- /dev/null +++ b/keep/NEWS @@ -0,0 +1,14 @@ +Keep NEWS +===================== + +09/02/2006: version 0.3.0 released +30/01/2006: version 0.2.4 released +24/01/2006: version 0.2.3 released +16/01/2006: version 0.2.2 released +14/01/2006: version 0.2.1 released +11/01/2006: version 0.2.0 released +07/01/2006: gui code refactored +29/12/2005: version 0.1.2 released +28/12/2005: code added on KDE SVN +27/12/2005: version 0.1.1 released +26/12/2005: version 0.1.0 released diff --git a/keep/app/Makefile.am b/keep/app/Makefile.am new file mode 100644 index 0000000..034895a --- /dev/null +++ b/keep/app/Makefile.am @@ -0,0 +1,27 @@ +INCLUDES = -I$(top_srcdir)/keep/common -I$(top_builddir)/keep/common $(all_includes) + +METASOURCES = AUTO + +bin_PROGRAMS = keep +keep_SOURCES = main.cpp keepmainwindow.cpp backuplistwidget.cpp\ + restorebackupwizard.cpp addbackupwizard.cpp\ + actionview.ui forcebackupdialogview.ui forcebackupdialog.cpp backupconfigdialog.cpp logview.ui logdialog.cpp includeexcludeview.ui includeexcludedialog.cpp\ + advancedbackupconfigview.ui generalconfigview.ui\ + advancedbackupconfigdialog.cpp\ + addbackupwizard1view.ui addbackupwizard2view.ui\ + addbackupwizard3view.ui restorebackupwizard1view.ui\ + restorebackupwizard2view.ui restorebackupwizard3view.ui backuplistview.ui +keep_LDADD = $(top_builddir)/keep/common/libkeep.la $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_KIO) +keep_LDFLAGS = $(KDE_RPATH) $(all_libraries) + +noinst_HEADERS = keepmainwindow.h addbackupwizard.h logdialog.h\ + restorebackupwizard.h forcebackupdialog.h\ + backupconfigdialog.h backuplistwidget.h\ + advancedbackupconfigdialog.h includeexcludedialog.h + +KDE_ICON = keep + +xdg_apps_DATA = keep.desktop + +shellrcdir = $(kde_datadir)/keep +shellrc_DATA = keepui.rc diff --git a/keep/app/actionview.ui b/keep/app/actionview.ui new file mode 100644 index 0000000..95eacd9 --- /dev/null +++ b/keep/app/actionview.ui @@ -0,0 +1,528 @@ + +ActionView + + + ActionView + + + true + + + + 0 + 0 + 454 + 459 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + + layout22 + + + + unnamed + + + + m_grpSystem + + + + 1 + 1 + 0 + 0 + + + + Backup system: + + + + unnamed + + + + layout21 + + + + unnamed + + + + layout15 + + + + unnamed + + + + m_btnAddWizard + + + + 0 + 0 + 0 + 0 + + + + + 35 + 35 + + + + + 35 + 32767 + + + + + + + + + m_lblDispWizard + + + + 7 + 0 + 0 + 0 + + + + <i>Add directory to backup</i> + + + + + + + layout16 + + + + unnamed + + + + m_btnRestoreWizard + + + + 0 + 0 + 0 + 0 + + + + + 35 + 35 + + + + + 35 + 35 + + + + + + + + + m_lblDispForce + + + + 7 + 0 + 0 + 0 + + + + <i>Restore a backup</i> + + + + + + + layout17 + + + + unnamed + + + + m_btnForce + + + + 0 + 0 + 0 + 0 + + + + + 35 + 35 + + + + + 35 + 32767 + + + + + + + + + m_btnDispClear + + + + 7 + 0 + 0 + 0 + + + + <i>Backup now</i> + + + + + + + layout15 + + + + unnamed + + + + m_btnBackupConfig + + + + 0 + 0 + 0 + 0 + + + + + 35 + 35 + + + + + 35 + 32767 + + + + + + + + + m_btnDispClear_2 + + + + 7 + 0 + 0 + 0 + + + + <i>Edit backup list</i> + + + + + + + layout15_4 + + + + unnamed + + + + m_btnLog + + + + 0 + 0 + 0 + 0 + + + + + 35 + 35 + + + + + 35 + 32767 + + + + + + + + + m_btnDispLog + + + + 7 + 0 + 0 + 0 + + + + <i>View backup log</i> + + + + + + + + + + + m_grpDaemon + + + + 1 + 1 + 0 + 0 + + + + Backup daemon: + + + + unnamed + + + + layout13 + + + + unnamed + + + + layout5 + + + + unnamed + + + + m_ledDaemonState + + + + 4 + 4 + 0 + 0 + + + + Flat + + + + + m_lblDispDaemonState + + + + 1 + 1 + 0 + 0 + + + + + 12 + + + + Keep daemon state: + + + + + m_lblDaemonState + + + + 7 + 1 + 0 + 0 + + + + + 12 + + + + <p align="right"><b>unknown</b></p> + + + + + + + line2 + + + HLine + + + Sunken + + + Horizontal + + + + + layout4 + + + + unnamed + + + + m_btnLoadDaemon + + + &Load + + + + + m_btnUnloadDaemon + + + Unload + + + + + m_btnReloadDaemon + + + &Reload + + + + + + + + + + + spacer1 + + + Vertical + + + Expanding + + + + 20 + 85 + + + + + + + + + + + + kpushbutton.h + kactivelabel.h + kpushbutton.h + kactivelabel.h + kpushbutton.h + kactivelabel.h + kpushbutton.h + kactivelabel.h + kpushbutton.h + kactivelabel.h + kled.h + kactivelabel.h + kactivelabel.h + kpushbutton.h + kpushbutton.h + kpushbutton.h + + diff --git a/keep/app/addbackupwizard.cpp b/keep/app/addbackupwizard.cpp new file mode 100644 index 0000000..f82baa2 --- /dev/null +++ b/keep/app/addbackupwizard.cpp @@ -0,0 +1,188 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "addbackupwizard.h" + +#include +#include +#include +#include +#include +#include + +AddBackupWizard::AddBackupWizard(QWidget *parent,const char* name): KWizard( parent, name, true) +{ + initView(); + resize( minimumSizeHint() ); + + setNextEnabled(page1,false); + setNextEnabled(page2,false); + setFinishEnabled(page3, false); + + this->setCaption("Add a backup"); + + initConnections(); +} + +AddBackupWizard::AddBackupWizard(Backup backup,QWidget *parent,const char* name): KWizard( parent, name, true) +{ + initView(); + + this->setCaption("Edit backup"); + + addBackupWizard1View->source->setURL(backup.source()); + addBackupWizard1View->useIncludeExclude->setChecked(backup.useIncludeExclude()); + addBackupWizard2View->dest->setURL(backup.dest()); + addBackupWizard3View->interval->setValue(backup.interval()); + addBackupWizard3View->deleteAfter->setValue(backup.deleteAfter()); + addBackupWizard3View->neverDelete->setChecked(backup.neverDelete()); + addBackupWizard3View->useCompression->setChecked(backup.useCompression()); + addBackupWizard3View->excludeSpecialFiles->setChecked(backup.excludeSpecialFiles()); + addBackupWizard3View->useAdvancedConfig->setChecked(backup.useAdvancedConfig()); + + includeExcludeDialog->setIncludeExcludeList(backup.includeExcludeList()); + advancedBackupConfigDialog->setOptionList(backup.optionList()); + + resize( minimumSizeHint() ); + + setNextEnabled(page1,true); + setNextEnabled(page2,true); + setFinishEnabled(page3, true); + + initConnections(); +} + +void AddBackupWizard::initView() +{ + advancedBackupConfigDialog = new AdvancedBackupConfigDialog(this); + includeExcludeDialog = new IncludeExcludeDialog(this); + + KIconLoader icons; + this->setIcon( icons.loadIcon( "wizard",KIcon::Small )); + + setupPage1(); + setupPage2(); + setupPage3(); +} + +void AddBackupWizard::initConnections() +{ + connect( addBackupWizard1View->source, SIGNAL( textChanged(const QString&)), this, SLOT( slotPage1Changed() ) ); + connect( addBackupWizard2View->dest, SIGNAL( textChanged(const QString&)), this, SLOT( slotPage2Changed() ) ); + connect( addBackupWizard3View->advancedConfig, SIGNAL( clicked()),this,SLOT(slotShowAdvancedConfig())); + connect( addBackupWizard1View->includeExclude, SIGNAL( clicked()),this,SLOT(slotShowIncludeExclude())); + connect( finishButton(), SIGNAL( clicked()), this, SLOT( slotFinishClicked() ) ); +} + +void AddBackupWizard::setupPage1() +{ + page1 = new QHBox( this ); + page1->setSpacing(0); + page1->setMargin(0); + + addBackupWizard1View = new AddBackupWizard1View(page1,"addBackupWizard1View"); + addBackupWizard1View->source->setMode(KFile::Directory); + KIconLoader *icons = KGlobal::iconLoader(); + addBackupWizard1View->includeExclude->setPixmap(icons->loadIcon("configure",KIcon::Toolbar,16)); + + addPage( page1, "Directory to backup" ); +} + +void AddBackupWizard::setupPage2() +{ + page2 = new QHBox( this ); + page2->setSpacing(0); + page2->setMargin(0); + + addBackupWizard2View = new AddBackupWizard2View(page2,"addBackupWizard2View"); + addBackupWizard2View->dest->setMode(KFile::Directory); + + addPage( page2, "Backup location" ); +} + +void AddBackupWizard::setupPage3() +{ + page3 = new QHBox( this ); + page3->setSpacing(0); + page3->setMargin(0); + + addBackupWizard3View = new AddBackupWizard3View(page3,"addBackupWizard3View"); + KIconLoader *icons = KGlobal::iconLoader(); + addBackupWizard3View->advancedConfig->setPixmap(icons->loadIcon("configure",KIcon::Toolbar,16)); + + addPage( page3, "Backup options" ); +} + +void AddBackupWizard::slotPage1Changed() +{ + setNextEnabled(page1,false); + setFinishEnabled(page3,false); + if ( addBackupWizard1View->source->url() != "" ) + { + setNextEnabled(page1,true); + if ( addBackupWizard2View->dest->url() != "" ) + setFinishEnabled(page3,true); + } +} + +void AddBackupWizard::slotPage2Changed() +{ + setNextEnabled(page2,false); + setFinishEnabled(page3,false); + if ( addBackupWizard2View->dest->url() != "" ) + { + setNextEnabled(page2,true); + if ( addBackupWizard1View->source->url() != "" ) + setFinishEnabled(page3,true); + } +} + +void AddBackupWizard::slotShowAdvancedConfig() +{ + advancedBackupConfigDialog->show(); +} + +void AddBackupWizard::slotShowIncludeExclude() +{ + includeExcludeDialog->show(); +} + +Backup AddBackupWizard::backup() +{ + QString source = addBackupWizard1View->source->url(); + QString dest = addBackupWizard2View->dest->url(); + int interval = addBackupWizard3View->interval->value(); + int deleteAfter = addBackupWizard3View->deleteAfter->value(); + bool neverDelete = addBackupWizard3View->neverDelete->isChecked(); + bool useCompression = addBackupWizard3View->useCompression->isChecked(); + bool excludeSpecialFiles = addBackupWizard3View->excludeSpecialFiles->isChecked(); + bool useAdvancedConfig = addBackupWizard3View->useAdvancedConfig->isChecked(); + QStringList optionList = advancedBackupConfigDialog->optionList(); + bool useIncludeExclude = addBackupWizard1View->useIncludeExclude->isChecked(); + QStringList includeExcludeList = includeExcludeDialog->includeExcludeList(); + Backup backup(source,dest,interval,deleteAfter,neverDelete,useCompression,excludeSpecialFiles,useAdvancedConfig,optionList,useIncludeExclude,includeExcludeList); + + return backup; +} + +void AddBackupWizard::slotFinishClicked() +{ + emit backupSetted(backup()); +} + +#include "addbackupwizard.moc" diff --git a/keep/app/addbackupwizard.h b/keep/app/addbackupwizard.h new file mode 100644 index 0000000..05aa46a --- /dev/null +++ b/keep/app/addbackupwizard.h @@ -0,0 +1,69 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _ADDBACKUPWIZARD_H_ +#define _ADDBACKUPWIZARD_H_ + +#include +#include + +#include "backup.h" +#include "advancedbackupconfigdialog.h" +#include "includeexcludedialog.h" +#include "addbackupwizard1view.h" +#include "addbackupwizard2view.h" +#include "addbackupwizard3view.h" + +class AddBackupWizard: public KWizard +{ +Q_OBJECT +public: + AddBackupWizard(QWidget *parent, const char *name); + AddBackupWizard(Backup backup,QWidget *parent, const char *name); + + Backup backup(); + +public slots: + void slotPage1Changed(); + void slotPage2Changed(); + + void slotShowAdvancedConfig(); + void slotShowIncludeExclude(); + void slotFinishClicked(); + +signals: + void backupSetted(Backup backup); + +private: + // init GUI + void setupPage1(); + void setupPage2(); + void setupPage3(); + + void initView(); + void initConnections(); + + QHBox *page1,*page2,*page3; + AddBackupWizard1View *addBackupWizard1View; + AddBackupWizard2View *addBackupWizard2View; + AddBackupWizard3View *addBackupWizard3View; + AdvancedBackupConfigDialog *advancedBackupConfigDialog; + IncludeExcludeDialog *includeExcludeDialog; +}; + +#endif diff --git a/keep/app/addbackupwizard1view.ui b/keep/app/addbackupwizard1view.ui new file mode 100644 index 0000000..eb31bca --- /dev/null +++ b/keep/app/addbackupwizard1view.ui @@ -0,0 +1,202 @@ + +AddBackupWizard1View + + + AddBackupWizard1View + + + + 0 + 0 + 429 + 386 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + 0 + + + 0 + + + + layout17 + + + + unnamed + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout16 + + + + unnamed + + + + kActiveLabel13 + + + + 7 + 1 + 0 + 0 + + + + Select a directory for backup. + + + + + source + + + + 7 + 1 + 0 + 0 + + + + + + layout11 + + + + unnamed + + + + useIncludeExclude + + + + 7 + 0 + 0 + 0 + + + + Use inclusion/exclusion list + + + false + + + + + includeExclude + + + false + + + + + + + + + + spacer6 + + + Vertical + + + Expanding + + + + 20 + 260 + + + + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + useIncludeExclude + toggled(bool) + includeExclude + setEnabled(bool) + + + + + kactivelabel.h + kurlrequester.h + klineedit.h + kpushbutton.h + kpushbutton.h + + diff --git a/keep/app/addbackupwizard2view.ui b/keep/app/addbackupwizard2view.ui new file mode 100644 index 0000000..c9ad2c7 --- /dev/null +++ b/keep/app/addbackupwizard2view.ui @@ -0,0 +1,172 @@ + +AddBackupWizard2View + + + AddBackupWizard2View + + + + 0 + 0 + 518 + 363 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + 0 + + + 0 + + + + layout10 + + + + unnamed + + + 0 + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout9 + + + + unnamed + + + 0 + + + + layout8 + + + + unnamed + + + 6 + + + + kActiveLabel13 + + + + 7 + 1 + 0 + 0 + + + + Select a location to place the backup. + + + + + dest + + + + 7 + 1 + 0 + 0 + + + + + + spacer6 + + + Vertical + + + Expanding + + + + 20 + 381 + + + + + + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + kactivelabel.h + kurlrequester.h + klineedit.h + kpushbutton.h + + diff --git a/keep/app/addbackupwizard3view.ui b/keep/app/addbackupwizard3view.ui new file mode 100644 index 0000000..e392165 --- /dev/null +++ b/keep/app/addbackupwizard3view.ui @@ -0,0 +1,446 @@ + +AddBackupWizard3View + + + AddBackupWizard3View + + + + 0 + 0 + 511 + 363 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + 0 + + + 0 + + + + layout16 + + + + unnamed + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + + 1 + 1 + 0 + 0 + + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout15 + + + + unnamed + + + + kActiveLabel13 + + + + 7 + 1 + 0 + 0 + + + + Set the desired options for your backup. + + + + + groupBox2 + + + + 7 + 1 + 0 + 0 + + + + General options: + + + + unnamed + + + + layout8 + + + + unnamed + + + + layout6_2 + + + + unnamed + + + + layout5 + + + + unnamed + + + + lblBackupInterval + + + + 1 + 1 + 0 + 0 + + + + Backup interval (days): + + + + + lbl + + + + 1 + 1 + 0 + 0 + + + + Delete after (days): + + + + + + + layout4 + + + + unnamed + + + + interval + + + + 7 + 0 + 0 + 0 + + + + PlusMinus + + + 30 + + + 1 + + + 3 + + + + + deleteAfter + + + + 7 + 0 + 0 + 0 + + + + PlusMinus + + + 365 + + + 1 + + + 60 + + + + + + + + + layout7 + + + + unnamed + + + + neverDelete + + + + 7 + 0 + 0 + 0 + + + + Never delete + + + + + + + + + + + groupBox3 + + + + 7 + 1 + 0 + 0 + + + + Extra options: + + + + unnamed + + + + layout12 + + + + unnamed + + + + useCompression + + + + 7 + 0 + 0 + 0 + + + + Use compression + + + true + + + + + excludeSpecialFiles + + + Exclude special files + + + true + + + + + layout11 + + + + unnamed + + + + useAdvancedConfig + + + + 7 + 0 + 0 + 0 + + + + Use advanced configuration + + + false + + + + + advancedConfig + + + false + + + + + + + + + + + + + + spacer6 + + + Vertical + + + Expanding + + + + 20 + 46 + + + + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + neverDelete + toggled(bool) + deleteAfter + setDisabled(bool) + + + useAdvancedConfig + toggled(bool) + useCompression + setDisabled(bool) + + + useAdvancedConfig + toggled(bool) + excludeSpecialFiles + setDisabled(bool) + + + useAdvancedConfig + toggled(bool) + advancedConfig + setEnabled(bool) + + + + + kactivelabel.h + kactivelabel.h + kactivelabel.h + knuminput.h + knuminput.h + kpushbutton.h + + diff --git a/keep/app/advancedbackupconfigdialog.cpp b/keep/app/advancedbackupconfigdialog.cpp new file mode 100644 index 0000000..de8babd --- /dev/null +++ b/keep/app/advancedbackupconfigdialog.cpp @@ -0,0 +1,92 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "advancedbackupconfigdialog.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +AdvancedBackupConfigDialog::AdvancedBackupConfigDialog(QWidget *parent):KDialogBase(Plain, i18n("Advanced Backup Configuration"), + Help|Ok, Ok, parent, "advancedBackupConfigDialog", true, false) +{ + QGridLayout *topLayout = new QGridLayout(plainPage()); + m_advancedBackupConfigView = new AdvancedBackupConfigView(plainPage()); + + topLayout->addWidget( m_advancedBackupConfigView,0,0 ); + m_advancedBackupConfigView->optionList->availableListBox()->insertStringList(allOptionList()); + resize( QSize(350,450).expandedTo(minimumSizeHint()) ); +} + +QStringList AdvancedBackupConfigDialog::optionList() +{ + QStringList options; + for (uint i=0;ioptionList->selectedListBox()->count();i++) + { + options.append(m_advancedBackupConfigView->optionList->selectedListBox()->text(i)); + } + return options; +} + +void AdvancedBackupConfigDialog::setOptionList(QStringList optionList) +{ + QStringList alloptions = allOptionList(); + QStringList available; + for ( QStringList::Iterator it = alloptions.begin(); it != alloptions.end(); ++it ) + { + if ( optionList.grep(*it).size() == 0 ) + { + available.append(*it); + } + } + m_advancedBackupConfigView->optionList->availableListBox()->clear(); + m_advancedBackupConfigView->optionList->availableListBox()->insertStringList(available); + m_advancedBackupConfigView->optionList->selectedListBox()->clear(); + m_advancedBackupConfigView->optionList->selectedListBox()->insertStringList(optionList); +} + +QStringList AdvancedBackupConfigDialog::allOptionList() +{ + QStringList options; + options.append("--no-hard-links"); + options.append("--exclude-special-files"); + options.append("--exclude-device-files"); + options.append("--exclude-fifos"); + options.append("--exclude-symbolic-links"); + options.append("--exclude-sockets"); + options.append("--never-drop-acls"); + options.append("--no-compare-inode"); + options.append("--no-file-statistics"); + options.append("--preserve-numerical-ids"); + options.append("--ssh-no-compression"); + options.append("--no-compression"); + options.append("--include-special-files"); + options.append("--include-symbolic-links"); + return options; +} + +#include "advancedbackupconfigdialog.moc" diff --git a/keep/app/advancedbackupconfigdialog.h b/keep/app/advancedbackupconfigdialog.h new file mode 100644 index 0000000..26ed7b9 --- /dev/null +++ b/keep/app/advancedbackupconfigdialog.h @@ -0,0 +1,43 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _ADVANCEDBACKUPCONFIGDIALOG_H_ +#define _ADVANCEDBACKUPCONFIGDIALOG_H_ + +#include + +#include "advancedbackupconfigview.h" + +class AdvancedBackupConfigDialog: public KDialogBase +{ +Q_OBJECT + +public: + AdvancedBackupConfigDialog(QWidget *parent); + ~AdvancedBackupConfigDialog() {}; + + QStringList optionList(); + void setOptionList(QStringList optionList); + +private: + QStringList allOptionList(); + AdvancedBackupConfigView *m_advancedBackupConfigView; + +}; + +#endif diff --git a/keep/app/advancedbackupconfigview.ui b/keep/app/advancedbackupconfigview.ui new file mode 100644 index 0000000..75dde46 --- /dev/null +++ b/keep/app/advancedbackupconfigview.ui @@ -0,0 +1,90 @@ + +AdvancedBackupConfigView + + + AdvancedBackupConfigView + + + + 0 + 0 + 401 + 449 + + + + + unnamed + + + 0 + + + 0 + + + + layout3 + + + + unnamed + + + + kActiveLabel1 + + + + 7 + 1 + 0 + 0 + + + + Choose the options you want to use during the backup process: + + + + + line1 + + + HLine + + + Sunken + + + Horizontal + + + + + optionList + + + true + + + + 1 + 7 + 0 + 0 + + + + + + + + + + + + kactivelabel.h + kactionselector.h + + diff --git a/keep/app/backupconfigdialog.cpp b/keep/app/backupconfigdialog.cpp new file mode 100644 index 0000000..4ac8784 --- /dev/null +++ b/keep/app/backupconfigdialog.cpp @@ -0,0 +1,68 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "backupconfigdialog.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "backupconfig.h" + +BackupConfigDialog::BackupConfigDialog(QWidget *parent):KDialogBase(Plain, i18n("Configure backups"), + Help|Cancel|Ok, Cancel, parent, "configBackups", true, false) +{ + KIconLoader *icons = KGlobal::iconLoader(); + + + QFrame *page = plainPage(); + QVBoxLayout *topLayout = new QVBoxLayout( page, 0, KDialog::spacingHint() ); + m_backupListWidget = new BackupListWidget(page,"backupListWidget"); + topLayout->addWidget( m_backupListWidget ); + setMainWidget(page); + + connect( this, SIGNAL( okClicked()),this, SLOT(saveSettings())); +} + +void BackupConfigDialog::saveSettings() +{ + m_backupListWidget->slotSaveSettings(); +} + +void BackupConfigDialog::readSettings() +{ + +} + +#include "backupconfigdialog.moc" diff --git a/keep/app/backupconfigdialog.h b/keep/app/backupconfigdialog.h new file mode 100644 index 0000000..0e79655 --- /dev/null +++ b/keep/app/backupconfigdialog.h @@ -0,0 +1,44 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _BACKUPCONFIGDIALOG_H_ +#define _BACKUPCONFIGDIALOG_H_ + +#include + +#include "backuplistwidget.h" + +class BackupConfigDialog: public KDialogBase +{ + + Q_OBJECT + +public: + BackupConfigDialog(QWidget *parent); + ~BackupConfigDialog() {}; + +public slots: + void readSettings(); + void saveSettings(); + +private: + BackupListWidget *m_backupListWidget; + +}; + +#endif diff --git a/keep/app/backuplistview.ui b/keep/app/backuplistview.ui new file mode 100644 index 0000000..f887fb0 --- /dev/null +++ b/keep/app/backuplistview.ui @@ -0,0 +1,157 @@ + +BackupListView + + + BackupListView + + + + 0 + 0 + 545 + 619 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + 0 + + + 0 + + + + layout4 + + + + unnamed + + + + + Source + + + true + + + true + + + + + Destination + + + true + + + true + + + + + Backup Interval + + + true + + + true + + + + + Delete After + + + true + + + true + + + + m_lstBackup + + + LastColumn + + + + + layout3 + + + + unnamed + + + + m_btnAdd + + + Add + + + + + m_btnEdit + + + Edit + + + + + m_btnRemove + + + Remove + + + + + spacer1 + + + Vertical + + + Expanding + + + + 20 + 480 + + + + + + + + + + + + + + klistview.h + kpushbutton.h + kpushbutton.h + kpushbutton.h + + diff --git a/keep/app/backuplistwidget.cpp b/keep/app/backuplistwidget.cpp new file mode 100644 index 0000000..854e6c3 --- /dev/null +++ b/keep/app/backuplistwidget.cpp @@ -0,0 +1,114 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "backuplistwidget.h" + +#include +#include +#include +#include +#include + +#include "backuplistviewitem.h" +#include "listviewtooltip.h" +#include "addbackupwizard.h" +#include "backupconfig.h" + +BackupListWidget::BackupListWidget(QWidget *parent,char *name): BackupListView(parent,name) +{ + QToolTip::remove(m_lstBackup); + new ListViewToolTip(m_lstBackup); + slotReadSettings(); + + connect( m_btnAdd, SIGNAL( clicked()), this, SLOT( slotAddClicked() ) ); + connect( m_btnRemove, SIGNAL( clicked()), this, SLOT( slotRemoveClicked() ) ); + connect( m_btnEdit, SIGNAL( clicked()), this, SLOT( slotEditClicked() ) ); +} + +BackupListWidget::~BackupListWidget() +{ +} + +void BackupListWidget::slotReadSettings() +{ + m_lstBackup->clear(); + BackupConfig *backupConfig = new BackupConfig(); + QValueList backupList = backupConfig->backupList(); + QValueList::iterator it; + for ( it = backupList.begin(); it != backupList.end(); ++it ) + { + BackupListViewItem *item = new BackupListViewItem(m_lstBackup,*it); + } + delete backupConfig; +} + +void BackupListWidget::slotSaveSettings() +{ + QValueList backupList; + QListViewItemIterator it( m_lstBackup ); + while ( it.current() ) { + QListViewItem *item = it.current(); + BackupListViewItem *backupItem = static_cast(item); + backupList.append(backupItem->backup()); + ++it; + } + BackupConfig *backupConfig = new BackupConfig(); + backupConfig->setBackupList(backupList); + delete backupConfig; +} + +void BackupListWidget::slotAddClicked() +{ + AddBackupWizard *wizard = new AddBackupWizard(this,"addBackupWizard"); + connect(wizard,SIGNAL(backupSetted(Backup) ), this, SLOT(slotAddBackup(Backup))); + wizard->show(); +} + +void BackupListWidget::slotEditClicked() +{ + QListViewItem *item = m_lstBackup->currentItem(); + if ( item ) + { + BackupListViewItem *backupItem = static_cast(item); + AddBackupWizard *wizard = new AddBackupWizard(backupItem->backup(),this,"addBackupWizard"); + connect(wizard,SIGNAL(backupSetted(Backup) ), this, SLOT(slotUpdateBackup(Backup))); + wizard->show(); + } +} + +void BackupListWidget::slotRemoveClicked() +{ + m_lstBackup->removeItem(m_lstBackup->currentItem()); +} + +void BackupListWidget::slotAddBackup(Backup backup) +{ + BackupListViewItem *item = new BackupListViewItem(m_lstBackup,backup); +} + +void BackupListWidget::slotUpdateBackup(Backup backup) +{ + QListViewItem *item = m_lstBackup->currentItem(); + if ( item ) + { + BackupListViewItem *backupItem = static_cast(item); + backupItem->setBackup(backup); + } +} + +#include "backuplistwidget.moc" diff --git a/keep/app/backuplistwidget.h b/keep/app/backuplistwidget.h new file mode 100644 index 0000000..3ffe0d5 --- /dev/null +++ b/keep/app/backuplistwidget.h @@ -0,0 +1,43 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _BACKUPLISTWIDGET_H_ +#define _BACKUPLISTWIDGET_H_ + +#include "backuplistview.h" +#include "backup.h" + +class BackupListWidget: public BackupListView +{ + Q_OBJECT +public: + BackupListWidget(QWidget *parent, char *name); + ~BackupListWidget(); + +public slots: + void slotReadSettings(); + void slotSaveSettings(); + void slotAddClicked(); + void slotRemoveClicked(); + void slotEditClicked(); + void slotAddBackup(Backup backup); + void slotUpdateBackup(Backup backup); + +}; + +#endif diff --git a/keep/app/forcebackupdialog.cpp b/keep/app/forcebackupdialog.cpp new file mode 100644 index 0000000..5db53b0 --- /dev/null +++ b/keep/app/forcebackupdialog.cpp @@ -0,0 +1,99 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "forcebackupdialog.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "backupconfig.h" +#include "backuplistviewitem.h" + +ForceBackupDialog::ForceBackupDialog(QWidget *parent):KDialogBase(Plain, i18n("Backup now"), + Help|Cancel|Ok, Cancel, parent, "forceBackupDialog", true, false) +{ + QGridLayout* toplayout = new QGridLayout(plainPage()); + m_view = new ForceBackupDialogView(plainPage()); + toplayout->addWidget(m_view,0,0); + + loadBackupList(); + + m_manager = new RDBManager(); + connect( m_manager, SIGNAL(backupError(Backup,QString)), this, SLOT(slotBackupError(Backup,QString)) ); + + connect( this, SIGNAL(okClicked()), this, SLOT(slotForceBackup())); +} + +ForceBackupDialog::~ForceBackupDialog() +{ + delete m_manager; +} + +void ForceBackupDialog::loadBackupList() +{ + BackupConfig backupConfig; + QValueList backupList = backupConfig.backupList(); + QValueList::iterator it; + for ( it = backupList.begin(); it != backupList.end(); ++it ) + { + new BackupListViewItem(m_view->m_lstBackup,*it); + } +} + +void ForceBackupDialog::slotForceBackup() +{ + QValueList backupList; + QListViewItemIterator it( m_view->m_lstBackup ); + while ( it.current() ) + { + QListViewItem *item = it.current(); + if ( item->isSelected() ) + { + BackupListViewItem *backupItem = static_cast(item); + backupList.append(backupItem->backup()); + } + ++it; + } + RDBManager *manager; + m_manager->slotForceBackup(backupList); +} + +void ForceBackupDialog::slotBackupError(Backup backup,QString errorMessage) +{ + KMessageBox::error(this,i18n("

An error occured making %1 backup:

%2

").arg(backup.source()).arg(errorMessage)); +} + +#include "forcebackupdialog.moc" diff --git a/keep/app/forcebackupdialog.h b/keep/app/forcebackupdialog.h new file mode 100644 index 0000000..be12538 --- /dev/null +++ b/keep/app/forcebackupdialog.h @@ -0,0 +1,48 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _FORCEBACKUPDIALOG_H_ +#define _FORCEBACKUPDIALOG_H_ + +#include + +#include "forcebackupdialogview.h" +#include "rdbmanager.h" +#include "backup.h" + +class ForceBackupDialog: public KDialogBase +{ + + Q_OBJECT + +public: + ForceBackupDialog(QWidget *parent); + ~ForceBackupDialog(); + +public slots: + void slotForceBackup(); + void slotBackupError(Backup backup,QString errorMessage); + +private: + void loadBackupList(); + ForceBackupDialogView * m_view; + RDBManager *m_manager; + +}; + +#endif diff --git a/keep/app/forcebackupdialogview.ui b/keep/app/forcebackupdialogview.ui new file mode 100644 index 0000000..8d8ecac --- /dev/null +++ b/keep/app/forcebackupdialogview.ui @@ -0,0 +1,129 @@ + +ForceBackupDialogView + + + ForceBackupDialogView + + + + 0 + 0 + 543 + 354 + + + + + unnamed + + + 0 + + + 0 + + + + layout21 + + + + unnamed + + + + kActiveLabel6 + + + + 1 + 1 + 0 + 0 + + + + Select the sources to backup now. + + + + + line1 + + + HLine + + + Sunken + + + Horizontal + + + + + + Source + + + true + + + true + + + + + Destination + + + true + + + true + + + + + Backup Interval + + + true + + + true + + + + + Delete After + + + true + + + true + + + + m_lstBackup + + + Multi + + + LastColumn + + + + + + + + + + + kactivelabel.h + klistview.h + + diff --git a/keep/app/generalconfigview.ui b/keep/app/generalconfigview.ui new file mode 100644 index 0000000..11df24f --- /dev/null +++ b/keep/app/generalconfigview.ui @@ -0,0 +1,175 @@ + +GeneralConfigView + + + GeneralConfigView + + + + 0 + 0 + 348 + 415 + + + + GeneralConfigView + + + + unnamed + + + + layout6 + + + + unnamed + + + + groupBox4 + + + Notifications + + + + unnamed + + + + layout7 + + + + unnamed + + + + kcfg_NotifyBackupError + + + Notify backup error + + + + + kcfg_NotifyBackupSuccess + + + Notify backup success + + + + + + + + + groupBox4_2 + + + Rdiff-backup priority + + + + unnamed + + + + layout5 + + + + unnamed + + + + kcfg_ControlRDBPriority + + + Control rdiff-backup priority + + + + + layout4 + + + + unnamed + + + + kcfg_RDBPriority + + + false + + + 0 + + + 20 + + + + + lab_RDBPriority + + + + 7 + 1 + 0 + 0 + + + + Rdiff-backup niceness + + + + + + + + + + + spacer4 + + + Vertical + + + Expanding + + + + 20 + 120 + + + + + + + + + + kcfg_ControlRDBPriority + toggled(bool) + kcfg_RDBPriority + setEnabled(bool) + + + + + knuminput.h + knuminput.h + kactivelabel.h + + diff --git a/keep/app/hi128-app-keep.png b/keep/app/hi128-app-keep.png new file mode 100644 index 0000000..52c3f34 Binary files /dev/null and b/keep/app/hi128-app-keep.png differ diff --git a/keep/app/hi16-app-keep.png b/keep/app/hi16-app-keep.png new file mode 100644 index 0000000..f7381e8 Binary files /dev/null and b/keep/app/hi16-app-keep.png differ diff --git a/keep/app/hi22-app-keep.png b/keep/app/hi22-app-keep.png new file mode 100644 index 0000000..d5148de Binary files /dev/null and b/keep/app/hi22-app-keep.png differ diff --git a/keep/app/hi32-app-keep.png b/keep/app/hi32-app-keep.png new file mode 100644 index 0000000..c13f307 Binary files /dev/null and b/keep/app/hi32-app-keep.png differ diff --git a/keep/app/hi48-app-keep.png b/keep/app/hi48-app-keep.png new file mode 100644 index 0000000..844f61c Binary files /dev/null and b/keep/app/hi48-app-keep.png differ diff --git a/keep/app/hi64-app-keep.png b/keep/app/hi64-app-keep.png new file mode 100644 index 0000000..009aec8 Binary files /dev/null and b/keep/app/hi64-app-keep.png differ diff --git a/keep/app/hisc-app-keep.svgz b/keep/app/hisc-app-keep.svgz new file mode 100644 index 0000000..3ce7f0d Binary files /dev/null and b/keep/app/hisc-app-keep.svgz differ diff --git a/keep/app/includeexcludedialog.cpp b/keep/app/includeexcludedialog.cpp new file mode 100644 index 0000000..2759a46 --- /dev/null +++ b/keep/app/includeexcludedialog.cpp @@ -0,0 +1,106 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "includeexcludedialog.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "includeexcludeitem.h" + +IncludeExcludeDialog::IncludeExcludeDialog(QWidget *parent):KDialogBase(Plain, i18n("Inclusion/Exclusion Configuration"), + Help|Ok, Ok, parent, "includeExcludeDialog", true, false) +{ + QGridLayout *topLayout = new QGridLayout(plainPage()); + m_view = new IncludeExcludeView(plainPage()); + + topLayout->addWidget( m_view,0,0 ); + + KIconLoader *icons = KGlobal::iconLoader(); + m_view->remove->setPixmap(icons->loadIcon("remove",KIcon::Toolbar,22)); + + m_view->includeExcludeList->setSorting(-1); + + connect(m_view->include,SIGNAL(clicked()),this,SLOT(slotInclude())); + connect(m_view->exclude,SIGNAL(clicked()),this,SLOT(slotExclude())); + connect(m_view->remove,SIGNAL(clicked()),this,SLOT(slotRemove())); + + resize( QSize(450,450).expandedTo(minimumSizeHint()) ); +} + +QStringList IncludeExcludeDialog::includeExcludeList() +{ + QStringList includeExcludeList; + QListViewItemIterator it( m_view->includeExcludeList ); + while ( it.current() ) { + QListViewItem *item = it.current(); + IncludeExcludeItem *includeExcludeItem = static_cast(item); + includeExcludeList.append(includeExcludeItem->includeExclude()); + ++it; + } + return includeExcludeList; +} + +void IncludeExcludeDialog::setIncludeExcludeList(QStringList includeExcludeList) +{ + m_view->includeExcludeList->clear(); + QStringList::iterator it; + IncludeExcludeItem *lastItem; + for ( it = includeExcludeList.begin(); it != includeExcludeList.end(); ++it ) + { + if ( it == includeExcludeList.begin() ) + lastItem = new IncludeExcludeItem(m_view->includeExcludeList,*it); + else + { + IncludeExcludeItem *item = new IncludeExcludeItem(m_view->includeExcludeList,lastItem,*it); + lastItem = item; + } + + } +} + +void IncludeExcludeDialog::slotInclude() +{ + IncludeExcludeItem *item = new IncludeExcludeItem( m_view->includeExcludeList,"I" + m_view->itemURL->url() ); +} + +void IncludeExcludeDialog::slotExclude() +{ + IncludeExcludeItem *item = new IncludeExcludeItem( m_view->includeExcludeList,"E" + m_view->itemURL->url() ); +} + + +void IncludeExcludeDialog::slotRemove() +{ + m_view->includeExcludeList->takeItem(m_view->includeExcludeList->selectedItem()); +} + +#include "includeexcludedialog.moc" diff --git a/keep/app/includeexcludedialog.h b/keep/app/includeexcludedialog.h new file mode 100644 index 0000000..b9dab60 --- /dev/null +++ b/keep/app/includeexcludedialog.h @@ -0,0 +1,48 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _INCLUDEEXCLUDEDIALOG_H_ +#define _INCLUDEEXCLUDEDIALOG_H_ + +#include +#include + +#include "includeexcludeview.h" + +class IncludeExcludeDialog: public KDialogBase +{ +Q_OBJECT + +public: + IncludeExcludeDialog(QWidget *parent); + ~IncludeExcludeDialog() {}; + + QStringList includeExcludeList(); + void setIncludeExcludeList(QStringList includeExcludeList); + +public slots: + void slotInclude(); + void slotExclude(); + void slotRemove(); + +private: + IncludeExcludeView *m_view; + +}; + +#endif diff --git a/keep/app/includeexcludeview.ui b/keep/app/includeexcludeview.ui new file mode 100644 index 0000000..fb6c8cf --- /dev/null +++ b/keep/app/includeexcludeview.ui @@ -0,0 +1,216 @@ + +IncludeExcludeView + + + IncludeExcludeView + + + + 0 + 0 + 532 + 589 + + + + + unnamed + + + 0 + + + 0 + + + + layout6 + + + + unnamed + + + + kActiveLabel1 + + + + 7 + 1 + 0 + 0 + + + + Select the files/directories you want to include/exclude. You can use * (wildcard) generic character. You can drag and drop the items to tune the priority order. + + + + + itemURL + + + + 7 + 1 + 0 + 0 + + + + + + layout18 + + + + unnamed + + + + spacer5 + + + Horizontal + + + Expanding + + + + 61 + 20 + + + + + + include + + + Include + + + + + exclude + + + Exclude + + + + + + + groupBox3 + + + Include/Exclude list: + + + + unnamed + + + + layout7 + + + + unnamed + + + + + Item + + + false + + + true + + + + + Action + + + false + + + true + + + + includeExcludeList + + + true + + + LastColumn + + + true + + + + + layout3 + + + + unnamed + + + + remove + + + remove + + + + + spacer2 + + + Vertical + + + Expanding + + + + 20 + 121 + + + + + + + + + + + + + + + + + + kactivelabel.h + kurlrequester.h + klineedit.h + kpushbutton.h + kpushbutton.h + kpushbutton.h + klistview.h + kpushbutton.h + + diff --git a/keep/app/keep.desktop b/keep/app/keep.desktop new file mode 100644 index 0000000..c970b7a --- /dev/null +++ b/keep/app/keep.desktop @@ -0,0 +1,39 @@ +[Desktop Entry] +Type=Application +Exec=keep +Icon=keep +GenericName=Backup System +GenericName[bg]=Резервен копие на системата +GenericName[br]=Gwareziñ ar reizhiad +GenericName[cs]=Zálohování systému +GenericName[cy]=System cadw wrth gefn +GenericName[da]=Sikkerhedskopieringssystem +GenericName[de]=Datensicherungssystem +GenericName[el]=Σύστημα λήψης αντιγράφων ασφαλείας +GenericName[es]=Sistema de copia de seguridad +GenericName[et]=Varundamissüsteem +GenericName[fr]=Sauvegarde du système +GenericName[ga]=Córas Cúltaca +GenericName[gl]=Sistema de Cópias de Seguridade +GenericName[it]=Sistema copia di sicurezza +GenericName[ja]=バックアップシステム +GenericName[ka]=სისტემის სარეზერვო ასლი +GenericName[lt]=Atsarginių kopijų programa +GenericName[nl]=Backupsysteem +GenericName[pl]=Narzędzie do kopii zapasowych +GenericName[pt]=Sistema de Cópias de Segurança +GenericName[sk]=Zálohovací systém +GenericName[sr]=Систем за архивирање +GenericName[sr@Latn]=Sistem za arhiviranje +GenericName[sv]=Säkerhetskopieringssystem +GenericName[xx]=xxBackup Systemxx +Terminal=false +Name=Keep +Name[cy]=Cadw +Name[fr]=Keep +Name[ka]=დატოვება +Name[lt]=Nekeisti +Name[xx]=xxKeepxx +X-DCOP-ServiceType=Unique +Categories=Qt;KDE;Application;System; +Encoding=UTF-8 diff --git a/keep/app/keepmainwindow.cpp b/keep/app/keepmainwindow.cpp new file mode 100644 index 0000000..088b1d2 --- /dev/null +++ b/keep/app/keepmainwindow.cpp @@ -0,0 +1,283 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "keepmainwindow.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "backupconfig.h" +#include "addbackupwizard.h" +#include "restorebackupwizard.h" +#include "forcebackupdialog.h" +#include "backupconfigdialog.h" +#include "generalconfigview.h" +#include "rdbmanager.h" +#include "keepsettings.h" +#include "logdialog.h" + +KeepMainWindow::KeepMainWindow(QWidget *parent, const char *name): KMainWindow(parent,name) +{ + setCaption(i18n("Backup System")); + + m_actionView = new ActionView(this); + KIconLoader *icons = KGlobal::iconLoader(); + m_actionView->m_btnAddWizard->setPixmap(icons->loadIcon("add_backup",KIcon::Toolbar,32)); + m_actionView->m_btnRestoreWizard->setPixmap(icons->loadIcon("restore_dir",KIcon::Toolbar,32)); + m_actionView->m_btnForce->setPixmap(icons->loadIcon("force_backup",KIcon::Toolbar,32)); + m_actionView->m_btnBackupConfig->setPixmap(icons->loadIcon("configure",KIcon::Toolbar,32)); + m_actionView->m_btnLog->setPixmap(icons->loadIcon("log",KIcon::Toolbar,32)); + + slotRefreshGUI(); + + setCentralWidget(m_actionView); + + initActions(); + initConnections(); + + resize( minimumSizeHint() ); + + createGUI(0L); + + RDBManager manager; + if ( !manager.isRDB() ) + slotCheckRDB(); +} + +KeepMainWindow::~KeepMainWindow() +{ +} + +void KeepMainWindow::initActions() +{ + KStdAction::quit(this, SLOT(close()), actionCollection()); + new KAction( i18n("Check rdiff-backup"), "info", "", this, SLOT(slotCheckRDB()), actionCollection(), "check_rdiff-backup" ); + new KAction( i18n("Configure backups"), "configure", "", this, SLOT(slotConfigureBackup()), actionCollection(), "configure_backups" ); + new KAction( i18n("Configure"), "configure", "", this, SLOT(slotConfigure()), actionCollection(), "configure_keep" ); + new KAction( i18n("Add Backup"), "add_backup", "", this, SLOT(slotAddBackupWizard()), actionCollection(), "add_backup" ); + new KAction( i18n("Restore Backup"), "restore_dir", "", this, SLOT(slotRestoreBackupWizard()), actionCollection(), "restore_backup" ); + new KAction( i18n("Backup Now"), "force_backup", "", this, SLOT(slotForceBackup()), actionCollection(), "force_backup" ); + new KAction( i18n("View log"), "log", "", this, SLOT(slotViewLog()), actionCollection(), "view_log"); +} + +void KeepMainWindow::initConnections() +{ + connect( m_actionView->m_btnAddWizard, SIGNAL( clicked()), this, SLOT( slotAddBackupWizard() ) ); + connect( m_actionView->m_btnRestoreWizard, SIGNAL( clicked()), this, SLOT( slotRestoreBackupWizard() ) ); + connect( m_actionView->m_btnForce, SIGNAL( clicked()), this, SLOT( slotForceBackup() ) ); + connect( m_actionView->m_btnBackupConfig, SIGNAL( clicked()), this, SLOT( slotConfigureBackup() ) ); + connect( m_actionView->m_btnLog, SIGNAL( clicked()), this, SLOT( slotViewLog() ) ); + connect( m_actionView->m_btnLoadDaemon, SIGNAL( clicked()), this, SLOT( slotLoadDaemon() ) ); + connect( m_actionView->m_btnUnloadDaemon, SIGNAL( clicked()), this, SLOT( slotUnloadDaemon() ) ); + connect( m_actionView->m_btnReloadDaemon, SIGNAL( clicked()), this, SLOT( slotReloadDaemon() ) ); +} + +void KeepMainWindow::slotRefreshGUI() +{ + // Sets the Keep Daemon (KDED) State + if ( backupSystemRunning() ) + { + m_actionView->m_lblDaemonState->setText(i18n("

Ok

")); + m_actionView->m_btnLoadDaemon->setEnabled(false); + m_actionView->m_btnUnloadDaemon->setEnabled(true); + m_actionView->m_btnReloadDaemon->setEnabled(true); + slotDaemonAlertState(false); + } + else + { + m_actionView->m_lblDaemonState->setText(i18n("

Not Running

")); + m_actionView->m_btnLoadDaemon->setEnabled(true); + m_actionView->m_btnUnloadDaemon->setEnabled(false); + m_actionView->m_btnReloadDaemon->setEnabled(false); + slotDaemonAlertState(true); + } +} + +void KeepMainWindow::slotCheckRDB() +{ + RDBManager manager; + if ( manager.isRDB() ) + KMessageBox::information(this, i18n("The application rdiff-backup has been detected on your system.

You're running version %1 of rdiff-backup.").arg(manager.RDBVersion())); + else + KMessageBox::error(this,i18n("The application rdiff-backup has not been detected on your system.

If rdiff-backup is not installed, Keep will not be able to make backups. To fix this problem, install rdiff-backup on your system.")); + +} + +void KeepMainWindow::slotForceBackup() +{ + ForceBackupDialog *force = new ForceBackupDialog(this); + force->show(); +} + +void KeepMainWindow::slotViewLog() +{ + LogDialog *logDialog = new LogDialog(this); + logDialog->show(); +} + +void KeepMainWindow::slotConfigureBackup() +{ + BackupConfigDialog *backupConfig = new BackupConfigDialog(this); + backupConfig->show(); +} + +void KeepMainWindow::slotConfigure() +{ + //An instance of your dialog could be already created and could be cached, + //in which case you want to display the cached dialog instead of creating + //another one + if ( KConfigDialog::showDialog( "settings" ) ) + return; + + //KConfigDialog didn't find an instance of this dialog, so lets create it : + KConfigDialog* dialog = new KConfigDialog( this, "settings", KeepSettings::self() ); + GeneralConfigView* generalConfigView = new GeneralConfigView( 0, "generalConfigView" ); + + dialog->addPage( generalConfigView, i18n("General"), "general" ); + + dialog->show(); +} + +void KeepMainWindow::slotAddBackupWizard() +{ + AddBackupWizard *addBackupWizard = new AddBackupWizard(this, "addBackupWizard"); + connect( addBackupWizard, SIGNAL( backupSetted(Backup)), this, SLOT( slotAddBackup(Backup) ) ); + addBackupWizard->show(); +} + +void KeepMainWindow::slotAddBackup(Backup backup) +{ + BackupConfig *backupConfig = new BackupConfig(); + backupConfig->addBackup(backup); + delete backupConfig; +} + +void KeepMainWindow::slotRestoreBackupWizard() +{ + RestoreBackupWizard *restoreBackupWizard = new RestoreBackupWizard(this, "restoreBackupWizard"); + restoreBackupWizard->show(); +} + +void KeepMainWindow::slotDaemonAlertState(bool state) +{ + if ( !state ) + { + m_actionView->m_ledDaemonState->setColor(Qt::green); + } + else + { + m_actionView->m_ledDaemonState->setColor(Qt::red); + } +} + +bool KeepMainWindow::backupSystemRunning() +{ + QCStringList modules; + QCString replyType; + QByteArray replyData; + + if ( !kapp->dcopClient()->call( "kded", "kded", "loadedModules()", QByteArray(), replyType, replyData ) ) + return false; + else + { + if ( replyType == "QCStringList" ) + { + QDataStream reply( replyData, IO_ReadOnly ); + reply >> modules; + } + } + QCStringList::ConstIterator end( modules.end() ); + for ( QCStringList::ConstIterator it = modules.begin(); it != end; ++it ) + { + if ( *it == "keep" ) + return true; + } + return false; +} + +void KeepMainWindow::slotLoadDaemon() +{ + QCString service = "keep"; + + QByteArray data, replyData; + QCString replyType; + QDataStream arg( data, IO_WriteOnly ); + arg << service; + if ( kapp->dcopClient()->call( "kded", "kded", "loadModule(QCString)", data, replyType, replyData ) ) + { + QDataStream reply( replyData, IO_ReadOnly ); + if ( replyType == "bool" ) + { + bool result; + reply >> result; + if ( !result ) + { + + return; + } + } + else + { + KMessageBox::error( this, i18n( "Incorrect reply from KDED." ) ); + return; + } + } + else + { + KMessageBox::error( this, i18n( "Unable to contact KDED." ) ); + return; + } + slotRefreshGUI(); +} + +void KeepMainWindow::slotUnloadDaemon() +{ + QCString service = "keep"; + + QByteArray data; + QDataStream arg( data, IO_WriteOnly ); + + arg << service; + if ( !kapp->dcopClient()->send( "kded", "kded", "unloadModule(QCString)", data ) ) + { + KMessageBox::error( this, i18n( "Unable to stop service." ) ); + return; + } + slotRefreshGUI(); +} + +void KeepMainWindow::slotReloadDaemon() +{ + slotUnloadDaemon(); + slotLoadDaemon(); +} + +#include "keepmainwindow.moc" diff --git a/keep/app/keepmainwindow.h b/keep/app/keepmainwindow.h new file mode 100644 index 0000000..185539a --- /dev/null +++ b/keep/app/keepmainwindow.h @@ -0,0 +1,65 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _KEEPMAINWINDOW_H_ +#define _KEEPMAINWINDOW_H_ + +#include +#include +#include + +#include "backup.h" +#include "actionview.h" + +class KeepMainWindow: public KMainWindow +{ +Q_OBJECT +public: + KeepMainWindow(QWidget *parent, const char *name); + ~KeepMainWindow(); + +public slots: + void slotConfigure(); + void slotConfigureBackup(); + void slotViewLog(); + + void slotDaemonAlertState(bool state); + + void slotLoadDaemon(); + void slotUnloadDaemon(); + void slotReloadDaemon(); + + void slotAddBackupWizard(); + void slotAddBackup(Backup backup); + + void slotRestoreBackupWizard(); + + void slotForceBackup(); + + void slotCheckRDB(); + + void slotRefreshGUI(); +private: + void initActions(); + void initConnections(); + bool backupSystemRunning(); + + ActionView *m_actionView; +}; + +#endif diff --git a/keep/app/keepui.rc b/keep/app/keepui.rc new file mode 100644 index 0000000..b18b4a2 --- /dev/null +++ b/keep/app/keepui.rc @@ -0,0 +1,18 @@ + + + + &File + + + + + + + &Settings + + + + + + + \ No newline at end of file diff --git a/keep/app/keepwizard.jpg b/keep/app/keepwizard.jpg new file mode 100644 index 0000000..c6f18d0 Binary files /dev/null and b/keep/app/keepwizard.jpg differ diff --git a/keep/app/logdialog.cpp b/keep/app/logdialog.cpp new file mode 100644 index 0000000..4043661 --- /dev/null +++ b/keep/app/logdialog.cpp @@ -0,0 +1,75 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "logdialog.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "logview.h" + +LogDialog::LogDialog(QWidget *parent): KDialogBase(Plain, i18n("View log"), + Help|Ok, Cancel, parent, "logDialog", true, false) +{ + m_logFilePath = locateLocal( "data", "keep/keep.log", true ); + + QFrame *page = plainPage(); + QVBoxLayout *topLayout = new QVBoxLayout( page, 0, KDialog::spacingHint() ); + m_view = new LogView(page,"logDialog"); + topLayout->addWidget( m_view ); + setMainWidget(page); + + m_view->logList->setSorting(0,false); + + slotLoadLog(); + resize(600,400); +} + +void LogDialog::slotLoadLog() +{ + m_view->logList->clear(); + QFile file( m_logFilePath ); + if ( file.open( IO_ReadOnly ) ) { + QTextStream stream( &file ); + QString line; + while ( !stream.atEnd() ) { + line = stream.readLine(); // line of text excluding '\n' + QStringList params = QStringList::split("\t",line); + KListViewItem *item = new KListViewItem(m_view->logList,params[0],params[1],params[2]); + } + file.close(); + } +} + +#include "logdialog.moc" diff --git a/keep/app/logdialog.h b/keep/app/logdialog.h new file mode 100644 index 0000000..2010a3c --- /dev/null +++ b/keep/app/logdialog.h @@ -0,0 +1,43 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _LOGDIALOG_H_ +#define _LOGDIALOG_H_ + +#include + +#include "logview.h" + +class LogDialog: public KDialogBase +{ +Q_OBJECT + +public: + LogDialog(QWidget *parent); + ~LogDialog() {}; + +public slots: + void slotLoadLog(); + +private: + LogView *m_view; + QString m_logFilePath; + +}; + +#endif diff --git a/keep/app/logview.ui b/keep/app/logview.ui new file mode 100644 index 0000000..6ff45d3 --- /dev/null +++ b/keep/app/logview.ui @@ -0,0 +1,86 @@ + +LogView + + + LogView + + + + 0 + 0 + 422 + 422 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + + layout2 + + + + unnamed + + + + + Date + + + true + + + true + + + + + Event + + + true + + + true + + + + + Backup + + + true + + + true + + + + logList + + + LastColumn + + + + + + + + + + + klistview.h + + diff --git a/keep/app/main.cpp b/keep/app/main.cpp new file mode 100644 index 0000000..306a972 --- /dev/null +++ b/keep/app/main.cpp @@ -0,0 +1,59 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include +#include +#include +#include +#include +#include + +#include "keepmainwindow.h" + +static const char *description = + I18N_NOOP( "KDE Backup System" ); + +int main(int argc, char **argv) +{ + KAboutData aboutData( "keep", I18N_NOOP( "Keep" ),"0.4.0", description, KAboutData::License_GPL_V2, + "(c) 2005 Jean-Rémy Falleri" ); + aboutData.addAuthor( "Jean-Rémy Falleri", I18N_NOOP( "Maintainer" ), + "jr.falleri@laposte.net" ); + aboutData.addCredit("Anthony Mercatante",I18N_NOOP("Ubuntu packages")); + aboutData.addCredit("John Eckerson", I18N_NOOP("Application wording")); + aboutData.addCredit("auxsvr", I18N_NOOP("Useful patches")); + + KCmdLineArgs::init( argc, argv, &aboutData ); + KUniqueApplication::addCmdLineOptions(); + + if ( !KUniqueApplication::start() ) + { + kdDebug() << "Already running, exiting." << endl; + return 0; + } + + KUniqueApplication app; + app.disableSessionManagement(); + + KeepMainWindow *keep = new KeepMainWindow( 0, "keep" ); + keep->show(); + app.setMainWidget( keep ); + + return app.exec(); +} + diff --git a/keep/app/restorebackupwizard.cpp b/keep/app/restorebackupwizard.cpp new file mode 100644 index 0000000..de238e0 --- /dev/null +++ b/keep/app/restorebackupwizard.cpp @@ -0,0 +1,293 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "restorebackupwizard.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "backuplistviewitem.h" +#include "backupconfig.h" + +#include "listviewtooltip.h" +#include "incrementlistviewitem.h" + +RestoreBackupWizard::RestoreBackupWizard(QWidget *parent,const char* name): KWizard( parent, name, true) +{ + m_manager = new RDBManager(); + connect( m_manager, SIGNAL(backupError(Backup,QString)), this, SLOT(slotRestoreError(Backup,QString)) ); + + KIconLoader icons; + this->setIcon( icons.loadIcon( "wizard",KIcon::Small )); + this->setCaption("Restore a backup"); + + m_popup = new KPopupMenu(this); + m_popup->insertTitle(i18n("Menu")); + m_popup->insertItem(i18n("Show differences destination/backup"), this, SLOT(slotShowDiff())); + m_popup->insertItem(i18n("List changed files"), this, SLOT(slotShowChanged())); + m_popup->insertItem(i18n("List files"), this, SLOT(slotShowList())); + + setupPage1(); + setupPage2(); + setupPage3(); + + initConnections(); + + setNextEnabled(page1,false); + setNextEnabled(page2,true); + setFinishEnabled(page3, false); + + resize( minimumSizeHint() ); +} + +RestoreBackupWizard::~RestoreBackupWizard() +{ + delete m_manager; +} + +void RestoreBackupWizard::initConnections() +{ + // If custom source setted + connect(restoreBackupWizard1View->btnCustomSource, SIGNAL( toggled(bool)),this,SLOT(slotCustomSourceChecked(bool))); + + // Date selection popup menu + connect(restoreBackupWizard3View->incrementList, SIGNAL(contextMenu (KListView *, QListViewItem *, const QPoint &)), this, SLOT(slotContextMenu(KListView *,QListViewItem*,const QPoint&))); + + // Page 1 changes + connect(restoreBackupWizard1View->m_lstBackup,SIGNAL(selectionChanged()),this,SLOT(slotPage1Changed())); + connect(restoreBackupWizard1View->btnCustomSource,SIGNAL(toggled(bool)),this,SLOT(slotPage1Changed())); + connect(restoreBackupWizard1View->customSource,SIGNAL(textChanged(const QString &)),this,SLOT(slotPage1Changed())); + + // Page 2 changes + connect(restoreBackupWizard2View->btnCustomDest,SIGNAL(toggled(bool)),this,SLOT(slotPage2Changed())); + connect(restoreBackupWizard2View->customDest,SIGNAL(textChanged(const QString &)),this,SLOT(slotPage2Changed())); + + // Page 3 Changes + connect(restoreBackupWizard3View->incrementList,SIGNAL(selectionChanged()),this,SLOT(slotPage3Changed())); + + // Finish button + connect(finishButton(),SIGNAL(clicked()),this,SLOT(slotRestoreBackup())); +} + +void RestoreBackupWizard::slotPage1Changed() +{ + setNextEnabled(page1,false); + Backup b; + // Checks if a standard backup is selected. + if ( !restoreBackupWizard1View->btnCustomSource->isChecked() ) + { + QListViewItem *item = restoreBackupWizard1View->m_lstBackup->selectedItem(); + if ( item ) + { + BackupListViewItem *backupItem = static_cast(item); + b = backupItem->backup(); + } + } + // If not, checks if a custom source + else + { + if ( restoreBackupWizard1View->customSource->url() != "" ) + b.setDest(restoreBackupWizard1View->customSource->url()); + } + if ( b.dest() != "" ) + { + RDBManager manager; + QDateTime lastBackup = manager.lastIncrement(b); + restoreBackupWizard3View->lblLastBackup->setText(lastBackup.toString(Qt::LocalDate)); + QValueList increments = manager.incrementList(b); + if ( increments.size() != 0 ) + { + restoreBackupWizard3View->incrementList->clear(); + QValueList::iterator it; + for ( it = increments.begin(); it != increments.end(); ++it ) + { + IncrementListViewItem *item = new IncrementListViewItem(restoreBackupWizard3View->incrementList,(*it)); + } + setBackup(b); + setNextEnabled(page1,true); + } + } +} + +void RestoreBackupWizard::slotPage2Changed() +{ + setNextEnabled(page2,false); + if ( !restoreBackupWizard2View->btnCustomDest->isChecked() ) + { + QListViewItem *item = restoreBackupWizard1View->m_lstBackup->selectedItem(); + BackupListViewItem *backupItem = static_cast(item); + setBackup(backupItem->backup()); + setNextEnabled(page2,true); + } + else + { + QDir dir( restoreBackupWizard2View->customDest->url() ); + if ( dir.exists() && restoreBackupWizard2View->customDest->url() != "" ) + { + Backup b = backup(); + b.setSource(restoreBackupWizard2View->customDest->url()); + setBackup(b); + setNextEnabled(page2,true); + } + } +} + +void RestoreBackupWizard::slotPage3Changed() +{ + setFinishEnabled(page3,false); + QListViewItem *item = restoreBackupWizard3View->incrementList->selectedItem(); + if ( item ) + setFinishEnabled(page3,true); +} + +void RestoreBackupWizard::slotCustomSourceChecked(bool value) +{ + if ( value ) + { + restoreBackupWizard2View->btnCustomDest->setChecked(true); + restoreBackupWizard2View->btnCustomDest->setEnabled(false); + } + else + restoreBackupWizard2View->btnCustomDest->setEnabled(true); +} + +void RestoreBackupWizard::setupPage1() +{ + page1 = new QHBox( this ); + page1->setSpacing(0); + page1->setMargin(0); + + restoreBackupWizard1View = new RestoreBackupWizard1View(page1,"restoreBackupWizard1View"); + BackupConfig *backupConfig = new BackupConfig(); + QValueList backupList = backupConfig->backupList(); + QValueList::iterator it; + for ( it = backupList.begin(); it != backupList.end(); ++it ) + { + new BackupListViewItem(restoreBackupWizard1View->m_lstBackup,*it); + } + + QToolTip::remove(restoreBackupWizard1View->m_lstBackup); + new ListViewToolTip(restoreBackupWizard1View->m_lstBackup); + + restoreBackupWizard1View->customSource->setMode(KFile::Directory); + + addPage( page1, "Directory to restore" ); + delete backupConfig; +} + +void RestoreBackupWizard::setupPage2() +{ + page2 = new QHBox( this ); + page2->setSpacing(0); + page2->setMargin(0); + + restoreBackupWizard2View = new RestoreBackupWizard2View(page2,"restoreBackupWizard2View"); + + restoreBackupWizard2View->customDest->setMode(KFile::Directory); + + addPage(page2, "Destination directory" ); +} + +void RestoreBackupWizard::setupPage3() +{ + page3 = new QHBox( this ); + page3->setSpacing(0); + page3->setMargin(0); + + restoreBackupWizard3View = new RestoreBackupWizard3View(page3,"restoreBackupWizard3View"); + + restoreBackupWizard3View->incrementList->setSorting(0,false); + restoreBackupWizard3View->lblDate->setText(QDateTime::currentDateTime().toString(Qt::LocalDate)); + addPage( page3, "Date to restore" ); +} + +void RestoreBackupWizard::slotContextMenu(KListView *list,QListViewItem *item,const QPoint&p) +{ + m_popup->popup(p, 1); +} + +Backup RestoreBackupWizard::backup() +{ + return m_backup; +} + +void RestoreBackupWizard::setBackup(Backup backup) +{ + m_backup = backup; +} + +void RestoreBackupWizard::slotShowDiff() +{ + Backup b = backup(); + QListViewItem *item2 = restoreBackupWizard3View->incrementList->selectedItem(); + IncrementListViewItem *incrementItem = static_cast(item2); + QDateTime date = incrementItem->date(); + QString diff = m_manager->compareAtTime(b,date); + QString message = "

" + i18n("List of modifications since the selected increment:") + "

" + diff + "

"; + KMessageBox::information(this,message,i18n("Modifications")); +} + +void RestoreBackupWizard::slotShowChanged() +{ + Backup b = backup(); + QListViewItem *item2 = restoreBackupWizard3View->incrementList->selectedItem(); + IncrementListViewItem *incrementItem = static_cast(item2); + QDateTime date = incrementItem->date(); + QString changed = m_manager->listChangedSince(b,date); + if ( changed == "" ) + changed = i18n("Nothing."); + QString message = "

" + i18n("List of changed files since the selected increment:") + "

" + changed + "

"; + KMessageBox::information(this,message,i18n("Changed files")); +} + +void RestoreBackupWizard::slotShowList() +{ + Backup b = backup(); + QListViewItem *item2 = restoreBackupWizard3View->incrementList->selectedItem(); + IncrementListViewItem *incrementItem = static_cast(item2); + QDateTime date = incrementItem->date(); + QString list = m_manager->listAtTime(b,date); + QString message = "

" + i18n("List of files in the selected increment:") + "

" + list + "

"; + KMessageBox::information(this,message,i18n("List of files")); +} + +void RestoreBackupWizard::slotRestoreBackup() +{ + Backup b = backup(); + QListViewItem *item2 = restoreBackupWizard3View->incrementList->selectedItem(); + IncrementListViewItem *incrementItem = static_cast(item2); + QDateTime date = incrementItem->date(); + m_manager->slotRestoreBackup(b,date); +} + +void RestoreBackupWizard::slotRestoreError(Backup backup,QString errorMessage) +{ + KMessageBox::error(this,i18n("

An error occured restoring %1 backup:

%2

").arg(backup.dest()).arg(errorMessage)); +} + +#include "restorebackupwizard.moc" diff --git a/keep/app/restorebackupwizard.h b/keep/app/restorebackupwizard.h new file mode 100644 index 0000000..85bc937 --- /dev/null +++ b/keep/app/restorebackupwizard.h @@ -0,0 +1,73 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _RESTOREBACKUPWIZARD_H_ +#define _RESTOREBACKUPWIZARD_H_ + +#include +#include +#include + +#include "restorebackupwizard1view.h" +#include "restorebackupwizard2view.h" +#include "restorebackupwizard3view.h" +#include "backup.h" +#include "rdbmanager.h" + +class RestoreBackupWizard: public KWizard +{ +Q_OBJECT +public: + RestoreBackupWizard(QWidget *parent, const char *name); + ~RestoreBackupWizard(); + + Backup backup(); + void setBackup(Backup backup); + +protected slots: + void slotContextMenu(KListView *list,QListViewItem * item,const QPoint &point); + void slotPage1Changed(); + void slotPage2Changed(); + void slotPage3Changed(); + + void slotCustomSourceChecked(bool value); + + void slotShowDiff(); + void slotShowChanged(); + void slotShowList(); + + void slotRestoreBackup(); + void slotRestoreError(Backup backup,QString errorMessage); + +private: + // init GUI + void setupPage1(); + void setupPage2(); + void setupPage3(); + void initConnections(); + + KPopupMenu *m_popup; + QHBox *page1,*page2,*page3; + RestoreBackupWizard1View *restoreBackupWizard1View ; + RestoreBackupWizard2View *restoreBackupWizard2View; + RestoreBackupWizard3View *restoreBackupWizard3View; + Backup m_backup; + RDBManager *m_manager; +}; + +#endif diff --git a/keep/app/restorebackupwizard1view.ui b/keep/app/restorebackupwizard1view.ui new file mode 100644 index 0000000..7793e2c --- /dev/null +++ b/keep/app/restorebackupwizard1view.ui @@ -0,0 +1,272 @@ + +RestoreBackupWizard1View + + + RestoreBackupWizard1View + + + + 0 + 0 + 539 + 383 + + + + + 1 + 1 + 0 + 0 + + + + + unnamed + + + 0 + + + 0 + + + + layout7 + + + + unnamed + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout6 + + + + unnamed + + + + kActiveLabel13_2 + + + + 7 + 1 + 0 + 0 + + + + Select the backup to restore. + + + + + + Source + + + true + + + true + + + + + Destination + + + true + + + true + + + + + Backup Interval + + + true + + + true + + + + + Delete After + + + true + + + true + + + + m_lstBackup + + + LastColumn + + + + + groupBox1 + + + + 1 + 1 + 0 + 0 + + + + Custom backup directory: + + + + unnamed + + + + layout9 + + + + unnamed + + + + btnCustomSource + + + Use custom backup directory + + + + + layout8 + + + + unnamed + + + + kActiveLabel5 + + + + 1 + 1 + 0 + 0 + + + + Directory: + + + + + customSource + + + false + + + + 7 + 1 + 0 + 0 + + + + + + + + + + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + btnCustomSource + toggled(bool) + m_lstBackup + setDisabled(bool) + + + btnCustomSource + toggled(bool) + customSource + setEnabled(bool) + + + + + kactivelabel.h + klistview.h + kactivelabel.h + kurlrequester.h + klineedit.h + kpushbutton.h + + diff --git a/keep/app/restorebackupwizard2view.ui b/keep/app/restorebackupwizard2view.ui new file mode 100644 index 0000000..9ae588f --- /dev/null +++ b/keep/app/restorebackupwizard2view.ui @@ -0,0 +1,239 @@ + +RestoreBackupWizard2View + + + RestoreBackupWizard2View + + + + 0 + 0 + 497 + 363 + + + + + unnamed + + + 0 + + + 0 + + + + layout50 + + + + unnamed + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout49 + + + + unnamed + + + + kActiveLabel13_2 + + + + 7 + 1 + 0 + 0 + + + + Choose a location to restore the selected backup. + + + + + buttonGroup3 + + + Destination directory: + + + + unnamed + + + + layout48 + + + + unnamed + + + + btnDefaultDest + + + Use default directory + + + true + + + + + line4 + + + HLine + + + Sunken + + + Horizontal + + + + + btnCustomDest + + + Use custom directory: + + + + + layout8 + + + + unnamed + + + + kActiveLabel5 + + + + 1 + 1 + 0 + 0 + + + + Directory: + + + + + customDest + + + false + + + + 7 + 1 + 0 + 0 + + + + + + + + + + + + spacer3 + + + Vertical + + + Expanding + + + + 20 + 160 + + + + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + btnCustomDest + toggled(bool) + customDest + setEnabled(bool) + + + + + kactivelabel.h + kactivelabel.h + kurlrequester.h + klineedit.h + kpushbutton.h + + diff --git a/keep/app/restorebackupwizard3view.ui b/keep/app/restorebackupwizard3view.ui new file mode 100644 index 0000000..b4e9522 --- /dev/null +++ b/keep/app/restorebackupwizard3view.ui @@ -0,0 +1,231 @@ + +RestoreBackupWizard3View + + + RestoreBackupWizard3View + + + + 0 + 0 + 416 + 363 + + + + RestoreBackupWizard2View + + + + unnamed + + + 0 + + + 0 + + + + layout11 + + + + unnamed + + + + layout6 + + + + unnamed + + + + pixmapLabel1 + + + image0 + + + true + + + + + spacer6_2 + + + Vertical + + + Expanding + + + + 20 + 130 + + + + + + + + layout10 + + + + unnamed + + + + kActiveLabel13_2 + + + + 7 + 1 + 0 + 0 + + + + Set the date to restore the selected backup. + + + + + layout9 + + + + unnamed + + + + layout7 + + + + unnamed + + + + kActiveLabel2 + + + + 1 + 1 + 0 + 0 + + + + Current date: + + + + + kActiveLabel2_2 + + + + 1 + 1 + 0 + 0 + + + + Last backup: + + + + + + + layout8 + + + + unnamed + + + + lblDate + + + + 7 + 1 + 0 + 0 + + + + unknown + + + + + lblLastBackup + + + + 7 + 1 + 0 + 0 + + + + unknown + + + + + + + + + + Date + + + true + + + true + + + + incrementList + + + AllColumns + + + + + + + + + + + 89504e470d0a1a0a0000000d49484452000000640000015e08060000007374ba2b0000200049444154789ced9d79741cf77dd83fbf39f6dec5028b1b588020085e124589a444ebb00e4bbe645b9263c7711ca7766cf7394ed3ba4dd2a67dcdebcb4b5ff352f78fb4751bc7769c387123cb922dd99668dd1275d012258a146f520449dcf7b538f69e99fe31bb0b2cb00b2c40801850f3790f6fafd9c5ccef33dfefef98dfcc88f14bbb0d6c2c83b4de2b60938f2dc462d8422c86a5854c4752ebbd0a571d65bd57603ea9a4ce8b3f1de0e4e171a626d2ecd85bc6477eab8e508df38a7e373a9de6c8c1516445d0b62b4075836b95d6787511566a650df6c478f46f3a19ee4d2084c030cc55f30715fee57f69231872ace877cfbf3bc9a3ffb7935452cfbdb7ffbe101ffe5c1d0ea7bc2aebbe5a5846c8db2f8df2f4c3bda453062e87ca75adf54cce24b8d0350040659d93affdd9163cbee505f5e9b72778ec3b9de81a48422214f4333c1e01a0bccac1435f0dd3b2c3b7eadbb352d65d486c46e3177fdfcd99236621d584fcec6ca9439625741ddabb87e91a1805a0a9cdc397fe432baaa3b4aaeff8a1711eff7e178601b224b3a3254cc0e7623a1ae342573fb14412805b3e14e2c3bf5587d3b5fed1b2ae42bada6778ec6f3a898ca69024c1752d35846bcbd174d00d035d075d873397fb191c35856ddf13e0f3ff7a13922416fded770e8ef2cb1ff66018a0c832db3785f17b5dc8124812601874f40fd335300640b052e5a1af86d9bcd3bfd69bbd28eb2244d70d5e3f30c44b8f0fa0ebe0f738d9b7b3019fdb896e600a9923259d363875b197b1c969006ebe27c4a7bedc58f4f7df786e98a7ffb90f005551d8d612c6e776220b5386249113333913e7f4c53e6662c9dc6f7fe4b7ea70bad7275aaeba90a989143ffb6e1797ce9885db521fe486b61a84903212160ad17548a575de7daf8be9681c800ffd462d773f58b3e0f75f7b6a88e71feb07405555b63587f1b91df922c4ac1049126018bcd73dcca51e33359685cc6869bdeeea47cb551572e1c4243ffb5e17d1290d5591d8b7b38ec6ea404e849e1351584a3ca571fc7c672ef73ff4d546f6dc19cafdfe4b8f0f70f0178300385495ed9b9a703bd5bc88c87b2e44eeb92cc1c4748ca3e7fa999a4900b0efee0a3efaf9faab1a2d574588963678feb17e7efdcc300095656e6edfdd80dbade649584a886ec04c2cc5f1f73a49a5d348127ce1dfb6b0757780671fe9e3d0d3e6ef3b5507db3635e1722a66610b0a48111929e449310c8333978739d7390a069455a83cf895305b765d9d685973216383091efb4e27bd9763005cbf39c48ddbaa0181a61b0b44649f6b79efe74b999c8e73e24217baa1a33a24b6eef673fa6db3d277399d6c6d0ae374280ba3625eaacafb7c9eb4f1c9186f9ce8279289963d7755f0b1dfaec7b5c6d1b2a6424ebc31ce933fec2111d7713b15eedc534f7da52f57f08b09592c4a741dc622339cbed403ccaebedbe5a22d1cc6e990910a4645e15455589a40370c4eb60f73a27d040c0894ab3cf89546da6e08ac5591ad8d906442e3c08f7a39f6da38008dd55eeededb80cba91428f0954589aec3c0e824ed5d7d20c0e372b3251cc6a14a45f7fab9a92a5bf885a589bc681a8bc438f84e1fe35366b4dcf4c1723efe85065c9ed58f96551732d0650e7f8cf49bc31ffbafafe2c6ad951846b108584194ccf9ac67708cd18969b63436a0a8f2127bfdd2a9aa98343038726698a3e747310c037fb9c283bf1766ebeed58d96551572f885119ef9711f5ada20e055f9f86d8d5495bb4b28f052a264e1325aa68f124bea28b2bcc45e0fb2100bd3578154b5e0f339bf393c11e7b9377b198d98d172e3ede57cfc771a707b57275a564548743acdcf7fd0cdb9a39300b48503dc774b3d4e87b430f5cc2df06242e62ca3e52d9f1f2553d124c74e75e170aaecdc124655a545a42c3f5515922604689ac19ba787397226132d4185077eaf916d3796adbf90cef7a679ec3b5d4c8ea55024c15dfb6ad9d55a9efbdc30e615ea2a4549ef608453e7fbd13303b88a22d8737d135e8f7b5e545c59aa9afbf9fcd19aa1b138cfbdd9c748c4ecaceebead9cfbbf588fdbbbf2a31a2b16a2eb06af3e39c8cb4f0c6218102a7372ffed8d84ca161eb75820a460811b0565cd8f92644ae34cfb205dbd9105ff47550437eea8a12c18442e3555e5e42c9eaacc7aa47039bc797a84b74f8f601806be328507bedcc8f63d2b8b961509991c4bf1d3ef76d2716e0680ebb79473d79e5a54b9f0805f6951b2b490f1489ca3a77a999c4ee6fdbe24cccfb334d579d9de5a87ea504a4e5585c6b9e6a7aac5181a8bf3dce13e4626cc68b9e1d620f77fb161d9870b962de4fcbb119ef87e37d1690da72a73effe3ab686976e696845449412259a0eed9d639c3c3784a62f5c5d5916685afefb2e87c4be1b6a0995972dac13c4e2a92aed6bc570d6e09bfa75c154550c5d37387c7a84b732d1e20d98d1b2636fe9d152b290745ae7b99ff4f3e6732300d456bab9ffb646025eb5a47fb454941413124f68bc7db28feefee9a2bfad2a8254baf066b43507d8b9b51667a6495c2c5509d54db2e23662a17b483beb01085ffa631cbad9973280b87b27c248e18a5f58745b87c7cdba6538132dbb3e10e413bf5b5ab49424647420c1a37fd3497f670c01ecdb59c9adbbaa58ea98c47c168b925959b352fa87a3bc71b49799587ad1df75a812c9945ef4739f47e1b69beaa9acf02e4855ba6f0b89cabb4896df8c8e8acba5e276bb181b9b24dcfb5f51b571a603771009dc4d5aad44d2a668b9fccd25b755d70dde3a33c2e1539968f12b7cee0f9b69d9bef8d1c92585bc7b688ca7feb1976442c7e352f8d8ad0d34d57a975ca142941a259a6670fcfc08c7cf8ea0b802041a77131ded2236d6c5dca1922c2ea7443c515c48965d5bcbb9615b158acb4fbaf2369255779376d601505d5d4e385c43656590eeee414e9fbe8427d94ec2d58a818cdbed4008c1cc748cb68eaf2358faff41b6dfd2c7f0781cd521f1cd6f6d27505e3cab2c1a43ef1d9fe4f1ef7503d05cebe3a3b7d6e3715d41932e53390aa3f8f3683ccd2b6ff5d23f1445f59473fd67bf85abac1621045a7286a9de93447a4f13e93dc5f4d0453074c452356e86be44133edfa7a9d9710f480a2ea7caa6a63a1a1bab71b91c2412492e5feea5b3b31f210471571bd5d51584c3358442659c397389a9a9289ae445d1a74afa9f554117bffd91161e7ee632239138178e4fb2f7ee50d1e58b96ae963678fae13e8410dcbebb9abddb434bb6344a2157f8059e77f74f72f0ad7ee2090dd9e165db27ff1cd557454b4b3d0e87c2d8d814aacb4ff9e60f98b352b42491de53c4874e337cf92493fde731f4fcf4a6ba0334ddf43136ddfc10de501360505d1ba2a9a996caca20002323139c397389a1a1310c03dc6e275bb7866968a8c1e99cdd9b555541d775d292bf642100afbd3b98ebabd46d722fba6c512189b8c6f85002c3009f5b591519503832f4b4c1af8f0d72fcbc797c5b529cb47efccf709687d9b9b385f2f200a9548aad5b9b1042303919656c2cc2e86804d5e9466bde4bc37e81a1a799ec3b47a4e7247a2a4a65f3f5d4eeb813495670b91c6cda544f385c83d3e9201e4f72f1620fdddd8344a3098480da8ca850a8ac60d4a9aa8aa6e9a4a5d267a9bc7274806399ed0ab77aa8dfe45974f9a2423c3e85b61b029c7f7792e70ef7e171292bae3be6323f3226a6123cfd6a2fc363e61e2424994df7fe099eaa2db4b585696aaa4592244e9e6c479264eaeb2b09067d545404686b6b4292045353338c8e4618198930e272130cef420861461182aaaaf25c414f4c4cd3d57591c14173d8c3e371b37d7b338d8df9d150885c8488d2ca61ae8cb290ca67bfd1bce47716ad10eef9740d97ce4c934aea3cf95a37bf79ef26aa2bae7cc65f56c8d9f6095e7ca37f4e9355d070c71fe2adbf814d9bea696d6dcc4c9633b8fefa569e79e60deeb86337d5d515cc56ee8240c04730e867cb9630424844a3318687c71919996064244247475fae5e9024094992a8ac2ca3b5354c7d7d65c9ebed709811922a41c87c195ff94f5b28af5a7aa29ffc1fbf59fbe7c53ef40755ea9add9c3a3c81a6195cec9d624b3880cb7165239ba994ceb3aff7f1c6bb23b9b128809afd5f25d8fa411a1b6bd8b5ab355380e69e2ecb12e5e5015e78e16dc2e11adc6e572ead988f221315e0743a282f0fd0d8584d5b5b132d2df5949707703a5592c9248944929999383d3d43f4f50d3339394d3aada1aa2aaa5a7c1f4da534dadb7bf0a63bf1a72f165d6ea53260092100a15a27652107e78e4e924aeb74f44db3adb90c552932b8b3048323317ef274175dfdd1bcf72b777f8ef26d1fa5b636c44d376d4308292723fbe8f77b8846e31c3d7a9e70b81697cb5950caec6bf351551582411f757555b4b535d1dada484545192e978368344e7fff287d7d235cbcd84d77f72091c834a9541a4591713866d39861189c3bd7812bdd4f307db6e0f65d890c58464ffde02f0679e971735a676d859bcfdcdbbc6c29474e8d72f0ad85c31f65db3e4ee58d9fa7b232c8fefdd7e37028c8b2944b2fd9e7e66c4683279f7c0d80fbefbf8db232df1c69529e40c88e4189798fe455daa9543a97de4647278844a6300c7319b7db492814a4b2b28c60d0cf534fbd4e28758cadb1ffb760fbae54062c732cebc91ff6f0f6cbe6dca54df53e1ef86053d151d0b9c4e2690ebcdac7c5ae85c31fbe4d7752b9efcb04837e6ebd75174ea7035996906579818cece3c0c0282fbf7c8440c0cb473e722b8180274fca7285cc47d334464727191d9d607434c2c4c434baaee75222c908b5d1e77127dec395ec4660ac8a0c58a6105d3778e47f7770ee987920eabacd413ebcbf7ed1ef74f5cdf0e4c15ea6a30b873f5c757b09ddf2fbf8fd1e6ebf7d372e970345919165392365a18cece39b6f9ea2a3a39f60d0c77df7edc7e7732f9002f385b020a595b6dd3ae3e35399a6f62463631174dd4008908c248991d3749c798b8eb71fc31fd4572c034aa843e6228460fb9e322e9f9966723cc5f0781c1d08d72c6c75e8bac1a1a3c33cfd7a7fc1712647e50e2a6efe7d5c6e17fbf75f8fcbe598576fe4a79ff98f7575212e5fee251e4f3238384253536da6422e5ef8cb8992f9dbedf1b80885ca686cac66cb96303535217c3e37b2e22421828436ed23357d9e2ffc816bc53280e59f41a53a247ee78f5a08d59a07a2de3a35ccc90be379cb4ccea4f8f1af3a38746c04a340fc29c116caf67e035955d9b76f070e8723b39c915b3edbdc2df6a8aa0a37dfbc13c330989a8af1ca2b47492412cbdd9c1521842018f4b17973033b77b6a0690633639779e80ba3572403562004cc4ee3bff893cdf8cacc26e24beff473b1c71c4a387b6992ef3fda4ecf40ace077655f1d813dff0a5951d9bb77072e978b6c411b0699c7ec73f33b851e0d031a1b6b686aaacd4889f2faebc7492693057682c5b3b2ae1ba4d31ac9648a6432452a95269dd64a2a8b13272ea0691ae75ffc6b92f12b3f056f59296b2e6eaf4c63ab9763af9915d9a59e293a07544e5e54482567308c85694ab842f8f6fe1b6497973d7b76cc6921490bf27ff6af50ba9afbbca6a682cb97fb310c83544a636c2c42434315b22ccf49490689448a6834c6cc4c8cc9c9192291192626a6989898666626463c9e249dd6729577b6be5a8cc1c1314e9fbec8c88557b87cf811ce1d8b70dd2dc12b9aafb5e2a1db444ce385cc2c730043041999f4212be02d6b263633483a393b00271c01dc37fe01a83eaebb6e0b8180372f22606e9a221725e6fbb38ff3df733a1decd9b3952347ce01061313d31c3a749c5028483a9d26994ca3691aaaaaa0280aaa2a2f7854551997cb89cbe5c0e1509614016645ffce3b67d1d30976184f724e114c4da4f9a7ff716945677a655951ca8acd68fce3b72ed1f99e794c5d962b5094aadce74248787c75b83ce61c5e6437ce5d5f074790eddb37515e1e5820a250ca323f9bfb9e294cd37462b138e3e3530c0e8e610e9fcc0a9e9e8ed1db3bc4d8d824f17822f73fb2b21545c2eff75255554e63630df5f55504833e5c2e47493200ce9deb64727286ba9967a80fc4f9c41d61848091fe040fffcfcb79e7332e87656b9c994af38fdfbac440975947c872258a52517059b72788d3e5215e730f86ab9ad6d6309595c122f5c55c11b30292c934e974924442239d4e934aa548a7f55cf3d74c2d328d8d35b4b77701cc130db22c515111a0bc3c4059992f33ec62aee3729abf59a2d138274e5cc0a90d51137f19804d753e3e7c4b3dcf1deea3eb4294c7bed359d2995ef3599690e9488a7ff8ef1719ee35f73a59ae4251ca172c979ddd2149e0501db8a60ee3a9afa6a6e6a6057bfcec5e6f904c264826539982d748a552b9e10b97cb89d3e9c0e7f3e2742a389d2a0e878aaa3a703a156459c1ed7670ead4456459c6eff7e0f5ba09047c3437d7664672679bbc57c291236749a5d2b4c51f4762b6f2dfb939c8742ccdaf4f0c71eee824077ed4cba7be54fc4caf42942c243296e4877f7589d1415386a25423cbc1bc650485669a832cd2e8ed4f302486a9bdf9f31886423299ca9cfa0c60204902a7d381d3e92410f0e2743a71bb9da8aabc680731db20008396967a42217388439625229169a6a6a20c0e8e515d5d8ecb959d336664d676f90c0c8c72e9520f6a6a98f2f4f9059fdf725d25d3d11427dac779fba55102e52a773db0f04caf629424647c38c93ffcd5452646ccf9508a52832ce74f6d293ae7694eb4c43a0ed117e9a4f6f6afe3ab6c4051141445cef5ce1545ca7b9edd9b176ffe1a39b142906bb9190604837e3c1e17a3a3930c0f4f100a05f078dc08f32cb6cca35172dad27583d75f3f8ea619a8d397a1c891887bf6d5128da769ef99e2c59f0de00faaecb9b3705a9fcf9235d8e840821ffc65fb1c1975793244668e93229b7fb23ce7b9947d2d5064812c8331d5c3d04bff8de9aeb716695de53f9fdf31cc4f77b0b09f31fbdae974505717c2ed76323e3ec5cc4ce1fe51299c3e7d91b1b1083333332452c5250a21f8d86d0dd4579a876b7ff90fddbc777cb2a4ffb1a890a1de383ff8cb7626c7cc0e8fa2d423cbb3a77649122852111152be084536979565908d38e387ff960bcf7d9bee2e73f8a3b08885cddfe24de1f9cde4d9d792246552998fa9a919a6a6f287fe4b21164bf0d65ba7f0785c689a414c5bfc409d224b3c705713150107ba0e3ff93f9d0cf7c597fc3f453b86ba6ef0bdbfb8c0e4781a10284a03b26c1e4b16223f02e439d121e70a5ee4bf2fcd5b460667b29f999ea3bc792e4e7bc728e3e3932412491c0e736ed4fcd1dbc5c6b6f247740bbd368ff8399d4ea2d118e9b486d3a9e67e77295e7df52803036378bd2efafb47f04a136c719f59524a4b839ff7ba268927340c03b6ddb8f82ccfa2a3bd678e4478e4db1d8040551b9024f3e0fcdccaba709d517cd272b1e584e2a4cb790f1d53d5b90274bb9dd4d757515f5f49385c434d4d28d7692b54b9e74b92f204ceed5b64afa1323313c3300c0201ef925206064678f4d11748a534a627a708bbdab9c9f70665cac4a2859be542d724070ef5e00f2afcfbff75dda2cb16add4bb329d3e49f220843b5757149e1b9b152416add40b9d83610a4bd0967a869aca7d547fe06b8c8ecd303030424fcf10972ff7e68632b2721a1b6b08876bf07866c7c1e656ece66bc8b6a4e657dcd9a38ff1788ac9c9999c94421886c18b2fbe8daeeb84f543ecac7a1b8f5c7aca3bd711e1c5b7cd8b18dcf4c1a52bf6a242b6ef0df0eb6787d1f519d2a96e5cae3a64592d324b5c1489827922e645cb7cc1958923a8a723ecbaf34fd9b76f074248442253f4f58dd0df3f4c5fdf086fbc7112214e21c4ec6c92e6e63a9a9a6aa8a8086018624e2bcac8bd9e53c46445b95c661f261a8de3f1b80af6d24f9cb8407fff286dea6176f95e2959445ad339f8ce00a72e9a515456a1f2c14f562ff9bd450f501d7a6688e71ee9cf6c9c8ccf5387d3e15938737c9142ce3b59a6c84930f34f25931d5e82fbbf89bbe9f64c5acace161144a371fafa46e8ed1da2a3a38f48c48ce4ec5edfdc5cc7a64d753437d7515b5b99693e2f7dc02a994c679adcb352e2f104dffdeee388d4381f757f1f55ca3f0da218e393090e1cea6164c2ecb36ddee9e3b3df68c217587a62fa92470c2f9c98e4a77fdb456cc6ec91fa3c95f8bde5e6b045b1732ac43c1105d25c29cbb9db1ec073c357505407d9e3eb9224d0348daeaec15c937668689cbebe617a7a86e8ef1f21994c2384598937379b725a5ab293e4f27bec730f62699a9eab77009e79e60d8e1d3bcfaddea768520b4f6a98cff9ce082fbcd54f2aad2304dcfd500d773d5053f2104a498770c787933cf2ed0efa3bcd36bcdbe9a3aaa276f644cb82694a148882d2eb9cdc2903e55b71dffca7283ef3924d86a1d3d13180dfefa6bebe3a2769b62237a786f6f40cd3db3b444fcf205353d15c655f5717a2a5a5211349b5f8fdbe3c3966735b303030c2dffffd2fa852fab8d7ffc892432e694de795770638994951de80c26f7ea369d957172af9987a2aa973e047bd1c7dd53cfea12a2af5550db85dce792dafc2e7f2e5a7b3522aff39cb39bc28bbff1da2fa163a3b0708067dd4d656327bcc445af4792432cdbbefbec79933978944a673852f84a0bcdc9713d4dc5c979984073ff8c1cfe9eb1be2c3be7fa65c194108e6889b9d818980c8549203af77339c49512d3bbc7cf6f79bf1074b3b77664542b2bc737094a77ed48b96365b2e0dd5b554940532512016dddb4d4105cef75bb05ce13a2712bc17d1f6152a2acb174446f6f5dce7894492d3a72f71ecd839c6c7a7116834aaed6c52df035962345dcba856cfb85e878e9c696e3ba8ae0ed1d33344abe33837795ec99bfeca9ce70268ef89f0f291d91475e7a76ab8e7d3a5a7a82b1602d07739ca8fbfdd4164d4ecc157959713aead367be545d35491ca7f41142dbc28cc5cc1946d2375dd9f227b6be748c88f8aa1a1314e9cb8c0d9b397d13403af14a1593943b3e33c4e3941b6459c2d6803c1a45ec5985ecb9856cfb8d180579ee656d7cf7148c9fc88c80931e8eb1be6576f99679479fc329ffd7af3155fa466c567e146a7d3fcf43b5db49f328f0afa3c6eb66f6ac4e5940b3481459168595ac45c19b9c146c5477afb1f216a3e908b104dd3696fefe2c48976868727009d2aa99366e50c5572efec5e9d295c447eea29f41eccfd8ec8a528190d9f32c93b674778e3bd1495754ebefca7ad8b9e88532a2b3e84ebf1297cf18f5b78f989015ef9e510d3d118673bc7b8aeb5069f532f696f9f5ff917af4bf2ffb7484fa39cfa0bb4c86f3012fa0c67ce7671fe7c07c9641aa788d12cced2209fc32d451106a435f222a2a09002f543fe7b6667d3a92409a8d348c24008735fae09bb5645065ce1757b254970ef67ea98184d71fcd03829cda06fca4d0d49aa7ce9e2957aeefda5eb9c629958004af7e324cebdc1899e8f5266f4b3599ca5924eb3b03448e9f30464f6f2250bbf488a2a7727f13b134808aa9c93a8c29cfc5768aad34a59950b292bca6ca74b9204a35127295d261c4ce40616f39bc04b8b28a54ed474c18c1ee2f3adafd273e9129aa6a3619ec738b7a06723c258244a44d1c8516483da4012a7a2e1940daa9d93a842237b606c895946cb2bcbd5f8118fdffc19494fa10803430866920a97c7253687e238546341542cd6342e05dd808e3107dbc2d30859e06eabe5f4997e8ccc14cf2553d482f78c829113f0405d85862c047e3545c8318584004346080dd0e61c97b9725645486e43d0f0483324840743c8a475998b231e36552608f9b425ea92d9df590add808e5117d1944299c720a94be0f7b0b5ad8653a7070a0a59f05e5e2a5b98b62401f59582aa321048849c51026a020c050c1d848e24a5018d0253d056cc2a09992d49551828528c046e74218310748eb948a453348792b3296c055101a68cce311733290587a451e616243583784aa1a2c24f5b9bc6d97343050a5f141732afce703a04ad61059f0b14a151e38ee2943430e4d92f18b343f696ab4344a64005d99464a012252e3c689897db1b9e5149e812db6ae238e4d99657a951011919e3a60c5982a023819064bcaa408d09529a4c5d6d39b1b84efbc59179516214495b22efbd5050a12dec44910d3c4a922a770c19ccc84007a181210073d012ac28245ba8c2c8eb79fb8812c78d26ccb378671232a7fadcecac4b10f42e2fceb332a249054908fc6a02a7a283644661c00da33366c96e6ea9241a4bd3d93d5142b3d6c8a5a82dcd1ec2b50e300cca5d31ca1d0930245386d04d11860074404748592196ab436677f3ec5e9f15e323461c1769a1220468bac4993e179baa52d4074b9b9cac1bd035ee229654910438640dbf9a349bc5420121f0bb74c66312ba21013ad7eda8251ad3e81f985a3245b95d1237ee2823e89791844e8d278a5b5e98a232df5a90b256936564efe2cc5daff995b522835f89e39692b9c1472489ae3127ed434eb425024537a07bdc452ca5222490248332671c59367f1f218190916419bfcb4c250809212becbda981b23237a93445ff424117b7edab2158e6c2a90a1a0349dcaa00a1987f9232fb7cceebe1498333dde6f1919af0eadd8b64552244cef443344d4312e6a4374998652565d2814f24480071c399db3bc7a32af101892d55715ceac2b03765b889a695dc6ff994242e45cfa519b390cc3d36e0d689c4337bb1a1232b2ab7ed6fe6c5572e31399598d78a12ecda51ced69600183a016792902b8540caf42b0a4786aec3c113110ebc35462a6d5e0cf3960f957e6af552ac4a84346d35cfa08a25931cbfd0493c9158307a2b4902af9cc4afc4f39ab9494de6fc90878958fe147edd809e09534636fd39648d802399d77c36eb1073af5515058fcb8c18840cc8389c0eeeba6333aaaa924a433a6d5e00e0aedb1ad9da5a819024aafd3a955e1d918d0649cefc6ee62ff3ba7f3ccd5f3fdec3cf7f3d4a2a6dd0b2c3cbd7fe731bc1ca2b3b49672eab72114c5d37f8f9df75f3ee21f34c2a49085ac3956caa0b21cb22b73767a3266528cc68eefc013f6150ed4b51e34f62003d1137d19492ebb14b9241952b8a43d6f3a2af75c72dc892596f60e8c4923afd11324d1ff33d0c838948945f3d7f91ea4a371fdcdf80d32150259d1a6f0287ac6596d3e77c67f6b596d678fe483fcfbe3588a61b385d121ffd7c3d7befae58f57a64552f13db7e728ad77f3594bbf341d0ef66f7d67afc1e474e4ab6c24f190ad39acb1c5f9266fb0a3e873906164d2bb9d42609f03b12b9e81073e4b66cbfcd3c0e6e689959733a3de33a49cdc8c9300bd6606a2a8ecfab2030f03a34aa3c4924f44565740d4cf1f07317e91b318f966edd1de0812f3712a8589dc1c4f9acfa85940dc3e0ed974679ee27fd24133ab224d8d1524d6b6395084c030000099e4944415479ae6e913202d286cc54da9de90bcc0efc4973224712a04a1a55aea89939e62dd3bce30e6449ce2bc4a998cef0542642c81723302877a709bad2c545183aa9749aa70f5de6c523e64d613c3e99fbbfd8c00db72e9cedbf9aacd9b5dfc787133cf177ddb90b6556063decdb5987dfe3c84b399a213399f660cceba0cd16bc41953b93aaa4d9cfb234efbc6b5648a660755da77b4c372f5060cc4a91854eb52f8d5b59242a0c9d8b3d633cfcf46986c7333710b8c5bc449f37b0f637b55bd38bf11b86c1e1174679fed13e5249035912dcb8b59ab6a6f24cdd22325714959848b931849457e0920481b9a9aac0707cf375f79a42e615ecd88cce4474b60e71a93a35be34b2c8468c86296ab6fe482493fcf2e5b3bc76b40b30ef0ef7c92f35b26385977c5d0957e5fe21638366b4644f81ab0d79b9f5863a02ded9bac5403091f2a019b3525445a3da155d7488a5f9fa8f20cb32f373bfa669748dea188641995ba7c2ad23281e15672ff5f3c881638c4f9a51b1e74ef3662eab7509f152b96a77d8d17583379f1fe185c7fa49a70c1459e296eb6bd8b1a97c568a104c24dda40d19491854bba338147dd1536b9a777d7c56c8bc821e99d270ab3a5e8751344545a3719e78fe28878f7700e6cdc11efccafadcee08aea2902ca303091eff7e17ddede6fcd8c66a2f77eda9c7ef55331d3d184fba71cb1a01e7d233059b6ff824b29c19f89b1725f3a360fe7bc7cf76f0d881c34c4ec71002f6df57c97dbf59bbae379b5cb7bbb4bdf1ec302ffe6c8074cac0a148dc71532d3b5b8279876d4b69e237ef7e1059519625636a6a86c70e1ce2ddd39701f3a6950f7d354c53db955f31ef4a59d7fb180ef7c579e2efbae9b968464b4bbd8ffb6ea9c3eb2ebd8ddf7cd367cc08c9157cb63fa2cd6961cd56dc6f1f3bcbcf0ebc4e34668e26dc7e7f35f73c5483a2aecaa0c515b3ee77fad47583434f0ff3d2e303686903a72a71cfbe3ab66f2aad65d3bce773b34216495be313117ef2c4f39c39df01406d938b4f7f2d4c5df3e217a5bcdaacbb902c43bd719ef87e57eee661ad0d7e3e74731d5ef7e26dffa63d9f4751d5a229cad0357efde6517ef1ab83c41349644570f78335dcf1896ae422370f584f2c2304cc6879eda9210efe7c104d337039643eb4af96adcdc5a325bcf70ba8aab360540c0f8ff0e3477f49fba54e73d9560f0f7d2d4c55bd356fdd0d16139265b027c6e3dfebcecdb66f0b07f8d0cdb5b89d0ba3a571cfefe070baf37bea5a9a83afbcce81a75f24954aa13a24eefb6c2dfb3f5cb9e239b7570b4b0a01f3b642af3d35c8c15f0ca26be076ca7ce8e63adae6dd1aa361cfefe27479312b739dfebe3e1efef1a374769a9748dfbcd3c7835f69a4bc6ae18d66ac8865856419e88af1f8f7bb18e8324f29ded61ce09ebd75b8327d85fa3d5fc6e5f1a2a5533cffecb33cfbec73689a86d32df1b1dfae67ef5dc5afb36e452c2f04ccebd0bff2e420affe72105d078f4be6be5bead9dce0a776cfef31323ac6c3fff44ff4f5f502b0eda6009ffa52e3aacdb7bd9a6c082159fa3ba3fcec7bdd0cf598d1b2a3a58ceae61b79f59557310c038f5fe6135f6c60d707d676887c2dd95042c0bcd3cfc19f0ff2fa81a1bcab62effa8079cf27af7fed87c8d7920d2724cb705f9c936f4e90886becdc17a479ebfa0f7bac061b56c8b58a3506706c72d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c862dc462d8422c467666b23d9dd42264ceb8b7b10a0ad77e746ca8edb385580c5b88c5b0eb108bf17e88900d852dc462d8422c862dc4625cab4236ec365d8b4236f4f6d8422c86dd0fb118d762846c686c2116c31662316c2116e35a11722d6c03600bb11cd782908dbefe79d8fd108b712d44c835852dc462d8422c862dc4626c64211b75bd1765a30ad988eb5c12b6108b61f7432cc6468d906b165b88c5b085580c5b88b5303692908db29e57842dc4626c14211b611d5705bb1f6231364a84bc6fb08558839c035bc8fa9357feb690f5674309b1f2baad09561662d5f55a536c2116c3ee87580c2b47c8fb125bc8fa50b4cc6d21eb832dc4422c5ade561362a57559176c2116c34a42acb21eeb8add0fb118568a101b6c21578b92cbd8167275b085588c0d2564bdffbfa5586f21b68c79d8422c86dd0fb118eb1d2136f3b085ac1d2b2a575bc8da610bb1102b2ed3f51062ef008b600bb118575b882d6309ec7e88c5b02b758b610b593d56a51c6d21ab872dc4626c2821b6f412b91a426c19cbc06ef65a0cbb0eb118b6902b63d5cbce167265d8422cc49a94db5a0ab145af80b51262cb5821b6108b61f7432c865da95b0c5bc8f259d3f2b2852c8f352f2b5bc8f2d850426cb1ab802dc462ac96105bc62a61f7432c865da95b0c5bc8d25cd5f2b1852c8d2dc4425cf5b2b95221b6cc55e64a84d832d6005b88c5b0fb2116c3aed42d862da430eb5626b69085ac6b79d84216b2a184d8f2d6185b88c5588e105bc655c0ee87580cbb52b718b61013cb94812dc4c43265600bb1d8f69722c4522b7cadb394105bc655c6166231ec7e88c5b02b758bf17e1662c9ed7ebf0ab1ec36db422c462121965dd9f703b6108b315f882d639db1fb2116e3fd5aa95b96f793900db19db6108bf17e11b261b6312b64c3acf0b58eddcab218ef9794b561b085580c5b88c5b8d6856cb86dbb96856cc8edb285580cbbd96b31aee508d990d8422c862dc462d8422cc6b52664c36f8b2dc4625c4b42ae89edb0fb2116e35a8a906b025b88c5b085580c5b88c5b816846cf4f5cf63a30bd9c8eb5e10bbd96b31367a845c73d8422c862dc462d8422cc64615b211d7b92436a2908db6becbc2166231ec7e88c5d88811724d630bb116862dc43a1860478895d8504236c23aae0ab6108bb11184587dfd5615bb1f6231364284bcafb085ac2f0bcade16b2bed8422c44c172b7b210abaed79a625521565ca7ab822dc462d8fd108b61d50879df620bb9fa2c5adeb690abcb92656d0bb9ba6c282156598f75c5166231ac22c40aeb6009ec7e88c5b04a84d864b085ac3dcb2a5f5bc8da630bb110cb2edbf51462ef0805b085580c5b88c5b0fb2116c3aed42d862d646d587199da42569f2b2a4f5bc8eab3a184d8f297c0166231aea6105b4609d8fd108b6157ea16c316b23aac5a19da4256075b888558d5f25b6b21b6ec65620bb118b6108b61f7432c865da95b0c5bc8ca599372b385ac8c352b335bc8cad850426cc157c06a0bb1655c21b6108b61f7432c865da95b0c5b48e95c9572b285948e2dc4425cb5325a0d21b6d055c41662316c2116c3ee87580c6118f60e6e25a4f55e019b7c6c2116c31662316c2116c3166231fe3f815c7042bc8ddc990000000049454e44ae426082 + + + + + kactivelabel.h + kactivelabel.h + kactivelabel.h + kactivelabel.h + kactivelabel.h + klistview.h + + diff --git a/keep/common/Makefile.am b/keep/common/Makefile.am new file mode 100644 index 0000000..e889a57 --- /dev/null +++ b/keep/common/Makefile.am @@ -0,0 +1,14 @@ +INCLUDES = $(all_includes) +METASOURCES = AUTO + +noinst_LTLIBRARIES = libkeep.la + +libkeep_la_SOURCES = keepsettings.kcfgc backuplistviewitem.cpp\ + backup.cpp backupconfig.cpp rdblistener.cpp\ + rdbmanager.cpp incrementlistviewitem.cpp includeexcludeitem.cpp + +noinst_HEADERS = backuplistviewitem.h backup.h\ + backupconfig.h listviewtooltip.h rdblistener.h\ + rdbmanager.h incrementlistviewitem.h includeexcludeitem.h + +kde_kcfg_DATA = keepsettings.kcfg diff --git a/keep/common/backup.cpp b/keep/common/backup.cpp new file mode 100644 index 0000000..dc31715 --- /dev/null +++ b/keep/common/backup.cpp @@ -0,0 +1,177 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include +#include + +#include "backup.h" + +Backup::Backup() +{ +} + +Backup::Backup( QString source, QString dest, int interval, int deleteAfter, bool neverDelete,bool useCompression, bool excludeSpecialFiles,bool useAdvancedConfig,QStringList optionList,bool useIncludeExclude,QStringList includeExcludeList) +{ + m_source = source; + m_dest = dest; + m_interval = interval; + m_deleteAfter = deleteAfter; + m_neverDelete = neverDelete; + m_useCompression = useCompression; + m_excludeSpecialFiles = excludeSpecialFiles; + m_useAdvancedConfig = useAdvancedConfig; + m_optionList = optionList; + m_useIncludeExclude = useIncludeExclude; + m_includeExcludeList = includeExcludeList; +} +Backup::~Backup() +{ +} + +QString Backup::source() +{ + return m_source; +} + +void Backup::setSource(QString source) +{ + m_source = source; +} + +QString Backup::dest() +{ + return m_dest; +} + +void Backup::setDest(QString dest) +{ + m_dest = dest; +} + +int Backup::interval() +{ + return m_interval; +} + +void Backup::setInterval(int interval) +{ + m_interval = interval; +} + +int Backup::deleteAfter() +{ + return m_deleteAfter; +} + +void Backup::setDeleteAfter(int deleteAfter) +{ + m_deleteAfter = deleteAfter; +} + +bool Backup::neverDelete() +{ + return m_neverDelete; +} + +void Backup::setNeverDelete(bool neverDelete) +{ + m_neverDelete = neverDelete; +} + +bool Backup::useCompression() +{ + return m_useCompression; +} + +void Backup::setUseCompression(bool useCompression) +{ + m_useCompression = useCompression; +} + +bool Backup::excludeSpecialFiles() +{ + return m_excludeSpecialFiles; +} + +void Backup::setExcludeSpecialFiles(bool excludeSpecialFiles) +{ + m_excludeSpecialFiles = excludeSpecialFiles; +} + +bool Backup::useAdvancedConfig() +{ + return m_useAdvancedConfig; +} + +void Backup::setUseAdvancedConfig(bool useAdvancedConfig) +{ + m_useAdvancedConfig = useAdvancedConfig; +} + +QStringList Backup::optionList() +{ + return m_optionList; +} + +void Backup::setOptionList(QStringList optionList) +{ + m_optionList = optionList; +} + +bool Backup::useIncludeExclude() +{ + return m_useIncludeExclude; +} + +void Backup::setUseIncludeExclude(bool useIncludeExclude) +{ + m_useIncludeExclude = useIncludeExclude; +} + +QStringList Backup::includeExcludeList() +{ + return m_includeExcludeList; +} + +void Backup::setIncludeExcludeList(QStringList includeExcludeList) +{ + m_includeExcludeList = includeExcludeList; +} + +QString Backup::htmlDesc() +{ + QString del; + QString compression; + if ( m_neverDelete ) + del = i18n("Never delete"); + else + del = i18n("%1 days").arg(m_deleteAfter); + if ( m_useCompression ) + compression = i18n("Yes"); + else + compression = i18n("No"); + QString html = "

" + i18n("Source directory:") + "
" + + m_source + "
" + i18n("Destination directory:") + "
" + + m_dest + "

" + i18n("Interval:") + " " + i18n("%1 days").arg(m_interval) + + "
" + i18n("Delete after:") + " " + del + + "
" + i18n("Use compression:") + " " + compression + + "

"; + return html; +} + + diff --git a/keep/common/backup.h b/keep/common/backup.h new file mode 100644 index 0000000..e7727c1 --- /dev/null +++ b/keep/common/backup.h @@ -0,0 +1,70 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _BACKUP_H_ +#define _BACKUP_H_ + +#include + +class Backup +{ +public: + Backup( QString source, QString dest, int m_interval, int m_deleteAfter, bool m_neverDelete,bool useCompression,bool excludeSpecialFiles,bool useAdvancedConfig,QStringList optionList,bool useIncludeExclude,QStringList includeExcludeList); + Backup(); + ~Backup(); + + QString source(); + void setSource(QString source); + QString dest(); + void setDest(QString dest); + int interval(); + void setInterval(int interval); + int deleteAfter(); + void setDeleteAfter(int deleteAfter); + bool neverDelete(); + void setNeverDelete(bool neverDelete); + bool useCompression(); + void setUseCompression(bool useCompression); + bool excludeSpecialFiles(); + void setExcludeSpecialFiles(bool excludeSpecialFiles); + bool useAdvancedConfig(); + void setUseAdvancedConfig(bool useAdvancedConfig); + QStringList optionList(); + void setOptionList(QStringList optionList); + bool useIncludeExclude(); + void setUseIncludeExclude(bool useIncludeExclude); + QStringList includeExcludeList(); + void setIncludeExcludeList(QStringList includeExcludeList); + + QString htmlDesc(); + +private: + QString m_source; + QString m_dest; + int m_interval; + int m_deleteAfter; + bool m_neverDelete; + bool m_useCompression; + bool m_excludeSpecialFiles; + bool m_useAdvancedConfig; + QStringList m_optionList; + bool m_useIncludeExclude; + QStringList m_includeExcludeList; +}; + +#endif diff --git a/keep/common/backupconfig.cpp b/keep/common/backupconfig.cpp new file mode 100644 index 0000000..75aed97 --- /dev/null +++ b/keep/common/backupconfig.cpp @@ -0,0 +1,101 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "backupconfig.h" + +#include + +BackupConfig::BackupConfig() +{ + m_config = new KConfig( "keepbackuplist.rc", false ); +} + +BackupConfig::~BackupConfig() +{ + delete m_config; +} + +void BackupConfig::addBackup(Backup backup) +{ + int id = generateId(); + + m_config->setGroup( ("Backup_" + QString::number(id)) ); + m_config->writeEntry( "Source", backup.source()); + m_config->writeEntry( "Dest", backup.dest()); + m_config->writeEntry( "Interval", backup.interval()); + m_config->writeEntry( "DeleteAfter", backup.deleteAfter()); + m_config->writeEntry( "NeverDelete", backup.neverDelete()); + m_config->writeEntry( "UseCompression", backup.useCompression()); + m_config->writeEntry( "ExcludeSpecialFiles", backup.excludeSpecialFiles()); + m_config->writeEntry( "UseAdvancedConfig", backup.useAdvancedConfig()); + m_config->writeEntry( "OptionList", backup.optionList()); + m_config->writeEntry( "UseIncludeExclude", backup.useIncludeExclude()); + m_config->writeEntry( "IncludeExcludeList", backup.includeExcludeList()); + + m_config->sync(); +} + +QValueList BackupConfig::backupList() +{ + QValueList backupList; + QStringList groupList = m_config->groupList(); + QStringList backupNameList = groupList.grep("Backup_"); + for ( QStringList::Iterator it = backupNameList.begin(); it != backupNameList.end(); ++it ) { + m_config->setGroup(*it); + QString source = m_config->readEntry("Source"); + QString dest = m_config->readEntry("Dest"); + int interval = m_config->readNumEntry("Interval"); + int deleteAfter = m_config->readNumEntry("DeleteAfter"); + bool neverDelete = m_config->readBoolEntry("NeverDelete"); + bool useCompression = m_config->readBoolEntry("UseCompression"); + bool excludeSpecialFiles = m_config->readBoolEntry("ExcludeSpecialFiles"); + bool useAdvancedConfig = m_config->readBoolEntry("UseAdvancedConfig"); + QStringList optionList = m_config->readListEntry( "OptionList"); + bool useIncludeExclude = m_config->readBoolEntry("UseIncludeExclude"); + QStringList includeExcludeList = m_config->readListEntry("IncludeExcludeList"); + + backupList.append(Backup(source,dest,interval,deleteAfter,neverDelete,useCompression,excludeSpecialFiles,useAdvancedConfig,optionList,useIncludeExclude,includeExcludeList)); + } + return backupList; +} + +void BackupConfig::setBackupList(QValueList backups) +{ + QStringList groupList = m_config->groupList(); + QStringList backupNameList = groupList.grep("Backup_"); + for ( QStringList::Iterator it = backupNameList.begin(); it != backupNameList.end(); ++it ) { + m_config->deleteGroup(*it); + } + m_config->sync(); + QValueList::iterator it; + for ( it = backups.begin(); it != backups.end(); ++it ) + { + addBackup(*it); + } +} + +int BackupConfig::generateId() +{ + m_config->setGroup("General"); + int id = m_config->readNumEntry("LastId",0); + int newid = id + 1; + m_config->writeEntry( "LastId", newid); + m_config->sync(); + return newid; +} + diff --git a/keep/common/backupconfig.h b/keep/common/backupconfig.h new file mode 100644 index 0000000..c53f651 --- /dev/null +++ b/keep/common/backupconfig.h @@ -0,0 +1,46 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _BACKUPCONFIG_H_ +#define _BACKUPCONFIG_H_ + +#include +#include +#include + +#include "backup.h" + +class BackupConfig: public QObject +{ +public: + BackupConfig(); + ~BackupConfig(); + + void addBackup(Backup backup); + QValueList backupList(); + void setBackupList(QValueList backups); + +private: + KConfig *m_config; + int generateId(); +}; + +#endif + + + diff --git a/keep/common/backuplistviewitem.cpp b/keep/common/backuplistviewitem.cpp new file mode 100644 index 0000000..1ed8ec9 --- /dev/null +++ b/keep/common/backuplistviewitem.cpp @@ -0,0 +1,58 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "backuplistviewitem.h" + +#include +#include +#include + +BackupListViewItem::BackupListViewItem(KListView *parent,Backup &backup): QListViewItem (parent) +{ + setBackup(backup); +} + +BackupListViewItem::~BackupListViewItem() +{ +} + +Backup BackupListViewItem::backup() +{ + return m_backup; +} + +void BackupListViewItem::setBackup(Backup backup) +{ + m_backup = backup; + setBackupText(); +} + +void BackupListViewItem::setBackupText() +{ + setText(0, QDir(m_backup.source()).dirName() ); + setText(1, QDir(m_backup.dest()).dirName() ); + setText(2, i18n("%1 days").arg(m_backup.interval())); + QString deleteAfter; + if ( m_backup.neverDelete() == true ) + deleteAfter = i18n("Never"); + else + deleteAfter = i18n("%1 days").arg(m_backup.deleteAfter()); + setText(3, deleteAfter); +} + + diff --git a/keep/common/backuplistviewitem.h b/keep/common/backuplistviewitem.h new file mode 100644 index 0000000..8cdd6e6 --- /dev/null +++ b/keep/common/backuplistviewitem.h @@ -0,0 +1,41 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _BACKUPLISTVIEWITEM_H_ +#define _BACKUPLISTVIEWITEM_H_ + +#include + +#include "backup.h" + +class BackupListViewItem : public QListViewItem +{ +public: + BackupListViewItem(KListView *parent,Backup &backup); + ~BackupListViewItem(); + + Backup backup(); + void setBackup(Backup backup); + +private: + Backup m_backup; + void setBackupText(); + +}; + +#endif diff --git a/keep/common/includeexcludeitem.cpp b/keep/common/includeexcludeitem.cpp new file mode 100644 index 0000000..895a8ae --- /dev/null +++ b/keep/common/includeexcludeitem.cpp @@ -0,0 +1,62 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "includeexcludeitem.h" + +#include +#include +#include + +IncludeExcludeItem::IncludeExcludeItem(KListView *parent,QString includeExclude): QListViewItem (parent) +{ + setIncludeExclude(includeExclude); +} + +IncludeExcludeItem::IncludeExcludeItem(KListView *parent,IncludeExcludeItem *item,QString includeExclude): QListViewItem (parent,item) +{ + setIncludeExclude(includeExclude); +} + + +IncludeExcludeItem::~IncludeExcludeItem() +{ +} + +QString IncludeExcludeItem::includeExclude() +{ + return m_includeExclude; +} + +void IncludeExcludeItem::setIncludeExclude(QString includeExclude) +{ + m_includeExclude = includeExclude; + setIncludeExcludeText(); +} + +void IncludeExcludeItem::setIncludeExcludeText() +{ + QString type = m_includeExclude.left(1); + QString file = m_includeExclude.right(m_includeExclude.length() - 1); + setText(0, file); + if ( type == "I" ) + setText(1,i18n("Included")); + else if ( type == "E") + setText(1,i18n("Excluded")); +} + + diff --git a/keep/common/includeexcludeitem.h b/keep/common/includeexcludeitem.h new file mode 100644 index 0000000..f6c2667 --- /dev/null +++ b/keep/common/includeexcludeitem.h @@ -0,0 +1,42 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _INCLUDEEXCLUDEITEM_H_ +#define _INCLUDEEXCLUDEITEM_H_ + +#include + +#include "backup.h" + +class IncludeExcludeItem : public QListViewItem +{ +public: + IncludeExcludeItem(KListView *parent,QString includeExclude); + IncludeExcludeItem(KListView *parent,IncludeExcludeItem *item,QString includeExclude); + ~IncludeExcludeItem(); + + QString includeExclude(); + void setIncludeExclude(QString includeExclude); + +private: + QString m_includeExclude; + void setIncludeExcludeText(); + +}; + +#endif diff --git a/keep/common/incrementlistviewitem.cpp b/keep/common/incrementlistviewitem.cpp new file mode 100644 index 0000000..c5cc718 --- /dev/null +++ b/keep/common/incrementlistviewitem.cpp @@ -0,0 +1,56 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "incrementlistviewitem.h" + +#include +#include +#include + +IncrementListViewItem::IncrementListViewItem(KListView *parent,QDateTime date): QListViewItem (parent) +{ + setDate(date); +} + +IncrementListViewItem::IncrementListViewItem(KListView *parent,QListViewItem *item,QDateTime date): QListViewItem (parent,item) +{ + setDate(date); +} + + +IncrementListViewItem::~IncrementListViewItem() +{ +} + +QDateTime IncrementListViewItem::date() +{ + return m_date; +} + +void IncrementListViewItem::setDate(QDateTime date) +{ + m_date = date; + setDateText(); +} + +void IncrementListViewItem::setDateText() +{ + setText(0, m_date.toString(Qt::LocalDate) ); +} + + diff --git a/keep/common/incrementlistviewitem.h b/keep/common/incrementlistviewitem.h new file mode 100644 index 0000000..59141d1 --- /dev/null +++ b/keep/common/incrementlistviewitem.h @@ -0,0 +1,41 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _INCREMENTLISTVIEWITEM_H_ +#define _INCREMENTLISTVIEWITEM_H_ + +#include +#include + + +class IncrementListViewItem : public QListViewItem +{ +public: + IncrementListViewItem(KListView *parent, QDateTime date); + IncrementListViewItem(KListView *parent, QListViewItem *item,QDateTime date); + ~IncrementListViewItem(); + + QDateTime date(); + void setDate(QDateTime date); + +private: + QDateTime m_date; + void setDateText(); +}; + +#endif diff --git a/keep/common/keepsettings.kcfg b/keep/common/keepsettings.kcfg new file mode 100644 index 0000000..98adc83 --- /dev/null +++ b/keep/common/keepsettings.kcfg @@ -0,0 +1,27 @@ + + + + + + + + true + Notify backup error. + + + + false + Notify backup success. + + + + false + Control rdiff-backup priority + + + + 0 + Rdiff-backup priority + + + diff --git a/keep/common/keepsettings.kcfgc b/keep/common/keepsettings.kcfgc new file mode 100644 index 0000000..47b27d2 --- /dev/null +++ b/keep/common/keepsettings.kcfgc @@ -0,0 +1,4 @@ +ClassName=KeepSettings +File=keepsettings.kcfg +Mutators=true +Singleton=true diff --git a/keep/common/listviewtooltip.h b/keep/common/listviewtooltip.h new file mode 100644 index 0000000..c871933 --- /dev/null +++ b/keep/common/listviewtooltip.h @@ -0,0 +1,81 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + + +#ifndef _LISTVIEWTOOLTIP_H_ +#define _LISTVIEWTOOLTIP_H_ + +#include +#include +#include + +#include "backuplistviewitem.h" +#include "backup.h" + +class ListViewToolTip : public QToolTip +{ +public: + ListViewToolTip(QListView* parent); + +protected: + void maybeTip( const QPoint& p ); + +private: + QListView* listView; +}; + +inline ListViewToolTip::ListViewToolTip( QListView* parent ): QToolTip( parent->viewport() ), listView( parent ) {} + +inline void ListViewToolTip::maybeTip( const QPoint& p ) { + if ( !listView ) + return; + + QListViewItem* item = listView->itemAt( p ); + if ( !item ) + return; + + const QRect itemRect = listView->itemRect( item ); + if ( !itemRect.isValid() ) + return; + + const int col = listView->header()->sectionAt( p.x() ); + if ( col == -1 ) + return; + + const QRect headerRect = listView->header()->sectionRect( col ); + if ( !headerRect.isValid() ) + return; + + const QRect cellRect( headerRect.left(), itemRect.top(),headerRect.width(), itemRect.height()); + + BackupListViewItem* backupItem = static_cast(item); + + QString tipStr = backupItem->backup().htmlDesc(); +/* + if( col == 0 ) + tipStr = QString( "Contents of this cell: %1" ).arg(item->text( 0 ) ); + else if( col == 1 ) + tipStr = QString( "Contents of that cell: %1" ).arg(item->text( 1 ) ); + else + tipStr = QString( "Something else" ); +*/ + tip( cellRect, tipStr ); +} + +#endif + diff --git a/keep/common/rdblistener.cpp b/keep/common/rdblistener.cpp new file mode 100644 index 0000000..f213bee --- /dev/null +++ b/keep/common/rdblistener.cpp @@ -0,0 +1,58 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "rdblistener.h" + +RDBListener::RDBListener() +{ + m_isOk = true; +} + + +void RDBListener::receivedStdErr(KProcess *proc, char *buffer, int buflen) +{ + m_isOk = false; + m_stdErr.append(buffer); +} + +void RDBListener::receivedStdOut(KProcess *proc, char *buffer, int buflen) +{ + m_stdOut.append(buffer); +} + +QString RDBListener::errorMessage() +{ + return m_stdErr.join("").simplifyWhiteSpace(); +} + +QStringList RDBListener::stdErr() +{ + return m_stdErr; +} + +QStringList RDBListener::stdOut() +{ + return m_stdOut; +} + +bool RDBListener::isOk() +{ + return m_isOk; +} + +#include "rdblistener.moc" diff --git a/keep/common/rdblistener.h b/keep/common/rdblistener.h new file mode 100644 index 0000000..e95186d --- /dev/null +++ b/keep/common/rdblistener.h @@ -0,0 +1,47 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _RDBLISTENER_H_ +#define _RDBLISTENER_H_ + +#include + +#include +#include + +class RDBListener: public QObject +{ +Q_OBJECT +public: + RDBListener(); + QStringList stdOut(); + QStringList stdErr(); + QString errorMessage(); + bool isOk(); + +public slots: + void receivedStdOut(KProcess *proc, char *buffer, int buflen); + void receivedStdErr(KProcess *proc, char *buffer, int buflen); + +private: + QStringList m_stdOut; + QStringList m_stdErr; + bool m_isOk; +}; + +#endif diff --git a/keep/common/rdbmanager.cpp b/keep/common/rdbmanager.cpp new file mode 100644 index 0000000..4d86a89 --- /dev/null +++ b/keep/common/rdbmanager.cpp @@ -0,0 +1,388 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "rdbmanager.h" + +#include +#include +#include +#include + +RDBManager::RDBManager() +{ +} + +RDBManager::~RDBManager() +{ +} + +void RDBManager::slotCheckBackup() +{ + QValueList backups = outdatedBackupList(); + QValueList::iterator it; + for ( it = backups.begin(); it != backups.end(); ++it ) + { + doBackup(*it); + } +} + +void RDBManager::slotForceBackup(QValueList backupList) +{ + QValueList::iterator it; + for ( it = backupList.begin(); it != backupList.end(); ++it ) + { + doBackup(*it); + } +} + +QString RDBManager::compareAtTime(Backup backup, QDateTime date) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--compare-at-time"; + *proc << QString::number(date.toTime_t()); // increment date + // Adds source and dest + *proc << QFile::encodeName(KProcess::quote(backup.source())); + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + // Adds the listener + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList output = listen->stdOut(); + QStringList::iterator it = output.begin(); + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + return (*it); +} + +QString RDBManager::listChangedSince(Backup backup, QDateTime date) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--list-changed-since"; + *proc << QString::number(date.toTime_t()); // increment date + // Adds the dest + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + // Adds a listener + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList output = listen->stdOut(); + QStringList::iterator it = output.begin(); + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + return (*it); +} + +QString RDBManager::listAtTime(Backup backup, QDateTime date) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--list-at-time"; + *proc << QString::number(date.toTime_t()); // increment date + // Adds the dest + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + // Adds a listener + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList output = listen->stdOut(); + QStringList::iterator it = output.begin(); + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + return (*it); +} + +QValueList RDBManager::incrementList(Backup backup) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--list-increments"; + *proc << "-v2"; + *proc << "--parsable-output"; + // Adds the dest + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + // Adds a listener + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList output = listen->stdOut(); + QStringList::iterator it = output.begin(); + + QStringList lines = QStringList::split("\n",*it); + QValueList dateList; + + QStringList::iterator it2 = output.begin(); + for ( it2 = lines.begin(); it2 != lines.end(); ++it2 ) + { + QStringList field = QStringList::split(" ",*it2); + QStringList::iterator dateStr = field.begin(); + long timestamp = (*dateStr).toUInt(); + QDateTime datetime; + datetime.setTime_t(timestamp); + dateList.append(datetime); + } + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + return dateList; +} + +QDateTime RDBManager::lastIncrement(Backup backup) +{ + QValueList increments = incrementList(backup); + QDateTime last = increments.last(); + return last; +} + +QValueList RDBManager::outdatedBackupList() +{ + BackupConfig config; + QValueList backups = config.backupList(); + QValueList outdated; + QValueList::iterator it; + kdDebug() << "Detecting outdated backup." << endl; + for ( it = backups.begin(); it != backups.end(); ++it ) + { + QDateTime last = lastIncrement(*it); + QDate today = QDate::currentDate(); + if ( last.date().daysTo(today) >= (*it).interval() ) + { + kdDebug() << "Detected outdated backup: " << (*it).source() << endl; + outdated.append(*it); + } + } + return outdated; +} + +void RDBManager::slotRestoreBackup(Backup backup,QDateTime time) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--force"; + *proc << "--restore-as-of"; + *proc << QString::number(time.toTime_t()); // Date of the increment to restore + // Adds source and dest + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + *proc << QFile::encodeName(KProcess::quote(backup.source())); + // Adds a listener (for output recording) + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + connect(proc,SIGNAL(receivedStderr(KProcess *,char *,int)),listen,SLOT(receivedStdErr(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + kdDebug() << "Executed process: " << proc->args() << endl; + + if ( !listen->isOk() ) + { + kdDebug() << "Error message: " << listen->errorMessage() << endl; + emit backupError(backup,listen->errorMessage()); + } + + delete listen; + delete proc; +} + +bool RDBManager::isRDB() +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + *proc << "-V"; + // Adds a listener (for output recording) + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList outList = listen->stdOut(); + QStringList::iterator out = outList.begin(); + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + if ( *out == "" ) + return false; + return true; +} + +QString RDBManager::RDBVersion() +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + *proc << "-V"; + // Adds a listener (for output recording) + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + QStringList outList = listen->stdOut(); + QStringList::iterator out = outList.begin(); + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete listen; + delete proc; + + return (*out).mid(13,5); +} + +void RDBManager::doBackup(Backup backup) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(KeepSettings::controlRDBPriority,KeepSettings::rDBPriority()); + // Adds include and exclude + if ( backup.useIncludeExclude() ) + { + QStringList includeExcludeList = backup.includeExcludeList(); + QStringList::iterator it; + for ( it = includeExcludeList.begin(); it != includeExcludeList.end(); ++it ) + { + QString type = (*it).left(1); + QString file = (*it).right((*it).length() - 1); + if ( type == "I" ) + { + *proc << "--include"; + *proc << QFile::encodeName(KProcess::quote(file)); + } + else if ( type == "E" ) + { + *proc << "--exclude"; + *proc << QFile::encodeName(KProcess::quote(file)); + } + } + } + // Adds the option + // For simple mode + if ( !backup.useAdvancedConfig() ) + { + if ( !backup.useCompression() ) + *proc << "--no-compression"; + + if ( backup.excludeSpecialFiles() ) + *proc << "--exclude-special-files"; + } + // For advanced mode + else + { + QStringList optionList = backup.optionList(); + for ( QStringList::Iterator it = optionList.begin(); it != optionList.end(); ++it ) + { + *proc << *it; + } + } + // Adds source and dest + *proc << QFile::encodeName(KProcess::quote(backup.source())); + *proc << QFile::encodeName(KProcess::quote(backup.dest())); + // Adds a listener (for output recording) + RDBListener *listen = new RDBListener(); + connect(proc,SIGNAL(receivedStdout(KProcess *,char *,int)),listen,SLOT(receivedStdOut(KProcess *,char *,int))); + connect(proc,SIGNAL(receivedStderr(KProcess *,char *,int)),listen,SLOT(receivedStdErr(KProcess *,char *,int))); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + kdDebug() << "Executed process: " << proc->args() << endl; + kdDebug() << "Process status: " << listen->isOk() << endl; + + if ( !listen->isOk() ) + { + kdDebug() << "Error message: " << listen->errorMessage() << endl; + emit backupError(backup,listen->errorMessage()); + } + else + emit backupSuccess(backup); + + delete listen; + delete proc; + + if ( !backup.neverDelete() ) + { + removeOldIncrements(backup); + } +} + +void RDBManager::removeOldIncrements(Backup backup) +{ + // Gets the rdiff-backup process + KProcess *proc = RDBProcess(); + // Adds the options + *proc << "--remove-older-than" << QString("%1").arg(backup.deleteAfter()) + "D"; + // Adds dest + *proc << backup.dest(); + // Starts the process + if ( !proc->start(KProcess::Block, KProcess::AllOutput) ) + kdDebug() << "Error starting rdiff-backup" << endl; + + kdDebug() << "Executed process: " << proc->args() << endl; + + delete proc; +} + +KProcess *RDBManager::RDBProcess(bool isNice,int niceLevel) +{ + KProcess *proc = new KProcess(); + proc->setUseShell(true); + if ( isNice ) + { + *proc << "nice" << "-n" << QString("%1").arg(niceLevel); + } + *proc << "rdiff-backup"; + + return proc; +} + +#include "rdbmanager.moc" diff --git a/keep/common/rdbmanager.h b/keep/common/rdbmanager.h new file mode 100644 index 0000000..f7115ec --- /dev/null +++ b/keep/common/rdbmanager.h @@ -0,0 +1,62 @@ +/* This file is part of the Keep project + Copyright (C) 2006 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _RDBMANAGER_H_ +#define _RDBMANAGER_H_ + +#include +#include +#include + +#include "backupconfig.h" +#include "rdblistener.h" + +class RDBManager: public QObject +{ +Q_OBJECT +public: + RDBManager(); + ~RDBManager(); + + QValueList incrementList(Backup backup); + QValueList outdatedBackupList(); + QDateTime lastIncrement(Backup backup); + + QString compareAtTime(Backup backup, QDateTime date); + QString listChangedSince(Backup backup, QDateTime date); + QString listAtTime(Backup backup, QDateTime date); + + bool isRDB(); + QString RDBVersion(); + +public slots: + void slotCheckBackup(); + void slotForceBackup(QValueList backupList); + void slotRestoreBackup(Backup backup,QDateTime time); + +signals: + void backupError(Backup backup,QString errorMessage); + void backupSuccess(Backup backup); + +private: + void doBackup(Backup backup); + void removeOldIncrements(Backup backup); + KProcess * RDBProcess(bool isNice=false,int niceLevel=0); +}; + +#endif diff --git a/keep/icons/Makefile.am b/keep/icons/Makefile.am new file mode 100644 index 0000000..01ad867 --- /dev/null +++ b/keep/icons/Makefile.am @@ -0,0 +1,2 @@ +keepicondir = $(kde_datadir)/keep/icons +keepicon_ICON = AUTO diff --git a/keep/icons/cr16-action-add_backup.png b/keep/icons/cr16-action-add_backup.png new file mode 100644 index 0000000..8fb6ccc Binary files /dev/null and b/keep/icons/cr16-action-add_backup.png differ diff --git a/keep/icons/cr16-action-force_backup.png b/keep/icons/cr16-action-force_backup.png new file mode 100644 index 0000000..fb5c130 Binary files /dev/null and b/keep/icons/cr16-action-force_backup.png differ diff --git a/keep/icons/cr16-action-restore_dir.png b/keep/icons/cr16-action-restore_dir.png new file mode 100644 index 0000000..e14a031 Binary files /dev/null and b/keep/icons/cr16-action-restore_dir.png differ diff --git a/keep/icons/cr22-action-add_backup.png b/keep/icons/cr22-action-add_backup.png new file mode 100644 index 0000000..e768e4f Binary files /dev/null and b/keep/icons/cr22-action-add_backup.png differ diff --git a/keep/icons/cr22-action-force_backup.png b/keep/icons/cr22-action-force_backup.png new file mode 100644 index 0000000..eb80d1c Binary files /dev/null and b/keep/icons/cr22-action-force_backup.png differ diff --git a/keep/icons/cr22-action-restore_dir.png b/keep/icons/cr22-action-restore_dir.png new file mode 100644 index 0000000..8c46f24 Binary files /dev/null and b/keep/icons/cr22-action-restore_dir.png differ diff --git a/keep/icons/cr32-action-add_backup.png b/keep/icons/cr32-action-add_backup.png new file mode 100644 index 0000000..8e8db95 Binary files /dev/null and b/keep/icons/cr32-action-add_backup.png differ diff --git a/keep/icons/cr32-action-force_backup.png b/keep/icons/cr32-action-force_backup.png new file mode 100644 index 0000000..4842e2f Binary files /dev/null and b/keep/icons/cr32-action-force_backup.png differ diff --git a/keep/icons/cr32-action-restore_dir.png b/keep/icons/cr32-action-restore_dir.png new file mode 100644 index 0000000..08f02a2 Binary files /dev/null and b/keep/icons/cr32-action-restore_dir.png differ diff --git a/keep/icons/cr48-action-add_backup.png b/keep/icons/cr48-action-add_backup.png new file mode 100644 index 0000000..07aad61 Binary files /dev/null and b/keep/icons/cr48-action-add_backup.png differ diff --git a/keep/icons/cr48-action-force_backup.png b/keep/icons/cr48-action-force_backup.png new file mode 100644 index 0000000..9ae4e98 Binary files /dev/null and b/keep/icons/cr48-action-force_backup.png differ diff --git a/keep/icons/cr48-action-restore_dir.png b/keep/icons/cr48-action-restore_dir.png new file mode 100644 index 0000000..b65cbf4 Binary files /dev/null and b/keep/icons/cr48-action-restore_dir.png differ diff --git a/keep/icons/crsc-action-add_backup.svgz b/keep/icons/crsc-action-add_backup.svgz new file mode 100644 index 0000000..0641e7a Binary files /dev/null and b/keep/icons/crsc-action-add_backup.svgz differ diff --git a/keep/icons/crsc-action-force_backup.svgz b/keep/icons/crsc-action-force_backup.svgz new file mode 100644 index 0000000..4c2984a Binary files /dev/null and b/keep/icons/crsc-action-force_backup.svgz differ diff --git a/keep/icons/crsc-action-restore_dir.svgz b/keep/icons/crsc-action-restore_dir.svgz new file mode 100644 index 0000000..070f826 Binary files /dev/null and b/keep/icons/crsc-action-restore_dir.svgz differ diff --git a/keep/kded/Makefile.am b/keep/kded/Makefile.am new file mode 100644 index 0000000..6828b16 --- /dev/null +++ b/keep/kded/Makefile.am @@ -0,0 +1,13 @@ +INCLUDES = -I$(top_srcdir)/keep/common -I$(top_builddir)/keep/common $(all_includes) + +kde_module_LTLIBRARIES = kded_keep.la +kded_keep_la_LDFLAGS = -module -avoid-version $(all_libraries) +kded_keep_la_LIBADD = $(top_builddir)/keep/common/libkeep.la $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) +kded_keep_la_SOURCES = keepkded.cpp keepkded.skel + +noinst_HEADERS = keepkded.h + +METASOURCES = AUTO + +services_DATA = keep.desktop +servicesdir = $(kde_servicesdir)/kded diff --git a/keep/kded/keep.desktop b/keep/kded/keep.desktop new file mode 100644 index 0000000..c3ca520 --- /dev/null +++ b/keep/kded/keep.desktop @@ -0,0 +1,56 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Service +ServiceTypes=KDEDModule +X-KDE-ModuleType=Library +X-KDE-Library=keep +X-KDE-FactoryName=keep +X-KDE-Kded-autoload=true +X-KDE-Kded-load-on-demand=false +Name=Keep daemon +Name[bg]=Keep демон +Name[br]=Diaoul Keep +Name[cs]=Démon keep +Name[da]=Keep-dæmon +Name[de]=Keep-Dienst +Name[el]=Δαίμονας Keep +Name[es]=Demonio Keep +Name[et]=Keepi deemon +Name[fr]=Démon Keep +Name[ga]=Deamhan Keep +Name[gl]=Servizo Keep +Name[it]=Demone Keep +Name[ja]=Keep デーモン +Name[ka]=დემონის დატოვება +Name[lt]=Nekeisti tarnybos +Name[nl]=Keep-daemon +Name[pl]=Demon Keep +Name[pt]=Servidor do Keep +Name[sr]=Keep демон +Name[sr@Latn]=Keep demon +Name[sv]=Keep-demon +Name[xx]=xxKeep daemonxx +Comment=Backup System +Comment[bg]=Резервно копие на системата +Comment[br]=Gwareziñ ar reizhiad +Comment[cs]=Zálohování systému +Comment[cy]=System cadw wrth gefn +Comment[da]=Sikkerhedskopieringssystem +Comment[de]=Datensicherungssystem +Comment[el]=Σύστημα λήψης αντιγράφων ασφαλείας +Comment[es]=Sistema de copia de seguridad +Comment[et]=Varundamissüsteem +Comment[ga]=Córas Cúltaca +Comment[gl]=Sistema de Cópias de Seguridade +Comment[it]=Sistema copie di sicurezza +Comment[ja]=バックアップシステム +Comment[ka]=სისტემის სარეზერვო ასლი +Comment[lt]=Daryti sistemos atsarginę kopiją +Comment[nl]=Backupsysteem +Comment[pl]=Program do tworzenia kopii zapasowych +Comment[pt]=Sistema de Cópias de Segurança +Comment[sk]=Zálohovací systém +Comment[sr]=Систем за архивирање +Comment[sr@Latn]=Sistem za arhiviranje +Comment[sv]=Säkerhetskopieringssystem +Comment[xx]=xxBackup Systemxx diff --git a/keep/kded/keepkded.cpp b/keep/kded/keepkded.cpp new file mode 100644 index 0000000..51a315d --- /dev/null +++ b/keep/kded/keepkded.cpp @@ -0,0 +1,100 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#include "keepkded.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +KeepKded::KeepKded(const QCString &name): KDEDModule(name) +{ + m_logFilePath = locateLocal( "data", "keep/keep.log", true ); + + m_manager = new RDBManager(); + connect( m_manager, SIGNAL(backupError(Backup,QString)), this, SLOT(slotBackupError(Backup,QString)) ); + connect( m_manager, SIGNAL(backupSuccess(Backup)), this, SLOT(slotBackupSuccess(Backup)) ); + + slotCheckBackup(); + + m_timer = new QTimer(this); + connect( m_timer, SIGNAL(timeout()), this, SLOT(slotCheckBackup()) ); + m_timer->start( 1000 * 60 * 60 ); +} + +KeepKded::~KeepKded() +{ + delete m_manager; +} + +void KeepKded::slotBackupError(Backup backup,QString errorMessage) +{ + if ( KeepSettings::notifyBackupError() ) + { + KNotifyClient::userEvent(0,i18n("

An error occured making %1 backup:

%2

").arg(backup.source()).arg(errorMessage),16,4); + } + log("Backup Error",backup.source(),errorMessage); +} + +void KeepKded::slotBackupSuccess(Backup backup) +{ + if ( KeepSettings::notifyBackupSuccess() ) + { + KNotifyClient::userEvent(0,i18n("

Backup %1 successfully backuped to %2

").arg(backup.source()).arg(backup.dest()),16,1); + } + log("Backup Success",backup.source(),"Successfully backuped to: " + backup.dest() ); +} + +void KeepKded::log(QString type,QString backup,QString message) +{ + QString logMessage = QDateTime::currentDateTime().toString(Qt::ISODate) + "\t" + type + "\t" + backup + "\t" + message; + QFile file( m_logFilePath ); + if ( file.open(IO_WriteOnly | IO_Append) ) + { + QTextStream stream( &file ); + stream << logMessage << "\n"; + file.close(); + } +} + +void KeepKded::slotCheckBackup() +{ + kdDebug(7020) << "Launching previous backup analyse." << endl; + m_manager->slotCheckBackup(); +} + +extern "C" +{ + KDE_EXPORT KDEDModule *create_keep(const QCString &name) + { + return new KeepKded(name); + } +} + + +#include "keepkded.moc" diff --git a/keep/kded/keepkded.h b/keep/kded/keepkded.h new file mode 100644 index 0000000..99776ea --- /dev/null +++ b/keep/kded/keepkded.h @@ -0,0 +1,49 @@ +/* This file is part of the Keep project + Copyright (C) 2005 Jean-Rémy Falleri + + Keep 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. + + Keep 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 Keep; if not, write to the + Free Software Foundation, Inc., + 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _KEEPKDED_H_ +#define _KEEPKDED_H_ + +#include +#include + +#include "rdbmanager.h" + +class KeepKded: public KDEDModule +{ + Q_OBJECT + K_DCOP + +public: + KeepKded( const QCString &name ); + virtual ~KeepKded(); + +public slots: + void slotCheckBackup(); + void slotBackupError(Backup backup, QString ErrorMessage); + void slotBackupSuccess(Backup backup); + +private: + QTimer *m_timer; + QString m_logFilePath; + RDBManager *m_manager; + void log(QString type,QString backup,QString message); +}; + +#endif + diff --git a/po/Makefile.am b/po/Makefile.am new file mode 100644 index 0000000..54cb7de --- /dev/null +++ b/po/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = $(AUTODIRS) diff --git a/po/bg/Makefile.am b/po/bg/Makefile.am new file mode 100644 index 0000000..869f213 --- /dev/null +++ b/po/bg/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = bg +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/bg/keep.po b/po/bg/keep.po new file mode 100644 index 0000000..d34c107 --- /dev/null +++ b/po/bg/keep.po @@ -0,0 +1,581 @@ +# translation of keep.po to Bulgarian +# +# Zlatko Popov , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-28 11:31+0300\n" +"Last-Translator: Zlatko Popov \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Преглед на лог" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Резервно копие на системата" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Проверка на rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Конфигуриране на резервните копия" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Добавяне на резервно копие" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Възстановяване на резервно копие" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Създаване на резервно копие сега" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

ОК

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Не е стартиран

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"На компютъра е открито приложението rdiff-backup." +"
" +"
Вие работите с версия %1 на rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"На компютъра не е открито приложението rdiff-backup." +"
" +"
Ако rdiff-backup не е инсталиран, Keep няма да може да прави резервни " +"копия. За да оправите този проблем, инсталирайте rdiff-backup на компютъра." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Общи" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Неправилен отговор от KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Контактът с KDED е невъзможен." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Услугата не може да бъде спряна." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Система за резервни копия в KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Maintainer" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Пакети за Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Думи за приложенията" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Разширени настройки на резервните копия" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Меню" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Показване на разликите в направлението/резервното копие" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Списък с променените файлове" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Списък с файлове" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Списък с промени от нарастването:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Промени" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Нищо." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Списък с променени файлове от нарастването:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Променени файлове" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Списък с файлове от нарастването:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Списък с файлове" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Възникна грешка при възстановяването на резервно копие %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Конфигуриране на включително/изключено" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Резервно копие сега" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Възникна грешка при възстановяването на резервно копие %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Резервно копие %1 беше успешно създадено в %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Златко Попов" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "zlatkopopov@fsa-bg.org" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Изтриване - никога" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 дни" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Директория източник:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Целева директория:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Интервал:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Изтриване след:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Използване на компресия:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Включени" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Изключени" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Никога" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "GeneralConfigView" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Уведомяване" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Грешка при уведомяване за резервно копие" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Успех при уведомяване за резервно копие" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Приоритет за резервно копие" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Контрол на приоритета на резервно копие" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Успех на резервно копие" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Изберете местоположение за резервното копие." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" +"Изберете опциите, които искате да използвате по време на създаването на " +"резервно копие:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Резервно копие на система:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Добавяне на директория към резервно копие" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Възстановяване на резервно копие" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Резервно копие сега" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Редактиране на списъка с резервни копия" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Преглед на логовете на резервно копие" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Демон за резервно копие:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Състояние на Keep демон:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

неизвестен

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Зареждане" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Сваляне" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Изберете резервно копие за възстановяване." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Източник" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Направление" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Интервал за резервно копие" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Изтриване след" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Потребителска директория за резервни копия:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Използване на потребителска директория за резервни копия" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Директория:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Изберете директория за резервните копия." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Използване на списък за включително/изключено" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Изберете източника, на който да бъде направено резервно копие." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Задайте дата, за която да бъде възстановено резервното копие." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Текуща дата:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "неизвестно" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Дата" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Задайте желаните опции за резервното си копие." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Основни опции:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Интервал за резервни копия (дни):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Изтриване след (дни):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Допълнителни опции:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Използване на компресия" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Изключване на специалните файлове" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Използване на разширени настройки" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Изберете файловете/директориите които искате да включите изключите. Можете да " +"използвате * (wildcard) основни символи." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Включително" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Изключение" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Списък включително/изключено:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Елемент" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Действие" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "премахване" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Събитие" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Резервно копие" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" +"Изберете местоположение за възстановяване на маркираното резервно копие." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Използване на директория по подразбиране" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Използване на потребителска директория:" diff --git a/po/br/Makefile.am b/po/br/Makefile.am new file mode 100644 index 0000000..db05612 --- /dev/null +++ b/po/br/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = br +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/br/keep.po b/po/br/keep.po new file mode 100644 index 0000000..22f8b38 --- /dev/null +++ b/po/br/keep.po @@ -0,0 +1,569 @@ +# KDE breton translation +# Thierry Vignaud , 2006 +msgid "" +msgstr "" +"Project-Id-Version: all2.po\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2004-09-20 15:44+0200\n" +"Last-Translator: Thierry Vignaud \n" +"Language-Team: br \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Gwareziñ ar reizhiad" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Kefluniañ ar gwareziñ" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Ouzhpennañ ur gwareziñ" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Assevel ur gwareziñ" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Gwareziñ bremañ" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Mat eo

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

N'eo ket bev

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Pennañ" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "N'hellan ket kevreañ ouzh KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "N'hellan ket herzel ar servij." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Reizhiad gwareziñ KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Mirout" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Ratreer" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pakadoù Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Kefluniadur gwareziñ barek" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Meuziad" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Netra." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Restroù cheñchet" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Roll ar restroù" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Gwareziñ bremañ" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Thierry Vignaud, Jañ-Mai Drapier" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "tvignaud@mandriva.com, jdrapier@club-internet.fr" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Biken vo lemet" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 deiz" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Renkell tarzh :" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Renkell dehaezadur :" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Lemel goude :" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Implijit ar waskerezh :" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Gwech ebet" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Kemennadoù" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Dibabit ul lec'hiadur evit ar gwareziñ." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Gwareziñ ar reizhiad :" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Ouzhpennañ ur renkell d'ar gwareziñ" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Assevel ur gwareziñ" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Gwareziñ bremañ" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Sell ouzh kerzlevr ar gwareziñ" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Diaoul gwareziñ :" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Stad diaoul Keep :" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

Dianav

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Kargañ" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Digargañ" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Dibabit ar gwareziñ d'assevel." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Tarzh" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Dehaezadur" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Lemel goude" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Renkell gwareziñ diouzhoc'h :" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Implijit ur renkell gwareziñ diouzhoc'h" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Renkell :" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Dibabit ur renkell evit gwareziñ." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Deiziad red :" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "dianav" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Deiziad" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Dibarzhoù hollek :" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Lemel goude (deiz) ::" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Dibarzhoù ouzhpenn :" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Implijit ar waskerezh" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Implijiet ar gefluniadur barek" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Tra" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Gwezhiad" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "lemel" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Degouezh" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Gwareziñ" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Implijit ar renkell dre ziouer" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Implijit ar renkell diouzhoc'h :" + +#~ msgid "Custom destination directory:" +#~ msgstr "Renkell dehaezadur diouzhoc'h :" + +#~ msgid "Backup directory" +#~ msgstr "Renkell gwareziñ" diff --git a/po/cs/Makefile.am b/po/cs/Makefile.am new file mode 100644 index 0000000..af45f6a --- /dev/null +++ b/po/cs/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = cs +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/cs/keep.po b/po/cs/keep.po new file mode 100644 index 0000000..453c406 --- /dev/null +++ b/po/cs/keep.po @@ -0,0 +1,567 @@ +# translation of keep.po to Czech +# +# Klara Cihlarova , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-05-21 17:17+0200\n" +"Last-Translator: Klara Cihlarova \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>" +"=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Zobrazit záznam" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Zálohovat systém" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Překontrolovat rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Nastavení záloh" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Přidat zálohu" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Obnovit zálohu" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Zálohovat" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

OK

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Neběží

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Obecné" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Nesprávná odpověď KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Nelze kontaktovat KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Službu nelze zastavit." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Zálohovací systém KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Ponechat" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Správce" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu balíčky" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Pokročilé nastavení zálohování" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Nabídka" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Zobrazit rozdíl umístění/záloha" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Seznam změněných souborů" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Seznam souborů" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Změny" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nic." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Změněné soubory" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Seznam souborů" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

Při obnově zálohy %1 došlo k chybě:

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Zálohovat" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

Při vytváření zálohy %1 došlo k chybě:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Záloha %1 úspěšně zazálohována do %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Klára Cihlářová" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "koty@seznam.cz" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Nikdy nemazat" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "Dny: %1" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Zdrojový adresář:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "C9lový adresář:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Interval:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Smazat po:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Komprimovat:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Přidané" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Vyloučené" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nikdy" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Oznámení" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Oznámit chybu zálohování" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Oznámit úspěch zálohování" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Oznámit chybu zálohování" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Oznámit úspěch zálohování" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Zvolte umístění zálohy." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Zvolte volby, které chcete použít během zálohování:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Záloha systému:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Přidat adresář do zálohy" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Obnovit zálohu" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Zálohovat" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Upravit seznam zálohování" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Zobrazit záznam zálohování" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Zálohovací démon:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

neznámý

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "Na&hrát" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Zvolte zálohu k obnově." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Zdroj" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Cíl" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Interval zálohování" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Smazat po" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Vlastní zálohovací adresář:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Použít vlastní zálohovací adresář" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Adresář:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Zvolte adresář pro zálohu." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Zvolte datum obnovy zvolené zálohy." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Aktuální datum:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "neznámý" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Datum" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Zvolte volby zálohy." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Obecné volby:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Interval zálohování (dny):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Smazat po (dny):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Další volby:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Komprimovat" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Vyloučit zvláštní soubory" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Použít expertní nastavení" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Vložit" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Vyloučit" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Seznam přidání/vyloučení:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Položka" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Akce" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "odstranit" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Událost" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Zálohování" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Zvolte umístění uložení zvolené zálohy." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Použít výchozí adresář" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Vlastní adresář:" diff --git a/po/da/Makefile.am b/po/da/Makefile.am new file mode 100644 index 0000000..8452929 --- /dev/null +++ b/po/da/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = da +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/da/keep.po b/po/da/keep.po new file mode 100644 index 0000000..23bbea3 --- /dev/null +++ b/po/da/keep.po @@ -0,0 +1,579 @@ +# Danish translation of keep +# +# Erik Kjær Pedersen , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-08 16:23-0400\n" +"Last-Translator: Erik Kjær Pedersen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Vis log" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sikkerhedskopieringssystem" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Kontrollér rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Indstil sikkerhedskopier" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Tilføj sikkerhedskopi" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Genopret sikkerhedskopiering" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Sikkerhedskopiering nu" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

O.k.

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Kør ikke

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Programmet rdiff-backup er detekteret på systemet." +"
" +"
Du kører version %1 af rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Programmet rdiff-backup er ikke detekteret på dit system." +"
" +"
Hvis rdiff-backup ikke er installeret, kan Keep ikke lave sikkerhedskopier. " +"Installér pakken rdiff-backup på systemet for at ordne dette problem." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Generelt" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Forkert svar fra KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Kunne ikke kontakte KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Kan ikke stoppe tjeneste." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Sikkerhedskopieringssystem for KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Udvikler" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pakke for Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Formuleringer i programmet" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Avanceret sikkerhedskopieringsindstilling" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Vis forskelle mellem mål og sikkerhedskopi" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "List ændrede filer" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "List filer" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Liste over ændringer siden den valgte forøgelse:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Ændringer" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Ingenting." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Liste over ændrede filer siden den valgte forøgelse:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Ændrede filer" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Liste over filer i den valgte forøgelse:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Liste over filer" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

En fejl opstod da sikkerhedskopien %1 blev genoprettet:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Indstilling af inkludér og undtag" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Sikkerhedskopiering nu" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

En fejl opstod da sikkerhedskopieringen %1 blev udført:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Sikkerhedskopien %1 til %2 er udført med godt resultat

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Erik Kjær Pedersen" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "erik@binghamton.edu" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Slet aldrig" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dage" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Kildemappe:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Målmappe:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Interval:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Slet efter:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Brug komprimering:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Inkluderet" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Undtaget" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Aldrig" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "GeneralConfigView" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Meddelelser" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Meddel fejl ved sikkerhedskopiering" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Meddel at sikkerhedskopiering lykkedes" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Sikkerhedskopieringsprioritet for Rdiff" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Kontrollerer sikkerhedskopieringsprioritet for Rdiff" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Pænhed for sikkerhedskopiering med Rdiff" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Vælg et sted at placere sikkerhedskopien." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Vælg de tilvalg du vil bruge under sikkerhedskopieringen:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sikkerhedskopieringssystem:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Tilføj mappe til sikkerhedskopien" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Genopret en sikkerhedskopi" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Sikkerhedskopiering nu" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Redigér liste for sikkerhedskopiering" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Vis sikkerhedskopieringslog" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Sikkerhedskopieringsdæmon:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Behold dæmonens tilstand:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

ukendt

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Indlæs" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Afindlæs" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Vælg sikkerhedskopi at genoprette." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Kilde" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Mål" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Sikkerhedskopieringsinterval" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Slet efter" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Egen sikkerhedskopieringsmappe:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Brug egen sikkerhedskopieringsmappe" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Mappe:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Vælg en mappe til sikkerhedskopiering." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Brug liste med inkludér og undtag" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Vælg kilder at sikkerhedskopiere nu." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Vælg dato at genoprette den valgte sikkerhedskopi." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Nuværende dato:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "ukendt" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Dato" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Vælg ønskede tilvalg for sikkerhedskopien." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Generelle tilvalg:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Sikkerhedskopieringsinterval (dage):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Slet efter (dage):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Yderligere tilvalg:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Brug komprimering" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Undtag specialfiler" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Brug avanceret indstilling" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Vælg filerne eller mapperne du vil inkludere eller undtage. Du kan bruge det " +"generelle tegn * (jokertegnet). Du kan trække og slippe objekter for at " +"finjustere prioritetsrækkefølgen." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Inkludér" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Undtag" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Liste af inkludere og undtage:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Punkt" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Handling" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "fjern" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Begivenhed" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Sikkerhedskopi" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Vælg et sted at genoprette valgt sikkerhedskopi." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Brug standardmappe" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Brug egen mappe:" diff --git a/po/de/Makefile.am b/po/de/Makefile.am new file mode 100644 index 0000000..b15dd61 --- /dev/null +++ b/po/de/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = de +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/de/keep.po b/po/de/keep.po new file mode 100644 index 0000000..fe3fdfd --- /dev/null +++ b/po/de/keep.po @@ -0,0 +1,585 @@ +# translation of keep.po to Deutsch +# +# Oliver Dörr , 2006. +# Thomas Reitelbach , 2006. +# Oliver Dörr , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-01 13:47+0200\n" +"Last-Translator: Oliver Dörr \n" +"Language-Team: Deutsch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Log ansehen" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "System sichern" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "rdiff-backup überprüfen" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Sicherungen konfigurieren" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Sicherung hinzufügen" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Sicherung zurückspielen" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Jetzt sichern" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

OK

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Läuft nicht

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Das Programm rdiff-backup wurde auf Ihrem Rechner gefunden." +"
" +"
Sie benutzen die Version %1 von rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Das Programm rdiff-backup konnte auf Ihrem Rechner nicht gefunden werden." +"
" +"
Falls rdiff-backup nicht installiert wurde kann Keep keine Backups " +"erstellen. Um dieses Problem zu lösen müssen Sie rdiff-backup auf Ihrem System " +"installieren." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Allgemein" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Ungültige Antwort vom KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Kann KDED nicht erreichen." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Kann den Dienst nicht stoppen." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE Backup System" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Betreuer" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu Packete" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Programmformulierungen" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Konfiguration der Parameter für Fortgeschrittene" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menü" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Zeige Unterschiede zwischen dem Ziel und der Sicherung" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Zeige die geänderten Dateien" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Zeige Dateien" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Zeige die Änderungen seit der ausgewählten inkrementellen Sicherung:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Änderungen" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nichts." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" +"Liste der geänderten Dateien seit der ausgewählten inkrementellen Sicherung:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Geänderte Dateien" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Liste der Dateien in der ausgewählten inkrementellen Sicherung:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Liste der Dateien" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Ein Fehler trat auf beim zurückspielen der Sicherung %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Konfiguration von Enthalten/Ausschliessen" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Jetzt sichern" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Ein Fehler trat auf während der Erstellung der Sicherung %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Backup %1 erfolgreich nach %2 gesichert

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Oliver Dörr" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "digikam-de@doerr-privat.de" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Niemals löschen" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 Tag(e)" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Quellordner:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Zielordner:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervall:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Löschen nach:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Komprimierung benutzen:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Enthalten" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Ausschliessen" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Niemals" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "AllgemeineKonfigurationsAnsicht" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Nachrichten" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Nachricht bei fehlerhafter Sicherung" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Nachricht bei erfolgreicher Sicherung" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Priorität der Rdiff-Sicherung" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Priorität der rdiff-Sicherung kontrollieren" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Nettigkeit der Rdiff-Sicherung" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Geben Sie einen Ordner für den Backup an." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Wählen Sie die Optionen für die Sicherung:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sicherungssystem:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Fügen Sie einen Ordner zur Sicherung hinzu" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Sicherung zurückspielen" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Jetzt sichern" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Sicherungsliste bearbeiten" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Sicherungslog ansehen" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Sicherungsdienst:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Status des Keep Dienstes:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

unbekannt

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Laden" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Entladen" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Wählen Sie die Sicherung die zurückgespielt werden soll." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Quelle" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Ziel" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Sicherungsintervall" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Löschen nach" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Eigener Sicherungsordner" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Eigenen Sicherungsordner benutzen" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Ordner:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Wählen Sie einen Ordner für die Sicherung." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Enthalten/Ausschliessen-Liste benutzen" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Wählen Sie die Quellen für die jetzige Sicherung." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Setzen Sie das Datum um die ausgewählte Sicherung zurückzuspielen." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Aktuelles Datum:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "Unbekannt" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Datum" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Setzen Sie die gewünschten Optionen für Ihre Sicherung." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Allgemeine Einstellungen:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Sicherungsintervall (Tage):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Löschen nach (Tagen):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Weitere Optionen:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Komprimierung benutzen" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Dateien ausschliessen" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Fortgeschrittene Einstellungen benutzen" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Wählen Sie die Dateien/Ordner die Sie enthalten/ausschliessen wollen. Sie " +"können * als Platzhalter benutzen. Sie können Einträge ziehen und ablegen um " +"die Reihenfolge zu ändern." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Enthalten" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Ausschliessen" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Enthalten/Ausschliessen-Liste" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Eintrag" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Aktion" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "entfernen" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Ereignis" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Sicherung" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" +"Wählen Sie einen Ordner in den die gewählte Sicherung zurückgespielt wird." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Standardordner benutzen" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Ordner auswählen:" diff --git a/po/el/Makefile.am b/po/el/Makefile.am new file mode 100644 index 0000000..da7e49a --- /dev/null +++ b/po/el/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = el +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/el/keep.po b/po/el/keep.po new file mode 100644 index 0000000..418d510 --- /dev/null +++ b/po/el/keep.po @@ -0,0 +1,590 @@ +# translation of keep.po to Greek +# +# Spiros Georgaras , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-04-25 15:48+0300\n" +"Last-Translator: Spiros Georgaras \n" +"Language-Team: Greek \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Εμφάνιση καταγραφής" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Σύστημα λήψης αντιγράφων ασφαλείας" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Έλεγχος για το rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Ρύθμιση αντιγράφων ασφαλείας" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Προσθήκη αντιγράφου ασφαλείας" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Επαναφορά αντιγράφου ασφαλείας" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Λήψη αντιγράφου ασφαλείας τώρα" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Εντάξει

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Δεν εκτελείται

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Η εφαρμογή rdiff-backup ανιχνεύτηκε στο σύστημά σας." +"
" +"
Βρέθηκε η έκδοση %1 του rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Η εφαρμογή rdiff-backup δεν ανιχνεύτηκε στο σύστημά σας." +"
" +"
Αν το rdiff-backup δεν είναι εγκατεστημένο, το Keep δε θα μπορεί να λάβει " +"αντίγραφα ασφαλείας. Για να διορθώσετε αυτό το πρόβλημα, εγκαταστήστε το " +"rdiff-backup." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Γενικά" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Εσφαλμένη απάντηση από το KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Αδύνατη η επικοινωνία με το KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Αδύνατος ο τερματισμός της υπηρεσίας." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Σύστημα λήψης αντιγράφων ασφαλείας του KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Συντηρητής" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Πακέτα Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Προχωρημένη ρύθμιση αντιγράφων ασφαλείας" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Μενού" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Εμφάνιση διαφορών μεταξύ προορισμού/αντιγράφου ασφαλείας" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Εμφάνιση τροποποιημένων αρχείων" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Εμφάνιση αρχείων" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" +"Λίστα τροποποιήσεων σε σχέση με το επιλεγμένο αυξητικό αντίγραφο ασφαλείας:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Τροποποιήσεις" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Καμία." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" +"Λίστα τροποποιημένων αρχείων σε σχέση με το επιλεγμένο αυξητικό αντίγραφο " +"ασφαλείας:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Τροποποιημένα αρχεία" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "Λίστα αρχείων στο επιλεγμένο αυξητικό αντίγραφο ασφαλείας:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Λίστα αρχείων" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Παρουσιάστηκε σφάλμα κατά την επαναφορά του αντιγράφου ασφαλείας του " +"%1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Ρύθμιση συμπερίληψης/εξαίρεσης" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Λήψη αντιγράφου ασφαλείας τώρα" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Παρουσιάστηκε σφάλμα κατά τη λήψη του αντιγράφου ασφαλείας του %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" +"

Η λήψη του αντιγράφου ασφαλείας του %1 στο %2 ολοκληρώθηκε με επιτυχία" +"

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Σπύρος Γεωργαράς" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "sngeorgaras@otenet.gr" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Να μη διαγραφεί" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 ημέρες" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Κατάλογος προέλευσης:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Κατάλογος προορισμού:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Μεσοδιάστημα:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Διαγραφή μετά από:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Χρήση συμπίεσης:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Περιλήφθηκαν" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Εξαιρέθηκαν" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Ποτέ" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Ειδοποιήσεις" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Ειδοποίηση για σφάλμα λήψης αντιγράφου ασφαλείας" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Ειδοποίηση για επιτυχή ολοκλήρωση λήψης αντιγράφου ασφαλείας" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Ειδοποίηση για σφάλμα λήψης αντιγράφου ασφαλείας" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Ειδοποίηση για επιτυχή ολοκλήρωση λήψης αντιγράφου ασφαλείας" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Επιλέξτε την τοποθεσία αποθήκευσης του αντιγράφου ασφαλείας." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" +"Καθορίστε τις επιλογές που θα χρησιμοποιηθούν κατά τη λήψη του αντιγράφου " +"ασφαλείας:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Σύστημα λήψης αντιγράφων ασφαλείας:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Προσθήκη καταλόγου σε αντίγραφο ασφαλείας" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Επαναφορά αντιγράφου ασφαλείας" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Λήψη αντιγράφου ασφαλείας τώρα" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Επεξεργασία λίστας αντιγράφων ασφαλείας" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Εμφάνιση καταγραφής αντιγράφων ασφαλείας" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Δαίμονας λήψης αντιγράφων ασφαλείας:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Κατάσταση του δαίμονα Keep:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

άγνωστη

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Φόρτωση" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Αποφόρτωση" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Επιλέξτε αντίγραφο ασφαλείας για επαναφορά." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Προέλευση" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Προορισμός" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Μεσοδιάστημα λήψης αντιγράφου ασφαλείας" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Διαγραφή μετά από" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Προσαρμοσμένος κατάλογος αποθήκευσης:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Χρήση προσαρμοσμένου καταλόγου αντιγράφου ασφαλείας" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Κατάλογος:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Επιλέξτε έναν κατάλογο για λήψη αντιγράφου ασφαλείας." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Χρήση λίστας συμπερίληψης/εξαίρεσης" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Επιλέξτε την προέλευση για τη λήψη του αντιγράφου ασφαλείας." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Τρέχουσα ημερομηνία:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "άγνωστη" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Ημερομηνία" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Καθορίστε τις επιθυμητές επιλογές για το αντίγραφο ασφαλείας." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Γενικές επιλογές:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Μεσοδιάστημα λήψης αντιγράφου (ημέρες):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Διαγραφή μετά από (ημέρες):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Επιπλέον επιλογές:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Χρήση συμπίεσης" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Εξαίρεση ειδικών αρχείων" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Χρήση προχωρημένων ρυθμίσεων" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Επιλέξτε τα αρχεία/τους καταλόγους που θέλετε να συμπεριληφθούν/εξαιρεθούν. " +"Μπορείτε να χρησιμοποιήσετε το χαρακτήρα *. Μπορείτε επίσης να αλλάξετε τη " +"σειρά των αρχείων για να ρυθμίσετε την προτεραιότητά τους." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Συμπερίληψη" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Εξαίρεση" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Λίστα συμπερίληψης/εξαίρεσης:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Αντικείμενο" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Ενέργεια" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "αφαίρεση" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Γεγονός" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Αντίγραφο ασφαλείας" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" +"Επιλέξτε την τοποθεσία επαναφοράς του επιλεγμένου αντιγράφου ασφαλείας." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Χρήση προκαθορισμένου καταλόγου" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Χρήση προσαρμοσμένου καταλόγου:" diff --git a/po/es/Makefile.am b/po/es/Makefile.am new file mode 100644 index 0000000..d3df28d --- /dev/null +++ b/po/es/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = es +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/es/keep.po b/po/es/keep.po new file mode 100644 index 0000000..558d9f0 --- /dev/null +++ b/po/es/keep.po @@ -0,0 +1,584 @@ +# translation of keep.po to Español +# +# santi , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-08 17:48+0200\n" +"Last-Translator: santi \n" +"Language-Team: Español \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Vista de registro" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistema de copia de seguridad" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Comprobar rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Configurar copias de seguridad" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Añadir copia de seguridad" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Restaurar copia de seguridad" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Hacer copia de seguridad ahora" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Aceptar

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

No ejecutándose

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"La aplicación rdiff-backup se ha detectado en su sistema." +"
" +"
Está ejecutando la versión %1 de rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"La aplicación rdiff-backup no se ha detectado en su sistema." +"
" +"
Si rdiff-backup no está instalado, Keep no será capaz de hacer copias de " +"seguridad. Para eliminar el problema, instale rdiff-backup en su sistema." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "General" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Réplica incorrecta en KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Imposible contactar con KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Imposible detener el servicio." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Sistema de copia de seguridad de KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Mantenedor" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Paquetes Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Aplicación de formulación" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Configuración avanzada de copia de seguridad" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menú" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Mostrar diferencias de destino/copia de seguridad" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Lista de archivos modificados" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Lista de archivos" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Lista de modificaciones desde el incremento seleccionado:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Modificaciones" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Ninguna." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lista de los archivos modificados desde el incremento seleccionado:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Archivos modificados" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Lista de archivos en el incremento seleccionado:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista de archivos" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Se produjo un error al restaurar la copia de seguridad %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Configuración de inclusión/exclusión" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Hacer copia de seguridad ahora" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Se produjo un error al hacer la copia de seguridad %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" +"

Se realizó la copia de seguridad %1 de forma correcta para %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Santiago Fernández Sancho" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "santi@kde-es.org" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "No borrar nunca" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 días" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Directorio fuente:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Directorio destino:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervalo:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Borrar después de:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Uso de compresión:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Incluída" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Excluída" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nunca" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "VistaGeneralConfiguración" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Notificaciones" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Notificar error de copia de seguridad" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Notificar copia de seguridad correcta" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Prioridad de copia de seguridad rdiff" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Control de copia de seguridad rdiff" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "copia de seguridad correcta rdiff" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Seleccionar una ubicación para colocar la copia de seguridad." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" +"Seleccionar las opciones que desee utilizar durante el proceso de copia de " +"seguridad:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sistema de copia de seguridad:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Añadir directorio a la copia de seguridad" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Restaurar copia de seguridad" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Hacer copia de seguridad ahora" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Editar lista de copias de seguridad" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Ver registro de la copia de seguridad" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Demonio de copia de seguridad:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Estado del demonio keep:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

desconocido

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Cargar" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Descargar" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Seleccionar la copia de seguridad a restaurar." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Fuente" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Destino" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Intervalo de copia de seguridad" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Borrar después de" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Directorio de copias de seguridad personalizado:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Utilizar directorio de copias de seguridad personalizado" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Directorio:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Selecciona un directorio para la copia de seguridad." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Utilizar lista de inclusión/exclusión" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Seleccionar las fuentes de la copia de seguridad." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "VistaAsistenteCopiaSeguridadRestauración2" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Establecer la fecha para restaurar la copia de seguridad seleccionada." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Fecha actual:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "desconocido" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Fecha" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Establece las opciones deseadas para su copia de seguridad." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opciones generales:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Intervalo de la copia de seguridad (días):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Borrar después de (días):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Opciones adicionales:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Utilizar compresión" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Excluir archivos especiales" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Utilizar la configuración avanzada" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Seleccione los archivos/directorios que desee incluir/excluir. Puede utilizar " +"el caracter genérico * (comodín). Puede arrastrar y soltar los elementos para " +"afinar el orden de prioridad." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Incluir" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Excluir" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Lista de inclusión/exclusión:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Elemento" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Acción" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "eliminar" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Evento" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Copia de seguridad" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" +"Seleccione la ubicación en la que habrá de restaurarse la copia de seguridad " +"seleccionada." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Utilizar el directorio predeterminado" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Utilizar el directorio personalizado:" diff --git a/po/ga/Makefile.am b/po/ga/Makefile.am new file mode 100644 index 0000000..6c2ce5e --- /dev/null +++ b/po/ga/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = ga +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/ga/keep.po b/po/ga/keep.po new file mode 100644 index 0000000..7e5c4e5 --- /dev/null +++ b/po/ga/keep.po @@ -0,0 +1,609 @@ +msgid "" +msgstr "" +"Project-Id-Version: playground-sysadmin/keep.po\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2005-12-29 13:30-0500\n" +"Last-Translator: Kevin Patrick Scannell \n" +"Language-Team: Irish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Amharc ar logchomhad" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Córas Cúltaca" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Cumraigh cúltacaí" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Cuir Cúltaca Leis" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Athshlánaigh Cúltaca" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Déan Cúltaca Anois" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Ginearálta" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Freagra mícheart ó KDED" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Ní féidir dul i dteagmháil le KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Ní féidir seirbhís a stopadh." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Córas Cúltaca KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Coimeád" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Cothaitheoir" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pacáistí Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Ardchumraíocht Cúltaca" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Roghchlár" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Taispeáin na comhaid a athraíodh" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Taispeáin na comhaid" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Mionathruithe" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Neamhní." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Comhaid a athraíodh" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Liosta comhad" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Déan cúltaca anois" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Kevin Scannell" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "scannell at slu dot edu" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Ná scrios riamh" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 lá" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Comhadlann fhoinse:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Sprioc-chomhadlann:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Eatramh:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Scrios tar éis:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Úsáid comhbhrú:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Eisiata" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Ná húsáid riamh" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Fógairt" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "" + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Córas cúltaca:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Déan cúltaca anois" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Deamhan cúltaca:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

anaithnid

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Luchtaigh" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Díluchtaigh" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Foinse" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Sprioc" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Eatramh Cúltaca" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Scrios Tar Éis" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Comhadlann saincheaptha chúltaca:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Úsáid comhadlann saincheaptha chúltaca" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Comhadlann:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Dáta reatha:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "anaithnid" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Dáta" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Roghanna ginearálta:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Eatramh cúltaca (laethanta):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Scrios tar éis (laethanta):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Roghanna breise:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Úsáid comhbhrú" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Fág comhaid speisialta as" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Úsáid ardchumraíocht" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Cuir San Áireamh" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Fág as" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Mír" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Gníomh" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "bain" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Teagmhas" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Cúltaca" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Úsáid comhadlann réamhshocraithe" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Úsáid comhadlann saincheaptha:" + +#~ msgid "RestoreBackupWizard1View" +#~ msgstr "RestoreBackupWizard1View" + +#~ msgid "Backup policies:" +#~ msgstr "Polasaithe cúltaca:" + +#~ msgid "Custom destination directory:" +#~ msgstr "Sprioc-chomhadlann shaincheaptha:" + +#~ msgid "Backup directory" +#~ msgstr "Comhadlann chúltaca" + +#~ msgid "Never delete backups" +#~ msgstr "Ná scrios cúltacaí riamh" + +#~ msgid "Type of backup." +#~ msgstr "Cineál an chúltaca." + +#~ msgid "Use the KDE default browser" +#~ msgstr "Úsáid an brabhsálaí réamhshocraithe KDE" + +#~ msgid "BackupListView" +#~ msgstr "BackupListView" + +#~ msgid "AddBackupWizard1View" +#~ msgstr "AddBackupWizard1View" + +#~ msgid "AddBackupWizard3View" +#~ msgstr "AddBackupWizard3View" + +#~ msgid "Informations" +#~ msgstr "Eolas" + +#~ msgid "

Not Working

" +#~ msgstr "

As Feidhm

" + +#~ msgid "

Running

" +#~ msgstr "

Á Rith

" + +#~ msgid "

%1 Mb

" +#~ msgstr "

%1 MB

" + +#~ msgid "Launch Wizard" +#~ msgstr "Tosaigh an Draoi" + +#~ msgid "Launch Daemon" +#~ msgstr "Tosaigh an Deamhan" diff --git a/po/gl/Makefile.am b/po/gl/Makefile.am new file mode 100644 index 0000000..73c415d --- /dev/null +++ b/po/gl/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = gl +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/gl/keep.po b/po/gl/keep.po new file mode 100644 index 0000000..ea9af60 --- /dev/null +++ b/po/gl/keep.po @@ -0,0 +1,579 @@ +# translation of keep.po to Galician +# mvillarino , 2005, 2006. +# Xabi G. Feal , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-06-02 13:55+0200\n" +"Last-Translator: Xabi G. Feal \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Ver rexisto" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistema de Cópias de Seguridade" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Comprobar cópia rdiff" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Configurar o Copiado" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Engadir Cópia de Seguridade" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Restaurar Cópia de Seguridade" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Facer unha Cópia Agora" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Parado

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Detectou-se a aplicazón rdiff-backup no seu sistema." +"
" +"
Está a executar a versión %1 de rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"A aplicazón rdiff-backup non parece estar instalada no seu sistema." +"
" +"
Se non ten rdiff-backup instalada, Keep non será quen de facer cópias de " +"seguridade. Para arranxar isto, instale rdiff-backup." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Xeral" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Resposta incorrecta de KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Non foi posíbel contactar con KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Non foi posíbel parar o servizo." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Sistema de Cópias de Seguridade de KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Manter" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Mantedor" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pacotes Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Comprobazón de textos" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Configurazón Avanzada do Sistema de Cópias" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Mostrar as diferenzas entre o destino e a cópia" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Listar os ficheiros modificados" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Listar ficheiros" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Lista de modificazóns desde o incremento escollido:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Modificazóns" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nada." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lista de ficheiros modificados desde o incremento escollido:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Ficheiros modificados" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "Lista de ficheiros no incremento escollido:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista de ficheiros" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Aconteceu un erro ao restaurar a cópia de seguridade %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Configurazón de Inclusións/Exclusións" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Copiar agora" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

Aconteceu un erro ao facer a cópia %1:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

A cópia de seguridade %1 foi completada con éxito en %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "mvillarino" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "mvillarino@users.sourceforge.net" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Non borrar nunca" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dias" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Directório Orixe:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Directório de destino:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervalo:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Borrar após:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Usar compresión:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Incluido" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Excluído" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nunca" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Notificazóns" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Notificar erros ao copiar" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Notificar éxitos ao copiar" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Notificar erros ao copiar" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Notificar éxitos ao copiar" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Escolla un lugar onde pór a cópia de seguridade." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Escolla as opzóns que queira usar ao facer a cópia de seguridade:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sistema de Copiado:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Engadir directório á cópia" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Restaurar unha cópia de seguridade" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Facer unha Cópia de Seguridade Agora" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Editar lista de ítens a copiar" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Ver rexisto do copiado" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Daemon de Cópias de Seguridade:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Estado do daemon Keep:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

descoñecido

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Carregar" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Descarregar" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Escolla a cópia de seguridade a restaurar." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Orixe" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Destino" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Intervalo de Copiado" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Borrar Após" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Cartafol das cópias personalizado:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Usar un cartafol personalizado para as cópias" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Cartafol:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Escolla un cartafol para copiar." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Usar lista de incluidos/excluidos" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Escolla as orixes a copiar agora." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Escolla a data d cópia de seguridade para restaurar." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Data actual:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "descoñecida" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Data" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Axuste as opzóns para as suas cópias." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opzóns Xerais:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Intervalo de copiado (dias):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Borrar após (dias):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Opzóns Adicionais:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Usar compresión" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Excluir ficheiros especiais" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Usar configurazón Avanzada" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Escolla os ficheiros/cartafoles que queira incluir/excluir. Pode utilizar o " +"carácter xenérico (comodin) *. Pode arrastar e soltar os ítens para axustar a " +"orden de prioridade." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Incluir" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Excluir" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Lista de Incluidos/Excluidos:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Ítem" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Aczón" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "borrar" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Evento" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Cópia de Seguridade" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Escolla unha localizazón para restaurar a cópia escollida." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Usar o cartafol predeterminado" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Usar un cartafol personalizado:" diff --git a/po/it/Makefile.am b/po/it/Makefile.am new file mode 100644 index 0000000..0d5c097 --- /dev/null +++ b/po/it/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = it +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/it/keep.po b/po/it/keep.po new file mode 100644 index 0000000..f8df27e --- /dev/null +++ b/po/it/keep.po @@ -0,0 +1,565 @@ +# translation of keep.po to Italian +# +# Nicola Ruggero , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-04-02 13:41+0200\n" +"Last-Translator: Nicola Ruggero \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Visualizza registro" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistema di backup" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Controlla rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Configura backup" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Aggiungi backup" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Ripristina backup" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Esegui backup adesso" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Non in esecuzione

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Generale" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "" + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "" + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Sistema di backup KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Responsabile" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pacchetti Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Modifiche" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nessuna." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Nicola Ruggero" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "nixprog.adsl@tiscali.it" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 giorni" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Cartella origine:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Cartella destinazione:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervallo:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Usa compressione:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Incluso" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Escluso" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Mai" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Notifiche" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "" + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sistema di backup:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Demone backup:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Stato demone Keep:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Carica" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Origine" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Destinazione" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Cartella:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Data attuale:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "sconosciuta" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Data" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opzioni generali:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Usa compressione" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Usa configurazione avanzata" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Includi" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Escludi" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Azione" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Usa cartella predefinita" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Usa cartella personalizzata:" diff --git a/po/ja/Makefile.am b/po/ja/Makefile.am new file mode 100644 index 0000000..f18f0ca --- /dev/null +++ b/po/ja/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = ja +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/ja/keep.po b/po/ja/keep.po new file mode 100644 index 0000000..55fea61 --- /dev/null +++ b/po/ja/keep.po @@ -0,0 +1,573 @@ +# translation of keep.pot to Japanese +# Yukiko Bando , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-20 23:00+0900\n" +"Last-Translator: Yukiko Bando \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "ログを見る" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "バックアップシステム" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "rdiff-backup をチェック" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "バックアップを設定" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "バックアップを追加" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "バックアップを復元" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "今すぐバックアップ" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

OK

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

実行されていません

" + +# TAGS changed by translator +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"

アプリケーション rdiff-backup をシステム上に検出しました。

" +"

お使いのバージョンは rdiff-backup %1 です。" + +# TAGS changed by translator +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"

アプリケーション rdiff-backup をシステム上に検出できませんでした。

" +"

rdiff-backup がないと Keep はバックアップを作成できません。 rdiff-backup をインストールしてください。" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "全般" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "KDED から不正な応答" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "KDED と通信できません。" + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "サービスを停止できません。" + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE バックアップシステム" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "メンテナ" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu パッケージ" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "バックアップの詳細設定" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "メニュー" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "行き先とバックアップの差分を表示" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "変更されたファイルを表示" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "ファイルを表示" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "選択した増分以降の変更:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "変更" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "なし" + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "選択した増分以降に変更されたファイル:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "変更されたファイル" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "選択した増分の中のファイル:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "ファイルのリスト" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

%1 バックアップの復元中にエラー発生 :

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "含める/除外するアイテムを設定" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "今すぐバックアップ" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

%1 バックアップの作成中にエラー発生:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

バックアップ %1 を %2 にバックアップしました

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Yukiko Bando" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "ybando@k6.dion.ne.jp" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "削除しない" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 日" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "ソースディレクトリ:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "行き先ディレクトリ:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "間隔:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "保存期間:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "圧縮を使う:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "含める" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "除外する" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "しない" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "GeneralConfigView" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "通知" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "バックアップエラーを通知" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "バックアップの完了を通知" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "rdiff-backup の優先度" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "rdiff-backup の優先度を指定する" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "rdiff-backup の優先度 (nice)" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "バックアップを保存する場所を選んでください。" + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "バックアップ処理に使うオプションを選択:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "バックアップシステム:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "バックアップするディレクトリを追加" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "バックアップを復元" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "今すぐバックアップ" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "バックアップリストを編集" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "バックアップログを見る" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "バックアップデーモン:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Keep デーモンの状態:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

不明

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "ロード(&L)" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "アンロード" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "復元するバックアップを選んでください。" + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "ソース" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "行き先" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "バックアップの間隔" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "保存期間" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "バックアップディレクトリを指定:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "復元するバックアップディレクトリを指定する" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "ディレクトリ:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "バックアップするディレクトリを選んでください。" + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "含める/除外するアイテムを指定する" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "今すぐバックアップするソースを選んでください。" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "選択したバックアップを復元する日付を選んでください。" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "現在の日付:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "不明" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "日付" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "バックアップのオプションを設定してください。" + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "全般オプション:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "バックアップの間隔 (日):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "保存期間 (日):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "その他のオプション:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "圧縮を使う" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "特別なファイルを除外" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "詳細設定を使う" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"バックアップに含める、または除外するファイルおよびディレクトリを選んでください。ワイルドカード (*) " +"も使用できます。アイテムをドラッグ&ドロップして優先順位を調整できます。" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "含める" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "除外する" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "含める/除外するアイテム:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "アイテム" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "動作" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "削除" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "イベント" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "バックアップ" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "選択したバックアップを復元する場所を選んでください。" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "標準のディレクトリを使う" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "指定したディレクトリを使う:" diff --git a/po/ka/Makefile.am b/po/ka/Makefile.am new file mode 100644 index 0000000..8d1a798 --- /dev/null +++ b/po/ka/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = ka +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/ka/keep.po b/po/ka/keep.po new file mode 100644 index 0000000..8d3a768 --- /dev/null +++ b/po/ka/keep.po @@ -0,0 +1,575 @@ +# translation of keep.po to ქართული +# +# Rusudan Tsiskreli , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-04-16 19:50+0000\n" +"Last-Translator: Rusudan Tsiskreli \n" +"Language-Team: ქართული \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "ჟურნალის ხილვა" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "სისტემის სარეზერვო ასლი" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "rdiff-სარეზერვო ასლის შემოწმება" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "სარეზერვო ასლის კონფიგურაცია" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "სარეზერვო ასლის დამატება" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "სარეზერვო ასლის აღდგენა" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "სარეზერვო ასლის ახლა გაკეთება" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

ოკ

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

არაა გაშვებულია

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"პროგრამა rdiff-სარეზერვო ასლი მოიძებნა თქვენს სისტემაში." +"
" +"
თქვენ rdiff-სარეზერვო ასლის %1 ვერსია გაქვთ." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"პროგრამა rdiff-სარეზერვო ასლი ვერ მოიძებნა თქვენს სისტემაში." +"
" +"
თუ rdiff-სარეზერვო ასლი არაა დაყენებული, Keep ვერ შექმნის სარეზერვო ასლებს. " +"ამ პრობლემის აღმოსაფხვრელად დააყენეთ rdiff-სარეზერვო ასლი." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "საერთო" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "KDED-ისგან არასწორი პასუხი." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "KDED -თან დაკავშირება ვერ მოხერხდა." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "სერვისის გაჩერება ვერ მოხერხდა." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE სარეზერვო ასლთა სისტემა" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "დატოვება" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "მხარდამჭერი" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu პაკეტები" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "პროგრამის ფორმულირება" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "სარეზერვო ასლის დეტალური კონფიგურაცია" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "მენიუ" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "სხვაობის ჩვენება დანიშნულება/სარეზერვო ასლი" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "სიამ შეცვალა ფაილები" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "ფაილთა ჩამოთვლა" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "უკანასკნელი მომენტიდან ცვლილებათა სია:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "ცვლილებები" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "არაფერი." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "უკანასკნელი მომენტიდან ცვლილებათა სია:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "შეცვლილი ფაილები" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "არჩეულ მომენტში ფაილთა სია:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "ფაილთა სია" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

%1 საზერვო ასლის აღდგენისას მოხდა შეცდომა:

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "ჩართვის/გამოტოვების კონფიგურაცია" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "სარეზერვო ასლის ახლა გაკეთება" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

%1 სარეზერვო ასლის შექმნისას მოხდა შეცდომა

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

%1 სარეზერვო ასლი წარმატების შეიქმნა %2-ში

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "რუსუდან ცისკრელი" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "tsiskreli@gmail.com" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "არასდროს წაშლა" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 დღე" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "წყაროს დირექტორია:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "დაშორებული დირექტორია:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "ინტერვალი:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "წაშლა შემდეგ:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "შეკუნშვის გამოყენება:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "დაყოლებული" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "გამოტოვებული" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "არასდროს" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "შეტყობინებები" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "შეტყობინება სარეზერვო ასლის შეცდომის შესახებ" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "შეტყობინება სარეზერვო ასლის წარმატების შესახებ" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "შეტყობინება სარეზერვო ასლის შეცდომის შესახებ" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "შეტყობინება სარეზერვო ასლის წარმატების შესახებ" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "სარეზერვო ასლის მოსათავსებელი მდებარეობის ამორჩევა." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "აირჩიეთ სარეზერვო ასლის გაკეთების პროცესში გამოსაყენებელი პარაეტრები:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "სარეზერვო ასლის სისტემა:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "სარეზერვო ასლისთვის დირექტორიის დამატება" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "სარეზერვო ასლის აღდგენა" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr " სარეზერვო ასლის ახლა შექმნა" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "სარეზერვო ასლის სიის რედაქტირება" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "სარეზერვო ასლის ჟურნალის ხილვა" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "სარეზერვო ასლის დემონი:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Keep დემონის მდგომარეობა:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

უცნობი

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&ჩატვირთვა" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "ამოტვირთვა" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "აირჩიეთ აღსადგენი სარეზერვო ასლი." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "წყარო" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "დაშორება" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "სარეზერვო ასლის ინტერვალი" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "წაშლა შემდეგ" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "სხვა სარეზერვო ასლის დირექტორია:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "სხვა სარეზერვო ასლის დირექტორიის გამოყენება" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "დირექტორია:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "სარეზერვო ასლის დირექტორიის ამორჩევა." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "ჩართვა/გამოტოვების სიის გამოყენება" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "ახლა სარეზერვო ასლის წყაროს ამორჩევა." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "მიუთითეთ არჩეული სარეზერვო ასლის აღდგენის თარიღი." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "მიმდინარე თარიღი:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "უცნობი" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "თარიღი" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "მიუთითეთ სარეზერვო ასლისთვის სასურველი პარამეტრები." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "საერთო პარამეტრები:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "სარეზერვო ასლის ინტერვალი (დღეები):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "წაშლა შემდეგ (დღეები):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "ექსტრა პარამეტრები:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "შეკუნშვის გამოყენება" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "სპეციალური ფაილების გამოკლება" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "გაფართოებული კონფიგურაციის გამოყენება" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"აირჩიეთ ფაილები/დირექტორიები, რომლის ჩართვა/გამოტოვება გსურთ. შეგიძლიათ " +"გამოიყენოთ * (თარგი). შეგიძლიათ გადაათრიოთ და ჩააგდოთ ელემენტები." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "ჩართვა" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "გამოტოვება" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "ჩართვა/გამოტოვების სია:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, fuzzy, no-c-format +msgid "Item" +msgstr "ელემენტი" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "მოქმედება" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "წაშლა" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "მოვლენა" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "სარეზერვო ასლი" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "აირჩიეთ არჩეული სარეზერვო ასლის ამოღების მდებარეობა." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "ნაგულისხმევი დირექტორიის გამოყენება" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "მორგებული დირექტორიის გამოყენება:" diff --git a/po/lt/Makefile.am b/po/lt/Makefile.am new file mode 100644 index 0000000..833d56d --- /dev/null +++ b/po/lt/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = lt +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/lt/keep.po b/po/lt/keep.po new file mode 100644 index 0000000..54d160b --- /dev/null +++ b/po/lt/keep.po @@ -0,0 +1,570 @@ +# translation of keep.po to Lithuanian +# +# Donatas Glodenis , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-05-31 19:20+0300\n" +"Last-Translator: Donatas Glodenis \n" +"Language-Team: Lithuanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>" +"=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Peržiūrėti žurnalą" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistemos kopija" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Patikrinti kopijos rdiff" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Konfigūruoti atsarginių kopijų darymą" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Pridėti atsarginę kopiją" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Atstatyti iš atsarginės kopijos" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Daryti kopiją dabar" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Gerai

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Neveikia

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Bendra" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Neteisingas atsakymas iš KDED" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Nepavyksta susisiekti su KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Nepavyksta sustabdyti tarnybos." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE atsarginių kopijų sistema" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Palaikytojas" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu paketai" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Programos įvardijimas" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Sudėtingesni atsarginių kopijų nustatymai" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Meniu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Rodyti tikslo/kopijos skirtumus" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Pateikti pakeistų bylų sąrašą" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Pateikti bylų sąrašą" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Pakeitimų nuo referencinės kopijos padarymo sąrašas:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Pakeitimai" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nieko." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" +"Sąrašas bylų, kurios pasikeitė nuo tada, kai buvo padaryta referencinė " +"atsarginė kopija:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Pakeistos bylos" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "Bylų parinktoje referencinėje kopijoje sąrašas:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Eilučių sąrašas" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Įterpimų/išskyrimų konfigūravimas" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Daryti atsarginę kopiją dabar" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

Darant %1 atsarginę kopiją įvyko klaida:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Atsarginė %1 kopija sėkmingai padaryta ir padėta į %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Donatas Glodenis" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "dgvirtual@akl.lt" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Niekuomet netrinti" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dienos" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Šaltinio aplankas:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Tikslo aplankas:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervalas:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Trinti po:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Suspausti:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Įtraukta" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Neįtraukta" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Niekada" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Pranešimai" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Pranešti apie atsarginės kopijos klaidą" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Pranešti apie sėkmingą atsarginės kopijos sukūrimą" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Pranešti apie atsarginės kopijos klaidą" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Pranešti apie sėkmingą atsarginės kopijos sukūrimą" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Parinkite vietą atsarginės kopijos padėjimui." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Pasirinkite atsarginės kopijos darymo parinktis" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Daryti sistemos atsarginę kopiją:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Pridėti aplanką" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Atstatyti iš atsarginės kopijos" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Daryti atsarginę kopiją dabar" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Redaguoti atsarginių kopijų sąrašą" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Peržiūrėti atsarginių kopijų žurnalą" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Atsarginių kopijų tarnyba:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Keep tarybos būklę:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "Į&kelti" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Iškelti" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Šaltinis" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Paskiries vieta" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Kopijų darymo intervalai" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Trinti po" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Pasirinktas atsarginių kopijų aplankas" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Naudoti pasirinktą atsarginių kopijų aplanką" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Aplankas:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Pasirinkti aplanką atsarginėms kopijoms." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Naudoti įtraukimo/pašalinimo sąrašą" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Pažymėkite šaltinius,kurių atsargines kopijas darysite." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "Atsarginės kopijos atstatymo vediklio vaizdas" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Nustatykite pažymėtos atsarginės kopijos atstatymo datą." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Šiandienos data:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "nežinoma" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Data" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Nustatykite norimas parinktis atsarginių kopijų darymui." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Bendrosios parinktys:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Kopijų darymo intervalas (dienos):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Trinti po (dienos):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Papildomos parinktys:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Naudoti glaudinimą" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Išskirti specialiasias bylas" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Naudoti sudėtingesnį konfigūravimą" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Įterpti" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Išskirti" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Įterpimo/išskyrimo sąrašas:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Elementas" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Veiksmas" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "pašalinti" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Įvykis" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Kopijavimas" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Pasirinkite, į kokią vietą atstatyti pasirinktą atsarginę kopiją" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Naudoti numatytąjį aplanką" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Naudoti kitą aplanką:" diff --git a/po/nl/Makefile.am b/po/nl/Makefile.am new file mode 100644 index 0000000..69faf0b --- /dev/null +++ b/po/nl/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = nl +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/nl/keep.po b/po/nl/keep.po new file mode 100644 index 0000000..70843da --- /dev/null +++ b/po/nl/keep.po @@ -0,0 +1,580 @@ +# translation of keep.po to Dutch +# +# Rinse de Vries , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-10-04 13:23+0200\n" +"Last-Translator: Rinse de Vries \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Log tonen" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Systeem backuppen" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "rdiff-backup controleren" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Backups instellen" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Backup toevoegen" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Backup terugzetten" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Nu backup uitvoeren" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

OK

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Niet actief

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Het programma rdiff-backup is op uw computer gevonden." +"
" +"
U gebruikt versie %1 van rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Het programma rdiff-backup is niet gevonden op uw computer." +"
" +"
Als rdiff-backup niet is geïnstalleerd, dan kunt u geen backups maken. Om " +"dit probleem te verhelpen, installeer rdiff-backup op uw computer." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Algemeen" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Onjuiste reactie van KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Er kon geen contact worden gemaakt met KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "De dienst kon niet worden gestopt." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE Backupsysteem" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Onderhouder" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu-pakketten" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Programmawording" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Geavanceerde backupconfiguratie" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Verschil tussen doel en backup tonen" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Gewijzigde bestanden tonen" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Bestanden tonen" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Wijzigingen sinds de gekozen increment tonen:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Wijzigingen" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Niets." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lijst met wijzigingen sinds de laatste increment:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Gewijzigde bestanden" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Lijst met bestanden in de gekozen increment:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lijst met bestanden" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Er deed zich een fout voor tijdens het herstellen van %1 backup:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Configuratie van insluiten/uitsluiten" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Nu backup uitvoeren" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Er deed zich een fout voor tijdens het maken van %1 backup:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Met succes backup gemaakt van %1 naar %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Rinse de Vries" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "rinsedevries@kde.nl" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Nooit verwijderen" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dagen" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Bronmap:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Bestemmingsmap:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Interval:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Verwijderen na:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Compressie gebruiken:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Ingesloten" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Uitgesloten" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nooit" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "GeneralConfigView" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Meldingen" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Backupfout melden" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Backupsucces melden" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Prioriteit rdiff-backup" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Prioriteit van rdiff-backup bepalen" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Prioriteit rdiff-backup" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Selecteer een locatie om de backup te plaatsen." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Kies de opties die u wilt gebruiken tijdens het backupproces:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Backupsysteem:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Map toevoegen aan backup" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Een backup terugzetten" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Nu backup uitvoeren" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Backuplijst bewerken" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Backuplog tonen" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Backupdaemon:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Status van Keep-daemon:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

onbekend

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Laden" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Ontladen" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Selecteer de backup die u wilt terugzetten." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Bron" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Bestemming" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Backupinterval" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Verwijderen na" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Aangepaste backupmap:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Aangepaste backupmap gebruiken" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Map:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Selecteer een map voor de backup." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Insluiten/uitsluitenlijst gebruiken" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Selecteer de bronnen om nu te backuppen." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Geef de datum op om de geselecteerde backup terug te zetten." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Huidige datum:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "onbekend" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Datum" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Stel de gewenste opties voor uw backup in." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Algemene opties:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Backupinterval (dagen):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Verwijderen na (dagen):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Extra opties:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Compressie gebruiken" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Speciale bestanden uitsluiten" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Geavanceerde configuratie gebruiken" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Selecteer de bestanden/mappen die u wilt insluiten/uitsluiten. U kunt gebruik " +"maken van het generieke jokerteken (*). U kunt de items verslepen om de " +"prioriteitsvolgorde te veranderen." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Insluiten" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Uitsluiten" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Insluit/uitsluitlijst:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Item" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Actie" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "verwijderen" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Gebeurtenis" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Backup" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Kies een locatie om de gekozen backup terug te zetten." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Standaardmap gebruiken" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Aangepaste map gebruiken:" diff --git a/po/pl/Makefile.am b/po/pl/Makefile.am new file mode 100644 index 0000000..498aaef --- /dev/null +++ b/po/pl/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = pl +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/pl/keep.po b/po/pl/keep.po new file mode 100644 index 0000000..4b30091 --- /dev/null +++ b/po/pl/keep.po @@ -0,0 +1,583 @@ +# translation of keep.po to Polish +# +# Micheal Bendowski , 2006. +# Krzysztof Lichota , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-05-24 16:16+0200\n" +"Last-Translator: Krzysztof Lichota \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Zobacz dziennik" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Kopia zapasowa systemu" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Sprawdź rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Konfiguruj kopie zapasowe" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Dodaj kopię zapasową" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Przywróć kopię zapasową" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Stwórz kopię zapasową" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Nie działa

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Program rdiff-backup został wykryty w Twoim systemie." +"
" +"
Używasz programu rdiff-backup w wersji %1." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Program rdiff-backup nie został wykryty w Twoim systemie." +"
" +"
Jeżeli rdiff-backup nie jest zainstalowany, Keep nie będzie mógł tworzyć " +"kopii zapasowych. Żeby rozwiązać ten problem, zainstaluj rdiff-backup w Twoim " +"systemie." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Ogólne" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Niewłaściwa odpowiedź od KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Połączenie z KDED niemożliwe." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Zatrzymanie usługi niemożliwe." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "System kopii zapasowych dla KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Opiekun" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pakiety dla Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Formuła programu" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Zaawansowana konfiguracja kopii zapasowych" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Pokaż różnice pomiędzy celem i kopią zapasową" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Wypisz zmienione pliki" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Wypisz pliki" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Lista modyfikacji od wybranej kopii przyrostowej:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Zmiany" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nic." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lista plików zmienionych od wybranej kopii przyrostowej:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Zmienione pliki" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "Lista plików w wybranej kopii przyrostowej:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista plików" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Wystąpił błąd przy przywracaniu kopii zapasowej %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Konfiguracja dołączonych/wyłączonych" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Stwórz kopię zapasową" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Wystąpił błąd przy tworzeniu kopii zapasowej %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

Kopia zapasowa %1 została pomyślnie utworzona w %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Michał Bendowski" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "bendowski@gmail.com" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Nigdy nie usuwaj" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dni" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Katalog źródłowy:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Katalog docelowy:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Odstęp czasu:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Usuń po:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Użyj kompresji:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Dołączone" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Wyłączone" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nigdy" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Powiadomienia" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Powiadom o błędzie" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Powiadom o powodzeniu" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Powiadom o błędzie" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Powiadom o powodzeniu" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Wybierz lokalizację, gdzie utworzona zostanie kopia zapasowa." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Wybierz opcje, których chcesz używać przy tworzeniu kopii zapasowej:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "System kopii zapasowych:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Dodaj tworzenie kopii zapasowej katalogu" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Przywróć kopię zapasową" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Stwórz kopię zapasową" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Zmień listę kopii zapasowych" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Zobacz dziennik tworzenia kopii zapasowych" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Usługa kopii zapasowych:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Stan usługi Keep:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

nieznany

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Włącz" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Wyłącz" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Wybierz kopie zapasowe do przywrócenia." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Źródło" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Cel" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Odstęp czasu" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Usuń po" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Własny katalog kopii zapasowej:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Użyj własnego katalogu kopii zapasowej" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Katalog:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Wybierz katalog, z którego utworzona zostanie kopia zapasowa." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Użyj listy dołączonych/wyłączonych" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Wybierz kopie zapasowe do utworzenia." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "Asystent przywracania kopii zapasowych" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Wybierz datę kopii zapasowej, która ma zostać przywrócona." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Bieżąca data:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "nieznane" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Data" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Ustaw pożądane opcje kopii zapasowej." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opcje ogólne:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Odstęp pomiędzy kopiami zapasowymi (w dniach):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Usuń po (w dniach):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Opcje dodatkowe:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Użyj kompresji" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Wyłącz pliki specjalne" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Użyj zaawansowanej konfiguracji" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Wybierz pliki/katalogi, które chcesz dołączyć/wyłączyć z kopii zapasowej. " +"Możesz używać wieloznacznego znaku *. Możesz przeciągać i upuszczać elementy, " +"by zmienić ich priorytet." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Włącz" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Wyłącz" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Lista dołączonych/wyłączonych:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Element" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Akcja" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "usuń" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Zdarzenie" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Kopia zapasowa" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" +"Wybierz lokalizację, gdzie wybrana kopia zapasowa ma zostać odtworzona." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Użyj domyślnego katalogu" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Użyj własnego katalogu:" diff --git a/po/pt/Makefile.am b/po/pt/Makefile.am new file mode 100644 index 0000000..fd3494d --- /dev/null +++ b/po/pt/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = pt +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/pt/keep.po b/po/pt/keep.po new file mode 100644 index 0000000..873ba80 --- /dev/null +++ b/po/pt/keep.po @@ -0,0 +1,580 @@ +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-09-25 19:08+0100\n" +"Last-Translator: José Nuno Coelho Pires \n" +"Language-Team: pt \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-POFile-SpellExtra: Keep Ubuntu KDED Mb rdiff Destabilizar Gmail\n" +"X-POFile-SpellExtra: ActionView AddBackupWizard View BackupListView\n" +"X-POFile-SpellExtra: RestoreBackupWizard GeneralConfigView\n" +"X-POFile-IgnoreConsistency: Never\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Ver o registo" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistema de Cópia de Segurança" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Verificar o rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Configurar as cópias de segurança" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Forçar a Salvaguarda" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Repor a Cópia de Segurança" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Salvaguardar Agora" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Não Está em Execução

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"A aplicação rdiff-backup foi detectada no seu sistema." +"
" +"
Você está correr a versão %1 do rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"A aplicação 'rdiff-backup' não foi detectada no seu sistema." +"
" +"
Como tal, o Keep não será capaz de criar cópias de segurança. Instale o " +"pacote rdiff-backup da sua distribuição para corrigir isso." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Geral" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Foi recebida uma resposta inválida do KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Não foi possível contactar o KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Não foi possível parar o serviço." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Sistema de Cópias de Segurança do KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Manter" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Manutenção" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Pacotes do Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Textos da aplicação" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Configuração Avançada das Cópias de Segurança" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menu" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Mostrar o destino/salvaguarda das diferenças" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Listar os ficheiros alterados" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Listar os ficheiros" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Lista das modificações desde o incremento seleccionado:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Modificações" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Nada." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lista dos ficheiros alterados desde o incremento seleccionado:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Ficheiros alterados" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Lista dos ficheiros no incremento seleccionado:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista dos itens salvaguardados." + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Ocorreu um erro ao repor a cópia de segurança %1:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Configuração da Inclusão/Exclusão" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Salvaguardar agora" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Ocorreu um erro ao criar a cópia de segurança %1:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" +"

A cópia de segurança %1 foi salvaguardada com sucesso em %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "José Nuno Pires,Pedro Morais" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "jncp@netcabo.pt,morais@kde.org" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Nunca apagar" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dias" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Tamanho da pasta de cópias de segurança:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Pasta de destino:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervalo:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Apagar após:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Usar a compressão:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Incluído" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Excluído" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nunca" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "GeneralConfigView" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Notificações" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Notificar os erros da cópia de segurança" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Notificar o sucesso da cópia de segurança" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Prioridade da salvaguarda do 'rdiff'" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Controlar a prioridade de salvaguarda do 'rdiff'" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Prioridade da salvaguarda do 'rdiff'" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Seleccione um local onde colocar a cópia de segurança." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Escolha as opções que deseja usar o processo de cópias de segurança:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sistema de cópias de segurança:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Adicionar uma pasta à cópia de segurança" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Repor uma cópia de segurança" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Salvaguardar agora" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Editar a lista da cópia de segurança" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Ver o registo da cópia de segurança" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Servidor de salvaguarda:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Manter o estado do servidor:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

desconhecido

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Carregar" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Fechar" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Seleccione a cópia de segurança a repor." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Origem" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Destino" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Sistema de Cópia de Segurança" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Apagar Após" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Pasta de cópias de segurança:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Pasta de cópias de segurança" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Pasta:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Seleccione uma pasta para a cópia de segurança." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Usar a lista de inclusão/exclusão" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Seleccione os originais a salvaguardar agora." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Configure a data de onde repor a cópia de segurança seleccionada." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Data actual:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "desconhecida" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Data" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Configure as opções desejadas para a sua cópia de segurança." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opções gerais:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Intervalo entre cópias de segurança (dias):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Apagar após (dias):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Opções extra:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Usar a compressão" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Excluir os ficheiros especiais" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Usar a configuração avançada" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Seleccione os ficheiros/pastas que deseja incluir/excluir. Poderá usar o " +"carácter genérico *. Poderá também arrastar e largar os itens para definir a " +"ordem de prioridades." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Incluir" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Excluir" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Lista de inclusão/exclusão:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Item" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Acção" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "remover" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Evento" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Cópia de Segurança" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Escolha um local onde repor a cópia de segurança seleccionada." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Usar a pasta predefinida" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Usar uma pasta personalizada:" diff --git a/po/ru/Makefile.am b/po/ru/Makefile.am new file mode 100644 index 0000000..1c418b6 --- /dev/null +++ b/po/ru/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = ru +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/ru/keep.po b/po/ru/keep.po new file mode 100644 index 0000000..77a7e63 --- /dev/null +++ b/po/ru/keep.po @@ -0,0 +1,580 @@ +# translation of __ru.po to +# Russian translation for keep +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the keep package. +# +# FIRST AUTHOR , 2006. +# Nick Shaforostoff , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-07-10 17:37+0300\n" +"Last-Translator: Nick Shaforostoff \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Просмотреть протокол" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Система резервного копирования" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Проверить наличие приложения rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Настройки заданий для резервного копирования" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Добавить задание для резервного копирования" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Восстановить из резервной копии" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Создать резервную копию немедленно" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Не запущен

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"В Вашей системе обнаружено приложение rdiff-backup." +"
" +"
Версия rdiff-backup %1." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"В Вашей системе НЕ обнаружено приложение rdiff-backup." +"
" +"
Если приложение rdiff-backup не установлено, Keep не может создавать " +"резервные копии. Чтобы решить эту проблему установите rdiff-backup." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Общие" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Получен некорректный ответ от KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Не удалось подключиться к KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Невозможно остановить сервис." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Система резервного копирования KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Ведущий проекта" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Пакеты Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Дополнительные параметры резервного копирования" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Меню" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Показать различия" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Показать изменённые файлы" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Показать файлы" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Список изменений с предыдущего обновления:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Модификации" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Нет." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Список файлов, изменённых в предыдущий раз:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Изменённые файлы" + +#: app/restorebackupwizard.cpp:273 +#, fuzzy +msgid "List of files in the selected increment:" +msgstr "Список файлов, изменённых в предыдущий раз:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Список файлов" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

При восстановлении %1 произошла ошибка:

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Параметры включения/исключения" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Создать резервную копию немедленно" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

При создании резервной копии %1 произошла ошибка:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "

%1 успешно сохранено в %2

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Николай Шафоростов" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "shafff@ukr.net" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Не удалять" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 дней" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Исходный каталог:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Каталог назначения:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Интервал:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Удалить после:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Использовать сжатие:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Включено" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Исключено" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Никогда" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Уведомления" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Известить об ошибке при резервировании" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Известить об успешном создании резервной копии" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Известить об ошибке при резервировании" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Известить об успешном создании резервной копии" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Выберите каталог для размещения копии." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Выберите параметры резервного копирования:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Система резервного копирования:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Добавить каталог" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Восстановить из резервной копии" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Создать резервную копию немедленно" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Изменить список для резервного копирования" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Открыть протокол резервного копирования" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Служба резервного копирования:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Состояние службы:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

неизвестно

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Загрузить" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Выгрузить" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Выберите резервную копию для восстановления." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Источник" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Назначение" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Интервал" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Удалить по прошествии" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Папка резервных копий:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Указать собственную папку резервных копий" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Каталог:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, fuzzy, no-c-format +msgid "Select a directory for backup." +msgstr "Выберите каталог, резервную копию которого следует создать." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Использовать список включения/исключения" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, fuzzy, no-c-format +msgid "Select the sources to backup now." +msgstr "Выберите источник для резервирования" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, fuzzy, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Выберите дату для создания резервной копии." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Текущая дата:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "неизвестно" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Дата" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Задать параметры резервного копирования." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Основные опции:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Интервал, дней:" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Удалять после, дней:" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Дополнительные опции:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Использовать сжатие" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Исключить особые файлы" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Дополнительные настройки" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Включить" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Исключить" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Элемент" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Действие" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "Удалить" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Событие" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Создать резервную копию" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Выберите каталог в который будет произведено восстановление." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Использовать стандартную папку" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Использовать нестандартную папку" diff --git a/po/sk/Makefile.am b/po/sk/Makefile.am new file mode 100644 index 0000000..1e1bb19 --- /dev/null +++ b/po/sk/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = sk +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/sk/keep.po b/po/sk/keep.po new file mode 100644 index 0000000..9f8ab54 --- /dev/null +++ b/po/sk/keep.po @@ -0,0 +1,566 @@ +# translation of keep.po to Slovak +# +# Richard Fric , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-09-15 20:46+0200\n" +"Last-Translator: Richard Fric \n" +"Language-Team: Slovak \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "" + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "" + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "" + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "" + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "" + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "" diff --git a/po/sr/Makefile.am b/po/sr/Makefile.am new file mode 100644 index 0000000..791c3c6 --- /dev/null +++ b/po/sr/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = sr +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/sr/keep.po b/po/sr/keep.po new file mode 100644 index 0000000..f578f33 --- /dev/null +++ b/po/sr/keep.po @@ -0,0 +1,572 @@ +# translation of keep.po to Serbian +# +# Slobodan Simic , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-07-12 10:28+0200\n" +"Last-Translator: Slobodan Simic \n" +"Language-Team: Serbian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Прикажи дневник" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Систем за архивирање" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Провери rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Подеси архивирања" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Додај архивирање" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Поврати из архиве" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Архивирај сада" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

У реду

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Не Ради

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Програм rdiff-backup је нађен на вашемсистему." +"
" +"
Верзија rdiff-backup-а је %1." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Програм rdiff-backup није нађен на вашемсистему." +"
" +"
Ако rdiff-backup није инсталиран, Keep неће моћи да ради архивирање. Да би " +"решили овај проблем, инсталирајте rdiff-backup на ваш систем." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Опште" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Неисправан одговор од KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Не могу да контактирам KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Не могу да зауставим сервис." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE Систем за архивирање" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Одржавалац" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu пакети" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Речи програма" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Напредна подешавања архивирања" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Мени" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Прикажи разлике одредишта/архиве" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Излистај промењене фајлове" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Излистај фајлове" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Измене" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Ништа." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Измењени фајлови" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Листа фајлова" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

Дошло је до грешке при враћању %1 архиве:

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Архивирај сада" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

Дошло је до грешке при прављењу %1 архиве:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Слободан Симић" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "simicsl@verat.net" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Никад не бриши" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 дана" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Изворни директоријум:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Одредишни директоријум:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Период:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Избриши након:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Користи компресију:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Укључено" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Изостављено" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Никад" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Обавештења" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Обавести о грешци архивирања" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Обавести о успешном архивирању" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Обавести о грешци архивирања" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Обавести о успешном архивирању" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Изаберите локацију за смештање архиве." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Изаберите опције које хоћете да користите при поступку архивирања:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Систем архивирња:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Додај директоријум у архивирање" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Поврати архиву" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Архивирај сада" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Уреди листу архивирања" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Прикажи дневник архивирања" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Демон архивирања:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Стање Keep демона:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

непознато

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Учитај" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Избаци" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Изаберите архиву за повраћај." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Извор" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Одредиште" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Период архивирања" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Избриши након" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Посебан директоријум архивирања:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Користи посебан директоријум" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Директоријум:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Изаберите директоријум за архивирања." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Изаберите изворе да их архивирате сада." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Поставите датум за повраћај изабраног архивирања." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Текући датум:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "непознат" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Датум" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Поставите жељене опције за архивирање." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Опште опције:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Период архивирања (дани):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Избриши након (дани):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Додатне опције:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Користи компресију" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Изостави посебне фајлове" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Користи напредно подешавање" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Укључи" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Изостави" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Ставка" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Радња" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "уклони" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Догађај" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Архива" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Изаберите локацију за повраћај изабране архиве." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Користи подразумевани директоријум" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Користи посебан директоријум:" diff --git a/po/sr@Latn/Makefile.am b/po/sr@Latn/Makefile.am new file mode 100644 index 0000000..1347978 --- /dev/null +++ b/po/sr@Latn/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = sr@Latn +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/sr@Latn/keep.po b/po/sr@Latn/keep.po new file mode 100644 index 0000000..2188d5e --- /dev/null +++ b/po/sr@Latn/keep.po @@ -0,0 +1,572 @@ +# translation of keep.po to Serbian +# +# Slobodan Simic , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-07-12 10:28+0200\n" +"Last-Translator: Slobodan Simic \n" +"Language-Team: Serbian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Prikaži dnevnik" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Sistem za arhiviranje" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Proveri rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Podesi arhiviranja" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Dodaj arhiviranje" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Povrati iz arhive" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Arhiviraj sada" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

U redu

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Ne Radi

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Program rdiff-backup je nađen na vašemsistemu." +"
" +"
Verzija rdiff-backup-a je %1." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Program rdiff-backup nije nađen na vašemsistemu." +"
" +"
Ako rdiff-backup nije instaliran, Keep neće moći da radi arhiviranje. Da bi " +"rešili ovaj problem, instalirajte rdiff-backup na vaš sistem." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Opšte" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Neispravan odgovor od KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Ne mogu da kontaktiram KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Ne mogu da zaustavim servis." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE Sistem za arhiviranje" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Održavalac" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu paketi" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Reči programa" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Napredna podešavanja arhiviranja" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Meni" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Prikaži razlike odredišta/arhive" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Izlistaj promenjene fajlove" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Izlistaj fajlove" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Izmene" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Ništa." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Izmenjeni fajlovi" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista fajlova" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "

Došlo je do greške pri vraćanju %1 arhive:

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Arhiviraj sada" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "

Došlo je do greške pri pravljenju %1 arhive:

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Slobodan Simić" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "simicsl@verat.net" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Nikad ne briši" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dana" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Izvorni direktorijum:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Odredišni direktorijum:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Period:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Izbriši nakon:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Koristi kompresiju:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Uključeno" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Izostavljeno" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Nikad" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Obaveštenja" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Obavesti o grešci arhiviranja" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Obavesti o uspešnom arhiviranju" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, fuzzy, no-c-format +msgid "Rdiff-backup priority" +msgstr "Obavesti o grešci arhiviranja" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, fuzzy, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Obavesti o uspešnom arhiviranju" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Izaberite lokaciju za smeštanje arhive." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Izaberite opcije koje hoćete da koristite pri postupku arhiviranja:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Sistem arhivirnja:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Dodaj direktorijum u arhiviranje" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Povrati arhivu" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Arhiviraj sada" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Uredi listu arhiviranja" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Prikaži dnevnik arhiviranja" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Demon arhiviranja:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Stanje Keep demona:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

nepoznato

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Učitaj" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Izbaci" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Izaberite arhivu za povraćaj." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Izvor" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Odredište" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Period arhiviranja" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Izbriši nakon" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Poseban direktorijum arhiviranja:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Koristi poseban direktorijum" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Direktorijum:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Izaberite direktorijum za arhiviranja." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Izaberite izvore da ih arhivirate sada." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Postavite datum za povraćaj izabranog arhiviranja." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Tekući datum:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "nepoznat" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Datum" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Postavite željene opcije za arhiviranje." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Opšte opcije:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Period arhiviranja (dani):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Izbriši nakon (dani):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Dodatne opcije:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Koristi kompresiju" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Izostavi posebne fajlove" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Koristi napredno podešavanje" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Uključi" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Izostavi" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Stavka" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Radnja" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "ukloni" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Događaj" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Arhiva" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Izaberite lokaciju za povraćaj izabrane arhive." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Koristi podrazumevani direktorijum" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Koristi poseban direktorijum:" diff --git a/po/sv/Makefile.am b/po/sv/Makefile.am new file mode 100644 index 0000000..300ce12 --- /dev/null +++ b/po/sv/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = sv +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/sv/keep.po b/po/sv/keep.po new file mode 100644 index 0000000..7655aec --- /dev/null +++ b/po/sv/keep.po @@ -0,0 +1,581 @@ +# translation of keep.po to Swedish +# +# Stefan Asserhäll , 2006. +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-09-30 18:31+0200\n" +"Last-Translator: Stefan Asserhäll \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "Visa logg" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "Säkerhetskopieringssystem" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "Kontrollera rdiff-backup" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +msgid "Configure backups" +msgstr "Anpassa säkerhetskopior" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Lägg till säkerhetskopia" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Återställ säkerhetskopiering" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Säkerhetskopiera nu" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Ok

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Kör inte

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Programmet rdiff-backup har detekterats på systemet." +"
" +"
Du kör version %1 av rdiff-backup." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Programmet rdiff-backup har inte detekterats på ditt system." +"
" +"
Om rdiff-backup inte är installerad, kommer inte Keep att kunna göra " +"säkerhetskopior. Installera paketet rdiff-backup i systemet för att rätta till " +"problemet." + +#: app/keepmainwindow.cpp:164 +msgid "General" +msgstr "Allmänt" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "Felaktigt svar från KDED." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "Kunde inte kontakta KDED." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Kan inte stoppa tjänst." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "Säkerhetskopieringssystem för KDE" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Utvecklare" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Paket för Ubuntu" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "Formuleringar i programmet" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Avancerad säkerhetskopieringsinställning" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Meny" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "Visa skillnader mellan mål och säkerhetskopia" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Lista ändrade filer" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Lista filer" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "Lista över ändringar sedan det valda intervallet:" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Ändringar" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Ingenting." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "Lista över ändrade filer sedan det valda intervallet:" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Ändrade filer" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "Lista över filer i det valda intervallet:" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Lista över filer" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" +"

Ett fel uppstod när säkerhetskopian %1 återställdes:

" +"

%2

" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "Inställning av inkludera och undanta" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Säkerhetskopiera nu" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" +"

Ett fel uppstod när säkerhetskopieringen %1 utfördes:

" +"

%2

" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" +"

Säkerhetskopian %1 till %2 har utförts med lyckat resultat

" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Stefan Asserhäll" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "stefan.asserhall@comhem.se" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Ta aldrig bort" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 dagar" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Källkatalog:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Målkatalog:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Intervall:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Ta bort efter:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Använd komprimering:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "Inkluderad" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "Undantagen" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Aldrig" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "Allmäninställningsvy" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, no-c-format +msgid "Notifications" +msgstr "Meddelanden" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "Meddela fel vid säkerhetskopiering" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "Meddela lyckad säkerhetskopiering" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "Säkerhetskopieringsprioritet för Rdiff" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "Styr säkerhetskopieringsprioritet för Rdiff" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "Snällhet för säkerhetskopiering med Rdiff" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Välj en plats att placera säkerhetskopian." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Välj alternativ du vill använda under säkerhetskopieringen:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "Säkerhetskopieringssystem:" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Lägg till katalog i säkerhetskopian" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Återställ en säkerhetskopia" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Säkerhetskopiera nu" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Redigera lista för säkerhetskopiering" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, no-c-format +msgid "View backup log" +msgstr "Visa säkerhetskopieringslogg" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "Säkerhetskopieringsdemon:" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "Behåll demonens tillstånd:" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

okänt

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Ladda" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Ladda ur" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Välj säkerhetskopia att återställa." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Källa" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Mål" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Säkerhetskopieringsintervall" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "Ta bort efter" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Egen säkerhetskopieringskatalog:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Använd egen säkerhetskopieringskatalog" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Katalog:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Välj en katalog för säkerhetskopiering." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "Använd lista med inkludera och undanta" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Välj källor att säkerhetskopiera nu." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "RestoreBackupWizard2View" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Välj datum att återställa vald säkerhetskopia." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Aktuellt datum:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "okänd" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Datum" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Välj önskade alternativ för säkerhetskopian." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Allmänna alternativ:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Säkerhetskopieringsintervall (dagar):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Ta bort efter (dagar):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Ytterligare alternativ:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Använd komprimering" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Undanta specialfiler" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Använd avancerad inställning" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" +"Välj filerna eller katalogerna du vill inkludera eller undanta. Du kan använda " +"det generella tecknet * (jokertecknet). Du kan dra och släppa objekt för att " +"finjustera prioritetsordningen." + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "Inkludera" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "Undanta" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "Lista av inkludera och undanta:" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "Objekt" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "Åtgärd" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "ta bort" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "Händelse" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, no-c-format +msgid "Backup" +msgstr "Säkerhetskopia" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Välj en plats att återställa vald säkerhetskopia." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Använd förvald katalog" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Använd egen katalog:" diff --git a/po/tr/Makefile.am b/po/tr/Makefile.am new file mode 100644 index 0000000..a9550cb --- /dev/null +++ b/po/tr/Makefile.am @@ -0,0 +1,3 @@ +KDE_LANG = tr +SUBDIRS = $(AUTODIRS) +POFILES = AUTO diff --git a/po/tr/keep.po b/po/tr/keep.po new file mode 100644 index 0000000..ec5a10c --- /dev/null +++ b/po/tr/keep.po @@ -0,0 +1,574 @@ +# translation of keep.po to Türkçe +# Engin Çağatay , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: keep\n" +"POT-Creation-Date: 2006-09-24 08:46+0200\n" +"PO-Revision-Date: 2006-02-03 21:16+0200\n" +"Last-Translator: Engin Çağatay \n" +"Language-Team: Türkçe \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" + +#: app/keepmainwindow.cpp:88 app/logdialog.cpp:42 +msgid "View log" +msgstr "" + +#: app/keepmainwindow.cpp:49 +msgid "Backup System" +msgstr "" + +#: app/keepmainwindow.cpp:82 +msgid "Check rdiff-backup" +msgstr "rdiff-backup uygulamasını kontrol et" + +#: app/backupconfigdialog.cpp:43 app/keepmainwindow.cpp:83 +#, fuzzy +msgid "Configure backups" +msgstr "Keep'i Yapılandır" + +#: app/keepmainwindow.cpp:85 +msgid "Add Backup" +msgstr "Yedek Ekle" + +#: app/keepmainwindow.cpp:86 +msgid "Restore Backup" +msgstr "Yedeği Geri Yükle" + +#: app/keepmainwindow.cpp:87 +msgid "Backup Now" +msgstr "Şimdi Yedekle" + +#: app/keepmainwindow.cpp:108 +msgid "

Ok

" +msgstr "

Tamam

" + +#: app/keepmainwindow.cpp:116 +msgid "

Not Running

" +msgstr "

Çalışmıyor

" + +#: app/keepmainwindow.cpp:128 +msgid "" +"The application rdiff-backup has been detected on your system." +"
" +"
You're running version %1 of rdiff-backup." +msgstr "" +"Sisteminizde rdiff-backup uygulamasının kurulu olduğu algılandı. " +"
" +"
rdiff-backup uygulamasının %1 sürümünü kullanıyorsunuz." + +#: app/keepmainwindow.cpp:130 +msgid "" +"The application rdiff-backup has not been detected on your system." +"
" +"
If rdiff-backup is not installed, Keep will not be able to make backups. To " +"fix this problem, install rdiff-backup on your system." +msgstr "" +"Sisteminizde rdiff-backup uygulaması bulunamadı. " +"
" +"
rdiff-backup kurulu değilse, Keep yedekler oluşturamaz. Sorunu çözmek için " +"sisteminize rdiff-backup uygulamasını kurun." + +#: app/keepmainwindow.cpp:164 +#, fuzzy +msgid "General" +msgstr "Aralık:" + +#: app/keepmainwindow.cpp:249 +msgid "Incorrect reply from KDED." +msgstr "KDED'den geçersiz cevap." + +#: app/keepmainwindow.cpp:255 +msgid "Unable to contact KDED." +msgstr "KDED ile iletişim kurulamıyor." + +#: app/keepmainwindow.cpp:271 +msgid "Unable to stop service." +msgstr "Servis durdurulamıyor." + +#: app/main.cpp:29 +msgid "KDE Backup System" +msgstr "KDE Yedekleme Sistemi" + +#: app/main.cpp:33 +msgid "Keep" +msgstr "Keep" + +#: app/main.cpp:35 +msgid "Maintainer" +msgstr "Sağlayıcı" + +#: app/main.cpp:37 +msgid "Ubuntu packages" +msgstr "Ubuntu paketleri" + +#: app/main.cpp:38 +msgid "Application wording" +msgstr "" + +#: app/advancedbackupconfigdialog.cpp:34 +msgid "Advanced Backup Configuration" +msgstr "Gelişmiş Yedekleme Yapılandırması" + +#: app/restorebackupwizard.cpp:50 +msgid "Menu" +msgstr "Menü" + +#: app/restorebackupwizard.cpp:51 +msgid "Show differences destination/backup" +msgstr "" + +#: app/restorebackupwizard.cpp:52 +msgid "List changed files" +msgstr "Değişen dosyaları listele" + +#: app/restorebackupwizard.cpp:53 +msgid "List files" +msgstr "Dosyaları listele" + +#: app/restorebackupwizard.cpp:249 +msgid "List of modifications since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:250 +msgid "Modifications" +msgstr "Değişiklikler" + +#: app/restorebackupwizard.cpp:261 +msgid "Nothing." +msgstr "Hiçbir şey." + +#: app/restorebackupwizard.cpp:262 +msgid "List of changed files since the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:263 +msgid "Changed files" +msgstr "Değişen dosyalar" + +#: app/restorebackupwizard.cpp:273 +msgid "List of files in the selected increment:" +msgstr "" + +#: app/restorebackupwizard.cpp:274 +msgid "List of files" +msgstr "Dosya listesi" + +#: app/restorebackupwizard.cpp:288 +msgid "

An error occured restoring %1 backup:

%2

" +msgstr "" + +#: app/includeexcludedialog.cpp:39 +msgid "Inclusion/Exclusion Configuration" +msgstr "" + +#: app/forcebackupdialog.cpp:45 +msgid "Backup now" +msgstr "Şimdi yedekle" + +#: app/forcebackupdialog.cpp:96 kded/keepkded.cpp:59 +msgid "

An error occured making %1 backup:

%2

" +msgstr "" + +#: kded/keepkded.cpp:68 +msgid "

Backup %1 successfully backuped to %2

" +msgstr "" + +#: _translatorinfo.cpp:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "Engin Çağatay" + +#: _translatorinfo.cpp:3 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "engincagatay@yahoo.com" + +#. i18n: file ./app/addbackupwizard3view.ui line 271 +#: common/backup.cpp:161 rc.cpp:171 +#, no-c-format +msgid "Never delete" +msgstr "Asla silme" + +#: common/backup.cpp:163 common/backup.cpp:170 +#: common/backuplistviewitem.cpp:49 common/backuplistviewitem.cpp:54 +msgid "%1 days" +msgstr "%1 gün" + +#: common/backup.cpp:168 +msgid "Source directory:" +msgstr "Kaynak dizin:" + +#. i18n: file ./app/restorebackupwizard2view.ui line 100 +#: common/backup.cpp:169 rc.cpp:220 +#, no-c-format +msgid "Destination directory:" +msgstr "Hedef dizin:" + +#: common/backup.cpp:170 +msgid "Interval:" +msgstr "Aralık:" + +#: common/backup.cpp:171 +msgid "Delete after:" +msgstr "Bundan sonra sil:" + +#: common/backup.cpp:172 +msgid "Use compression:" +msgstr "Sıkıştırma kullan:" + +#: common/includeexcludeitem.cpp:57 +msgid "Included" +msgstr "" + +#: common/includeexcludeitem.cpp:59 +msgid "Excluded" +msgstr "" + +#: common/backuplistviewitem.cpp:52 +msgid "Never" +msgstr "Asla" + +#. i18n: file ./app/generalconfigview.ui line 16 +#: rc.cpp:3 +#, no-c-format +msgid "GeneralConfigView" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 35 +#: rc.cpp:6 +#, fuzzy, no-c-format +msgid "Notifications" +msgstr "Değişiklikler" + +#. i18n: file ./app/generalconfigview.ui line 54 +#: rc.cpp:9 +#, no-c-format +msgid "Notify backup error" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 62 +#: rc.cpp:12 +#, no-c-format +msgid "Notify backup success" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 74 +#: rc.cpp:15 +#, no-c-format +msgid "Rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 93 +#: rc.cpp:18 +#, no-c-format +msgid "Control rdiff-backup priority" +msgstr "" + +#. i18n: file ./app/generalconfigview.ui line 131 +#: rc.cpp:21 +#, no-c-format +msgid "Rdiff-backup niceness" +msgstr "" + +#. i18n: file ./app/addbackupwizard2view.ui line 117 +#: rc.cpp:24 +#, no-c-format +msgid "Select a location to place the backup." +msgstr "Yedeğin tutulacağı konumu belirtin." + +#. i18n: file ./app/advancedbackupconfigview.ui line 46 +#: rc.cpp:27 +#, no-c-format +msgid "Choose the options you want to use during the backup process:" +msgstr "Yedekleme işlemi sırasında kullanmak istediğiniz seçenekleri seçin:" + +#. i18n: file ./app/actionview.ui line 51 +#: rc.cpp:30 +#, no-c-format +msgid "Backup system:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 114 +#: rc.cpp:34 +#, no-c-format +msgid "Add directory to backup" +msgstr "Yedeklemek için dizin ekleyin" + +#. i18n: file ./app/actionview.ui line 168 +#: rc.cpp:38 +#, no-c-format +msgid "Restore a backup" +msgstr "Bir yedeği geri al" + +#. i18n: file ./app/actionview.ui line 222 +#: rc.cpp:42 +#, no-c-format +msgid "Backup now" +msgstr "Şimdi Yedekle" + +#. i18n: file ./app/actionview.ui line 276 +#: rc.cpp:46 +#, no-c-format +msgid "Edit backup list" +msgstr "Yedek listesini düzenle" + +#. i18n: file ./app/actionview.ui line 330 +#: rc.cpp:50 +#, fuzzy, no-c-format +msgid "View backup log" +msgstr "Yedek listesini düzenle" + +#. i18n: file ./app/actionview.ui line 352 +#: rc.cpp:53 +#, no-c-format +msgid "Backup daemon:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 408 +#: rc.cpp:56 +#, no-c-format +msgid "Keep daemon state:" +msgstr "" + +#. i18n: file ./app/actionview.ui line 429 +#: rc.cpp:59 +#, no-c-format +msgid "

unknown

" +msgstr "

bilinmeyen

" + +#. i18n: file ./app/actionview.ui line 461 +#: rc.cpp:62 +#, no-c-format +msgid "&Load" +msgstr "&Yükle" + +#. i18n: file ./app/actionview.ui line 469 +#: rc.cpp:65 +#, no-c-format +msgid "Unload" +msgstr "Yüklemeyi Geri Al" + +#. i18n: file ./app/restorebackupwizard1view.ui line 100 +#: rc.cpp:71 +#, no-c-format +msgid "Select the backup to restore." +msgstr "Geri yüklenecek yedeği seçin." + +#. i18n: file ./app/restorebackupwizard1view.ui line 106 +#: rc.cpp:74 rc.cpp:95 rc.cpp:126 +#, no-c-format +msgid "Source" +msgstr "Kaynak" + +#. i18n: file ./app/restorebackupwizard1view.ui line 117 +#: rc.cpp:77 rc.cpp:98 rc.cpp:129 +#, no-c-format +msgid "Destination" +msgstr "Hedef" + +#. i18n: file ./app/restorebackupwizard1view.ui line 128 +#: rc.cpp:80 rc.cpp:101 rc.cpp:132 +#, no-c-format +msgid "Backup Interval" +msgstr "Yedekleme Aralığı" + +#. i18n: file ./app/restorebackupwizard1view.ui line 139 +#: rc.cpp:83 rc.cpp:104 rc.cpp:135 +#, no-c-format +msgid "Delete After" +msgstr "" + +#. i18n: file ./app/restorebackupwizard1view.ui line 168 +#: rc.cpp:86 +#, no-c-format +msgid "Custom backup directory:" +msgstr "Özel yedek dizini:" + +#. i18n: file ./app/restorebackupwizard1view.ui line 187 +#: rc.cpp:89 +#, no-c-format +msgid "Use custom backup directory" +msgstr "Özel yedek dizini kullan" + +#. i18n: file ./app/restorebackupwizard1view.ui line 211 +#: rc.cpp:92 rc.cpp:229 +#, no-c-format +msgid "Directory:" +msgstr "Dizin:" + +#. i18n: file ./app/addbackupwizard1view.ui line 100 +#: rc.cpp:116 +#, no-c-format +msgid "Select a directory for backup." +msgstr "Yedek için bir dizin seçin." + +#. i18n: file ./app/addbackupwizard1view.ui line 137 +#: rc.cpp:119 +#, no-c-format +msgid "Use inclusion/exclusion list" +msgstr "" + +#. i18n: file ./app/forcebackupdialogview.ui line 46 +#: rc.cpp:123 +#, no-c-format +msgid "Select the sources to backup now." +msgstr "Yedeklecek kaynakları seçin." + +#. i18n: file ./app/restorebackupwizard3view.ui line 16 +#: rc.cpp:138 +#, no-c-format +msgid "RestoreBackupWizard2View" +msgstr "" + +#. i18n: file ./app/restorebackupwizard3view.ui line 95 +#: rc.cpp:141 +#, no-c-format +msgid "Set the date to restore the selected backup." +msgstr "Seçili yedeğin geri yükleneceği tarihi ayarlayın." + +#. i18n: file ./app/restorebackupwizard3view.ui line 119 +#: rc.cpp:144 +#, no-c-format +msgid "Current date:" +msgstr "Mevcut tarih:" + +#. i18n: file ./app/restorebackupwizard3view.ui line 135 +#: rc.cpp:147 +#, no-c-format +msgid "unknown" +msgstr "bilinmeyen" + +#. i18n: file ./app/restorebackupwizard3view.ui line 143 +#: rc.cpp:150 rc.cpp:208 +#, no-c-format +msgid "Date" +msgstr "Tarih" + +#. i18n: file ./app/addbackupwizard3view.ui line 108 +#: rc.cpp:159 +#, no-c-format +msgid "Set the desired options for your backup." +msgstr "Yedeğiniz için istediğiniz seçenekleri seçin." + +#. i18n: file ./app/addbackupwizard3view.ui line 124 +#: rc.cpp:162 +#, no-c-format +msgid "General options:" +msgstr "Genel seçenekler:" + +#. i18n: file ./app/addbackupwizard3view.ui line 167 +#: rc.cpp:165 +#, no-c-format +msgid "Backup interval (days):" +msgstr "Yedek aralığı (gün):" + +#. i18n: file ./app/addbackupwizard3view.ui line 183 +#: rc.cpp:168 +#, no-c-format +msgid "Delete after (days):" +msgstr "Bundan sonra sil (gün):" + +#. i18n: file ./app/addbackupwizard3view.ui line 293 +#: rc.cpp:174 +#, no-c-format +msgid "Extra options:" +msgstr "Fazladan seçenekler:" + +#. i18n: file ./app/addbackupwizard3view.ui line 320 +#: rc.cpp:177 +#, no-c-format +msgid "Use compression" +msgstr "Sıkıştırma kullan" + +#. i18n: file ./app/addbackupwizard3view.ui line 331 +#: rc.cpp:180 +#, no-c-format +msgid "Exclude special files" +msgstr "Özel dosyaları dahil etme" + +#. i18n: file ./app/addbackupwizard3view.ui line 358 +#: rc.cpp:183 +#, no-c-format +msgid "Use advanced configuration" +msgstr "Gelişmiş yapılandırma kullan" + +#. i18n: file ./app/includeexcludeview.ui line 46 +#: rc.cpp:187 +#, no-c-format +msgid "" +"Select the files/directories you want to include/exclude. You can use * " +"(wildcard) generic character. You can drag and drop the items to tune the " +"priority order." +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 92 +#: rc.cpp:190 +#, no-c-format +msgid "Include" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 100 +#: rc.cpp:193 +#, no-c-format +msgid "Exclude" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 110 +#: rc.cpp:196 +#, no-c-format +msgid "Include/Exclude list:" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 127 +#: rc.cpp:199 +#, no-c-format +msgid "Item" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 138 +#: rc.cpp:202 +#, no-c-format +msgid "Action" +msgstr "" + +#. i18n: file ./app/includeexcludeview.ui line 173 +#: rc.cpp:205 +#, no-c-format +msgid "remove" +msgstr "" + +#. i18n: file ./app/logview.ui line 49 +#: rc.cpp:211 +#, no-c-format +msgid "Event" +msgstr "" + +#. i18n: file ./app/logview.ui line 60 +#: rc.cpp:214 +#, fuzzy, no-c-format +msgid "Backup" +msgstr "Yedekler" + +#. i18n: file ./app/restorebackupwizard2view.ui line 92 +#: rc.cpp:217 +#, no-c-format +msgid "Choose a location to restore the selected backup." +msgstr "Seçili yedeği geri yüklemek için bir konum seçin." + +#. i18n: file ./app/restorebackupwizard2view.ui line 119 +#: rc.cpp:223 +#, no-c-format +msgid "Use default directory" +msgstr "Öntanımlı dizini kullan" + +#. i18n: file ./app/restorebackupwizard2view.ui line 144 +#: rc.cpp:226 +#, no-c-format +msgid "Use custom directory:" +msgstr "Özel dizin kullan:" diff --git a/stamp-h.in b/stamp-h.in new file mode 100644 index 0000000..e69de29 diff --git a/subdirs b/subdirs new file mode 100644 index 0000000..f195c61 --- /dev/null +++ b/subdirs @@ -0,0 +1,2 @@ +keep +po